Searched refs:chunk_size (Results 1 - 22 of 22) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dwebpimg.c260 uint32 chunk_size = 0xffffffffu; local
270 chunk_size = get_le32(*data_ptr + 16);
271 if ((chunk_size > riff_size + 8) || (chunk_size & 1)) {
279 return chunk_size;
460 const uint32 chunk_size = SkipRiffHeader(&data, &data_size); local
461 if (!chunk_size) {
767 const int chunk_size = (img_size_bytes + 1) & ~1; /* make size even */ local
768 const int riff_size = chunk_size + 12;
776 (chunk_size >>
853 const uint32 chunk_size = SkipRiffHeader(&data, &data_size); local
[all...]
/PHP_TRUNK/ext/standard/tests/file/
H A Dfile.inc123 $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_TRUNK/ext/oci8/
H A Doci8_lob.c95 descriptor->chunk_size = 0;
216 ub4 chunk_size; local
223 if (!descriptor->chunk_size) {
224 PHP_OCI_CALL_RETURN(errstatus, OCILobGetChunkSize, (connection->svc, connection->err, descriptor->descriptor, &chunk_size));
231 descriptor->chunk_size = chunk_size;
235 if ((read_length % descriptor->chunk_size) != 0) {
236 return descriptor->chunk_size * ((read_length / descriptor->chunk_size) + 1);
H A Dphp_oci8_int.h175 ub4 chunk_size; /* chunk size of the LOB. 0 - unknown */ member in struct:__anon106
286 ub4 chunk_size; /* LOB chunk size */ member in struct:__anon113
H A Doci8.c2590 if (column->chunk_size)
2591 descriptor->chunk_size = column->chunk_size;
2593 if (descriptor->chunk_size) /* Cache the chunk_size to avoid recalling OCILobGetChunkSize */
2594 column->chunk_size = descriptor->chunk_size;
H A Doci8_statement.c716 outcol->chunk_size = 0;
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitExecAllocator.c180 sljit_uw chunk_size; local
190 chunk_size = free_block->size;
191 if (chunk_size > size + 64) {
193 chunk_size -= size;
194 free_block->size = chunk_size;
195 header = AS_BLOCK_HEADER(free_block, chunk_size);
196 header->prev_size = chunk_size;
202 size = chunk_size;
212 chunk_size = (size + sizeof(struct block_header) + CHUNK_SIZE - 1) & CHUNK_MASK;
213 header = (struct block_header*)alloc_chunk(chunk_size);
[all...]
/PHP_TRUNK/main/
H A Dphp_output.h121 typedef struct _php_output_handler *(*php_output_handler_alias_ctor_t)(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags TSRMLS_DC);
229 PHPAPI int php_output_start_user(zval *output_handler, size_t chunk_size, int flags TSRMLS_DC);
230 PHPAPI int php_output_start_internal(const char *name, size_t name_len, php_output_handler_func_t output_handler, size_t chunk_size, int flags TSRMLS_DC);
232 PHPAPI php_output_handler *php_output_handler_create_user(zval *handler, size_t chunk_size, int flags TSRMLS_DC);
233 PHPAPI php_output_handler *php_output_handler_create_internal(const char *name, size_t name_len, php_output_handler_context_func_t handler, size_t chunk_size, int flags TSRMLS_DC);
H A Doutput.c58 static inline php_output_handler *php_output_handler_init(zend_string *name, size_t chunk_size, int flags TSRMLS_DC);
454 /* {{{ SUCCESS|FAILURE php_output_start_user(zval *handler, size_t chunk_size, int flags TSRMLS_DC)
456 PHPAPI int php_output_start_user(zval *output_handler, size_t chunk_size, int flags TSRMLS_DC) argument
461 handler = php_output_handler_create_user(output_handler, chunk_size, flags TSRMLS_CC);
463 handler = php_output_handler_create_internal(ZEND_STRL(php_output_default_handler_name), php_output_handler_default_func, chunk_size, flags TSRMLS_CC);
473 /* {{{ SUCCESS|FAILURE php_output_start_internal(zval *name, php_output_handler_func_t handler, size_t chunk_size, int flags TSRMLS_DC)
475 PHPAPI int php_output_start_internal(const char *name, size_t name_len, php_output_handler_func_t output_handler, size_t chunk_size, int flags TSRMLS_DC) argument
479 handler = php_output_handler_create_internal(name, name_len, php_output_handler_compat_func, chunk_size, flags TSRMLS_CC);
489 /* {{{ php_output_handler *php_output_handler_create_user(zval *handler, size_t chunk_size, int flags TSRMLS_DC)
491 PHPAPI php_output_handler *php_output_handler_create_user(zval *output_handler, size_t chunk_size, in argument
532 php_output_handler_create_internal(const char *name, size_t name_len, php_output_handler_context_func_t output_handler, size_t chunk_size, int flags TSRMLS_DC) argument
883 php_output_handler_init(zend_string *name, size_t chunk_size, int flags TSRMLS_DC) argument
1319 zend_long chunk_size = 0; local
[all...]
H A Dphp_streams.h221 size_t chunk_size; member in struct:_php_stream
/PHP_TRUNK/main/streams/
H A Dfilter.c491 stream->readbuf = perealloc(stream->readbuf, stream->writepos + flushed_size + stream->chunk_size, stream->is_persistent);
H A Dstreams.c305 ret->chunk_size = FG(def_chunk_size);
590 chunk_buf = emalloc(stream->chunk_size);
600 justread = stream->ops->read(stream, chunk_buf, stream->chunk_size TSRMLS_CC);
682 if (stream->readbuf && stream->readbuflen - stream->writepos < stream->chunk_size) {
690 if (stream->readbuflen - stream->writepos < stream->chunk_size) {
691 stream->readbuflen += stream->chunk_size;
736 if (!stream->readfilters.head && (stream->flags & PHP_STREAM_FLAG_NO_BUFFER || stream->chunk_size == 1)) {
967 /* XXX: Should be fine to always read chunk_size */
971 toread = stream->chunk_size;
974 if (toread > stream->chunk_size) {
[all...]
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_statement.c274 unsigned short chunk_size = (*len-cur_len) > USHRT_MAX ? USHRT_MAX local
277 stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, &(*ptr)[cur_len]);
417 unsigned short chunk_size; local
428 for (rem_cnt = Z_STRLEN_P(param); rem_cnt > 0; rem_cnt -= chunk_size) {
430 chunk_size = rem_cnt > USHRT_MAX ? USHRT_MAX : (unsigned short)rem_cnt;
432 if (isc_put_segment(H->isc_status, &h, chunk_size, &Z_STRVAL_P(param)[put_cnt])) {
437 put_cnt += chunk_size;
/PHP_TRUNK/ext/standard/
H A Dhttp_fopen_wrapper.c131 size_t chunk_size = 0, file_size = 0; local
337 chunk_size = php_stream_set_chunk_size(stream, 1);
894 php_stream_set_chunk_size(stream, chunk_size);
H A Dfilters.c1930 size_t chunk_size; member in struct:_php_chunked_filter_data
1944 data->chunk_size = 0;
1948 data->chunk_size = (data->chunk_size * 16) + (*p - '0');
1950 data->chunk_size = (data->chunk_size * 16) + (*p - 'A' + 10);
1952 data->chunk_size = (data->chunk_size * 16) + (*p - 'a' + 10);
1987 if (data->chunk_size == 0) {
2000 if ((size_t) (end - p) >= data->chunk_size) {
[all...]
H A Dbasic_functions.c151 ZEND_ARG_INFO(0, chunk_size)
2099 ZEND_ARG_INFO(0, chunk_size)
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_net.c71 size_t old_chunk_size = net_stream->chunk_size;
78 net_stream->chunk_size = MIN(to_read, net->data->options.net_read_buffer_size);
89 net_stream->chunk_size = old_chunk_size;
/PHP_TRUNK/ext/interbase/
H A Dibase_blobs.c109 unsigned short chunk_size = (max_len-cur_len) > USHRT_MAX ? USHRT_MAX local
112 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_P(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_P(string_arg)[put_cnt] )) {
146 put_cnt += chunk_size;
/PHP_TRUNK/ext/tidy/
H A Dtidy.c225 static php_output_handler *php_tidy_output_handler_init(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags TSRMLS_DC);
1130 static php_output_handler *php_tidy_output_handler_init(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags TSRMLS_DC) argument
1132 if (chunk_size) {
1139 return php_output_handler_create_internal(handler_name, handler_name_len, php_tidy_output_handler, chunk_size, flags TSRMLS_CC);
/PHP_TRUNK/ext/iconv/
H A Diconv.c213 static php_output_handler *php_iconv_output_handler_init(const char *name, size_t name_len, size_t chunk_size, int flags TSRMLS_DC);
389 static php_output_handler *php_iconv_output_handler_init(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags TSRMLS_DC) argument
391 return php_output_handler_create_internal(handler_name, handler_name_len, php_iconv_output_handler, chunk_size, flags TSRMLS_CC);
/PHP_TRUNK/ext/gd/
H A Dgd.c406 ZEND_ARG_INFO(0, chunk_size)
2766 /* {{{ proto bool imagegd2(resource im [, string filename, [, int chunk_size, [, int type]]])
/PHP_TRUNK/ext/zlib/
H A Dzlib.c261 static php_output_handler *php_zlib_output_handler_init(const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags TSRMLS_DC) argument
266 ZLIBG(output_compression) = chunk_size ? chunk_size : PHP_OUTPUT_HANDLER_DEFAULT_SIZE;
271 if ((h = php_output_handler_create_internal(handler_name, handler_name_len, php_zlib_output_handler, chunk_size, flags TSRMLS_CC))) {

Completed in 88 milliseconds