/third_party/node/test/parallel/ |
D | test-repl-preprocess-top-level-await.js | 12 const surrogate = ( constant 21 [ `await ${surrogate}`, 22 `(async () => { return { value: (await ${surrogate}) } })()` ], 27 [ `await ${surrogate};`, 28 `(async () => { return { value: (await ${surrogate}) }; })()` ], 29 [ `await ${surrogate};`, 30 `(async () => { return { value: (await ${surrogate}) }; })()` ], 33 [ `(await ${surrogate})`, 34 `(async () => { return ({ value: (await ${surrogate}) }) })()` ], 37 [ `(await ${surrogate});`, [all …]
|
D | test-util-inspect.js | 862 const surrogate = String.fromCharCode(charCode); constant 865 util.inspect(surrogate), 869 util.inspect(`${'a'.repeat(200)}${surrogate}`), 873 util.inspect(`${surrogate}${'a'.repeat(200)}`), 877 const highSurrogate = surrogate; 892 util.inspect(`${edgeChar}${surrogate}${edgeChar}`),
|
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/ |
D | convert.rs | 108 surrogate: Option<NonZeroU16>, field 121 surrogate: None, in new() 142 if let Some(surrogate) = self.surrogate.take() { in next() 143 return Some(Ok(surrogate.get())); in next() 155 self.surrogate = Some(unsafe { in next() 169 let additional = self.surrogate.is_some().into(); in size_hint()
|
D | code_points.rs | 17 surrogate: bool, field 31 surrogate: false, in new() 44 self.surrogate = false; in consume_next() 86 let prev_surrogate = mem::replace(&mut self.surrogate, false); in next() 110 self.surrogate = true; in next()
|
D | string.rs | 15 if let Some(surrogate) = suffix.get(..SURROGATE_LENGTH) { in ends_with() 16 super::encode_wide(surrogate) in ends_with() 48 let (substring, surrogate) = prefix.split_at(index); in starts_with() 49 let mut wide_surrogate = super::encode_wide(surrogate); in starts_with()
|
/third_party/pcre2/pcre2/testdata/ |
D | testoutput14-16 | 12 Failed: error -24: UTF-16 error: missing low surrogate at end at offset 2 18 Failed: error -24: UTF-16 error: missing low surrogate at end at offset 2 22 Failed: error -26: UTF-16 error: isolated low surrogate at offset 2 26 Failed: error -26: UTF-16 error: isolated low surrogate at offset 2 30 Failed: error -26: UTF-16 error: isolated low surrogate at offset 2 36 Failed: error -25: UTF-16 error: invalid low surrogate at offset 2
|
D | testoutput12-16 | 524 Failed: error -24: UTF-16 error: missing low surrogate at end at offset 2 526 Failed: error -24: UTF-16 error: missing low surrogate at end at offset 2 528 Failed: error -26: UTF-16 error: isolated low surrogate at offset 2 530 Failed: error -26: UTF-16 error: isolated low surrogate at offset 2 532 Failed: error -26: UTF-16 error: isolated low surrogate at offset 2 536 Failed: error -25: UTF-16 error: invalid low surrogate at offset 2 543 Failed: error -24: UTF-16 error: missing low surrogate at end at offset 2 788 Failed: error -26 at offset 0: UTF-16 error: isolated low surrogate 1424 # A special extra option allows excaped surrogate code points in 32-bit mode,
|
/third_party/typescript/tests/baselines/reference/ |
D | duplicateLocalVariable1.types | 206 …surrogate trail fails", function () { var filename = TestFileDir + "\\utf16leInv… 207 …surrogate trail fails", function () { var filename = TestFileDir + "\\utf16leInv… 208 …surrogate trail fails", function () { var filename = TestFileDir + "\\utf16leInv… 1679 testRunner.addTest(new TestCase("Test UTF-16LE with invalid surrogate trail fails", 1680 …surrogate trail fails", function () { var filename = TestFileDir + "\\utf16leInv… 1684 …surrogate trail fails", function () { var filename = TestFileDir + "\\utf16leInv… 1686 >"Test UTF-16LE with invalid surrogate trail fails" : "Test UTF-16LE with invalid surrogate trail f… 1708 }, "Trail surrogate has an invalid value")); 1709 >"Trail surrogate has an invalid value" : "Trail surrogate has an invalid value" 1711 testRunner.addTest(new TestCase("Test UTF-16BE with invalid surrogate head fails", [all …]
|
D | duplicateLocalVariable1.errors.txt | 316 testRunner.addTest(new TestCase("Test UTF-16LE with invalid surrogate trail fails", 321 }, "Trail surrogate has an invalid value")); 323 testRunner.addTest(new TestCase("Test UTF-16BE with invalid surrogate head fails", 328 }, "Byte sequence starts with a trail surrogate")); 330 testRunner.addTest(new TestCase("Test UTF-16LE with missing trail surrogate fails", 335 }, "Trail surrogate has an invalid value"));
|
/third_party/icu/icu4c/source/test/testdata/ |
D | testnorm.txt | 47 # ICU 63 normalization with UCPTrie requires inert surrogate code points. 62 # ICU 63 normalization with UCPTrie requires inert surrogate code points.
|
D | test2.ucm | 53 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
|
D | test3.ucm | 54 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
|
D | test4.ucm | 47 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
|
/third_party/icu/icu4c/source/test/intltest/ |
D | itercoll.cpp | 253 UnicodeString surrogate = UNICODE_STRING_SIMPLE("\\ud800\\udc00str").unescape(); in TestOffset() local 254 iter = tailored.createCollationElementIterator(surrogate); in TestOffset() 264 surrogate = UNICODE_STRING_SIMPLE("simple\\ud800\\udc00str").unescape(); in TestOffset() 265 iter = tailored.createCollationElementIterator(surrogate); in TestOffset()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 284 String surrogate = "\ud800\udc00str"; in TestOffset() local 285 iter = tailored.getCollationElementIterator(surrogate); in TestOffset() 292 surrogate = "simple\ud800\udc00str"; in TestOffset() 293 iter = tailored.getCollationElementIterator(surrogate); in TestOffset()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 287 String surrogate = "\ud800\udc00str"; in TestOffset() local 288 iter = tailored.getCollationElementIterator(surrogate); in TestOffset() 295 surrogate = "simple\ud800\udc00str"; in TestOffset() 296 iter = tailored.getCollationElementIterator(surrogate); in TestOffset()
|
/third_party/icu/docs/userguide/strings/ |
D | properties.md | 328 UTF-16 text processing can be further optimized by detecting surrogate pairs and 335 points associated with a lead surrogate. If so, then set a special 336 (application-specific) value for the lead surrogate. 339 data and the code unit is a lead surrogate, then check if a trail surrogate 342 otherwise deal with the unpaired surrogate in some way. (Java CodePointTrie.Fast 347 surrogate and one for the trail surrogate, but they are fast, and this
|
/third_party/rust/crates/regex/scripts/ |
D | generate-unicode-tables | 34 --chars --exclude surrogate > "$out/general_category.rs"
|
/third_party/icu/docs/userguide/conversion/ |
D | converters.md | 463 would occur when a conversion ends with a low surrogate (U+D800) at the end of 464 the source, with no corresponding high surrogate. 471 low surrogate is NOT followed immediately by a high surrogate, or a high 472 surrogate without its preceding low surrogate, an illegal sequence results. 473 Note: Most, but not all, converters forbid surrogate code points or unpaired 474 surrogate code units. (Lead surrogate without trail, or trail without lead.) 475 Some converters permit surrogate code points/unpaired surrogates because their 704 encounter a leading surrogate at the end of one buffer, which needs to be paired 705 with the trailing surrogate in the next buffer.
|
/third_party/json/docs/mkdocs/docs/api/ |
D | operator_gtgt.md | 24 …or.102`](../home/exceptions.md#jsonexceptionparse_error102) if to_unicode fails or surrogate error.
|
/third_party/node/deps/cjs-module-lexer/ |
D | CHANGELOG.md | 6 - Filter export strings to valid surrogate pairs (https://github.com/guybedford/cjs-module-lexer/pu…
|
/third_party/icu/icu4c/source/i18n/ |
D | rematch.cpp | 370 UChar surrogate[2]; in appendReplacement() local 371 surrogate[0] = U16_LEAD(escapedChar); in appendReplacement() 372 surrogate[1] = U16_TRAIL(escapedChar); in appendReplacement() 374 destLen += utext_replace(dest, destLen, destLen, surrogate, 2, &status); in appendReplacement() 392 UChar surrogate[2]; in appendReplacement() local 393 surrogate[0] = U16_LEAD(c); in appendReplacement() 394 surrogate[1] = U16_TRAIL(c); in appendReplacement() 396 destLen += utext_replace(dest, destLen, destLen, surrogate, 2, &status); in appendReplacement() 406 UChar surrogate[2]; in appendReplacement() local 407 surrogate[0] = U16_LEAD(c); in appendReplacement() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | rematch.cpp | 370 UChar surrogate[2]; in appendReplacement() local 371 surrogate[0] = U16_LEAD(escapedChar); in appendReplacement() 372 surrogate[1] = U16_TRAIL(escapedChar); in appendReplacement() 374 destLen += utext_replace(dest, destLen, destLen, surrogate, 2, &status); in appendReplacement() 392 UChar surrogate[2]; in appendReplacement() local 393 surrogate[0] = U16_LEAD(c); in appendReplacement() 394 surrogate[1] = U16_TRAIL(c); in appendReplacement() 396 destLen += utext_replace(dest, destLen, destLen, surrogate, 2, &status); in appendReplacement() 406 UChar surrogate[2]; in appendReplacement() local 407 surrogate[0] = U16_LEAD(c); in appendReplacement() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | rematch.cpp | 370 char16_t surrogate[2]; in appendReplacement() local 371 surrogate[0] = U16_LEAD(escapedChar); in appendReplacement() 372 surrogate[1] = U16_TRAIL(escapedChar); in appendReplacement() 374 destLen += utext_replace(dest, destLen, destLen, surrogate, 2, &status); in appendReplacement() 392 char16_t surrogate[2]; in appendReplacement() local 393 surrogate[0] = U16_LEAD(c); in appendReplacement() 394 surrogate[1] = U16_TRAIL(c); in appendReplacement() 396 destLen += utext_replace(dest, destLen, destLen, surrogate, 2, &status); in appendReplacement() 406 char16_t surrogate[2]; in appendReplacement() local 407 surrogate[0] = U16_LEAD(c); in appendReplacement() [all …]
|
/third_party/json/docs/mkdocs/docs/home/ |
D | exceptions.md | 169 Invalid UTF-8 surrogate pair: 172 …t line 1, column 13: syntax error while parsing value - invalid string: surrogate U+DC00..U+DFFF m… 188 …e 0xFFFF are split into two `\uxxxx` entries ("surrogate pairs"). This error indicates that the su… 193 parse error at 14: missing or wrong low surrogate
|