/PHP-8.3/ext/mbstring/tests/ |
H A D | mb_str_split_utf8_utf16.phpt | 34 /* print each chunk as HEX string */ 36 foreach(mb_str_split($utf8, 2) as $chunk){ 37 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 42 foreach(mb_str_split($utf8_bad, 2) as $chunk){ 43 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 48 foreach(mb_str_split($utf16be, 1, "UTF-16BE") as $chunk){ 49 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 54 foreach(mb_str_split($utf16le, 1, "UTF-16LE") as $chunk){ 55 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); 61 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]); [all …]
|
H A D | mb_str_split_other.phpt | 58 // incomplete chunk, it required that the last byte of the input string should decode to 59 // some codepoint for the last chunk to actually be returned
|
/PHP-8.3/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.3/ext/gd/tests/ |
H A D | bug73155.phpt | 2 Bug #73155 (imagegd2() writes wrong chunk sizes on boundaries) 21 printf("chunk size: %d\n", $header['chunk_size']); 22 printf("x chunk count: %d\n", $header['x_count']); 23 printf("y chunk count: %d\n", $header['y_count']); 27 chunk size: 64 28 x chunk count: 1 29 y chunk count: 1
|
H A D | bug73157.phpt | 21 printf("chunk size: %d\n", $header['chunk_size']); 24 chunk size: 256
|
/PHP-8.3/Zend/ |
H A D | zend_alloc.c | 845 chunk->prev->next = chunk; 846 chunk->next->prev = chunk; 1059 chunk = chunk->next; 1071 chunk->prev->next = chunk; 1072 chunk->next->prev = chunk; 1912 chunk->next = chunk; 1913 chunk->prev = chunk; 2056 chunk = chunk->next; 2468 chunk = chunk->next; 3073 chunk->next = chunk; [all …]
|
H A D | zend_string.h | 470 uint64_t chunk; in zend_inline_hash_func() local 472 memcpy(&chunk, str, sizeof(chunk)); in zend_inline_hash_func() 475 ((chunk >> (8 * 0)) & 0xff) * 33 * 33 * 33 + in zend_inline_hash_func() 476 ((chunk >> (8 * 1)) & 0xff) * 33 * 33 + in zend_inline_hash_func() 477 ((chunk >> (8 * 2)) & 0xff) * 33 + in zend_inline_hash_func() 478 ((chunk >> (8 * 3)) & 0xff); in zend_inline_hash_func() 481 ((chunk >> (8 * 4)) & 0xff) * 33 * 33 * 33 + in zend_inline_hash_func() 482 ((chunk >> (8 * 5)) & 0xff) * 33 * 33 + in zend_inline_hash_func() 483 ((chunk >> (8 * 6)) & 0xff) * 33 + in zend_inline_hash_func() 484 ((chunk >> (8 * 7)) & 0xff); in zend_inline_hash_func()
|
H A D | zend_alloc.h | 294 typedef void (*zend_mm_chunk_free_t)(zend_mm_storage *storage, void *chunk, size_t size); 295 typedef bool (*zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, … 296 typedef bool (*zend_mm_chunk_extend_t)(zend_mm_storage *storage, void *chunk, size_t old_size, si…
|
/PHP-8.3/sapi/cli/ |
H A D | php_cli_server.c | 961 if (chunk->data.heap.block != chunk) { in php_cli_server_chunk_dtor() 973 for (chunk = buffer->first; chunk; chunk = next) { in php_cli_server_buffer_dtor() 1013 for (chunk = buffer->first; chunk; chunk = chunk->next) { in php_cli_server_buffer_size() 1027 return chunk; in php_cli_server_chunk_immortal_new() 1039 return chunk; in php_cli_server_chunk_heap_new() 1048 chunk->data.heap.block = chunk; in php_cli_server_chunk_heap_new_self_contained() 1049 chunk->data.heap.p = (char *)(chunk + 1); in php_cli_server_chunk_heap_new_self_contained() 1051 return chunk; in php_cli_server_chunk_heap_new_self_contained() 1069 for (chunk = sender->buffer.first; chunk; chunk = next) { in php_cli_server_content_sender_send() 2022 chunk->data.heap.len = strlen(chunk->data.heap.p); in php_cli_server_send_error_page() [all …]
|
/PHP-8.3/ext/standard/tests/streams/ |
H A D | gh10031.phpt | 2 GH-10031 ([Stream] STREAM_NOTIFY_PROGRESS over HTTP emitted irregularly for last chunk of data) 18 $lastchunksize = $fsize - $chunksize * $chunks; // 1 chunk * 10 bytes 22 for ($chunk = 1; $chunk <= $chunks; $chunk++) {
|
H A D | stream_set_chunk_size.phpt | 31 /* when the chunk size is 1, the read buffer is skipped, but the 34 echo "should return previous chunk size (8192)\n"; 41 echo "should return previous chunk size (1)\n"; 43 echo "should elicit one read of size 100 (chunk size)\n"; 45 echo "should elicit one read of size 100 (chunk size)\n"; 66 should return previous chunk size (8192) 76 should return previous chunk size (1) 78 should elicit one read of size 100 (chunk size) 81 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.3/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.3/Zend/tests/ |
H A D | bug78340.phpt | 20 $chunk= substr($this->bytes, $this->pos, $count); 21 $this->pos+= strlen($chunk); 22 return $chunk;
|
/PHP-8.3/benchmark/ |
H A D | shared.php | 36 $chunk = fgets($stream); 38 $result->stdout .= $chunk; 40 $result->stderr .= $chunk;
|
/PHP-8.3/ext/openssl/tests/ |
H A D | bug77390.phpt | 30 $chunk = stream_get_contents($fp, 4096); 31 $buf .= $chunk; 42 if ($chunk !== '' || !$emptyChunkPrinted) { 44 var_dump($chunk);
|
/PHP-8.3/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.3/ext/oci8/tests/ |
H A D | bind_long.phpt | 41 echo "Test 2 - test multi chunk fetch\n"; 69 Test 2 - test multi chunk fetch
|
/PHP-8.3/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() 208 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() argument 210 munmap(chunk, size); in free_chunk()
|
H A D | sljitProtExecAllocator.c | 252 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() argument 254 struct chunk_header *header = ((struct chunk_header *)chunk) - 1; in free_chunk()
|
/PHP-8.3/ext/odbc/tests/ |
H A D | bug60616.phpt | 49 while (($chunk=odbc_result($res, "TEXT_COL")) !== false) { 50 $text_col .= $chunk;
|
/PHP-8.3/ext/exif/tests/ |
H A D | gh10834.phpt | 2 GH-10834 (exif_read_data() cannot read smaller stream wrapper chunk sizes)
|
/PHP-8.3/ext/standard/ |
H A D | dns_win32.c | 267 DWORD chunk = data_aaaa->Ip6Address.IP6Dword[i]; in php_parserr() local 268 out[i * 2] = htons(LOWORD(chunk)); in php_parserr() 269 out[i * 2 + 1] = htons(HIWORD(chunk)); in php_parserr()
|