Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 25 of 37) sorted by relevance

12

/PHP-8.2/ext/mbstring/tests/
H A Dmb_str_split_utf8_utf16.phpt34 /* 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 Dmakestub.php57 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 Dbug73155.phpt2 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 Dbug73157.phpt21 printf("chunk size: %d\n", $header['chunk_size']);
24 chunk size: 256
/PHP-8.2/Zend/
H A Dzend_alloc.c846 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 Dzend_string.h435 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 Dzend_alloc.h294 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 Dphp_cli_server.c953 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 Dgh10031.phpt2 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 Dstream_set_chunk_size.phpt31 /* 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 Dbug78902.phpt12 $chunk = 1024;
14 fputs($fp, str_pad('', min($chunk,$size)));
15 $size -= $chunk;
/PHP-8.2/ext/standard/tests/general_functions/
H A Dproc_open_sockets1.phpt38 $chunk = @fread($pipe, 8192);
40 if ($chunk === false) {
44 if ($chunk !== '') {
45 echo "PIPE {$i} << {$chunk}\n";
H A Dproc_open_sockets3.phpt21 if (false === ($chunk = @fread($pipe, 8192))) {
25 return $chunk;
H A Dproc_open_sockets2.phpt21 if (false === ($chunk = @fread($pipe, 8192))) {
25 return $chunk;
/PHP-8.2/Zend/tests/
H A Dbug78340.phpt20 $chunk= substr($this->bytes, $this->pos, $count);
21 $this->pos+= strlen($chunk);
22 return $chunk;
/PHP-8.2/ext/openssl/tests/
H A Dbug77390.phpt30 $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 Dbug79410.phpt2 Bug #79410 (system() swallows last chunk if it is exactly 4095 bytes without newline)
/PHP-8.2/ext/oci8/tests/
H A Dbind_long.phpt40 echo "Test 2 - test multi chunk fetch\n";
68 Test 2 - test multi chunk fetch
/PHP-8.2/ext/odbc/tests/
H A Dbug60616.phpt40 while (($chunk=odbc_result($res, "TEXT_COL")) !== false) {
41 $text_col .= $chunk;
/PHP-8.2/ext/pcre/pcre2lib/sljit/
H A DsljitExecAllocator.c89 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 DsljitProtExecAllocator.c252 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 Dgh10834.phpt2 GH-10834 (exif_read_data() cannot read smaller stream wrapper chunk sizes)
/PHP-8.2/ext/standard/
H A Ddns_win32.c267 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 Darray.c6419 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 D05large_object.phpt30 var_dump(pg_lo_read($handle, 100)); // Read to the end because chunk is larger then remaining conte…

Completed in 65 milliseconds

12