Home
last modified time | relevance | path

Searched refs:codepoint (Results 1 – 25 of 43) sorted by relevance

12

/PHP-8.1/ext/intl/uchar/
H A Duchar.stub.php11 public static function charAge(int|string $codepoint): ?array {} argument
14 public static function charDigitValue(int|string $codepoint): ?int {} argument
17 public static function charDirection(int|string $codepoint): ?int {} argument
29 public static function charType(int|string $codepoint): ?int {} argument
32 public static function chr(int|string $codepoint): ?string {} argument
91 public static function isalnum(int|string $codepoint): ?bool {} argument
94 public static function isalpha(int|string $codepoint): ?bool {} argument
97 public static function isbase(int|string $codepoint): ?bool {} argument
100 public static function isblank(int|string $codepoint): ?bool {} argument
103 public static function iscntrl(int|string $codepoint): ?bool {} argument
[all …]
H A Duchar_arginfo.h5 ZEND_ARG_TYPE_MASK(0, codepoint, MAY_BE_LONG|MAY_BE_STRING, NULL)
10 ZEND_ARG_TYPE_MASK(0, codepoint, MAY_BE_LONG|MAY_BE_STRING, NULL)
14 ZEND_ARG_TYPE_MASK(0, codepoint, MAY_BE_LONG|MAY_BE_STRING, NULL)
25 ZEND_ARG_TYPE_MASK(0, codepoint, MAY_BE_LONG|MAY_BE_STRING, NULL)
29 ZEND_ARG_TYPE_MASK(0, codepoint, MAY_BE_LONG|MAY_BE_STRING, NULL)
36 ZEND_ARG_TYPE_MASK(0, codepoint, MAY_BE_LONG|MAY_BE_STRING, NULL)
40 ZEND_ARG_TYPE_MASK(0, codepoint, MAY_BE_LONG|MAY_BE_STRING, NULL)
56 ZEND_ARG_TYPE_MASK(0, codepoint, MAY_BE_LONG|MAY_BE_STRING, NULL)
67 ZEND_ARG_TYPE_MASK(0, codepoint, MAY_BE_LONG|MAY_BE_STRING, NULL)
76 ZEND_ARG_TYPE_MASK(0, codepoint, MAY_BE_LONG|MAY_BE_STRING, NULL)
[all …]
/PHP-8.1/ext/mbstring/tests/
H A Dmb_substitute_character_variation_weak_types.phpt116 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
124 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
126 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
128 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
154 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
156 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
158 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
160 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
162 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
164 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
[all …]
H A Dutf8_mobile_encodings.phpt72 if (sscanf($line, "0x%x\t0x%x", $codepoint, $char) == 2) {
73 $codepoint = pack('N', $codepoint);
75 $from[$char] = $codepoint;
76 $to[$codepoint] = $char;
77 } else if (sscanf($line, "0x%x\tBAD", $codepoint) == 1) {
78 $codepoint = pack('N', $codepoint);
79 $invalid[$codepoint] = true;
H A Deucjp_ms_encoding.phpt18 foreach ($toUnicodeIrreversible as $char => $codepoint) {
19 if (!isset($fromUnicode[$codepoint]))
20 $fromUnicode[$codepoint] = $char;
24 // same Unicode codepoint. Make sure we use the intended reverse mapping for tests:
H A Dmb_substitute_character_variation_strict_types.phpt118 ValueError: mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
150 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
152 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
154 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
156 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
158 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
160 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
H A Dbug69079.phpt36 mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
38 mb_substitute_character(): Argument #1 ($substitute_character) is not a valid codepoint
H A Dcp51932_encoding.phpt25 if (sscanf($line, '<U%x> \x%x\x%x', $codepoint, $byte1, $byte2) >= 2) {
31 if (($codepoint >= 0xC0 && $codepoint <= 0xD6) ||
32 ($codepoint >= 0xD8 && $codepoint <= 0xF6) ||
33 ($codepoint >= 0xF8 && $codepoint <= 0xFF))
36 $utf16 = pack('n', $codepoint);
H A Dencoding_tests.inc6 // Read a file with one character and its equivalent Unicode codepoint on each
16 if (sscanf($line, "0x%x\t0x%x", $char, $codepoint) == 2) {
18 if ($codepoint === 0xFFFD) {
21 $codepoint = $utf32 ? pack('N', $codepoint) : pack('n', $codepoint);
43 $from[$char] = $codepoint;
44 $to[$codepoint] = $char;
H A Dcp5022x_encoding.phpt43 if (sscanf($line, "0x%x\t0x%x", $bytes, $codepoint) == 2) {
48 if (isset($fromUnicode[$codepoint])) {
49 $nonInvertible[pack('n', shiftJISDecode($bytes))] = pack('n', $codepoint);
51 $cp932Chars[pack('n', shiftJISDecode($bytes))] = pack('n', $codepoint);
52 $fromUnicode[$codepoint] = $bytes;
59 $codepoint = 0xE000;
65 $codepoint++;
76 if (sscanf($line, "0x%x\t0x%x", $byte, $codepoint) == 2)
77 $jisx0201Chars[chr($byte)] = pack('n', $codepoint);
87 if (sscanf($line, "0x%x\t0x%x", $bytes, $codepoint) == 2) {
[all …]
H A Dmb_substitute_character_basic.phpt39 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
H A Dmb_substitute_character.phpt45 …racter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint
H A Dcp950_encoding.phpt16 // Non-reversible mappings (two different CP950 codepoints map to same Unicode codepoint)
26 // CP950 explicitly maps some unused Big5 codepoint ranges to Unicode "Private User Area" codepoints
H A Dcp932_encoding.phpt20 $codepoint = 0xE000;
25 $utf16 = pack('n', $codepoint);
29 $codepoint++;
68 * (multiple CP932 byte sequences map to the same codepoint)
/PHP-8.1/tests/lang/string/
H A Dunicode_escape_large_codepoint.phpt2 Invalid Unicode escape sequence: Large codepoint
9 Parse error: Invalid UTF-8 codepoint escape sequence: Codepoint too large in %s on line %d
H A Dunicode_escape_empty.phpt9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_incomplete.phpt9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_whitespace.phpt9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_sign.phpt9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_sign2.phpt9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
/PHP-8.1/ext/intl/tests/
H A Dcpbi_getLastCodePoint_basic.phpt16 //first() and last() don't read codepoint and set the last code point var to -1
17 //The pointer is after the last read codepoint if moving forward and
18 //before the last read codepoint is moving backwards
26 //it's a post-increment operation as to the codepoint, i.e., it gives the codepoint
/PHP-8.1/ext/iconv/tests/
H A Dbug74230.phpt8 $high = "\xED\xa1\x92"; // codepoint D852
9 $low = "\xED\xBD\xA2"; // codepoint DF62
/PHP-8.1/ext/intl/normalizer/
H A Dnormalizer_normalize.c307 UChar32 codepoint = -1; in PHP_FUNCTION() local
325 U8_NEXT(input, offset, input_length, codepoint); in PHP_FUNCTION()
332 if ((codepoint < UCHAR_MIN_VALUE) || (codepoint > UCHAR_MAX_VALUE)) { in PHP_FUNCTION()
338 decomposition_length = unorm2_getRawDecomposition(norm, codepoint, decomposition, 32, &status); in PHP_FUNCTION()
/PHP-8.1/ext/tokenizer/tests/
H A Dparse_errors.phpt40 Invalid UTF-8 codepoint escape sequence
48 Invalid UTF-8 codepoint escape sequence: Codepoint too large
/PHP-8.1/Zend/tests/
H A Drequire_parse_exception.phpt50 Invalid UTF-8 codepoint escape sequence on line 2
51 Invalid UTF-8 codepoint escape sequence: Codepoint too large on line 2

Completed in 29 milliseconds

12