Home
last modified time | relevance | path

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

12

/PHP-8.1/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.1/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.1/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.1/Zend/
H A Dzend_alloc.c826 chunk->prev->next = chunk;
827 chunk->next->prev = chunk;
1040 chunk = chunk->next;
1052 chunk->prev->next = chunk;
1053 chunk->next->prev = chunk;
1893 chunk->next = chunk;
1894 chunk->prev = chunk;
2037 chunk = chunk->next;
2434 chunk = chunk->next;
3027 chunk->next = chunk;
[all …]
H A Dzend_string.h417 uint64_t chunk; in zend_inline_hash_func() local
419 memcpy(&chunk, str, sizeof(chunk)); in zend_inline_hash_func()
422 ((chunk >> (8 * 0)) & 0xff) * 33 * 33 * 33 + in zend_inline_hash_func()
423 ((chunk >> (8 * 1)) & 0xff) * 33 * 33 + in zend_inline_hash_func()
424 ((chunk >> (8 * 2)) & 0xff) * 33 + in zend_inline_hash_func()
425 ((chunk >> (8 * 3)) & 0xff); in zend_inline_hash_func()
428 ((chunk >> (8 * 4)) & 0xff) * 33 * 33 * 33 + in zend_inline_hash_func()
429 ((chunk >> (8 * 5)) & 0xff) * 33 * 33 + in zend_inline_hash_func()
430 ((chunk >> (8 * 6)) & 0xff) * 33 + in zend_inline_hash_func()
431 ((chunk >> (8 * 7)) & 0xff); in zend_inline_hash_func()
H A Dzend_alloc.h298 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.1/sapi/cli/
H A Dphp_cli_server.c913 if (chunk->data.heap.block != chunk) { in php_cli_server_chunk_dtor()
925 for (chunk = buffer->first; chunk; chunk = next) { in php_cli_server_buffer_dtor()
965 for (chunk = buffer->first; chunk; chunk = chunk->next) { in php_cli_server_buffer_size()
979 return chunk; in php_cli_server_chunk_immortal_new()
991 return chunk; in php_cli_server_chunk_heap_new()
1000 chunk->data.heap.block = chunk; in php_cli_server_chunk_heap_new_self_contained()
1001 chunk->data.heap.p = (char *)(chunk + 1); in php_cli_server_chunk_heap_new_self_contained()
1003 return chunk; in php_cli_server_chunk_heap_new_self_contained()
1021 for (chunk = sender->buffer.first; chunk; chunk = next) { in php_cli_server_content_sender_send()
1971 chunk->data.heap.len = strlen(chunk->data.heap.p); in php_cli_server_send_error_page()
[all …]
/PHP-8.1/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.phpt30 /* 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 Dbug78902.phpt12 $chunk = 1024;
14 fputs($fp, str_pad('', min($chunk,$size)));
15 $size -= $chunk;
/PHP-8.1/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.1/Zend/tests/
H A Dbug78340.phpt19 $chunk= substr($this->bytes, $this->pos, $count);
20 $this->pos+= strlen($chunk);
21 return $chunk;
/PHP-8.1/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.1/ext/standard/tests/misc/
H A Dbug79410.phpt2 Bug #79410 (system() swallows last chunk if it is exactly 4095 bytes without newline)
/PHP-8.1/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.1/ext/odbc/tests/
H A Dbug60616.phpt40 while (($chunk=odbc_result($res, "TEXT_COL")) !== false) {
41 $text_col .= $chunk;
/PHP-8.1/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()
203 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() argument
205 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.1/ext/exif/tests/
H A Dgh10834.phpt2 GH-10834 (exif_read_data() cannot read smaller stream wrapper chunk sizes)
/PHP-8.1/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.c6162 zval chunk; local
6190 ZVAL_UNDEF(&chunk);
6194 if (Z_TYPE(chunk) == IS_UNDEF) {
6195 array_init_size(&chunk, (uint32_t)size);
6201 entry = zend_hash_add_new(Z_ARRVAL(chunk), str_key, entry);
6203 entry = zend_hash_index_add_new(Z_ARRVAL(chunk), num_key, entry);
6206 entry = zend_hash_next_index_insert(Z_ARRVAL(chunk), entry);
6213 add_next_index_zval(return_value, &chunk);
6214 ZVAL_UNDEF(&chunk);
6219 if (Z_TYPE(chunk) != IS_UNDEF) {
[all …]
/PHP-8.1/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 70 milliseconds

12