Lines Matching refs:handler_name
214 …ObStatus: %d HandlerName: %s\n", OG(ob_nesting_level), status, OG(active_ob_buffer).handler_name); in php_end_ob_buffer()
278 to_be_destroyed_handler_name = OG(active_ob_buffer).handler_name; in php_end_ob_buffer()
383 …utput_handler_func_t internal_output_handler, uint buffer_size, char *handler_name, zend_bool eras… in php_ob_set_internal_handler() argument
385 …ive_ob_buffer).internal_output_handler || strcmp(OG(active_ob_buffer).handler_name, OB_DEFAULT_HAN… in php_ob_set_internal_handler()
392 if (OG(active_ob_buffer).handler_name) { in php_ob_set_internal_handler()
393 efree(OG(active_ob_buffer).handler_name); in php_ob_set_internal_handler()
395 OG(active_ob_buffer).handler_name = estrdup(handler_name); in php_ob_set_internal_handler()
437 static int php_ob_init_named(uint initial_size, uint block_size, char *handler_name, zval *output_h… in php_ob_init_named() argument
455 tmp_buf.handler_name = estrdup(handler_name&&handler_name[0]?handler_name:OB_DEFAULT_HANDLER_NAME); in php_ob_init_named()
460 …if (!strncmp(handler_name, "ob_gzhandler", sizeof("ob_gzhandler")) && php_ob_gzhandler_check(TSRML… in php_ob_init_named()
478 static zval* php_ob_handler_from_string(const char *handler_name, int len TSRMLS_DC) in php_ob_handler_from_string() argument
484 Z_STRVAL_P(output_handler) = estrndup(handler_name, len); in php_ob_handler_from_string()
495 char *handler_name, *next_handler_name; in php_ob_init() local
501 handler_name = Z_STRVAL_P(output_handler); in php_ob_init()
505 if (handler_len && handler_name[0] != '\0') { in php_ob_init()
506 while ((next_handler_name=strchr(handler_name, ',')) != NULL) { in php_ob_init()
507 len = next_handler_name-handler_name; in php_ob_init()
508 next_handler_name = estrndup(handler_name, len); in php_ob_init()
515 handler_name += len+1; in php_ob_init()
521 handler_zval = php_ob_handler_from_string(handler_name, handler_len TSRMLS_CC); in php_ob_init()
522 …result = php_ob_init_named(initial_size, block_size, handler_name, handler_zval, chunk_size, erase… in php_ob_init()
530 if (zend_is_callable(output_handler, 0, &handler_name TSRMLS_CC)) { in php_ob_init()
533 …result = php_ob_init_named(initial_size, block_size, handler_name, output_handler, chunk_size, era… in php_ob_init()
534 efree(handler_name); in php_ob_init()
536 efree(handler_name); in php_ob_init()
549 if (zend_is_callable(output_handler, 0, &handler_name TSRMLS_CC)) { in php_ob_init()
552 …result = php_ob_init_named(initial_size, block_size, handler_name, output_handler, chunk_size, era… in php_ob_init()
553 efree(handler_name); in php_ob_init()
555 efree(handler_name); in php_ob_init()
570 add_next_index_string(ob_handler_array, ob_buffer->handler_name, 1); in php_ob_list_each()
577 static int php_ob_handler_used_each(php_ob_buffer *ob_buffer, char **handler_name) in php_ob_handler_used_each() argument
579 if (!strcmp(ob_buffer->handler_name, *handler_name)) { in php_ob_handler_used_each()
580 *handler_name = NULL; in php_ob_handler_used_each()
589 PHPAPI int php_ob_handler_used(char *handler_name TSRMLS_DC) in php_ob_handler_used()
591 char *tmp = handler_name; in php_ob_handler_used()
594 if (!strcmp(OG(active_ob_buffer).handler_name, handler_name)) { in php_ob_handler_used()
755 add_assoc_string(elem, "name", ob_buffer->handler_name, 1); in php_ob_buffer_status()
804 …f.outcontrol" TSRMLS_CC, E_NOTICE, "failed to flush buffer %s", OG(active_ob_buffer).handler_name); in PHP_FUNCTION()
827 ….outcontrol" TSRMLS_CC, E_NOTICE, "failed to delete buffer %s", OG(active_ob_buffer).handler_name); in PHP_FUNCTION()
850 ….outcontrol" TSRMLS_CC, E_NOTICE, "failed to delete buffer %s", OG(active_ob_buffer).handler_name); in PHP_FUNCTION()
873 ….outcontrol" TSRMLS_CC, E_NOTICE, "failed to delete buffer %s", OG(active_ob_buffer).handler_name); in PHP_FUNCTION()
901 ….outcontrol" TSRMLS_CC, E_NOTICE, "failed to delete buffer %s", OG(active_ob_buffer).handler_name); in PHP_FUNCTION()
928 ….outcontrol" TSRMLS_CC, E_NOTICE, "failed to delete buffer %s", OG(active_ob_buffer).handler_name); in PHP_FUNCTION()
1023 add_assoc_string(return_value, "name", OG(active_ob_buffer).handler_name, 1); in PHP_FUNCTION()