Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 25 of 236) sorted by relevance

12345678910

/php-src/ext/opcache/tests/jit/
H A Dbug81249.phpt43 if ($byte === '') {
53 $byte = ord($byte);
55 if ($this->lead === 0x8E && ($byte >= 0xA1 && $byte <= 0xDF)) {
61 if ($this->lead === 0x8F && ($byte >= 0xA1 && $byte <= 0xFE)) {
63 $this->lead = $byte;
73 if (($lead >= 0xA1 && $lead <= 0xFE) && ($byte >= 0xA1 && $byte <= 0xFE)) {
89 if ($byte <= 0x7F) {
96 if ($byte <= 0x7F) {
97 return $byte;
100 if ($byte === 0x8E || $byte === 0x8F || ($byte >= 0xA1 && $byte <= 0xFE)) {
[all …]
/php-src/ext/xml/tests/
H A Dbug26614.phpt16 <DATA> at line 2, col 0 (byte 45)
17 </DATA> at line 9, col 0 (byte 89)
19 <DATA> at line 2, col 0 (byte 45)
20 </DATA> at line 9, col 0 (byte 89)
22 <DATA> at line 2, col 0 (byte 45)
23 </DATA> at line 9, col 0 (byte 89)
H A Dbug26614_libxml_gte2_11.phpt17 <DATA> at line 2, col %d (byte 50)
18 </DATA> at line 9, col %d (byte 96)
20 <DATA> at line 2, col %d (byte 50)
21 </DATA> at line 9, col %d (byte 96)
23 <DATA> at line 2, col %d (byte 50)
24 </DATA> at line 9, col %d (byte 96)
H A Dbug26614_libxml_pre2_11.phpt17 <DATA> at line 2, col %d (byte 9)
18 </DATA> at line 9, col %d (byte 55)
20 <DATA> at line 2, col %d (byte 9)
21 </DATA> at line 9, col %d (byte 55)
23 <DATA> at line 2, col %d (byte 9)
24 </DATA> at line 9, col %d (byte 55)
/php-src/ext/dom/lexbor/lexbor/encoding/
H A Ddecode.c642 lxb_char_t byte; in lxb_encoding_decode_iso_2022_jp() local
693 && byte != 0x0E && byte != 0x0F) in lxb_encoding_decode_iso_2022_jp()
860 if (byte == 0x24 || byte == 0x28) { in lxb_encoding_decode_iso_2022_jp()
896 if (byte == 0x40 || byte == 0x42) { in lxb_encoding_decode_iso_2022_jp()
1997 byte = **data; in lxb_encoding_decode_big5_single()
2101 byte = *(*data)++; in lxb_encoding_decode_euc_jp_single()
2119 lead = byte; in lxb_encoding_decode_euc_jp_single()
2252 lxb_char_t byte; in lxb_encoding_decode_iso_2022_jp_single() local
2277 && byte != 0x0E && byte != 0x0F) in lxb_encoding_decode_iso_2022_jp_single()
2382 if (byte == 0x24 || byte == 0x28) { in lxb_encoding_decode_iso_2022_jp_single()
[all …]
/php-src/ext/standard/tests/strings/
H A Dhtmlentities21.phpt136 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
139 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
142 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
145 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
148 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
151 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
154 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
157 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
160 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
163 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
[all …]
H A Dhtmlentities23.phpt9 "\x8F\xA0", //1 sub, A0 is not valid as sole/first byte
31 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
38 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
45 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
52 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
59 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
66 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
73 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
80 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
87 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
[all …]
H A Dhtmlentities22.phpt70 echo "\n*** Testing HTML 5 with another single-byte encoding ***\n";
74 echo "\n*** Testing HTML 5 with another multibyte-byte encoding ***\n";
225 *** Testing HTML 5 with another single-byte encoding ***
254 *** Testing HTML 5 with another multibyte-byte encoding ***
256 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
259 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
262 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
265 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
268 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
271 Notice: htmlentities(): Only basic entities substitution is supported for multi-byte encodings othe…
[all …]
/php-src/ext/zlib/tests/
H A Dgzseek_basic.phpt10 echo "move to the 50th byte\n";
16 echo "\nmove forward to the 100th byte\n";
22 echo "\nmove backward to the 20th byte\n";
30 move to the 50th byte
35 move forward to the 100th byte
40 move backward to the 20th byte
H A Dgzseek_variation2.phpt10 echo "move to the 50th byte\n";
16 echo "\nmove forward to the 100th byte\n";
22 echo "\nmove backward to the 20th byte\n";
30 move to the 50th byte
35 move forward to the 100th byte
40 move backward to the 20th byte
H A Dgzseek_variation3.phpt10 echo "move to the 50th byte\n";
16 echo "\nmove forward to the 94th byte\n";
22 echo "\nmove backward to the 77th byte\n";
30 move to the 50th byte
35 move forward to the 94th byte
41 move backward to the 77th byte
/php-src/ext/standard/tests/array/range/
H A Drange_inputs_string_invalid.phpt8 echo "Range will ignore any byte after the first one\n";
25 Range will ignore any byte after the first one
27 Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in %s on…
29 Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in %s on l…
40 …ing: range(): Argument #2 ($end) must be a single byte string if argument #1 ($start) is a single
48 …ng: range(): Argument #1 ($start) must be a single byte string if argument #2 ($end) is a single b…
55 …ng: range(): Argument #1 ($start) must be a single byte string if argument #2 ($end) is a single b…
67 …ing: range(): Argument #2 ($end) must be a single byte string if argument #1 ($start) is a single
/php-src/ext/mbstring/tests/
H A Dmb_stripos_empty_needle.phpt38 echo "\n-- Multi-byte string without offset --\n";
41 echo "\n-- Multi-byte string with in range positive offset --\n";
44 echo "\n-- Multi-byte string with in range negative offset --\n";
47 echo "\n-- Multi-byte string with out of bound positive offset --\n";
54 echo "\n-- Multi-byte string with out of bound negative offset --\n";
78 -- Multi-byte string without offset --
81 -- Multi-byte string with in range positive offset --
84 -- Multi-byte string with in range negative offset --
87 -- Multi-byte string with out of bound positive offset --
90 -- Multi-byte string with out of bound negative offset --
H A Dmb_strpos_empty_needle.phpt37 echo "\n-- Multi-byte string without offset --\n";
40 echo "\n-- Multi-byte string with in range positive offset --\n";
43 echo "\n-- Multi-byte string with in range negative offset --\n";
46 echo "\n-- Multi-byte string with out of bound positive offset --\n";
53 echo "\n-- Multi-byte string with out of bound negative offset --\n";
77 -- Multi-byte string without offset --
80 -- Multi-byte string with in range positive offset --
83 -- Multi-byte string with in range negative offset --
86 -- Multi-byte string with out of bound positive offset --
89 -- Multi-byte string with out of bound negative offset --
H A Dmb_strripos_empty_needle.phpt38 echo "\n-- Multi-byte string without offset --\n";
41 echo "\n-- Multi-byte string with in range positive offset --\n";
44 echo "\n-- Multi-byte string with in range negative offset --\n";
47 echo "\n-- Multi-byte string with out of bound positive offset --\n";
54 echo "\n-- Multi-byte string with out of bound negative offset --\n";
78 -- Multi-byte string without offset --
81 -- Multi-byte string with in range positive offset --
84 -- Multi-byte string with in range negative offset --
87 -- Multi-byte string with out of bound positive offset --
90 -- Multi-byte string with out of bound negative offset --
H A Dmb_strrpos_empty_needle.phpt38 echo "\n-- Multi-byte string without offset --\n";
41 echo "\n-- Multi-byte string with in range positive offset --\n";
44 echo "\n-- Multi-byte string with in range negative offset --\n";
47 echo "\n-- Multi-byte string with out of bound positive offset --\n";
54 echo "\n-- Multi-byte string with out of bound negative offset --\n";
78 -- Multi-byte string without offset --
81 -- Multi-byte string with in range positive offset --
84 -- Multi-byte string with in range negative offset --
87 -- Multi-byte string with out of bound positive offset --
90 -- Multi-byte string with out of bound negative offset --
/php-src/ext/gd/libgd/
H A Dgdft.c212 int byte; in gdTcl_UtfToUniChar() local
216 if (byte == '&') { in gdTcl_UtfToUniChar()
222 if (byte == 'x' || byte == 'X') { in gdTcl_UtfToUniChar()
225 if (byte >= 'A' && byte <= 'F') in gdTcl_UtfToUniChar()
226 byte = byte - 'A' + 10; in gdTcl_UtfToUniChar()
227 else if (byte >= 'a' && byte <= 'f') in gdTcl_UtfToUniChar()
228 byte = byte - 'a' + 10; in gdTcl_UtfToUniChar()
229 else if (byte >= '0' && byte <= '9') in gdTcl_UtfToUniChar()
230 byte = byte - '0'; in gdTcl_UtfToUniChar()
238 if (byte >= '0' && byte <= '9') { in gdTcl_UtfToUniChar()
[all …]
/php-src/ext/pcre/tests/
H A Dnull_bytes.phpt2 Zero byte test
32 Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL byte in %snull_bytes.p…
37 Warning: preg_match(): NUL byte is not a valid modifier in %snull_bytes.php on line 6
40 Warning: preg_match(): NUL byte is not a valid modifier in %snull_bytes.php on line 7
45 Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL byte in %snull_bytes.p…
50 Warning: preg_match(): NUL byte is not a valid modifier in %snull_bytes.php on line 14
53 Warning: preg_match(): NUL byte is not a valid modifier in %snull_bytes.php on line 15
H A Dpreg_replace_callback_array_error.phpt98 Warning: preg_replace_callback_array(): Delimiter must not be alphanumeric, backslash, or NUL byte
101 Warning: preg_replace_callback_array(): Delimiter must not be alphanumeric, backslash, or NUL byte
104 Warning: preg_replace_callback_array(): Delimiter must not be alphanumeric, backslash, or NUL byte
107 Warning: preg_replace_callback_array(): Delimiter must not be alphanumeric, backslash, or NUL byte
/php-src/Zend/tests/
H A Dreplace_pred_pi_node.phpt6 $byte = '';
7 if ($a && $byte > 0 && $b) {}
8 unknown($byte);
/php-src/ext/dom/lexbor/patches/
H A D0003-Patch-utilities-and-data-structure-to-be-able-to-gen.patch12 utils/lexbor/encoding/multi-byte.py | 2 +-
13 utils/lexbor/encoding/single-byte.py | 2 +-
33 diff --git a/utils/lexbor/encoding/multi-byte.py b/utils/lexbor/encoding/multi-byte.py
35 --- a/utils/lexbor/encoding/multi-byte.py
36 +++ b/utils/lexbor/encoding/multi-byte.py
46 diff --git a/utils/lexbor/encoding/single-byte.py b/utils/lexbor/encoding/single-byte.py
48 --- a/utils/lexbor/encoding/single-byte.py
49 +++ b/utils/lexbor/encoding/single-byte.py
/php-src/ext/phar/tests/
H A Dcreate_path_error.phpt32 "Font\xE5\x84\xB7\xE9\xBB\x91pro.ttf", //two valid multi-byte characters
33 "\xF0\x9F\x98\x8D.ttf", // valid 4 byte char - smiling face with heart-shaped eyes
34 "Font\xE9\xBBpro.ttf", //Invalid multi-byte character - missing last byte
35 "Font\xBB\x91pro.ttf", //Invalid multi-byte character - missing first byte
36 "Font\xC0\xAFpro.ttf", //Invalid multi-byte character - invalid first byte
37 "Font\xF0\x80\x90\x90pro.ttf", //Invalid multi-byte character - surrogate pair code point
38 …"\xFC\x81\x81\x81\x81pro.ttf", //RFC 3629 limited char points to 0000-10FFFF aka 5 byte utf-8 not …
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます9039 >0 byte x \b, 2048-byte sectors
9213 >0 byte x (2048-byte sectors)
9218 >0 byte x (2352-byte sectors)
9239 >0 byte x (2048-byte sectors)
9244 >0 byte x (2352-byte sectors)
12142 >5 byte 0 invalid byte order
30673 >5 byte 0 invalid byte order
31284 >8 byte >0 %d byte words,
31292 >32 byte 5 4-byte floats,
32834 >6 byte >0 with %d byte name
[all …]
H A Dmagic9039 >0 byte x \b, 2048-byte sectors
9213 >0 byte x (2048-byte sectors)
9218 >0 byte x (2352-byte sectors)
9239 >0 byte x (2048-byte sectors)
9244 >0 byte x (2352-byte sectors)
12142 >5 byte 0 invalid byte order
30673 >5 byte 0 invalid byte order
31284 >8 byte >0 %d byte words,
31292 >32 byte 5 4-byte floats,
32834 >6 byte >0 with %d byte name
[all …]
/php-src/ext/standard/tests/general_functions/
H A Dproc_open_array.phpt20 echo "\nNul byte in program name:\n";
27 echo "\nNul byte in argument:\n";
80 Nul byte in program name:
81 Command array element 1 contains a null byte
83 Nul byte in argument:
84 Command array element 2 contains a null byte

Completed in 335 milliseconds

12345678910