/PHP-8.2/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 …]
|
/PHP-8.2/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.2/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.2/Zend/ |
H A D | zend_alloc.c | 846 chunk->prev->next = chunk; 847 chunk->next->prev = chunk; 1060 chunk = chunk->next; 1072 chunk->prev->next = chunk; 1073 chunk->next->prev = chunk; 1913 chunk->next = chunk; 1914 chunk->prev = chunk; 2057 chunk = chunk->next; 2454 chunk = chunk->next; 3064 chunk->next = chunk; [all …]
|
H A D | zend_string.h | 435 uint64_t chunk; in zend_inline_hash_func() local 437 memcpy(&chunk, str, sizeof(chunk)); in zend_inline_hash_func() 440 ((chunk >> (8 * 0)) & 0xff) * 33 * 33 * 33 + in zend_inline_hash_func() 441 ((chunk >> (8 * 1)) & 0xff) * 33 * 33 + in zend_inline_hash_func() 442 ((chunk >> (8 * 2)) & 0xff) * 33 + in zend_inline_hash_func() 443 ((chunk >> (8 * 3)) & 0xff); in zend_inline_hash_func() 446 ((chunk >> (8 * 4)) & 0xff) * 33 * 33 * 33 + in zend_inline_hash_func() 447 ((chunk >> (8 * 5)) & 0xff) * 33 * 33 + in zend_inline_hash_func() 448 ((chunk >> (8 * 6)) & 0xff) * 33 + in zend_inline_hash_func() 449 ((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.2/sapi/cli/ |
H A D | php_cli_server.c | 953 if (chunk->data.heap.block != chunk) { in php_cli_server_chunk_dtor() 965 for (chunk = buffer->first; chunk; chunk = next) { in php_cli_server_buffer_dtor() 1005 for (chunk = buffer->first; chunk; chunk = chunk->next) { in php_cli_server_buffer_size() 1019 return chunk; in php_cli_server_chunk_immortal_new() 1031 return chunk; in php_cli_server_chunk_heap_new() 1040 chunk->data.heap.block = chunk; in php_cli_server_chunk_heap_new_self_contained() 1041 chunk->data.heap.p = (char *)(chunk + 1); in php_cli_server_chunk_heap_new_self_contained() 1043 return chunk; in php_cli_server_chunk_heap_new_self_contained() 1061 for (chunk = sender->buffer.first; chunk; chunk = next) { in php_cli_server_content_sender_send() 2012 chunk->data.heap.len = strlen(chunk->data.heap.p); in php_cli_server_send_error_page() [all …]
|
/PHP-8.2/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.2/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.2/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.2/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.2/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.2/ext/oci8/tests/ |
H A D | bind_long.phpt | 40 echo "Test 2 - test multi chunk fetch\n"; 68 Test 2 - test multi chunk fetch
|
/PHP-8.2/ext/odbc/tests/ |
H A D | bug60616.phpt | 40 while (($chunk=odbc_result($res, "TEXT_COL")) !== false) { 41 $text_col .= $chunk;
|
/PHP-8.2/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.2/ext/exif/tests/ |
H A D | gh10834.phpt | 2 GH-10834 (exif_read_data() cannot read smaller stream wrapper chunk sizes)
|
/PHP-8.2/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()
|
H A D | array.c | 6419 zval chunk; local 6447 ZVAL_UNDEF(&chunk); 6451 if (Z_TYPE(chunk) == IS_UNDEF) { 6452 array_init_size(&chunk, (uint32_t)size); 6458 entry = zend_hash_add_new(Z_ARRVAL(chunk), str_key, entry); 6460 entry = zend_hash_index_add_new(Z_ARRVAL(chunk), num_key, entry); 6463 entry = zend_hash_next_index_insert(Z_ARRVAL(chunk), entry); 6470 add_next_index_zval(return_value, &chunk); 6471 ZVAL_UNDEF(&chunk); 6476 if (Z_TYPE(chunk) != IS_UNDEF) { [all …]
|
/PHP-8.2/ext/pgsql/tests/ |
H A D | 05large_object.phpt | 30 var_dump(pg_lo_read($handle, 100)); // Read to the end because chunk is larger then remaining conte…
|