Home
last modified time | relevance | path

Searched refs:surrogate (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/node/test/parallel/
Dtest-repl-preprocess-top-level-await.js12 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 …]
Dtest-util-inspect.js862 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/
Dconvert.rs108 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()
Dcode_points.rs17 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()
Dstring.rs15 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/
Dtestoutput14-1612 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
Dtestoutput12-16524 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/
DduplicateLocalVariable1.types206surrogate trail fails", function () { var filename = TestFileDir + "\\utf16leInv…
207surrogate trail fails", function () { var filename = TestFileDir + "\\utf16leInv…
208surrogate trail fails", function () { var filename = TestFileDir + "\\utf16leInv…
1679 testRunner.addTest(new TestCase("Test UTF-16LE with invalid surrogate trail fails",
1680surrogate trail fails", function () { var filename = TestFileDir + "\\utf16leInv…
1684surrogate 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 …]
DduplicateLocalVariable1.errors.txt316 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/
Dtestnorm.txt47 # ICU 63 normalization with UCPTrie requires inert surrogate code points.
62 # ICU 63 normalization with UCPTrie requires inert surrogate code points.
Dtest2.ucm53 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
Dtest3.ucm54 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
Dtest4.ucm47 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
/third_party/icu/icu4c/source/test/intltest/
Ditercoll.cpp253 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/
DCollationIteratorTest.java284 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/
DCollationIteratorTest.java287 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/
Dproperties.md328 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/
Dgenerate-unicode-tables34 --chars --exclude surrogate > "$out/general_category.rs"
/third_party/icu/docs/userguide/conversion/
Dconverters.md463 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/
Doperator_gtgt.md24 …or.102`](../home/exceptions.md#jsonexceptionparse_error102) if to_unicode fails or surrogate error.
/third_party/node/deps/cjs-module-lexer/
DCHANGELOG.md6 - Filter export strings to valid surrogate pairs (https://github.com/guybedford/cjs-module-lexer/pu…
/third_party/icu/icu4c/source/i18n/
Drematch.cpp370 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/
Drematch.cpp370 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/
Drematch.cpp370 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/
Dexceptions.md169 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

1234