/PHP-8.1/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.1/ext/pcre/pcre2lib/sljit/ |
H A D | sljitExecAllocator.c | 269 sljit_uw chunk_size; in sljit_malloc_exec() local 279 chunk_size = free_block->size; in sljit_malloc_exec() 281 if (chunk_size > size + 64) { in sljit_malloc_exec() 283 chunk_size -= size; in sljit_malloc_exec() 284 free_block->size = chunk_size; in sljit_malloc_exec() 292 size = chunk_size; in sljit_malloc_exec() 310 total_size += chunk_size; in sljit_malloc_exec() 313 if (chunk_size > size + 64) { in sljit_malloc_exec() 317 chunk_size -= size; in sljit_malloc_exec() 326 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.1/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.1/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); 222 PHPAPI int php_output_start_user(zval *output_handler, size_t chunk_size, int flags); 223 …ar *name, size_t name_len, php_output_handler_func_t output_handler, size_t chunk_size, int flags); 225 PHPAPI php_output_handler *php_output_handler_create_user(zval *handler, size_t chunk_size, int fla… 226 …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… 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() 494 handler = alias(Z_STRVAL_P(output_handler), Z_STRLEN_P(output_handler), chunk_size, flags); in php_output_handler_create_user() 527 handler = php_output_handler_init(str, chunk_size, (flags & ~0xf) | PHP_OUTPUT_HANDLER_INTERNAL); in php_output_handler_create_internal() 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 1314 if (chunk_size < 0) { in PHP_FUNCTION() 1315 chunk_size = 0; in PHP_FUNCTION() [all …]
|
/PHP-8.1/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.1/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 | 180 ub4 chunk_size; /* chunk size of the LOB. 0 - unknown */ member 291 ub4 chunk_size; /* LOB chunk size */ member
|
H A D | oci8.c | 1721 if (column->chunk_size) in php_oci_column_to_zval() 1722 descriptor->chunk_size = column->chunk_size; in php_oci_column_to_zval() 1724 if (descriptor->chunk_size) /* Cache the chunk_size to avoid recalling OCILobGetChunkSize */ in php_oci_column_to_zval() 1725 column->chunk_size = descriptor->chunk_size; in php_oci_column_to_zval()
|
/PHP-8.1/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.1/ext/standard/ |
H A D | filters.c | 1720 size_t chunk_size; member 1735 data->chunk_size = 0; in php_dechunk() 1739 data->chunk_size = (data->chunk_size * 16) + (*p - '0'); in php_dechunk() 1741 data->chunk_size = (data->chunk_size * 16) + (*p - 'A' + 10); in php_dechunk() 1743 data->chunk_size = (data->chunk_size * 16) + (*p - 'a' + 10); in php_dechunk() 1782 if (data->chunk_size == 0) { in php_dechunk() 1801 out += data->chunk_size; in php_dechunk() 1802 out_len += data->chunk_size; in php_dechunk() 1803 p += data->chunk_size; in php_dechunk() 1812 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 361 chunk_size = php_stream_set_chunk_size(stream, 1); in php_stream_url_wrap_http_ex() 958 php_stream_set_chunk_size(stream, (int)chunk_size); in php_stream_url_wrap_http_ex()
|
/PHP-8.1/main/streams/ |
H A D | streams.c | 294 ret->chunk_size = FG(def_chunk_size); in _php_stream_alloc() 543 size_t to_read_now = MIN(size, stream->chunk_size); in _php_stream_fill_read_buffer() 549 chunk_buf = emalloc(stream->chunk_size); in _php_stream_fill_read_buffer() 661 stream->readbuflen += stream->chunk_size; in _php_stream_fill_read_buffer() 973 toread = stream->chunk_size; in _php_stream_get_line() 976 if (toread > stream->chunk_size) { in _php_stream_get_line() 977 toread = stream->chunk_size; in _php_stream_get_line() 1054 to_read_now = MIN(maxlen - buffered_len, stream->chunk_size); in php_stream_get_record() 1387 ret = stream->chunk_size > INT_MAX ? INT_MAX : (int)stream->chunk_size; in _php_stream_set_option() 1388 stream->chunk_size = value; in _php_stream_set_option() [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.1/ext/pdo_firebird/ |
H A D | firebird_statement.c | 351 unsigned short chunk_size = (len - cur_len) > USHRT_MAX ? USHRT_MAX in firebird_fetch_blob() local 354 stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, ZSTR_VAL(str) + cur_len); in firebird_fetch_blob() 507 unsigned short chunk_size; in firebird_bind_blob() local 521 for (rem_cnt = Z_STRLEN(data); rem_cnt > 0; rem_cnt -= chunk_size) { in firebird_bind_blob() 522 chunk_size = rem_cnt > USHRT_MAX ? USHRT_MAX : (unsigned short)rem_cnt; in firebird_bind_blob() 523 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL(data)[put_cnt])) { in firebird_bind_blob() 528 put_cnt += chunk_size; in firebird_bind_blob()
|
/PHP-8.1/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.1/ext/zlib/ |
H A D | zlib.c | 340 …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 345 ZLIBG(output_compression) = chunk_size ? chunk_size : PHP_OUTPUT_HANDLER_DEFAULT_SIZE; in php_zlib_output_handler_init() 350 …ler_create_internal(handler_name, handler_name_len, php_zlib_output_handler, chunk_size, flags))) { in php_zlib_output_handler_init()
|
/PHP-8.1/ext/tidy/ |
H A D | tidy.c | 198 …tput_handler_init(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags); 930 …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 932 if (chunk_size) { in php_tidy_output_handler_init() 939 …andler_create_internal(handler_name, handler_name_len, php_tidy_output_handler, chunk_size, flags); in php_tidy_output_handler_init()
|
/PHP-8.1/ext/gd/ |
H A D | gd.stub.php | 168 function imagegd2(GdImage $image, ?string $file = null, int $chunk_size = UNKNOWN, int $mode = UNKN… argument
|
/PHP-8.1/ext/iconv/ |
H A D | iconv.c | 136 …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()
|