Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-7.4/ext/standard/tests/file/
H A Dfread_variation3-win32-mb.phpt127 Reading 10 bytes from file, expecting 0 bytes ... OK
141 Reading 10 bytes from file, expecting 0 bytes ... OK
155 Reading 10 bytes from file, expecting 0 bytes ... OK
169 Reading 10 bytes from file, expecting 0 bytes ... OK
183 Reading 10 bytes from file, expecting 0 bytes ... OK
197 Reading 10 bytes from file, expecting 0 bytes ... OK
211 Reading 10 bytes from file, expecting 0 bytes ... OK
225 Reading 10 bytes from file, expecting 0 bytes ... OK
239 Reading 10 bytes from file, expecting 0 bytes ... OK
255 Reading 10 bytes from file, expecting 0 bytes ... OK
[all …]
H A Dfread_variation3-win32.phpt127 Reading 10 bytes from file, expecting 0 bytes ... OK
141 Reading 10 bytes from file, expecting 0 bytes ... OK
155 Reading 10 bytes from file, expecting 0 bytes ... OK
169 Reading 10 bytes from file, expecting 0 bytes ... OK
183 Reading 10 bytes from file, expecting 0 bytes ... OK
197 Reading 10 bytes from file, expecting 0 bytes ... OK
211 Reading 10 bytes from file, expecting 0 bytes ... OK
225 Reading 10 bytes from file, expecting 0 bytes ... OK
239 Reading 10 bytes from file, expecting 0 bytes ... OK
255 Reading 10 bytes from file, expecting 0 bytes ... OK
[all …]
H A Dfread_variation3.phpt127 Reading 10 bytes from file, expecting 0 bytes ... OK
141 Reading 10 bytes from file, expecting 0 bytes ... OK
155 Reading 10 bytes from file, expecting 0 bytes ... OK
169 Reading 10 bytes from file, expecting 0 bytes ... OK
183 Reading 10 bytes from file, expecting 0 bytes ... OK
197 Reading 10 bytes from file, expecting 0 bytes ... OK
211 Reading 10 bytes from file, expecting 0 bytes ... OK
225 Reading 10 bytes from file, expecting 0 bytes ... OK
239 Reading 10 bytes from file, expecting 0 bytes ... OK
255 Reading 10 bytes from file, expecting 0 bytes ... OK
[all …]
H A Dfread_variation2.phpt114 Reading 1024 bytes from file, expecting 0 bytes ...
123 Reading 1000 bytes from file, expecting 0 bytes ...
133 Reading 1024 bytes from file, expecting 0 bytes ...
142 Reading 1000 bytes from file, expecting 0 bytes ...
152 Reading 1024 bytes from file, expecting 0 bytes ...
161 Reading 1000 bytes from file, expecting 0 bytes ...
171 Reading 1024 bytes from file, expecting 0 bytes ...
180 Reading 1000 bytes from file, expecting 0 bytes ...
190 Reading 1024 bytes from file, expecting 0 bytes ...
199 Reading 1000 bytes from file, expecting 0 bytes ...
[all …]
H A Dfread_variation1.phpt115 Reading 1024 bytes from file, expecting 1024 bytes ... OK
122 Reading 1000 bytes from file, expecting 1000 bytes ... OK
130 Reading 1024 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 1000 bytes from file, expecting 1000 bytes ... OK
160 Reading 1024 bytes from file, expecting 1024 bytes ... OK
167 Reading 1000 bytes from file, expecting 1000 bytes ... OK
175 Reading 1024 bytes from file, expecting 1024 bytes ... OK
182 Reading 1000 bytes from file, expecting 1000 bytes ... OK
[all …]
H A Dfread_basic.phpt109 Reading 1024 bytes from file, expecting 1024 bytes ... OK
116 Reading 1030 bytes from file, expecting 1024 bytes ... OK
123 Reading 1000 bytes from file, expecting 1000 bytes ... OK
131 Reading 1024 bytes from file, expecting 1024 bytes ... OK
138 Reading 1030 bytes from file, expecting 1024 bytes ... OK
145 Reading 1000 bytes from file, expecting 1000 bytes ... OK
153 Reading 1024 bytes from file, expecting 1024 bytes ... OK
160 Reading 1030 bytes from file, expecting 1024 bytes ... OK
167 Reading 1000 bytes from file, expecting 1000 bytes ... OK
175 Reading 1024 bytes from file, expecting 1024 bytes ... OK
[all …]
H A Dfread_variation4.phpt112 Reading 1030 bytes from file, expecting 0 bytes ...
120 Reading 10 bytes from file, expecting 0 bytes ...
129 Reading 1030 bytes from file, expecting 0 bytes ...
137 Reading 10 bytes from file, expecting 0 bytes ...
154 Reading 10 bytes from file, expecting 0 bytes ...
171 Reading 10 bytes from file, expecting 0 bytes ...
188 Reading 10 bytes from file, expecting 0 bytes ...
205 Reading 10 bytes from file, expecting 0 bytes ...
222 Reading 10 bytes from file, expecting 0 bytes ...
239 Reading 10 bytes from file, expecting 0 bytes ...
[all …]
H A Dfscanf_variation51.phpt73 Notice: fscanf(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
76 Notice: fscanf(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
79 Notice: fscanf(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
82 Notice: fscanf(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
85 Notice: fscanf(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
88 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
96 Notice: fscanf(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
99 Notice: fscanf(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
102 Notice: fscanf(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
[all …]
H A Dfgetcsv_variation26.phpt84 Notice: fgetcsv(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
91 Notice: fgetcsv(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
98 Notice: fgetcsv(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
105 Notice: fgetcsv(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
112 Notice: fgetcsv(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
119 Notice: fgetcsv(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
126 Notice: fgetcsv(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
133 Notice: fgetcsv(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
140 Notice: fgetcsv(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
147 Notice: fgetcsv(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
[all …]
H A Dfwrite_variation1-win32-mb.phpt14 If the length arquement is given,writing will stop after length bytes have been
16 fwrite() returns the number of bytes written or FALSE on error
88 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
94 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
104 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
110 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
120 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
126 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
138 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
144 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
[all …]
H A Dfwrite_variation1.phpt8 If the length arquement is given,writing will stop after length bytes have been
10 fwrite() returns the number of bytes written or FALSE on error
80 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
86 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
96 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
102 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
112 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
118 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
130 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
136 Notice: fwrite(): write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
[all …]
/PHP-7.4/ext/zlib/tests/
H A Dgztell_basic2.phpt18 echo "bytes written=".gzwrite($h, str_repeat('1', $size))."\n";
28 bytes written=7
30 bytes written=22
32 bytes written=54
34 bytes written=17
36 bytes written=27
38 bytes written=15
40 bytes written=1000
/PHP-7.4/ext/standard/tests/serialize/
H A Dinvalid_signs_in_lengths.phpt21 Notice: unserialize(): Error at offset 0 of 9 bytes in %s on line %d
24 Notice: unserialize(): Error at offset 0 of 9 bytes in %s on line %d
27 Notice: unserialize(): Error at offset 0 of 7 bytes in %s on line %d
30 Notice: unserialize(): Error at offset 0 of 7 bytes in %s on line %d
33 Notice: unserialize(): Error at offset 0 of 20 bytes in %s on line %d
36 Notice: unserialize(): Error at offset 0 of 20 bytes in %s on line %d
39 Notice: unserialize(): Error at offset 0 of 24 bytes in %s on line %d
42 Notice: unserialize(): Error at offset 0 of 24 bytes in %s on line %d
45 Notice: unserialize(): Error at offset 9 of 15 bytes in %s on line %d
48 Notice: unserialize(): Error at offset 9 of 15 bytes in %s on line %d
[all …]
H A Dbug25378.phpt21 Notice: unserialize(): Error at offset 0 of 8 bytes in %sbug25378.php on line %d
24 Notice: unserialize(): Error at offset 0 of 5 bytes in %sbug25378.php on line %d
27 Notice: unserialize(): Error at offset 13 of 19 bytes in %sbug25378.php on line %d
30 Notice: unserialize(): Error at offset 14 of 19 bytes in %sbug25378.php on line %d
33 Notice: unserialize(): Error at offset 2 of 22 bytes in %sbug25378.php on line %d
36 Notice: unserialize(): Error at offset 17 of 18 bytes in %sbug25378.php on line %d
39 Notice: unserialize(): Error at offset 24 of 33 bytes in %sbug25378.php on line %d
48 Notice: unserialize(): Error at offset 2 of 13 bytes in %sbug25378.php on line %d
51 Notice: unserialize(): Error at offset 2 of 11 bytes in %sbug25378.php on line %d
54 Notice: unserialize(): Error at offset 8 of 9 bytes in %sbug25378.php on line %d
[all …]
H A Dunserialize_large.phpt13 Notice: unserialize(): Error at offset 14 of 15 bytes in %s on line %d
16 Notice: unserialize(): Error at offset 2 of 20 bytes in %s on line %d
19 Notice: unserialize(): Error at offset 18 of 21 bytes in %s on line %d
24 Notice: unserialize(): Error at offset 20 of 21 bytes in %s on line %d
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_io.c62 if (bytes <= 0) { in ZEND_EXTERN_MODULE_GLOBALS()
68 if (i != len + bytes - 1) { in ZEND_EXTERN_MODULE_GLOBALS()
87 len += bytes; in ZEND_EXTERN_MODULE_GLOBALS()
90 if (bytes <= 0) { in ZEND_EXTERN_MODULE_GLOBALS()
95 return bytes; in ZEND_EXTERN_MODULE_GLOBALS()
194 int count = 0, bytes = 0; local
202 bytes += write(sock, ptr + bytes, (p - ptr) - bytes);
216 bytes += write(sock, ptr + bytes, len - bytes);
217 } else if (!bytes) {
218 bytes += write(sock, ptr, len);
[all …]
/PHP-7.4/ext/standard/
H A Drandom.c93 if (php_win32_get_random_bytes(bytes, size) == FAILURE) { in php_random_bytes()
100 arc4random_buf(bytes, size); in php_random_bytes()
121 n = getrandom(bytes + read_bytes, amount_to_read, 0); in php_random_bytes()
142 __msan_unpoison(bytes + read_bytes, n); in php_random_bytes()
179 n = read(fd, bytes + read_bytes, size - read_bytes); in php_random_bytes()
203 zend_string *bytes; in PHP_FUNCTION() local
214 bytes = zend_string_alloc(size, 0); in PHP_FUNCTION()
216 if (php_random_bytes_throw(ZSTR_VAL(bytes), size) == FAILURE) { in PHP_FUNCTION()
217 zend_string_release_ex(bytes, 0); in PHP_FUNCTION()
221 ZSTR_VAL(bytes)[size] = '\0'; in PHP_FUNCTION() local
[all …]
/PHP-7.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-7.4/ext/oci8/tests/
H A Dlob_030.phpt42 echo "Test 1: A CLOB with an even number of bytes\n";
45 echo "Test 2: A CLOB with an odd number of bytes\n";
51 echo "Test 4: A CLOB of 1049028 bytes (the value used for chunks in the code)\n";
54 echo "Test 5: A CLOB of 1049028-1 bytes\n";
57 echo "Test 6: A CLOB of 1049028+1 bytes\n";
66 Test 1: A CLOB with an even number of bytes
68 Test 2: A CLOB with an odd number of bytes
70 Test 3: A CLOB of 1048576 bytes (== size of PHP_OCI_LOB_BUFFER_SIZE at time of test creation)
72 Test 4: A CLOB of 1049028 bytes (the value used for chunks in the code)
74 Test 5: A CLOB of 1049028-1 bytes
[all …]
H A Dbug70700.phpt52 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
83 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
114 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes)
159 size of string1 is 1000006 bytes, 1000006 chars.
160 size of stream1a is 1000006 bytes, 1000006 chars.
165 size of string2 is 8194 bytes, 4100 chars.
166 size of stream2a is 8194 bytes, 4100 chars.
171 size of string3 is 8194 bytes, 4100 chars.
172 size of stream3a is 8194 bytes, 4100 chars.
177 size of string4 is 8193 bytes, 2735 chars.
[all …]
/PHP-7.4/ext/pdo_oci/tests/
H A Dbug60994.phpt32 $insert->bindParam(':data', $string1, \PDO::PARAM_STR, strlen($string1)); // length in bytes
49 $insert->bindParam(':data', $string2, \PDO::PARAM_STR, strlen($string2)); // length in bytes
66 $insert->bindParam(':data', $string3, \PDO::PARAM_STR, strlen($string3)); // length in bytes
99 size of string1 is 1000006 bytes, 1000006 chars.
100 size of stream1 is 1000006 bytes, 1000006 chars.
105 size of string2 is 16380 bytes, 8193 chars.
106 size of stream2 is 16380 bytes, 8193 chars.
111 size of string3 is 16380 bytes, 8193 chars.
112 size of stream3 is 16380 bytes, 8193 chars.
117 size of string4 is 24567 bytes, 8193 chars.
[all …]
/PHP-7.4/Zend/tests/
H A Dbug78340.phpt9 private $bytes, $pos;
12 $this->bytes= self::$files[$path];
19 $chunk= substr($this->bytes, $this->pos, $count);
25 return $this->pos >= strlen($this->bytes);
29 $this->bytes= null;
35 'size' => strlen($this->bytes),
/PHP-7.4/ext/sockets/tests/
H A Dsocket_sentto_recvfrom_ipv4_udp.phpt33 '%d bytes have been sent instead of the %d bytes expected',
42 $bytes = socket_recvfrom(
45 if (($bytes === false) && ($errno = socket_last_error($socket))) {
56 $recvd += $bytes;
57 $wants -= $bytes;
63 '%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-7.4/ext/spl/tests/
H A DSplObjectStorage_unserialize_invalid_parameter2.phpt29 Error at offset %d of %d bytes
30 Error at offset %d of %d bytes
31 Error at offset %d of %d bytes
32 Error at offset %d of %d bytes
33 Error at offset %d of %d bytes

Completed in 49 milliseconds

12345678910>>...12