Home
last modified time | relevance | path

Searched refs:codepoints (Results 1 – 25 of 26) sorted by relevance

12

/php-src/ext/intl/uchar/tests/
H A Dbasic-functionality.phpt42 $codepoints = array('P', 0xDF, 0x2603);
43 foreach($codepoints as $cp) {
46 echo "Sample range of codepoints: U+2600-U+260F\n";
139 Sample range of codepoints: U+2600-U+260F
/php-src/ext/mbstring/tests/
H A Dcp932_encoding.phpt19 * from 0xF040-0xF9FC, which map to Unicode 'private' codepoints 0xE000-E757 */
67 /* There are 396 Unicode codepoints which are non-invertible in CP932
73 * (Other sequences in 0xFA00-0xFBFF map to the same codepoints, and when
110 echo "Unicode -> CP932 conversion works on all invalid codepoints\n";
132 echo "Unicode -> SJIS-win conversion works on all invalid codepoints\n";
152 Unicode -> CP932 conversion works on all invalid codepoints
155 Unicode -> SJIS-win conversion works on all invalid codepoints
H A Dmb_substr_count.phpt23 // Although the needle below contains 3 bytes, it decodes to zero Unicode codepoints
57 // byte caused two codepoints to be emitted (because the decoder was holding
58 // cached data), and both of those codepoints matched a 1-codepoint needle
H A Dmb_str_split_jp.phpt84 Some MacJapanese characters map to a sequence of several Unicode codepoints. Examples:
93 Even though they map to multiple codepoints, mb_str_split treats these as ONE character each
96 echo "== MacJapanese characters which map to 3-5 codepoints each ==\n";
124 == MacJapanese characters which map to 3-5 codepoints each ==
H A Dcp51932_encoding.phpt26 /* The table we are using tries to map as many Unicode codepoints into
29 * CP932 character set, we don't need to handle codepoints which are not
58 * because the table we are using attempts to map as many Unicode codepoints
110 echo "Unicode -> CP51932 conversion works on all invalid codepoints\n";
122 Unicode -> CP51932 conversion works on all invalid codepoints
H A Dother_encodings.phpt22 var_dump(mb_convert_encoding("\x01\x00", "8bit", "UTF-16BE")); // codepoints over 0xFF are illegal …
H A Dsjis_mobile_encodings.phpt39 * from 0xF040-0xF9FC, which map to Unicode 'private' codepoints 0xE000-E757 */
61 * Unicode codepoints
64 * (Other sequences in 0xFA00-0xFC4B map to the same codepoints.)
118 * area' codepoints */
279 echo "Unicode -> $encoding conversion works on all invalid codepoints\n";
290 // flags, but in Unicode these are represented by a sequence of _two_ codepoints
291 // So if only one of those two codepoints appears at the end of a string, it can't
354 Unicode -> SJIS-Mobile#DOCOMO conversion works on all invalid codepoints
357 Unicode -> SJIS-Mobile#KDDI conversion works on all invalid codepoints
360 Unicode -> SJIS-Mobile#SOFTBANK conversion works on all invalid codepoints
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 Dmb_strlen.phpt73 print mb_strlen($utf8,'UTF-8') . " codepoints\n";
141 43 codepoints
H A Dbig5_encoding.phpt16 // Non-reversible mappings (two different BIG5 codepoints map to same Unicode codepoint)
H A Dgb18030_encoding.phpt17 /* GB18030 represents all Unicode codepoints in the BMP which are _not_ covered by any
25 * These start from 0x81308130 and count upwards one by one, with all the Unicode codepoints
29 …* converts to, number of sequential Unicode codepoints represented by sequential GB18030 codepoint…
256 // Test one random 4-byte code for each range used for Unicode codepoints in BMP
H A Dmb_substr.phpt67 echo "-- Testing MacJapanese characters which map to 3-5 codepoints each --\n";
69 /* There are many characters in MacJapanese which map to sequences of several codepoints */
172 -- Testing MacJapanese characters which map to 3-5 codepoints each --
H A Dsjis2004_encoding.phpt60 // Some pairs of Unicode codepoints are represented by a single character in SJIS-2004
H A Dmb_convert_kana.phpt82 echo "Including one which will expand to two codepoints:\n";
135 // Regression test: Two codepoints collapsed into one, just one position
208 Including one which will expand to two codepoints:
H A Diso2022kr_encoding.phpt109 // Regression test: The old implementation would wrongly convert some codepoints
H A Dutf_encodings.phpt15 // all ranges of valid codepoints in UnicodeData.txt
841 // UTF-16 _cannot_ represent codepoints bigger than 0x10FFFF, so we're not
873 // Two successive codepoints which are both the 1st part of a surrogate pair
887 // Test treatment of (illegal) codepoints between U+D800 and U+DFFF
967 // Test treatment of (illegal) codepoints between U+D800 and U+DFFF
H A Dutf8_mobile_encodings.phpt95 // Test some plain, vanilla codepoints (to/from mobile encoding)
H A Dcp5022x_encoding.phpt58 * which maps to Unicode 'private' codepoints 0xE000-E757 */
385 // In CP50220, two codepoints can be collapsed into a single kuten code in some cases
H A Dencoding_tests.inc37 // Skip codepoints that do not have a mapping (e.g. in BIG5.txt)
H A Diso2022jp_ms_encoding.phpt48 * Unicode codepoints */
H A Dutf7imap_encoding.phpt157 * abruptly ends after a group of 3 Base64-encoded codepoints... that's why we only emit one
H A Diso2022jp_2004_encoding.phpt344 // Test sequences of 2 Unicode codepoints which convert to a single character in ISO-2022-JP-2004
H A Dgb18030_2022_encoding.phpt257 // Test one random 4-byte code for each range used for Unicode codepoints in BMP
/php-src/ext/dom/
H A Dhtml_document.c65 lxb_codepoint_t *codepoints; member
80 lxb_codepoint_t codepoints[4096]; member
455 decoding_encoding_ctx->codepoints, in dom_setup_parser_encoding_manually()
456 sizeof(decoding_encoding_ctx->codepoints) / sizeof(*decoding_encoding_ctx->codepoints) in dom_setup_parser_encoding_manually()
470 application_data->current_input_codepoints = decoding_encoding_ctx->codepoints; in dom_setup_parser_encoding_manually()
607 const lxb_codepoint_t *codepoints_end = decoding_encoding_ctx->codepoints + decoding_buffer_used; in dom_decode_encode_slow_path()
1184 const lxb_codepoint_t *codepoints_ref = output->codepoints; in dom_saveHTML_write_string_len()
1219 lxb_codepoint_t codepoints[4096]; in dom_common_save() local
1221 …) lxb_encoding_decode_init(&decode, decoding_data, codepoints, sizeof(codepoints) / sizeof(*codepo… in dom_common_save()
1234 output_ctx->codepoints = codepoints; in dom_common_save()
[all …]
/php-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_encoding_unicode_error.phpt2 Dom\HTMLDocument loading with unicode codepoints resulting in an error

Completed in 42 milliseconds

12