Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/PHP-8.4/ext/standard/tests/file/
H A Dfread_variation1.phpt107 Reading 1024 bytes from file, expecting 1024 bytes ... OK
114 Reading 1000 bytes from file, expecting 1000 bytes ... OK
122 Reading 1024 bytes from file, expecting 1024 bytes ... OK
129 Reading 1000 bytes from file, expecting 1000 bytes ... OK
137 Reading 1024 bytes from file, expecting 1024 bytes ... OK
144 Reading 1000 bytes from file, expecting 1000 bytes ... OK
152 Reading 1024 bytes from file, expecting 1024 bytes ... OK
159 Reading 1000 bytes from file, expecting 1000 bytes ... OK
167 Reading 1024 bytes from file, expecting 1024 bytes ... OK
174 Reading 1000 bytes from file, expecting 1000 bytes ... OK
[all …]
H A Dfread_variation3-win32-mb.phpt119 Reading 10 bytes from file, expecting 0 bytes ... OK
133 Reading 10 bytes from file, expecting 0 bytes ... OK
147 Reading 10 bytes from file, expecting 0 bytes ... OK
161 Reading 10 bytes from file, expecting 0 bytes ... OK
175 Reading 10 bytes from file, expecting 0 bytes ... OK
189 Reading 10 bytes from file, expecting 0 bytes ... OK
203 Reading 10 bytes from file, expecting 0 bytes ... OK
217 Reading 10 bytes from file, expecting 0 bytes ... OK
231 Reading 10 bytes from file, expecting 0 bytes ... OK
247 Reading 10 bytes from file, expecting 0 bytes ... OK
[all …]
H A Dfread_variation3-win32.phpt119 Reading 10 bytes from file, expecting 0 bytes ... OK
133 Reading 10 bytes from file, expecting 0 bytes ... OK
147 Reading 10 bytes from file, expecting 0 bytes ... OK
161 Reading 10 bytes from file, expecting 0 bytes ... OK
175 Reading 10 bytes from file, expecting 0 bytes ... OK
189 Reading 10 bytes from file, expecting 0 bytes ... OK
203 Reading 10 bytes from file, expecting 0 bytes ... OK
217 Reading 10 bytes from file, expecting 0 bytes ... OK
231 Reading 10 bytes from file, expecting 0 bytes ... OK
247 Reading 10 bytes from file, expecting 0 bytes ... OK
[all …]
H A Dfread_variation3.phpt119 Reading 10 bytes from file, expecting 0 bytes ... OK
133 Reading 10 bytes from file, expecting 0 bytes ... OK
147 Reading 10 bytes from file, expecting 0 bytes ... OK
161 Reading 10 bytes from file, expecting 0 bytes ... OK
175 Reading 10 bytes from file, expecting 0 bytes ... OK
189 Reading 10 bytes from file, expecting 0 bytes ... OK
203 Reading 10 bytes from file, expecting 0 bytes ... OK
217 Reading 10 bytes from file, expecting 0 bytes ... OK
231 Reading 10 bytes from file, expecting 0 bytes ... OK
247 Reading 10 bytes from file, expecting 0 bytes ... OK
[all …]
H A Dfread_variation2.phpt106 Reading 1024 bytes from file, expecting 0 bytes ...
115 Reading 1000 bytes from file, expecting 0 bytes ...
125 Reading 1024 bytes from file, expecting 0 bytes ...
134 Reading 1000 bytes from file, expecting 0 bytes ...
144 Reading 1024 bytes from file, expecting 0 bytes ...
153 Reading 1000 bytes from file, expecting 0 bytes ...
163 Reading 1024 bytes from file, expecting 0 bytes ...
172 Reading 1000 bytes from file, expecting 0 bytes ...
182 Reading 1024 bytes from file, expecting 0 bytes ...
191 Reading 1000 bytes from file, expecting 0 bytes ...
[all …]
H A Dfread_variation4.phpt104 Reading 1030 bytes from file, expecting 0 bytes ...
112 Reading 10 bytes from file, expecting 0 bytes ...
121 Reading 1030 bytes from file, expecting 0 bytes ...
129 Reading 10 bytes from file, expecting 0 bytes ...
146 Reading 10 bytes from file, expecting 0 bytes ...
163 Reading 10 bytes from file, expecting 0 bytes ...
180 Reading 10 bytes from file, expecting 0 bytes ...
197 Reading 10 bytes from file, expecting 0 bytes ...
214 Reading 10 bytes from file, expecting 0 bytes ...
231 Reading 10 bytes from file, expecting 0 bytes ...
[all …]
H A Dfread_basic.phpt101 Reading 1024 bytes from file, expecting 1024 bytes ... OK
108 Reading 1030 bytes from file, expecting 1024 bytes ... OK
115 Reading 1000 bytes from file, expecting 1000 bytes ... OK
123 Reading 1024 bytes from file, expecting 1024 bytes ... OK
130 Reading 1030 bytes from file, expecting 1024 bytes ... OK
137 Reading 1000 bytes from file, expecting 1000 bytes ... OK
145 Reading 1024 bytes from file, expecting 1024 bytes ... OK
152 Reading 1030 bytes from file, expecting 1024 bytes ... OK
159 Reading 1000 bytes from file, expecting 1000 bytes ... OK
167 Reading 1024 bytes from file, expecting 1024 bytes ... OK
[all …]
H A Dfscanf_variation51.phpt68 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
71 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
74 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
77 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
80 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
83 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
86 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
91 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
94 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
97 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
[all …]
H A Dfnmatch_variation.phpt188 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
190 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
270 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
271 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
272 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
273 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
274 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
275 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
284 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
285 fnmatch(): Argument #1 ($pattern) must not contain any null bytes
[all …]
/PHP-8.4/sapi/phpdbg/
H A Dphpdbg_io.c37 if (bytes <= 0) { in ZEND_EXTERN_MODULE_GLOBALS()
43 if (i != len + bytes - 1) { in ZEND_EXTERN_MODULE_GLOBALS()
62 len += bytes; in ZEND_EXTERN_MODULE_GLOBALS()
65 if (bytes <= 0) { in ZEND_EXTERN_MODULE_GLOBALS()
70 return bytes; in ZEND_EXTERN_MODULE_GLOBALS()
84 int count = 0, bytes = 0; in phpdbg_output_pager() local
92 bytes += write(fd, ptr + bytes, (p - ptr) - bytes); in phpdbg_output_pager()
106 bytes += write(fd, ptr + bytes, len - bytes); in phpdbg_output_pager()
107 } else if (!bytes) { in phpdbg_output_pager()
108 bytes += write(fd, ptr, len); in phpdbg_output_pager()
[all …]
/PHP-8.4/ext/standard/tests/streams/
H A Dbug51056.phpt12 fwrite($conn, "Hello 1\n"); // 8 bytes
14 fwrite($conn, str_repeat('a', 300)."\n"); // 301 bytes
16 fwrite($conn, "Hello 1\n"); // 8 bytes
30 $bytes = strlen($data);
31 if ($bytes > 0) {
32 printf("fread read %d bytes\n", $bytes);
42 fread read 8 bytes
43 fread read 256 bytes
44 fread read 45 bytes
45 fread read 8 bytes
/PHP-8.4/ext/openssl/tests/
H A Dbug81713.phpt149 openssl_pkey_export(): Argument #1 ($key) must not contain any null bytes
156 openssl_sign(): Argument #3 ($private_key) must not contain any null bytes
157 openssl_verify(): Argument #3 ($public_key) must not contain any null bytes
158 openssl_seal(): Argument #4 ($public_key) must not contain any null bytes
159 openssl_open(): Argument #4 ($private_key) must not contain any null bytes
160 openssl_csr_new(): Argument #2 ($private_key) must not contain any null bytes
161 openssl_csr_get_subject(): Argument #1 ($csr) must not contain any null bytes
197 openssl_cms_sign(): Argument #3 ($certificate) must not contain any null bytes
198 openssl_cms_sign(): Argument #4 ($private_key) must not contain any null bytes
204 openssl_cms_verify(): Argument #6 ($content) must not contain any null bytes
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/core/
H A Dswar.h36 size_t bytes, matches, t1, t2, t3, t4; in lexbor_swar_seek4() local
40 memcpy(&bytes, data, sizeof(size_t)); in lexbor_swar_seek4()
42 t1 = bytes ^ LEXBOR_SWAR_REPEAT(c1); in lexbor_swar_seek4()
43 t2 = bytes ^ LEXBOR_SWAR_REPEAT(c2); in lexbor_swar_seek4()
44 t3 = bytes ^ LEXBOR_SWAR_REPEAT(c3); in lexbor_swar_seek4()
45 t4 = bytes ^ LEXBOR_SWAR_REPEAT(c4); in lexbor_swar_seek4()
66 size_t bytes, matches, t1, t2, t3; in lexbor_swar_seek3() local
70 memcpy(&bytes, data, sizeof(size_t)); in lexbor_swar_seek3()
72 t1 = bytes ^ LEXBOR_SWAR_REPEAT(c1); in lexbor_swar_seek3()
73 t2 = bytes ^ LEXBOR_SWAR_REPEAT(c2); in lexbor_swar_seek3()
[all …]
/PHP-8.4/ext/zlib/tests/
H A Dgztell_basic2.phpt14 echo "bytes written=".gzwrite($h, str_repeat('1', $size))."\n";
23 bytes written=7
25 bytes written=22
27 bytes written=54
29 bytes written=17
31 bytes written=27
33 bytes written=15
35 bytes written=1000
/PHP-8.4/ext/standard/tests/serialize/
H A Dinvalid_signs_in_lengths.phpt21 Warning: unserialize(): Error at offset 0 of 9 bytes in %s on line %d
24 Warning: unserialize(): Error at offset 0 of 9 bytes in %s on line %d
27 Warning: unserialize(): Error at offset 0 of 7 bytes in %s on line %d
30 Warning: unserialize(): Error at offset 0 of 7 bytes in %s on line %d
33 Warning: unserialize(): Error at offset 0 of 20 bytes in %s on line %d
36 Warning: unserialize(): Error at offset 0 of 20 bytes in %s on line %d
39 Warning: unserialize(): Error at offset 0 of 24 bytes in %s on line %d
42 Warning: unserialize(): Error at offset 0 of 24 bytes in %s on line %d
45 Warning: unserialize(): Error at offset 9 of 15 bytes in %s on line %d
48 Warning: unserialize(): Error at offset 9 of 15 bytes in %s on line %d
[all …]
H A Dbug25378.phpt20 Warning: unserialize(): Error at offset 0 of 8 bytes in %s on line %d
23 Warning: unserialize(): Error at offset 0 of 5 bytes in %s on line %d
26 Warning: unserialize(): Error at offset 13 of 19 bytes in %s on line %d
29 Warning: unserialize(): Error at offset 14 of 19 bytes in %s on line %d
32 Warning: unserialize(): Error at offset 2 of 22 bytes in %s on line %d
35 Warning: unserialize(): Error at offset 17 of 18 bytes in %s on line %d
38 Warning: unserialize(): Error at offset 24 of 33 bytes in %s on line %d
47 Warning: unserialize(): Error at offset 2 of 13 bytes in %s on line %d
50 Warning: unserialize(): Error at offset 2 of 11 bytes in %s on line %d
53 Warning: unserialize(): Error at offset 8 of 9 bytes in %s on line %d
[all …]
/PHP-8.4/ext/random/
H A Dphp_random_csprng.h23 ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_random_bytes(void *bytes, size_t size, bool should_th…
24 ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_random_bytes_ex(void *bytes, size_t size, char *errst…
28 ZEND_ATTRIBUTE_NONNULL static inline zend_result php_random_bytes_throw(void *bytes, size_t size) in php_random_bytes_throw() argument
30 return php_random_bytes(bytes, size, true); in php_random_bytes_throw()
33 ZEND_ATTRIBUTE_NONNULL static inline zend_result php_random_bytes_silent(void *bytes, size_t size) in php_random_bytes_silent() argument
35 return php_random_bytes(bytes, size, false); in php_random_bytes_silent()
/PHP-8.4/ext/pcre/pcre2lib/
H A Dpcre2_serialize.c76 uint8_t *bytes; in pcre2_serialize_encode() local
110 if (bytes == NULL) return PCRE2_ERROR_NOMEMORY; in pcre2_serialize_encode()
113 memcpy(bytes, memctl, sizeof(pcre2_memctl)); in pcre2_serialize_encode()
114 bytes += sizeof(pcre2_memctl); in pcre2_serialize_encode()
116 data = (pcre2_serialized_data *)bytes; in pcre2_serialize_encode()
123 dst_bytes = bytes + sizeof(pcre2_serialized_data); in pcre2_serialize_encode()
152 *serialized_bytes = bytes; in pcre2_serialize_encode()
164 const uint8_t *bytes, pcre2_general_context *gcontext) in pcre2_serialize_decode() argument
187 src_bytes = bytes + sizeof(pcre2_serialized_data); in pcre2_serialize_decode()
277 pcre2_serialize_free(uint8_t *bytes) in pcre2_serialize_free() argument
[all …]
/PHP-8.4/ext/bcmath/libbcmath/src/
H A Dconvert.c32 __m128i bytes = _mm_loadu_si128((const __m128i *) source); in bc_copy_and_toggle_bcd() local
33 bytes = _mm_xor_si128(bytes, shift_vector); in bc_copy_and_toggle_bcd()
34 _mm_storeu_si128((__m128i *) dest, bytes); in bc_copy_and_toggle_bcd()
46 size_t bytes; in bc_copy_and_toggle_bcd() local
47 memcpy(&bytes, source, sizeof(bytes)); in bc_copy_and_toggle_bcd()
49 bytes ^= bulk_shift; in bc_copy_and_toggle_bcd()
50 memcpy(dest, &bytes, sizeof(bytes)); in bc_copy_and_toggle_bcd()
H A Dstr2num.c51 __m128i bytes = _mm_loadu_si128((const __m128i *) str); in bc_count_digits() local
54 bytes = _mm_add_epi8(bytes, offset); in bc_count_digits()
56 bytes = _mm_cmplt_epi8(bytes, threshold); in bc_count_digits()
58 int mask = _mm_movemask_epi8(bytes); in bc_count_digits()
86 __m128i bytes = _mm_loadu_si128((const __m128i *) scanner); in bc_skip_zero_reverse() local
88 bytes = _mm_cmpeq_epi8(bytes, c_zero_repeat); in bc_skip_zero_reverse()
90 int mask = _mm_movemask_epi8(bytes); in bc_skip_zero_reverse()
/PHP-8.4/ext/random/tests/03_randomizer/methods/
H A DshuffleBytes.phpt25 function sort_bytes(string $bytes): string
27 $bytes = str_split($bytes);
28 sort($bytes);
29 return implode('', $bytes);
39 $bytes = sort_bytes(random_bytes($i));
41 $result = $randomizer->shuffleBytes($bytes);
45 if ($result !== $bytes) {
/PHP-8.4/ext/sockets/tests/
H A Dsocket_sentto_recvfrom_ipv4_udp.phpt29 '%d bytes have been sent instead of the %d bytes expected',
38 $bytes = socket_recvfrom(
41 if (($bytes === false) && ($errno = socket_last_error($socket))) {
52 $recvd += $bytes;
53 $wants -= $bytes;
59 '%d bytes have been received instead of the %d bytes expected',
H A Dsocket_sentto_recvfrom_ipv6_udp.phpt37 '%d bytes have been sent instead of the %d bytes expected',
46 $bytes = socket_recvfrom(
49 if (($bytes === false) && ($errno = socket_last_error($socket))) {
60 $recvd += $bytes;
61 $wants -= $bytes;
67 '%d bytes have been received instead of the %d bytes expected',
/PHP-8.4/Zend/tests/
H A Dbug78340.phpt10 private $bytes, $pos, $ino;
13 $this->bytes= self::$files[$path];
20 $chunk= substr($this->bytes, $this->pos, $count);
26 return $this->pos >= strlen($this->bytes);
30 $this->bytes= null;
36 'size' => strlen($this->bytes),
/PHP-8.4/ext/mbstring/tests/
H A Dmb_send_mail_null_bytes.phpt2 mb_send_mail() with null bytes in arguments
36 mb_send_mail(): Argument #1 ($to) must not contain any null bytes
37 mb_send_mail(): Argument #2 ($subject) must not contain any null bytes
38 mb_send_mail(): Argument #3 ($message) must not contain any null bytes
39 mb_send_mail(): Argument #4 ($additional_headers) must not contain any null bytes
40 mb_send_mail(): Argument #5 ($additional_params) must not contain any null bytes

Completed in 57 milliseconds

12345678910>>...18