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

/PHP_5_6/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_5_6/ext/standard/tests/file/
H A Dfile.inc121 // write in terms of a chunk of 1 K to avoid memory size overflow
/PHP_5_6/ext/tokenizer/
H A Dtokenizer.php26 $chunk = $token[1]; variable
28 $chunk = $token; variable
30 $output .= $chunk;
/PHP_5_6/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_5_6/ext/standard/
H A Ddns_win32.c263 DWORD chunk = data_aaaa->Ip6Address.IP6Dword[i]; local
264 out[i * 2] = htons(LOWORD(chunk));
265 out[i * 2 + 1] = htons(HIWORD(chunk));
H A Darray.c4342 zval *chunk = NULL; local
4365 /* If new chunk, create and initialize it. */
4366 if (!chunk) {
4367 MAKE_STD_ZVAL(chunk);
4368 array_init_size(chunk, size);
4371 /* Add entry to the chunk, preserving keys if necessary. */
4378 add_assoc_zval_ex(chunk, str_key, str_key_len, *entry);
4381 add_index_zval(chunk, num_key, *entry);
4385 add_next_index_zval(chunk, *entry);
4388 /* If reached the chunk siz
[all...]
/PHP_5_6/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_5_6/sapi/cli/
H A Dphp_cli_server.c327 static void php_cli_server_buffer_append(php_cli_server_buffer *buffer, php_cli_server_chunk *chunk);
969 static size_t php_cli_server_chunk_size(const php_cli_server_chunk *chunk) /* {{{ */ argument
971 switch (chunk->type) {
973 return chunk->data.heap.len;
975 return chunk->data.immortal.len;
980 static void php_cli_server_chunk_dtor(php_cli_server_chunk *chunk) /* {{{ */ argument
982 switch (chunk->type) {
984 if (chunk->data.heap.block != chunk) {
985 pefree(chunk
995 php_cli_server_chunk *chunk, *next; local
1009 php_cli_server_buffer_append(php_cli_server_buffer *buffer, php_cli_server_chunk *chunk) argument
1021 php_cli_server_buffer_prepend(php_cli_server_buffer *buffer, php_cli_server_chunk *chunk) argument
1034 php_cli_server_chunk *chunk; local
1044 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); local
1058 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); local
1073 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk) + len, 1); local
1098 php_cli_server_chunk *chunk, *next; local
1152 php_cli_server_chunk *chunk = php_cli_server_chunk_heap_new_self_contained(131072); local
1928 php_cli_server_chunk *chunk = php_cli_server_chunk_heap_new_self_contained(strlen(prologue_template) + 3 + strlen(status_string) + 1); local
1937 php_cli_server_chunk *chunk = php_cli_server_chunk_immortal_new(php_cli_server_css, sizeof(php_cli_server_css) - 1); local
1945 php_cli_server_chunk *chunk = php_cli_server_chunk_immortal_new(template, sizeof(template) - 1); local
1952 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
1962 php_cli_server_chunk *chunk = php_cli_server_chunk_immortal_new(epilogue_template, sizeof(epilogue_template) - 1); local
1970 php_cli_server_chunk *chunk; local
2050 php_cli_server_chunk *chunk; local
[all...]
/PHP_5_6/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 69 milliseconds