/PHP-8.3/tests/output/ |
H A D | ob_start_basic_004.phpt | 2 ob_start() chunk_size: confirm buffer is flushed after any output call that causes its length to eq… 36 ----( chunk_size: -1, output append size: 1 )---- 39 ----( chunk_size: 0, output append size: 1 )---- 42 ----( chunk_size: 1, output append size: 1 )---- 53 ----( chunk_size: 2, output append size: 1 )---- 60 ----( chunk_size: 3, output append size: 1 )---- 65 ----( chunk_size: 4, output append size: 1 )---- 70 ----( chunk_size: 5, output append size: 1 )---- 74 ----( chunk_size: 6, output append size: 1 )---- 78 ----( chunk_size: 7, output append size: 1 )---- [all …]
|
H A D | ob_013.phpt | 44 [chunk_size] => %d 56 [chunk_size] => %d 67 [chunk_size] => %d 78 [chunk_size] => %d 89 [chunk_size] => %d 100 [chunk_size] => %d
|
H A D | ob_get_status.phpt | 26 ["chunk_size"]=>
|
/PHP-8.3/ext/pcre/pcre2lib/sljit/ |
H A D | sljitExecAllocator.c | 274 sljit_uw chunk_size; in sljit_malloc_exec() local 284 chunk_size = free_block->size; in sljit_malloc_exec() 286 if (chunk_size > size + 64) { in sljit_malloc_exec() 288 chunk_size -= size; in sljit_malloc_exec() 289 free_block->size = chunk_size; in sljit_malloc_exec() 297 size = chunk_size; in sljit_malloc_exec() 315 total_size += chunk_size; in sljit_malloc_exec() 318 if (chunk_size > size + 64) { in sljit_malloc_exec() 322 chunk_size -= size; in sljit_malloc_exec() 331 allocated_size += chunk_size; in sljit_malloc_exec() [all …]
|
H A D | sljitProtExecAllocator.c | 321 sljit_uw chunk_size; in sljit_malloc_exec() local 332 chunk_size = free_block->size; in sljit_malloc_exec() 333 if (chunk_size > size + 64) { in sljit_malloc_exec() 335 chunk_size -= size; in sljit_malloc_exec() 345 size = chunk_size; in sljit_malloc_exec() 356 chunk_size = (chunk_size + size + CHUNK_SIZE - 1) & CHUNK_MASK; in sljit_malloc_exec() 367 total_size += chunk_size; in sljit_malloc_exec() 373 if (chunk_size > size + 64) { in sljit_malloc_exec() 377 chunk_size -= size; in sljit_malloc_exec() 387 allocated_size += chunk_size; in sljit_malloc_exec() [all …]
|
/PHP-8.3/ext/xml/tests/ |
H A D | bug32001b.phpt | 23 private $chunk_size; 25 function testcase($enc, $chunk_size = 0, $bom = 0, $omit_prologue = 0) { 27 $this->chunk_size = $chunk_size; 66 if ($this->chunk_size == 0) { 70 $offset += $this->chunk_size) { 71 $success = @xml_parse($parser, substr($data, $offset, $this->chunk_size), false); 83 … echo "Chunk size: ".($this->chunk_size ? "$this->chunk_size byte(s)\n": "all data at once\n");
|
H A D | bug32001.phpt | 18 private $chunk_size; 20 function __construct($enc, $chunk_size = 0, $bom = 0, $omit_prologue = 0) { 22 $this->chunk_size = $chunk_size; 106 if ($this->chunk_size == 0) { 110 $offset += $this->chunk_size) { 111 $success = @xml_parse($parser, substr($data, $offset, $this->chunk_size), false); 123 … echo "Chunk size: ".($this->chunk_size ? "$this->chunk_size byte(s)\n": "all data at once\n");
|
/PHP-8.3/main/ |
H A D | php_output.h | 112 …ler_alias_ctor_t)(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags); 220 PHPAPI int php_output_start_user(zval *output_handler, size_t chunk_size, int flags); 221 …ar *name, size_t name_len, php_output_handler_func_t output_handler, size_t chunk_size, int flags); 223 PHPAPI php_output_handler *php_output_handler_create_user(zval *handler, size_t chunk_size, int fla… 224 …r *name, size_t name_len, php_output_handler_context_func_t handler, size_t chunk_size, int flags);
|
H A D | output.c | 54 static inline php_output_handler *php_output_handler_init(zend_string *name, size_t chunk_size, int… 429 PHPAPI int php_output_start_user(zval *output_handler, size_t chunk_size, int flags) in php_output_start_user() argument 434 handler = php_output_handler_create_user(output_handler, chunk_size, flags); in php_output_start_user() 478 handler = alias(Z_STRVAL_P(output_handler), Z_STRLEN_P(output_handler), chunk_size, flags); in php_output_handler_create_user() 511 handler = php_output_handler_init(str, chunk_size, (flags & ~0xf) | PHP_OUTPUT_HANDLER_INTERNAL); in php_output_handler_create_internal() 863 handler->size = chunk_size; in php_output_handler_init() 865 handler->buffer.size = PHP_OUTPUT_HANDLER_INITBUF_SIZE(chunk_size); in php_output_handler_init() 1299 zend_long chunk_size = 0; in PHP_FUNCTION() local 1306 if (chunk_size < 0) { in PHP_FUNCTION() 1307 chunk_size = 0; in PHP_FUNCTION() [all …]
|
/PHP-8.3/ext/gd/tests/ |
H A D | bug73157.phpt | 21 printf("chunk size: %d\n", $header['chunk_size']);
|
H A D | bug73155.phpt | 21 printf("chunk size: %d\n", $header['chunk_size']);
|
/PHP-8.3/main/streams/ |
H A D | streams.c | 296 ret->chunk_size = FG(def_chunk_size); in _php_stream_alloc() 1004 toread = stream->chunk_size; in _php_stream_get_line() 1007 if (toread > stream->chunk_size) { in _php_stream_get_line() 1008 toread = stream->chunk_size; in _php_stream_get_line() 1168 size_t chunk_size = count; in _php_stream_write_buffer() local 1171 chunk_size = stream->chunk_size; in _php_stream_write_buffer() 1441 ret = stream->chunk_size > INT_MAX ? INT_MAX : (int)stream->chunk_size; in _php_stream_set_option() 1442 stream->chunk_size = value; in _php_stream_set_option() 1716 chunk_size = PHP_STREAM_MMAP_MAX; in _php_stream_copy_to_stream_ex() 1720 chunk_size = must_read; in _php_stream_copy_to_stream_ex() [all …]
|
H A D | filter.c | 460 …= perealloc(stream->readbuf, stream->writepos + flushed_size + stream->chunk_size, stream->is_pers… in _php_stream_filter_flush()
|
/PHP-8.3/ext/oci8/ |
H A D | oci8_lob.c | 89 descriptor->chunk_size = 0; in php_oci_lob_create() 209 ub4 chunk_size; in php_oci_lob_calculate_buffer() local 216 if (!descriptor->chunk_size) { in php_oci_lob_calculate_buffer() 217 …atus, OCILobGetChunkSize, (connection->svc, connection->err, descriptor->descriptor, &chunk_size)); in php_oci_lob_calculate_buffer() 224 descriptor->chunk_size = chunk_size; in php_oci_lob_calculate_buffer() 228 if ((read_length % descriptor->chunk_size) != 0) { in php_oci_lob_calculate_buffer() 229 return (int) descriptor->chunk_size * (((int) read_length / descriptor->chunk_size) + 1); in php_oci_lob_calculate_buffer()
|
H A D | php_oci8_int.h | 186 ub4 chunk_size; /* chunk size of the LOB. 0 - unknown */ member 298 ub4 chunk_size; /* LOB chunk size */ member
|
H A D | oci8.c | 1574 if (column->chunk_size) in php_oci_column_to_zval() 1575 descriptor->chunk_size = column->chunk_size; in php_oci_column_to_zval() 1577 if (descriptor->chunk_size) /* Cache the chunk_size to avoid recalling OCILobGetChunkSize */ in php_oci_column_to_zval() 1578 column->chunk_size = descriptor->chunk_size; in php_oci_column_to_zval()
|
/PHP-8.3/docs/ |
H A D | output-api.md | 15 // php_start_ob_buffer(zhandler, chunk_size, erase); 16 php_output_start_user(zhandler, chunk_size, flags); 20 …ut_start_internal(handler_name, handler_name_len, my_php_output_handler_func_t, chunk_size, flags); 25 …_internal(handler_name, handler_name_len, my_php_output_handler_context_func_t, chunk_size, flags);
|
/PHP-8.3/ext/standard/ |
H A D | filters.c | 1712 size_t chunk_size; member 1727 data->chunk_size = 0; in php_dechunk() 1731 data->chunk_size = (data->chunk_size * 16) + (*p - '0'); in php_dechunk() 1733 data->chunk_size = (data->chunk_size * 16) + (*p - 'A' + 10); in php_dechunk() 1735 data->chunk_size = (data->chunk_size * 16) + (*p - 'a' + 10); in php_dechunk() 1774 if (data->chunk_size == 0) { in php_dechunk() 1793 out += data->chunk_size; in php_dechunk() 1794 out_len += data->chunk_size; in php_dechunk() 1795 p += data->chunk_size; in php_dechunk() 1804 data->chunk_size -= end - p; in php_dechunk() [all …]
|
H A D | http_fopen_wrapper.c | 134 size_t chunk_size = 0, file_size = 0; in php_stream_url_wrap_http_ex() local 350 chunk_size = php_stream_set_chunk_size(stream, 1); in php_stream_url_wrap_http_ex() 964 php_stream_set_chunk_size(stream, (int)chunk_size); in php_stream_url_wrap_http_ex()
|
/PHP-8.3/ext/pdo_firebird/ |
H A D | firebird_statement.c | 359 unsigned short chunk_size = (len - cur_len) > USHRT_MAX ? USHRT_MAX in firebird_fetch_blob() local 362 stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, ZSTR_VAL(str) + cur_len); in firebird_fetch_blob() 515 unsigned short chunk_size; in firebird_bind_blob() local 529 for (rem_cnt = Z_STRLEN(data); rem_cnt > 0; rem_cnt -= chunk_size) { in firebird_bind_blob() 530 chunk_size = rem_cnt > USHRT_MAX ? USHRT_MAX : (unsigned short)rem_cnt; in firebird_bind_blob() 531 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL(data)[put_cnt])) { in firebird_bind_blob() 536 put_cnt += chunk_size; in firebird_bind_blob()
|
/PHP-8.3/ext/standard/tests/file/ |
H A D | file.inc | 123 $chunk_size = 1024; 124 if ( $size > $chunk_size ) { 128 if ( $size <= $chunk_size ) { 129 $chunk_size = $size; 131 $num_values = str_repeat($data, (int) (($chunk_size/$size_divider) + $add_value) ); 132 $bytes_written = fwrite($file_handle, $num_values, $chunk_size); 133 if ( $bytes_written != $chunk_size ) { 136 $size -= $chunk_size; 139 $num_values = str_repeat($data, (int) (($chunk_size/$size_divider) + $add_value) );
|
/PHP-8.3/ext/tidy/ |
H A D | tidy.c | 136 …tput_handler_init(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags); 949 …utput_handler_init(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags) in php_tidy_output_handler_init() argument 951 if (chunk_size) { in php_tidy_output_handler_init() 958 …andler_create_internal(handler_name, handler_name_len, php_tidy_output_handler, chunk_size, flags); in php_tidy_output_handler_init()
|
/PHP-8.3/ext/zlib/ |
H A D | zlib.c | 338 …utput_handler_init(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags) in php_zlib_output_handler_init() argument 343 ZLIBG(output_compression) = chunk_size ? chunk_size : PHP_OUTPUT_HANDLER_DEFAULT_SIZE; in php_zlib_output_handler_init() 348 …ler_create_internal(handler_name, handler_name_len, php_zlib_output_handler, chunk_size, flags))) { in php_zlib_output_handler_init()
|
/PHP-8.3/ext/gd/ |
H A D | gd.stub.php | 631 function imagegd2(GdImage $image, ?string $file = null, int $chunk_size = 128, int $mode = IMG_GD2_… argument
|
/PHP-8.3/ext/iconv/ |
H A D | iconv.c | 159 …er *php_iconv_output_handler_init(const char *name, size_t name_len, size_t chunk_size, int flags); 295 …utput_handler_init(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags) in php_iconv_output_handler_init() argument 297 …ndler_create_internal(handler_name, handler_name_len, php_iconv_output_handler, chunk_size, flags); in php_iconv_output_handler_init()
|