/PHP-7.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… 37 ----( chunk_size: -1, output append size: 1 )---- 40 ----( chunk_size: 0, output append size: 1 )---- 43 ----( chunk_size: 1, output append size: 1 )---- 54 ----( chunk_size: 2, output append size: 1 )---- 61 ----( chunk_size: 3, output append size: 1 )---- 66 ----( chunk_size: 4, output append size: 1 )---- 71 ----( chunk_size: 5, output append size: 1 )---- 75 ----( chunk_size: 6, output append size: 1 )---- 79 ----( 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_start_basic_001.phpt | 6 * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]])
|
H A D | ob_get_status.phpt | 26 ["chunk_size"]=>
|
H A D | ob_start_error_005.phpt | 7 * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]])
|
H A D | ob_start_error_003.phpt | 6 * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]])
|
H A D | ob_start_basic_005.phpt | 6 * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]])
|
H A D | ob_start_error_004.phpt | 6 * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]])
|
H A D | ob_start_error_001.phpt | 6 * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]])
|
H A D | ob_start_error_002.phpt | 6 * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]])
|
H A D | ob_start_basic_006.phpt | 6 * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]])
|
/PHP-7.1/ext/pcre/pcrelib/sljit/ |
H A D | sljitExecAllocator.c | 180 sljit_uw chunk_size; in sljit_malloc_exec() local 190 chunk_size = free_block->size; in sljit_malloc_exec() 191 if (chunk_size > size + 64) { in sljit_malloc_exec() 193 chunk_size -= size; in sljit_malloc_exec() 194 free_block->size = chunk_size; in sljit_malloc_exec() 202 size = chunk_size; in sljit_malloc_exec() 220 total_size += chunk_size; in sljit_malloc_exec() 223 if (chunk_size > size + 64) { in sljit_malloc_exec() 227 chunk_size -= size; in sljit_malloc_exec() 236 allocated_size += chunk_size; in sljit_malloc_exec() [all …]
|
/PHP-7.1/ext/xml/tests/ |
H A D | bug32001b.phpt | 18 private $chunk_size; 20 function testcase($enc, $chunk_size = 0, $bom = 0, $omit_prologue = 0) { 22 $this->chunk_size = $chunk_size; 61 if ($this->chunk_size == 0) { 65 $offset += $this->chunk_size) { 66 $success = @xml_parse($parser, substr($data, $offset, $this->chunk_size), false); 78 echo "Chunk size: ".($this->chunk_size ? "$this->chunk_size byte(s)\n": "all data at once\n");
|
H A D | bug32001.phpt | 17 private $chunk_size; 19 function __construct($enc, $chunk_size = 0, $bom = 0, $omit_prologue = 0) { 21 $this->chunk_size = $chunk_size; 105 if ($this->chunk_size == 0) { 109 $offset += $this->chunk_size) { 110 $success = @xml_parse($parser, substr($data, $offset, $this->chunk_size), false); 122 echo "Chunk size: ".($this->chunk_size ? "$this->chunk_size byte(s)\n": "all data at once\n");
|
/PHP-7.1/main/ |
H A D | php_output.h | 116 …ler_alias_ctor_t)(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags); 226 PHPAPI int php_output_start_user(zval *output_handler, size_t chunk_size, int flags); 227 …ar *name, size_t name_len, php_output_handler_func_t output_handler, size_t chunk_size, int flags); 229 PHPAPI php_output_handler *php_output_handler_create_user(zval *handler, size_t chunk_size, int fla… 230 …r *name, size_t name_len, php_output_handler_context_func_t handler, size_t chunk_size, int flags);
|
H A D | output.c | 58 static inline php_output_handler *php_output_handler_init(zend_string *name, size_t chunk_size, int… 441 PHPAPI int php_output_start_user(zval *output_handler, size_t chunk_size, int flags) in php_output_start_user() argument 446 handler = php_output_handler_create_user(output_handler, chunk_size, flags); in php_output_start_user() 490 handler = alias(Z_STRVAL_P(output_handler), Z_STRLEN_P(output_handler), chunk_size, flags); in php_output_handler_create_user() 522 handler = php_output_handler_init(str, chunk_size, (flags & ~0xf) | PHP_OUTPUT_HANDLER_INTERNAL); in php_output_handler_create_internal() 869 handler->size = chunk_size; in php_output_handler_init() 871 handler->buffer.size = PHP_OUTPUT_HANDLER_INITBUF_SIZE(chunk_size); in php_output_handler_init() 1298 zend_long chunk_size = 0; in PHP_FUNCTION() local 1305 if (chunk_size < 0) { in PHP_FUNCTION() 1306 chunk_size = 0; in PHP_FUNCTION() [all …]
|
/PHP-7.1/ext/interbase/ |
H A D | ibase_blobs.c | 106 unsigned short chunk_size = (max_len-cur_len) > USHRT_MAX ? USHRT_MAX in _php_ibase_blob_get() local 109 …stat = isc_get_segment(IB_STATUS, &ib_blob->bl_handle, &seg_len, chunk_size, &ZSTR_VAL(bl_data)[cu… in _php_ibase_blob_get() 130 unsigned short chunk_size; in _php_ibase_blob_add() local 134 for (rem_cnt = Z_STRLEN_P(string_arg); rem_cnt > 0; rem_cnt -= chunk_size) { in _php_ibase_blob_add() 136 chunk_size = rem_cnt > USHRT_MAX ? USHRT_MAX : (unsigned short)rem_cnt; in _php_ibase_blob_add() 138 …if (isc_put_segment(IB_STATUS, &ib_blob->bl_handle, chunk_size, &Z_STRVAL_P(string_arg)[put_cnt] )… in _php_ibase_blob_add() 142 put_cnt += chunk_size; in _php_ibase_blob_add()
|
/PHP-7.1/ext/gd/tests/ |
H A D | bug73157.phpt | 17 printf("chunk size: %d\n", $header['chunk_size']);
|
H A D | bug73155.phpt | 17 printf("chunk size: %d\n", $header['chunk_size']);
|
/PHP-7.1/ext/oci8/ |
H A D | oci8_lob.c | 95 descriptor->chunk_size = 0; in php_oci_lob_create() 215 ub4 chunk_size; in php_oci_lob_calculate_buffer() local 222 if (!descriptor->chunk_size) { in php_oci_lob_calculate_buffer() 223 …atus, OCILobGetChunkSize, (connection->svc, connection->err, descriptor->descriptor, &chunk_size)); in php_oci_lob_calculate_buffer() 230 descriptor->chunk_size = chunk_size; in php_oci_lob_calculate_buffer() 234 if ((read_length % descriptor->chunk_size) != 0) { in php_oci_lob_calculate_buffer() 235 return (int) descriptor->chunk_size * (((int) read_length / descriptor->chunk_size) + 1); in php_oci_lob_calculate_buffer()
|
/PHP-7.1/ |
H A D | README.NEW-OUTPUT-API | 18 // php_start_ob_buffer(zhandler, chunk_size, erase); 19 php_output_start_user(zhandler, chunk_size, flags); 23 …ut_start_internal(handler_name, handler_name_len, my_php_output_handler_func_t, chunk_size, flags); 28 …_internal(handler_name, handler_name_len, my_php_output_handler_context_func_t, chunk_size, flags);
|
/PHP-7.1/ext/standard/ |
H A D | filters.c | 1877 size_t chunk_size; member 1892 data->chunk_size = 0; in php_dechunk() 1896 data->chunk_size = (data->chunk_size * 16) + (*p - '0'); in php_dechunk() 1898 data->chunk_size = (data->chunk_size * 16) + (*p - 'A' + 10); in php_dechunk() 1900 data->chunk_size = (data->chunk_size * 16) + (*p - 'a' + 10); in php_dechunk() 1935 if (data->chunk_size == 0) { in php_dechunk() 1952 out += data->chunk_size; in php_dechunk() 1953 out_len += data->chunk_size; in php_dechunk() 1954 p += data->chunk_size; in php_dechunk() 1963 data->chunk_size -= end - p; in php_dechunk() [all …]
|
/PHP-7.1/ext/pdo_firebird/ |
H A D | firebird_statement.c | 301 unsigned short chunk_size = (*len-cur_len) > USHRT_MAX ? USHRT_MAX in firebird_fetch_blob() local 304 stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, &(*ptr)[cur_len]); in firebird_fetch_blob() 453 unsigned short chunk_size; in firebird_bind_blob() local 468 for (rem_cnt = Z_STRLEN(data); rem_cnt > 0; rem_cnt -= chunk_size) { in firebird_bind_blob() 469 chunk_size = rem_cnt > USHRT_MAX ? USHRT_MAX : (unsigned short)rem_cnt; in firebird_bind_blob() 470 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL(data)[put_cnt])) { in firebird_bind_blob() 475 put_cnt += chunk_size; in firebird_bind_blob()
|
/PHP-7.1/main/streams/ |
H A D | streams.c | 287 ret->chunk_size = FG(def_chunk_size); in _php_stream_alloc() 569 chunk_buf = emalloc(stream->chunk_size); in _php_stream_fill_read_buffer() 670 stream->readbuflen += stream->chunk_size; in _php_stream_fill_read_buffer() 950 toread = stream->chunk_size; in _php_stream_get_line() 953 if (toread > stream->chunk_size) { in _php_stream_get_line() 954 toread = stream->chunk_size; in _php_stream_get_line() 1031 to_read_now = MIN(maxlen - buffered_len, stream->chunk_size); in php_stream_get_record() 1113 if (towrite > stream->chunk_size) in _php_stream_write_buffer() 1114 towrite = stream->chunk_size; in _php_stream_write_buffer() 1357 ret = stream->chunk_size > INT_MAX ? INT_MAX : (int)stream->chunk_size; in _php_stream_set_option() [all …]
|
/PHP-7.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, ($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, ($chunk_size/$size_divider) + $add_value );
|