Searched refs:chunk (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/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
[all...]
/PHP_TRUNK/ext/tokenizer/
H A Dtokenizer.php26 $chunk = $token[1]; variable
28 $chunk = $token; variable
30 $output .= $chunk;
/PHP_TRUNK/ext/standard/tests/file/
H A Dfile.inc121 // write in terms of a chunk of 1 K to avoid memory size overflow
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c32 mysqlnd_mempool_free_chunk(MYSQLND_MEMORY_POOL_CHUNK * chunk TSRMLS_DC)
34 MYSQLND_MEMORY_POOL * pool = chunk->pool;
36 if (chunk->from_pool) {
38 if (chunk->ptr == (pool->arena + (pool->arena_size - pool->free_size - chunk->size))) {
43 pool->free_size += chunk->size;
47 mnd_free(chunk->ptr);
49 mnd_free(chunk);
57 mysqlnd_mempool_resize_chunk(MYSQLND_MEMORY_POOL_CHUNK * chunk, unsigned int size TSRMLS_DC) argument
60 if (chunk
117 MYSQLND_MEMORY_POOL_CHUNK *chunk = NULL; local
[all...]
H A Dmysqlnd_structs.h60 enum_func_status (*resize_chunk)(MYSQLND_MEMORY_POOL_CHUNK * chunk, unsigned int size TSRMLS_DC);
61 void (*free_chunk)(MYSQLND_MEMORY_POOL_CHUNK * chunk TSRMLS_DC);
/PHP_TRUNK/ext/interbase/
H A Dibase_service.c161 int chunk = slprintf(&buf[spb_len], sizeof(buf) - spb_len, "%c%c%c%s", local
164 if ((spb_len + chunk) > sizeof(buf) || chunk <= 0) {
169 spb_len += chunk;
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitExecAllocator.c48 0 - This is the first block of the memory chunk.
89 static SLJIT_INLINE void free_chunk(void* chunk, sljit_uw size) argument
92 VirtualFree(chunk, 0, MEM_RELEASE);
114 static SLJIT_INLINE void free_chunk(void* chunk, sljit_uw size) argument
116 munmap(chunk, size);
278 /* The whole chunk is free. */
/PHP_TRUNK/ext/standard/
H A Ddns_win32.c262 DWORD chunk = data_aaaa->Ip6Address.IP6Dword[i]; local
263 out[i * 2] = htons(LOWORD(chunk));
264 out[i * 2 + 1] = htons(HIWORD(chunk));
H A Darray.c4632 zval chunk; local
4652 ZVAL_UNDEF(&chunk);
4655 /* If new chunk, create and initialize it. */
4656 if (Z_TYPE(chunk) == IS_UNDEF) {
4657 array_init_size(&chunk, size);
4660 /* Add entry to the chunk, preserving keys if necessary. */
4665 zend_hash_update(Z_ARRVAL(chunk), str_key, entry);
4667 add_index_zval(&chunk, num_key, entry);
4670 add_next_index_zval(&chunk, entry);
4673 /* If reached the chunk siz
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c266 static void php_cli_server_buffer_append(php_cli_server_buffer *buffer, php_cli_server_chunk *chunk);
897 static size_t php_cli_server_chunk_size(const php_cli_server_chunk *chunk) /* {{{ */ argument
899 switch (chunk->type) {
901 return chunk->data.heap.len;
903 return chunk->data.immortal.len;
908 static void php_cli_server_chunk_dtor(php_cli_server_chunk *chunk) /* {{{ */ argument
910 switch (chunk->type) {
912 if (chunk->data.heap.block != chunk) {
913 pefree(chunk
923 php_cli_server_chunk *chunk, *next; local
937 php_cli_server_buffer_append(php_cli_server_buffer *buffer, php_cli_server_chunk *chunk) argument
949 php_cli_server_buffer_prepend(php_cli_server_buffer *buffer, php_cli_server_chunk *chunk) argument
962 php_cli_server_chunk *chunk; local
972 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); local
986 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); local
1001 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk) + len, 1); local
1026 php_cli_server_chunk *chunk, *next; local
1080 php_cli_server_chunk *chunk = php_cli_server_chunk_heap_new_self_contained(131072); local
1853 php_cli_server_chunk *chunk = php_cli_server_chunk_heap_new_self_contained(strlen(prologue_template) + 3 + strlen(status_string) + 1); local
1862 php_cli_server_chunk *chunk = php_cli_server_chunk_immortal_new(php_cli_server_css, sizeof(php_cli_server_css) - 1); local
1870 php_cli_server_chunk *chunk = php_cli_server_chunk_immortal_new(template, sizeof(template) - 1); local
1877 php_cli_server_chunk *chunk = php_cli_server_chunk_heap_new_self_contained(strlen(content_template) + escaped_request_uri->len + 3 + strlen(status_string) + 1); local
1887 php_cli_server_chunk *chunk = php_cli_server_chunk_immortal_new(epilogue_template, sizeof(epilogue_template) - 1); local
1895 php_cli_server_chunk *chunk; local
1975 php_cli_server_chunk *chunk; local
[all...]
/PHP_TRUNK/win32/build/
H A Dconfutils.js1854 var pieces, stuff_to_crack, chunk;
1880 chunk = stuff_to_crack.substr(0, j);
1881 pieces += chunk;
1882 stuff_to_crack = stuff_to_crack.substr(chunk.length);

Completed in 77 milliseconds