| /PHP_5_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, ($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_3/ext/interbase/ |
| H A D | ibase_blobs.c | 111 unsigned short chunk_size = (max_len-cur_len) > USHRT_MAX ? USHRT_MAX local 114 stat = isc_get_segment(IB_STATUS, &ib_blob->bl_handle, &seg_len, chunk_size, &bl_data[cur_len]); 134 unsigned short chunk_size; local 138 for (rem_cnt = Z_STRLEN_PP(string_arg); rem_cnt > 0; rem_cnt -= chunk_size) { 140 chunk_size = rem_cnt > USHRT_MAX ? USHRT_MAX : (unsigned short)rem_cnt; 142 if (isc_put_segment(IB_STATUS, &ib_blob->bl_handle, chunk_size, &Z_STRVAL_PP(string_arg)[put_cnt] )) { 146 put_cnt += chunk_size;
|
| /PHP_5_3/ext/oci8/ |
| H A D | oci8_lob.c | 210 ub4 chunk_size; local 216 if (!descriptor->chunk_size) { 217 PHP_OCI_CALL_RETURN(connection->errcode, OCILobGetChunkSize, (connection->svc, connection->err, descriptor->descriptor, &chunk_size)); 224 descriptor->chunk_size = chunk_size; 227 if ((read_length % descriptor->chunk_size) != 0) { 228 return descriptor->chunk_size * ((read_length / descriptor->chunk_size) + 1);
|
| H A D | php_oci8_int.h | 157 ub4 chunk_size; /* chunk size of the LOB. 0 - unknown */ member in struct:__anon110
|
| /PHP_5_3/ext/standard/ |
| H A D | basic_functions.c | 148 ZEND_ARG_INFO(0, chunk_size)
|
| H A D | filters.c | 1912 size_t chunk_size; member in struct:_php_chunked_filter_data 1926 data->chunk_size = 0; 1930 data->chunk_size = (data->chunk_size * 16) + (*p - '0'); 1932 data->chunk_size = (data->chunk_size * 16) + (*p - 'A' + 10); 1934 data->chunk_size = (data->chunk_size * 16) + (*p - 'a' + 10); 1969 if (data->chunk_size == 0) { 1982 if ((size_t) (end - p) >= data->chunk_size) { [all...] |
| H A D | http_fopen_wrapper.c | 104 size_t chunk_size = 0, file_size = 0; local 305 chunk_size = php_stream_set_chunk_size(stream, 1); 899 php_stream_set_chunk_size(stream, chunk_size);
|
| /PHP_5_3/main/ |
| H A D | output.c | 37 static int php_ob_init(uint initial_size, uint block_size, zval *output_handler, uint chunk_size, zend_bool erase TSRMLS_DC); 137 PHPAPI int php_start_ob_buffer(zval *output_handler, uint chunk_size, zend_bool erase TSRMLS_DC) argument 151 if (chunk_size > 0) { 152 if (chunk_size==1) { 153 chunk_size = 4096; 155 initial_size = (chunk_size*3/2); 156 block_size = chunk_size/2; 161 return php_ob_init(initial_size, block_size, output_handler, chunk_size, erase TSRMLS_CC); 167 PHPAPI int php_start_ob_buffer_named(const char *output_handler_name, uint chunk_size, zend_bool erase TSRMLS_DC) argument 176 result = php_start_ob_buffer(output_handler, chunk_size, eras 437 php_ob_init_named(uint initial_size, uint block_size, char *handler_name, zval *output_handler, uint chunk_size, zend_bool erase TSRMLS_DC) argument 492 php_ob_init(uint initial_size, uint block_size, zval *output_handler, uint chunk_size, zend_bool erase TSRMLS_DC) argument 772 long chunk_size = 0; local [all...] |
| H A D | php_output.h | 36 PHPAPI int php_start_ob_buffer(zval *output_handler, uint chunk_size, zend_bool erase TSRMLS_DC); 37 PHPAPI int php_start_ob_buffer_named(const char *output_handler_name, uint chunk_size, zend_bool erase TSRMLS_DC); 72 uint chunk_size; member in struct:_php_ob_buffer
|
| H A D | php_streams.h | 223 size_t chunk_size; member in struct:_php_stream
|
| H A D | main.c | 1630 OG(ob_nesting_level) && !OG(active_ob_buffer).chunk_size && PG(memory_limit) < zend_memory_usage(1 TSRMLS_CC)) {
|
| /PHP_5_3/main/streams/ |
| H A D | filter.c | 493 stream->readbuf = perealloc(stream->readbuf, stream->writepos + flushed_size + stream->chunk_size, stream->is_persistent);
|
| H A D | streams.c | 297 ret->chunk_size = FG(def_chunk_size); 520 chunk_buf = emalloc(stream->chunk_size); 530 justread = stream->ops->read(stream, chunk_buf, stream->chunk_size TSRMLS_CC); 612 if (stream->readbuf && stream->readbuflen - stream->writepos < stream->chunk_size) { 620 if (stream->readbuflen - stream->writepos < stream->chunk_size) { 621 stream->readbuflen += stream->chunk_size; 666 if (!stream->readfilters.head && (stream->flags & PHP_STREAM_FLAG_NO_BUFFER || stream->chunk_size == 1)) { 893 /* XXX: Should be fine to always read chunk_size */ 897 toread = stream->chunk_size; 900 if (toread > stream->chunk_size) { [all...] |
| /PHP_5_3/ext/mysqlnd/ |
| H A D | mysqlnd_net.c | 68 size_t old_chunk_size = conn->net->stream->chunk_size; 71 conn->net->stream->chunk_size = MIN(to_read, conn->net->options.net_read_buffer_size); 82 conn->net->stream->chunk_size = old_chunk_size; 238 size_t old_chunk_size = net->stream->chunk_size; 248 net->stream->chunk_size = MYSQLND_MAX_PACKET_SIZE; 345 net->stream->chunk_size = old_chunk_size;
|
| H A D | mysqlnd_wireprotocol.c | 1533 size_t old_chunk_size = net->stream->chunk_size; 1615 net->stream->chunk_size = old_chunk_size;
|
| /PHP_5_3/ext/gd/ |
| H A D | gd.c | 437 ZEND_ARG_INFO(0, chunk_size) 2858 /* {{{ proto bool imagegd2(resource im [, string filename, [, int chunk_size, [, int type]]])
|
| /PHP_5_3/ext/pdo_firebird/ |
| H A D | firebird_statement.c | 276 unsigned short chunk_size = (*len-cur_len) > USHRT_MAX ? USHRT_MAX local 279 stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, &(*ptr)[cur_len]); 419 unsigned short chunk_size; local 431 for (rem_cnt = Z_STRLEN_P(param); rem_cnt > 0; rem_cnt -= chunk_size) { 433 chunk_size = rem_cnt > USHRT_MAX ? USHRT_MAX : (unsigned short)rem_cnt; 435 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL_P(param)[put_cnt])) { 440 put_cnt += chunk_size;
|