Home
last modified time | relevance | path

Searched refs:CHUNK_SIZE (Results 1 – 6 of 6) sorted by relevance

/php-src/ext/fileinfo/
H A Dcreate_data_file.php36 const CHUNK_SIZE = 1024; define
39 $chunks = str_split($dta, CHUNK_SIZE);
40 $chunks[count($chunks) - 1] = str_pad($chunks[count($chunks) - 1], CHUNK_SIZE, chr(0));
42 echo 'const unsigned char php_magic_database[' . count($chunks) . '][' . CHUNK_SIZE . "] = {\n";
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/
H A DsljitExecAllocatorCore.c89 #ifndef CHUNK_SIZE
91 #define CHUNK_SIZE (sljit_uw)0x10000 macro
114 #define CHUNK_MASK (~(CHUNK_SIZE - 1))
197 chunk_size = (size + CHUNK_EXTRA_SIZE + CHUNK_SIZE - 1) & CHUNK_MASK; in sljit_malloc_exec()
/php-src/main/streams/
H A Dphp_streams_int.h46 #define CHUNK_SIZE 8192 macro
H A Dstreams.c1521 int step = CHUNK_SIZE; in _php_stream_copy_to_mem()
1522 int min_room = CHUNK_SIZE / 4; in _php_stream_copy_to_mem()
1534 if (maxlen > 0 && maxlen < 4 * CHUNK_SIZE) { in _php_stream_copy_to_mem()
1611 char buf[CHUNK_SIZE]; in _php_stream_copy_to_stream_ex()
/php-src/ext/zlib/
H A Dzlib.c937 size_t in_len, buffer_used = 0, CHUNK_SIZE = 8192; in PHP_FUNCTION() local
974 out = zend_string_alloc((in_len > CHUNK_SIZE) ? in_len : CHUNK_SIZE, 0); in PHP_FUNCTION()
990 out = zend_string_realloc(out, ZSTR_LEN(out) + CHUNK_SIZE, 0); in PHP_FUNCTION()
991 ctx->Z.avail_out = CHUNK_SIZE; in PHP_FUNCTION()
1002 out = zend_string_realloc(out, ZSTR_LEN(out) + CHUNK_SIZE, 0); in PHP_FUNCTION()
1003 ctx->Z.avail_out = CHUNK_SIZE; in PHP_FUNCTION()
/php-src/ext/standard/
H A Dfilters.c1688 CHUNK_SIZE, enumerator
1716 case CHUNK_SIZE: in php_dechunk()
1731 data->state = CHUNK_SIZE; in php_dechunk()

Completed in 25 milliseconds