Home
last modified time | relevance | path

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

/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c47 mnd_free(chunk->ptr); in mysqlnd_mempool_free_chunk()
49 mnd_free(chunk); in mysqlnd_mempool_free_chunk()
74 memcpy(new_ptr, chunk->ptr, chunk->size); in mysqlnd_mempool_resize_chunk()
94 memcpy(new_ptr, chunk->ptr, chunk->size); in mysqlnd_mempool_resize_chunk()
121 if (chunk) { in mysqlnd_mempool_get_chunk()
124 chunk->size = size; in mysqlnd_mempool_get_chunk()
130 chunk->pool = pool; in mysqlnd_mempool_get_chunk()
134 if (!chunk->ptr) { in mysqlnd_mempool_get_chunk()
135 chunk->free_chunk(chunk TSRMLS_CC); in mysqlnd_mempool_get_chunk()
136 chunk = NULL; in mysqlnd_mempool_get_chunk()
[all …]
H A Dmysqlnd_structs.h57 enum_func_status (*resize_chunk)(MYSQLND_MEMORY_POOL_CHUNK * chunk, unsigned int size TSRMLS_DC);
58 void (*free_chunk)(MYSQLND_MEMORY_POOL_CHUNK * chunk TSRMLS_DC);
/PHP-5.4/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-5.4/sapi/cli/
H A Dphp_cli_server.c858 if (chunk->data.heap.block != chunk) { in php_cli_server_chunk_dtor()
870 for (chunk = buffer->first; chunk; chunk = next) { in php_cli_server_buffer_dtor()
910 for (chunk = buffer->first; chunk; chunk = chunk->next) { in php_cli_server_buffer_size()
919 if (!chunk) { in php_cli_server_chunk_immortal_new()
927 return chunk; in php_cli_server_chunk_immortal_new()
933 if (!chunk) { in php_cli_server_chunk_heap_new()
954 chunk->data.heap.block = chunk; in php_cli_server_chunk_heap_new_self_contained()
955 chunk->data.heap.p = (char *)(chunk + 1); in php_cli_server_chunk_heap_new_self_contained()
975 for (chunk = sender->buffer.first; chunk; chunk = next) { in php_cli_server_content_sender_send()
1801 chunk->data.heap.len = strlen(chunk->data.heap.p); in php_cli_server_send_error_page()
[all …]
/PHP-5.4/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";
58 should return previous chunk size (8192)
68 should return previous chunk size (1)
70 should elicit one read of size 100 (chunk size)
73 should elicit one read of size 100 (chunk size)
86 Warning: stream_set_chunk_size(): The chunk size must be a positive integer, given 0 in %s on line …
[all …]
/PHP-5.4/ext/tokenizer/
H A Dtokenizer.php26 $chunk = $token[1]; variable
28 $chunk = $token; variable
30 $output .= $chunk;
/PHP-5.4/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-5.4/ext/oci8/tests/
H A Dbind_long.phpt38 echo "Test 2 - test multi chunk fetch\n";
66 Test 2 - test multi chunk fetch
/PHP-5.4/ext/odbc/tests/
H A Dbug60616.phpt33 while (($chunk=odbc_result($res, "TEXT_COL")) !== false) {
34 $text_col .= $chunk;
/PHP-5.4/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()
169 spb_len += chunk; in _php_ibase_user()
/PHP-5.4/ext/standard/
H A Ddns_win32.c263 DWORD chunk = data_aaaa->Ip6Address.IP6Dword[i]; in php_parserr() local
264 out[i * 2] = htons(LOWORD(chunk)); in php_parserr()
265 out[i * 2 + 1] = htons(HIWORD(chunk)); in php_parserr()
H A Darray.c4403 zval *chunk = NULL; in PHP_FUNCTION() local
4427 if (!chunk) { in PHP_FUNCTION()
4428 MAKE_STD_ZVAL(chunk); in PHP_FUNCTION()
4429 array_init_size(chunk, size); in PHP_FUNCTION()
4439 add_assoc_zval_ex(chunk, str_key, str_key_len, *entry); in PHP_FUNCTION()
4442 add_index_zval(chunk, num_key, *entry); in PHP_FUNCTION()
4446 add_next_index_zval(chunk, *entry); in PHP_FUNCTION()
4452 add_next_index_zval(return_value, chunk); in PHP_FUNCTION()
4453 chunk = NULL; in PHP_FUNCTION()
4460 if (chunk) { in PHP_FUNCTION()
[all …]
/PHP-5.4/win32/build/
H A Dconfutils.js1818 var pieces, stuff_to_crack, chunk;
1844 chunk = stuff_to_crack.substr(0, j);
1845 pieces += chunk;
1846 stuff_to_crack = stuff_to_crack.substr(chunk.length);
/PHP-5.4/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-5.4/
H A DUPGRADING279 - stream_set_write_buffer() no longer changes the chunk size in socket streams.
331 - ob_start() will now treat a chunk size of 1 as meaning 1 byte, rather than
H A Dphp.ini-development254 ; Note: Resulting chunk size may vary due to nature of compression. PHP
256 ; compression. If you prefer a larger chunk size for better
H A Dphp.ini-production254 ; Note: Resulting chunk size may vary due to nature of compression. PHP
256 ; compression. If you prefer a larger chunk size for better
H A DNEWS2814 encoding with spaces after chunk size). (Dmitry)
4379 in a chunk). (andreas dot streichardt at globalpark dot com, Ilia)
/PHP-5.4/ext/fileinfo/tests/
H A Dmagic21 # We guess the file type from the type of the first chunk.
3276 # GLOB chunk was moved near start and provides subversion info since 2.42
9741 # FORM type, which is followed by the first chunk in the FORM.
9800 >>24 string Exec with executable chunk

Completed in 139 milliseconds