/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_str_split_utf8_utf16.phpt | 35 /* print each chunk as HEX string */ 37 foreach(mb_str_split($utf8, 2) as $chunk){ 38 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 43 foreach(mb_str_split($utf8_bad, 2) as $chunk){ 44 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 49 foreach(mb_str_split($utf16be, 1, "UTF-16BE") as $chunk){ 50 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 55 foreach(mb_str_split($utf16le, 1, "UTF-16LE") as $chunk){ 56 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 62 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); [all …]
|
/PHP-8.0/ext/phar/ |
H A D | makestub.php | 57 foreach ($s1split as $i => $chunk) { 59 $s1split[$i] = substr($chunk, 1); 62 if ($chunk[strlen($chunk) - 1] == '\\') { 67 foreach ($s3split as $i => $chunk) { 69 $s3split[$i] = substr($chunk, 1); 72 if ($chunk[strlen($chunk) - 1] == '\\') { 79 foreach ($s1split as $i => $chunk) { 81 $stub .= "\tstatic const char newstub1_" . $i . '[] = "' . $chunk . '"; 86 foreach ($s3split as $i => $chunk) { 88 $stub .= "\tstatic const char newstub3_" . $i . '[] = "' . $chunk . '";
|
/PHP-8.0/ext/gd/tests/ |
H A D | bug73155.phpt | 2 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']); 23 chunk size: 64 24 x chunk count: 1 25 y chunk count: 1
|
H A D | bug73157.phpt | 17 printf("chunk size: %d\n", $header['chunk_size']); 20 chunk size: 256
|
/PHP-8.0/Zend/ |
H A D | zend_alloc.c | 788 chunk->prev->next = chunk; 789 chunk->next->prev = chunk; 1002 chunk = chunk->next; 1014 chunk->prev->next = chunk; 1015 chunk->next->prev = chunk; 1859 chunk->next = chunk; 1860 chunk->prev = chunk; 2003 chunk = chunk->next; 2393 chunk = chunk->next; 2991 chunk->next = chunk; [all …]
|
H A D | zend_string.h | 409 uint64_t chunk; in zend_inline_hash_func() local 411 memcpy(&chunk, str, sizeof(chunk)); in zend_inline_hash_func() 414 ((chunk >> (8 * 0)) & 0xff) * 33 * 33 * 33 + in zend_inline_hash_func() 415 ((chunk >> (8 * 1)) & 0xff) * 33 * 33 + in zend_inline_hash_func() 416 ((chunk >> (8 * 2)) & 0xff) * 33 + in zend_inline_hash_func() 417 ((chunk >> (8 * 3)) & 0xff); in zend_inline_hash_func() 420 ((chunk >> (8 * 4)) & 0xff) * 33 * 33 * 33 + in zend_inline_hash_func() 421 ((chunk >> (8 * 5)) & 0xff) * 33 * 33 + in zend_inline_hash_func() 422 ((chunk >> (8 * 6)) & 0xff) * 33 + in zend_inline_hash_func() 423 ((chunk >> (8 * 7)) & 0xff); in zend_inline_hash_func()
|
H A D | zend_alloc.h | 298 typedef void (*zend_mm_chunk_free_t)(zend_mm_storage *storage, void *chunk, size_t size); 299 typedef bool (*zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, … 300 typedef bool (*zend_mm_chunk_extend_t)(zend_mm_storage *storage, void *chunk, size_t old_size, si…
|
/PHP-8.0/sapi/cli/ |
H A D | php_cli_server.c | 898 if (chunk->data.heap.block != chunk) { in php_cli_server_chunk_dtor() 910 for (chunk = buffer->first; chunk; chunk = next) { in php_cli_server_buffer_dtor() 950 for (chunk = buffer->first; chunk; chunk = chunk->next) { in php_cli_server_buffer_size() 964 return chunk; in php_cli_server_chunk_immortal_new() 976 return chunk; in php_cli_server_chunk_heap_new() 985 chunk->data.heap.block = chunk; in php_cli_server_chunk_heap_new_self_contained() 986 chunk->data.heap.p = (char *)(chunk + 1); in php_cli_server_chunk_heap_new_self_contained() 988 return chunk; in php_cli_server_chunk_heap_new_self_contained() 1006 for (chunk = sender->buffer.first; chunk; chunk = next) { in php_cli_server_content_sender_send() 1958 chunk->data.heap.len = strlen(chunk->data.heap.p); in php_cli_server_send_error_page() [all …]
|
/PHP-8.0/ext/standard/tests/streams/ |
H A D | stream_set_chunk_size.phpt | 30 /* 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"; 65 should return previous chunk size (8192) 73 should return previous chunk size (1) 75 should elicit one read of size 100 (chunk size) 78 should elicit one read of size 100 (chunk size)
|
H A D | bug78902.phpt | 12 $chunk = 1024; 14 fputs($fp, str_pad('', min($chunk,$size))); 15 $size -= $chunk;
|
/PHP-8.0/ext/standard/tests/general_functions/ |
H A D | proc_open_sockets1.phpt | 38 $chunk = @fread($pipe, 8192); 40 if ($chunk === false) { 44 if ($chunk !== '') { 45 echo "PIPE {$i} << {$chunk}\n";
|
H A D | proc_open_sockets3.phpt | 21 if (false === ($chunk = @fread($pipe, 8192))) { 25 return $chunk;
|
H A D | proc_open_sockets2.phpt | 21 if (false === ($chunk = @fread($pipe, 8192))) { 25 return $chunk;
|
/PHP-8.0/Zend/tests/ |
H A D | bug78340.phpt | 19 $chunk= substr($this->bytes, $this->pos, $count); 20 $this->pos+= strlen($chunk); 21 return $chunk;
|
/PHP-8.0/ext/openssl/tests/ |
H A D | bug77390.phpt | 29 $chunk = stream_get_contents($fp, 4096); 30 $buf .= $chunk; 41 if ($chunk !== '' || !$emptyChunkPrinted) { 43 var_dump($chunk);
|
/PHP-8.0/ext/standard/tests/misc/ |
H A D | bug79410.phpt | 2 Bug #79410 (system() swallows last chunk if it is exactly 4095 bytes without newline)
|
/PHP-8.0/ext/pcre/pcre2lib/sljit/ |
H A D | sljitExecAllocator.c | 89 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() argument 92 VirtualFree(chunk, 0, MEM_RELEASE); in free_chunk() 188 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() argument 190 munmap(chunk, size); in free_chunk()
|
H A D | sljitProtExecAllocator.c | 249 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() argument 251 struct chunk_header *header = ((struct chunk_header *)chunk) - 1; in free_chunk()
|
/PHP-8.0/ext/oci8/tests/ |
H A D | bind_long.phpt | 38 echo "Test 2 - test multi chunk fetch\n"; 66 Test 2 - test multi chunk fetch
|
/PHP-8.0/ext/odbc/tests/ |
H A D | bug60616.phpt | 38 while (($chunk=odbc_result($res, "TEXT_COL")) !== false) { 39 $text_col .= $chunk;
|
/PHP-8.0/ext/standard/ |
H A D | dns_win32.c | 266 DWORD chunk = data_aaaa->Ip6Address.IP6Dword[i]; in php_parserr() local 267 out[i * 2] = htons(LOWORD(chunk)); in php_parserr() 268 out[i * 2 + 1] = htons(HIWORD(chunk)); in php_parserr()
|
H A D | array.c | 6188 zval chunk; local 6216 ZVAL_UNDEF(&chunk); 6220 if (Z_TYPE(chunk) == IS_UNDEF) { 6221 array_init_size(&chunk, (uint32_t)size); 6227 entry = zend_hash_add_new(Z_ARRVAL(chunk), str_key, entry); 6229 entry = zend_hash_index_add_new(Z_ARRVAL(chunk), num_key, entry); 6232 entry = zend_hash_next_index_insert(Z_ARRVAL(chunk), entry); 6239 add_next_index_zval(return_value, &chunk); 6240 ZVAL_UNDEF(&chunk); 6245 if (Z_TYPE(chunk) != IS_UNDEF) { [all …]
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | userstreams.phpt | 56 * the default cache chunk size and that we have something
|
/PHP-8.0/ext/opcache/jit/dynasm/ |
H A D | dasm_x86.lua | 175 local chunk = char(unpack(al, offset+1, #al)) 176 local orig = find(as, chunk, 1, true) 181 actstr = as..chunk
|
/PHP-8.0/win32/build/ |
H A D | confutils.js | 2277 var pieces, stuff_to_crack, chunk; 2303 chunk = stuff_to_crack.substr(0, j); 2304 pieces += chunk; 2305 stuff_to_crack = stuff_to_crack.substr(chunk.length);
|