Lines Matching refs:chunk_size
54 static inline php_output_handler *php_output_handler_init(zend_string *name, size_t chunk_size, int…
445 PHPAPI int php_output_start_user(zval *output_handler, size_t chunk_size, int flags) in php_output_start_user() argument
450 handler = php_output_handler_create_user(output_handler, chunk_size, flags); in php_output_start_user()
452 …al(ZEND_STRL(php_output_default_handler_name), php_output_handler_default_func, chunk_size, flags); in php_output_start_user()
464 …har *name, size_t name_len, php_output_handler_func_t output_handler, size_t chunk_size, int flags) in php_output_start_internal() argument
468 …_output_handler_create_internal(name, name_len, php_output_handler_compat_func, chunk_size, flags); in php_output_start_internal()
480 PHPAPI php_output_handler *php_output_handler_create_user(zval *output_handler, size_t chunk_size, … in php_output_handler_create_user() argument
490 …al(ZEND_STRL(php_output_default_handler_name), php_output_handler_default_func, chunk_size, flags); in php_output_handler_create_user()
494 handler = alias(Z_STRVAL_P(output_handler), Z_STRLEN_P(output_handler), chunk_size, flags); in php_output_handler_create_user()
501 …handler = php_output_handler_init(handler_name, chunk_size, (flags & ~0xf) | PHP_OUTPUT_HANDLER_US… in php_output_handler_create_user()
522 …e, size_t name_len, php_output_handler_context_func_t output_handler, size_t chunk_size, int flags) in php_output_handler_create_internal() argument
527 handler = php_output_handler_init(str, chunk_size, (flags & ~0xf) | PHP_OUTPUT_HANDLER_INTERNAL); in php_output_handler_create_internal()
873 static inline php_output_handler *php_output_handler_init(zend_string *name, size_t chunk_size, int… in php_output_handler_init() argument
879 handler->size = chunk_size; in php_output_handler_init()
881 handler->buffer.size = PHP_OUTPUT_HANDLER_INITBUF_SIZE(chunk_size); in php_output_handler_init()
1307 zend_long chunk_size = 0; in PHP_FUNCTION() local
1310 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|zll", &output_handler, &chunk_size, &flags) == FAILUR… in PHP_FUNCTION()
1314 if (chunk_size < 0) { in PHP_FUNCTION()
1315 chunk_size = 0; in PHP_FUNCTION()
1318 if (php_output_start_user(output_handler, chunk_size, flags) == FAILURE) { in PHP_FUNCTION()