/PHP-5.5/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… 38 ----( chunk_size: -1, output append size: 1 )---- 41 ----( chunk_size: 0, output append size: 1 )---- 44 ----( chunk_size: 1, output append size: 1 )---- 55 ----( chunk_size: 2, output append size: 1 )---- 62 ----( chunk_size: 3, output append size: 1 )---- 67 ----( chunk_size: 4, output append size: 1 )---- 72 ----( chunk_size: 5, output append size: 1 )---- 76 ----( chunk_size: 6, output append size: 1 )---- 80 ----( 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-5.5/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-5.5/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 | 15 private $chunk_size; 17 function testcase($enc, $chunk_size = 0, $bom = 0, $omit_prologue = 0) { 19 $this->chunk_size = $chunk_size; 103 if ($this->chunk_size == 0) { 107 $offset += $this->chunk_size) { 108 $success = @xml_parse($parser, substr($data, $offset, $this->chunk_size), false); 120 echo "Chunk size: ".($this->chunk_size ? "$this->chunk_size byte(s)\n": "all data at once\n");
|
/PHP-5.5/ext/gd/libgd/ |
H A D | webpimg.c | 260 uint32 chunk_size = 0xffffffffu; in SkipRiffHeader() local 270 chunk_size = get_le32(*data_ptr + 16); in SkipRiffHeader() 271 if ((chunk_size > riff_size + 8) || (chunk_size & 1)) { in SkipRiffHeader() 279 return chunk_size; in SkipRiffHeader() 461 if (!chunk_size) { in WebPDecode() 776 (chunk_size >> 0) & 255, in WebPEncode() 777 (chunk_size >> 8) & 255, in WebPEncode() 778 (chunk_size >> 16) & 255, in WebPEncode() 779 (chunk_size >> 24) & 255 }; in WebPEncode() 858 if (!chunk_size) { in WebPGetInfo() [all …]
|
/PHP-5.5/main/ |
H A D | php_output.h | 121 …lias_ctor_t)(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags TSRML… 230 PHPAPI int php_output_start_user(zval *output_handler, size_t chunk_size, int flags TSRMLS_DC); 231 …ame, size_t name_len, php_output_handler_func_t output_handler, size_t chunk_size, int flags TSRML… 233 PHPAPI php_output_handler *php_output_handler_create_user(zval *handler, size_t chunk_size, int fla… 234 …me, size_t name_len, php_output_handler_context_func_t handler, size_t chunk_size, int flags TSRML…
|
H A D | output.c | 451 PHPAPI int php_output_start_user(zval *output_handler, size_t chunk_size, int flags TSRMLS_DC) in php_output_start_user() argument 456 handler = php_output_handler_create_user(output_handler, chunk_size, flags TSRMLS_CC); in php_output_start_user() 486 PHPAPI php_output_handler *php_output_handler_create_user(zval *output_handler, size_t chunk_size, … in php_output_handler_create_user() argument 499 …handler = (*alias)(Z_STRVAL_P(output_handler), Z_STRLEN_P(output_handler), chunk_size, flags TSRML… in php_output_handler_create_user() 884 handler->size = chunk_size; in php_output_handler_init() 886 handler->buffer.size = PHP_OUTPUT_HANDLER_INITBUF_SIZE(chunk_size); in php_output_handler_init() 1322 long chunk_size = 0; in PHP_FUNCTION() local 1325 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z/ll", &output_handler, &chunk_size, &flags… in PHP_FUNCTION() 1329 if (chunk_size < 0) { in PHP_FUNCTION() 1330 chunk_size = 0; in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/interbase/ |
H A D | ibase_blobs.c | 109 unsigned short chunk_size = (max_len-cur_len) > USHRT_MAX ? USHRT_MAX in _php_ibase_blob_get() local 112 stat = isc_get_segment(IB_STATUS, &ib_blob->bl_handle, &seg_len, chunk_size, &bl_data[cur_len]); in _php_ibase_blob_get() 132 unsigned short chunk_size; in _php_ibase_blob_add() local 136 for (rem_cnt = Z_STRLEN_PP(string_arg); rem_cnt > 0; rem_cnt -= chunk_size) { in _php_ibase_blob_add() 138 chunk_size = rem_cnt > USHRT_MAX ? USHRT_MAX : (unsigned short)rem_cnt; in _php_ibase_blob_add() 140 …if (isc_put_segment(IB_STATUS, &ib_blob->bl_handle, chunk_size, &Z_STRVAL_PP(string_arg)[put_cnt] … in _php_ibase_blob_add() 144 put_cnt += chunk_size; in _php_ibase_blob_add()
|
/PHP-5.5/ |
H A D | README.NEW-OUTPUT-API | 18 // php_start_ob_buffer(zhandler, chunk_size, erase TSRMLS_CC); 19 php_output_start_user(zhandler, chunk_size, flags TSRMLS_CC); 23 …internal(handler_name, handler_name_len, my_php_output_handler_func_t, chunk_size, flags TSRMLS_CC… 28 …(handler_name, handler_name_len, my_php_output_handler_context_func_t, chunk_size, flags TSRMLS_CC…
|
/PHP-5.5/ext/pdo_firebird/ |
H A D | firebird_statement.c | 274 unsigned short chunk_size = (*len-cur_len) > USHRT_MAX ? USHRT_MAX in firebird_fetch_blob() local 277 stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, &(*ptr)[cur_len]); in firebird_fetch_blob() 417 unsigned short chunk_size; in firebird_bind_blob() local 429 for (rem_cnt = Z_STRLEN_P(param); rem_cnt > 0; rem_cnt -= chunk_size) { in firebird_bind_blob() 431 chunk_size = rem_cnt > USHRT_MAX ? USHRT_MAX : (unsigned short)rem_cnt; in firebird_bind_blob() 433 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL_P(param)[put_cnt])) { in firebird_bind_blob() 438 put_cnt += chunk_size; in firebird_bind_blob()
|
/PHP-5.5/ext/oci8/ |
H A D | oci8_lob.c | 210 ub4 chunk_size; in php_oci_lob_calculate_buffer() local 216 if (!descriptor->chunk_size) { in php_oci_lob_calculate_buffer() 217 …code, 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() 227 if ((read_length % descriptor->chunk_size) != 0) { in php_oci_lob_calculate_buffer() 228 return descriptor->chunk_size * ((read_length / descriptor->chunk_size) + 1); in php_oci_lob_calculate_buffer()
|
/PHP-5.5/ext/standard/ |
H A D | filters.c | 1951 size_t chunk_size; member 1965 data->chunk_size = 0; in php_dechunk() 1969 data->chunk_size = (data->chunk_size * 16) + (*p - '0'); in php_dechunk() 1971 data->chunk_size = (data->chunk_size * 16) + (*p - 'A' + 10); in php_dechunk() 1973 data->chunk_size = (data->chunk_size * 16) + (*p - 'a' + 10); in php_dechunk() 2008 if (data->chunk_size == 0) { in php_dechunk() 2025 out += data->chunk_size; in php_dechunk() 2026 out_len += data->chunk_size; in php_dechunk() 2027 p += data->chunk_size; in php_dechunk() 2036 data->chunk_size -= end - p; in php_dechunk() [all …]
|
/PHP-5.5/main/streams/ |
H A D | streams.c | 306 ret->chunk_size = FG(def_chunk_size); in _php_stream_alloc() 586 chunk_buf = emalloc(stream->chunk_size); in _php_stream_fill_read_buffer() 687 stream->readbuflen += stream->chunk_size; in _php_stream_fill_read_buffer() 967 toread = stream->chunk_size; in _php_stream_get_line() 970 if (toread > stream->chunk_size) { in _php_stream_get_line() 971 toread = stream->chunk_size; in _php_stream_get_line() 1048 to_read_now = MIN(maxlen - buffered_len, stream->chunk_size); in php_stream_get_record() 1130 if (towrite > stream->chunk_size) in _php_stream_write_buffer() 1131 towrite = stream->chunk_size; in _php_stream_write_buffer() 1363 ret = stream->chunk_size; in _php_stream_set_option() [all …]
|
/PHP-5.5/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 );
|
/PHP-5.5/ext/zlib/ |
H A D | zlib.c | 270 …handler_init(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags TSRML… in php_zlib_output_handler_init() argument 275 ZLIBG(output_compression) = chunk_size ? chunk_size : PHP_OUTPUT_HANDLER_DEFAULT_SIZE; in php_zlib_output_handler_init() 280 …eate_internal(handler_name, handler_name_len, php_zlib_output_handler, chunk_size, flags TSRMLS_CC… in php_zlib_output_handler_init()
|