Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 25 of 25) sorted by relevance

/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c32 if (chunk->from_pool) { in mysqlnd_mempool_free_chunk()
42 mnd_efree(chunk->ptr); in mysqlnd_mempool_free_chunk()
44 mnd_efree(chunk); in mysqlnd_mempool_free_chunk()
68 memcpy(new_ptr, chunk->ptr, chunk->size); in mysqlnd_mempool_resize_chunk()
71 chunk->size = size; in mysqlnd_mempool_resize_chunk()
87 memcpy(new_ptr, chunk->ptr, chunk->size); in mysqlnd_mempool_resize_chunk()
113 if (chunk) { in mysqlnd_mempool_get_chunk()
114 chunk->size = size; in mysqlnd_mempool_get_chunk()
123 if (!chunk->ptr) { in mysqlnd_mempool_get_chunk()
125 chunk = NULL; in mysqlnd_mempool_get_chunk()
[all …]
H A Dmysqlnd_structs.h65 …enum_func_status (*resize_chunk)(MYSQLND_MEMORY_POOL * pool, MYSQLND_MEMORY_POOL_CHUNK * chunk, un…
66 void (*free_chunk)(MYSQLND_MEMORY_POOL * pool, MYSQLND_MEMORY_POOL_CHUNK * chunk);
/PHP-7.2/ext/phar/
H A Dmakestub.php59 foreach ($s1split as $i => $chunk) {
61 $s1split[$i] = substr($chunk, 1);
64 if ($chunk[strlen($chunk) - 1] == '\\') {
69 foreach ($s3split as $i => $chunk) {
71 $s3split[$i] = substr($chunk, 1);
74 if ($chunk[strlen($chunk) - 1] == '\\') {
81 foreach ($s1split as $i => $chunk) {
83 $stub .= "\tstatic const char newstub1_" . $i . '[] = "' . $chunk . '";
88 foreach ($s3split as $i => $chunk) {
90 $stub .= "\tstatic const char newstub3_" . $i . '[] = "' . $chunk . '";
/PHP-7.2/ext/gd/tests/
H A Dbug73155.phpt2 Bug #73155 (imagegd2() writes wrong chunk sizes on boundaries)
17 printf("chunk size: %d\n", $header['chunk_size']);
18 printf("x chunk count: %d\n", $header['x_count']);
19 printf("y chunk count: %d\n", $header['y_count']);
24 chunk size: 64
25 x chunk count: 1
26 y chunk count: 1
H A Dbug73157.phpt17 printf("chunk size: %d\n", $header['chunk_size']);
21 chunk size: 256
/PHP-7.2/Zend/
H A Dzend_alloc.c820 chunk->prev->next = chunk;
821 chunk->next->prev = chunk;
1034 chunk = chunk->next;
1046 chunk->prev->next = chunk;
1047 chunk->next->prev = chunk;
1080 chunk->next->prev = chunk->prev;
1828 chunk->next = chunk;
1829 chunk->prev = chunk;
1972 chunk = chunk->next;
2770 chunk->next = chunk;
[all …]
H A Dzend_alloc.h298 typedef void (*zend_mm_chunk_free_t)(zend_mm_storage *storage, void *chunk, size_t size);
299 typedef int (*zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, s…
300 typedef int (*zend_mm_chunk_extend_t)(zend_mm_storage *storage, void *chunk, size_t old_size, siz…
/PHP-7.2/sapi/cli/
H A Dphp_cli_server.c874 if (chunk->data.heap.block != chunk) { in php_cli_server_chunk_dtor()
886 for (chunk = buffer->first; chunk; chunk = next) { in php_cli_server_buffer_dtor()
926 for (chunk = buffer->first; chunk; chunk = chunk->next) { in php_cli_server_buffer_size()
940 return chunk; in php_cli_server_chunk_immortal_new()
952 return chunk; in php_cli_server_chunk_heap_new()
961 chunk->data.heap.block = chunk; in php_cli_server_chunk_heap_new_self_contained()
962 chunk->data.heap.p = (char *)(chunk + 1); in php_cli_server_chunk_heap_new_self_contained()
964 return chunk; in php_cli_server_chunk_heap_new_self_contained()
982 for (chunk = sender->buffer.first; chunk; chunk = next) { in php_cli_server_content_sender_send()
1897 chunk->data.heap.len = strlen(chunk->data.heap.p); in php_cli_server_send_error_page()
[all …]
/PHP-7.2/ext/standard/tests/streams/
H A Dstream_set_chunk_size.phpt30 /* when the chunk size is 1, the read buffer is skipped, but the
33 echo "should return previous chunk size (8192)\n";
40 echo "should return previous chunk size (1)\n";
42 echo "should elicit one read of size 100 (chunk size)\n";
44 echo "should elicit one read of size 100 (chunk size)\n";
57 should return previous chunk size (8192)
67 should return previous chunk size (1)
69 should elicit one read of size 100 (chunk size)
72 should elicit one read of size 100 (chunk size)
85 Warning: stream_set_chunk_size(): The chunk size must be a positive integer, given 0 in %s on line …
[all …]
/PHP-7.2/ext/tokenizer/
H A Dtokenizer.php26 $chunk = $token[1]; variable
28 $chunk = $token; variable
30 $output .= $chunk;
/PHP-7.2/ext/openssl/tests/
H A Dbug77390.phpt29 $chunk = stream_get_contents($fp, 4096);
30 $buf .= $chunk;
41 if ($chunk !== '' || !$emptyChunkPrinted) {
43 var_dump($chunk);
/PHP-7.2/ext/pcre/pcrelib/sljit/
H A DsljitExecAllocator.c89 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() argument
92 VirtualFree(chunk, 0, MEM_RELEASE); in free_chunk()
114 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() argument
116 munmap(chunk, size); in free_chunk()
/PHP-7.2/ext/oci8/tests/
H A Dbind_long.phpt38 echo "Test 2 - test multi chunk fetch\n";
66 Test 2 - test multi chunk fetch
/PHP-7.2/ext/odbc/tests/
H A Dbug60616.phpt38 while (($chunk=odbc_result($res, "TEXT_COL")) !== false) {
39 $text_col .= $chunk;
/PHP-7.2/ext/interbase/
H A Dibase_service.c161 int chunk = slprintf(&buf[spb_len], sizeof(buf) - spb_len, "%c%c%c%s", in _php_ibase_user() local
164 if ((spb_len + chunk) > sizeof(buf) || chunk <= 0) { in _php_ibase_user()
168 spb_len += chunk; in _php_ibase_user()
/PHP-7.2/ext/standard/
H A Ddns_win32.c264 DWORD chunk = data_aaaa->Ip6Address.IP6Dword[i]; in php_parserr() local
265 out[i * 2] = htons(LOWORD(chunk)); in php_parserr()
266 out[i * 2 + 1] = htons(HIWORD(chunk)); in php_parserr()
H A Darray.c6266 zval chunk; local
6290 ZVAL_UNDEF(&chunk);
6294 if (Z_TYPE(chunk) == IS_UNDEF) {
6295 array_init_size(&chunk, (uint32_t)size);
6301 entry = zend_hash_update(Z_ARRVAL(chunk), str_key, entry);
6303 entry = zend_hash_index_update(Z_ARRVAL(chunk), num_key, entry);
6306 entry = zend_hash_next_index_insert(Z_ARRVAL(chunk), entry);
6313 add_next_index_zval(return_value, &chunk);
6314 ZVAL_UNDEF(&chunk);
6319 if (Z_TYPE(chunk) != IS_UNDEF) {
[all …]
/PHP-7.2/ext/standard/tests/file/
H A Duserstreams.phpt57 * the default cache chunk size and that we have something
H A Dfile.inc121 // write in terms of a chunk of 1 K to avoid memory size overflow
/PHP-7.2/win32/build/
H A Dconfutils.js2193 var pieces, stuff_to_crack, chunk;
2219 chunk = stuff_to_crack.substr(0, j);
2220 pieces += chunk;
2221 stuff_to_crack = stuff_to_crack.substr(chunk.length);
/PHP-7.2/
H A Dphp.ini-development257 ; Note: Resulting chunk size may vary due to nature of compression. PHP
259 ; compression. If you prefer a larger chunk size for better
H A Dphp.ini-production257 ; Note: Resulting chunk size may vary due to nature of compression. PHP
259 ; compression. If you prefer a larger chunk size for better
H A DNEWS2704 . Fixed bug #73155 (imagegd2() writes wrong chunk sizes on boundaries). (cmb)
/PHP-7.2/ext/fileinfo/tests/
H A Dmagic21 # We guess the file type from the type of the first chunk.
4492 # GLOB chunk was moved near start and provides subversion info since 2.42
13183 # FORM type, which is followed by the first chunk in the FORM.
13243 >>24 string Exec with executable chunk
H A Dmagic私はガラスを食べられます21 # We guess the file type from the type of the first chunk.
4492 # GLOB chunk was moved near start and provides subversion info since 2.42
13183 # FORM type, which is followed by the first chunk in the FORM.
13243 >>24 string Exec with executable chunk

Completed in 266 milliseconds