Home
last modified time | relevance | path

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

123

/external/antlr/runtime/Cpp/include/
Dantlr3intstream.inl465 // If we have a surrogate pair then we need to consume
466 // a following valid LO surrogate.
470 // If the 16 bits following the high surrogate are in the source buffer...
478 // If it's a valid low surrogate, consume it
486 // Note that we ignore a valid hi surrogate that has no lo surrogate to go with
490 // Note that we ignore a valid hi surrogate that has no lo surrogate to go with
494 // Note that we did not check for an invalid low surrogate here, or that fact that the
495 … // lo surrogate was missing. We just picked out one 16 bit character unless the character
496 // was a valid hi surrogate, in whcih case we consumed two 16 bit characters.
510 // If we found a low surrogate then go back one more character if
[all …]
/external/pcre/dist2/testdata/
Dtestoutput14-169 Failed: error -24: UTF-16 error: missing low surrogate at end at offset 2
15 Failed: error -24: UTF-16 error: missing low surrogate at end at offset 2
19 Failed: error -26: UTF-16 error: isolated low surrogate at offset 2
23 Failed: error -26: UTF-16 error: isolated low surrogate at offset 2
27 Failed: error -26: UTF-16 error: isolated low surrogate at offset 2
33 Failed: error -25: UTF-16 error: invalid low surrogate at offset 3
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 3
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,
Dtestinput12366 # A special extra option allows excaped surrogate code points in 32-bit mode,
Dtestinput10461 # A special extra option allows excaped surrogate code points in 8-bit mode,
/external/icu/icu4c/source/test/testdata/
DGraphemeBreakTest.txt59 ÷ 0020 ÷ D800 ÷ # ÷ [0.2] SPACE (Other) ÷ [5.0] <surrogate-D800> (Control) ÷ [0.3]
60 …] SPACE (Other) × [9.0] COMBINING DIAERESIS (Extend_ExtCccZwj) ÷ [5.0] <surrogate-D800> (Control) …
95 ÷ 000D ÷ D800 ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [4.0] <surrogate-D800> (Control) ÷ [0.3]
96 …TURN (CR)> (CR) ÷ [4.0] COMBINING DIAERESIS (Extend_ExtCccZwj) ÷ [5.0] <surrogate-D800> (Control) …
131 ÷ 000A ÷ D800 ÷ # ÷ [0.2] <LINE FEED (LF)> (LF) ÷ [4.0] <surrogate-D800> (Control) ÷ [0.3]
132 …FEED (LF)> (LF) ÷ [4.0] COMBINING DIAERESIS (Extend_ExtCccZwj) ÷ [5.0] <surrogate-D800> (Control) …
167 ÷ 0001 ÷ D800 ÷ # ÷ [0.2] <START OF HEADING> (Control) ÷ [4.0] <surrogate-D800> (Control) ÷ [0.3]
168 …DING> (Control) ÷ [4.0] COMBINING DIAERESIS (Extend_ExtCccZwj) ÷ [5.0] <surrogate-D800> (Control) …
203 ÷ 034F ÷ D800 ÷ # ÷ [0.2] COMBINING GRAPHEME JOINER (Extend) ÷ [5.0] <surrogate-D800> (Control) ÷ …
204 …JOINER (Extend) × [9.0] COMBINING DIAERESIS (Extend_ExtCccZwj) ÷ [5.0] <surrogate-D800> (Control) …
[all …]
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
Dconversion.txt1155 "\uD87E", // lone surrogate can cause an offset overflow
1162 "\uD87E", // lone surrogate can cause an offset overflow
1273 // There will be a partial match up to the lead surrogate of U+603ff
1873 // Unicode charsets that do not map surrogate code points
1917 // Unicode charsets that do map surrogate code points
/external/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()
/external/icu/android_icu4j/src/main/tests/android/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()
/external/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()
/external/python/cpython2/Lib/test/
Dtest_memoryio.py640 surrogate = unichr(0xd800)
641 memio = self.ioclass(surrogate)
642 self.assertEqual(memio.read(), surrogate)
645 memio.write(surrogate)
646 self.assertEqual(memio.getvalue(), surrogate)
Dtest_unicode.py913 for cb, surrogate in zip(map(chr, range(0xA0, 0xC0)),
916 self.assertEqual(encoded.decode('utf-8'), surrogate)
917 self.assertEqual(surrogate.encode('utf-8'), encoded)
/external/clang/test/SemaCXX/
Denable_if.cpp4 int surrogate(int);
31 …operator fp() __attribute__((enable_if(false, "never enabled"))) { return surrogate; } // expecte… in operator fp()
/external/cldr/tools/java/org/unicode/cldr/util/props/
DBagFormatter.java316 UnicodeSet surrogate; field in BagFormatter.NameLabel
322 surrogate = source.getSet("gc=Cs"); in NameLabel()
339 if (surrogate.contains(codePoint)) { in getValue()
/external/icu/icu4c/source/i18n/
Drematch.cpp368 UChar surrogate[2]; in appendReplacement() local
369 surrogate[0] = U16_LEAD(escapedChar); in appendReplacement()
370 surrogate[1] = U16_TRAIL(escapedChar); in appendReplacement()
372 destLen += utext_replace(dest, destLen, destLen, surrogate, 2, &status); in appendReplacement()
390 UChar surrogate[2]; in appendReplacement() local
391 surrogate[0] = U16_LEAD(c); in appendReplacement()
392 surrogate[1] = U16_TRAIL(c); in appendReplacement()
394 destLen += utext_replace(dest, destLen, destLen, surrogate, 2, &status); in appendReplacement()
404 UChar surrogate[2]; in appendReplacement() local
405 surrogate[0] = U16_LEAD(c); in appendReplacement()
[all …]
/external/python/cpython3/Doc/c-api/
Dunicode.rst208 code units (this includes surrogate pairs as 2 units). *o* has to be a
366 Check if *ch* is a surrogate (``0xD800 <= ch <= 0xDFFF``).
370 Check if *ch* is a high surrogate (``0xD800 <= ch <= 0xDBFF``).
374 Check if *ch* is a low surrogate (``0xDC00 <= ch <= 0xDFFF``).
378 Join two surrogate characters and return a single Py_UCS4 value.
380 surrogate pair.
739 code units (this includes surrogate pairs as 2 units).
1175 If *Py_UNICODE_WIDE* is not defined, surrogate pairs will be output
1225 split surrogate pair) as an error. Those bytes will not be decoded and the
1250 represented as a surrogate pair. If it is not defined, each :c:type:`Py_UNICODE`
Dsys.rst106 surrogate character, escape the bytes using the surrogateescape error
147 :ref:`surrogateescape error handler <surrogateescape>`: surrogate characters
/external/catch2/docs/
Dcontributing.md29 If you add additional headers please try to remember to add a surrogate cpp for it.
/external/python/cpython2/Objects/
Dunicodeobject.c1663 Py_UNICODE surrogate = 0; in PyUnicode_DecodeUTF7Stateful() local
1695 if (surrogate) { in PyUnicode_DecodeUTF7Stateful()
1699 *p++ = (((surrogate & 0x3FF)<<10) in PyUnicode_DecodeUTF7Stateful()
1702 *p++ = surrogate; in PyUnicode_DecodeUTF7Stateful()
1705 surrogate = 0; in PyUnicode_DecodeUTF7Stateful()
1709 *p++ = surrogate; in PyUnicode_DecodeUTF7Stateful()
1710 surrogate = 0; in PyUnicode_DecodeUTF7Stateful()
1715 surrogate = outCh; in PyUnicode_DecodeUTF7Stateful()
1740 if (surrogate && DECODE_DIRECT(ch)) in PyUnicode_DecodeUTF7Stateful()
1741 *p++ = surrogate; in PyUnicode_DecodeUTF7Stateful()
[all …]
/external/u-boot/lib/lzma/
Dhistory.txt24 incorrectly converted surrogate characters (the code >= 0x10000) to UTF-8.
/external/python/cpython2/Doc/c-api/
Dunicode.rst550 In a narrow build code points outside the BMP will be decoded as surrogate pairs.
582 If *Py_UNICODE_WIDE* is not defined, surrogate pairs will be output
641 split surrogate pair) as an error. Those bytes will not be decoded and the
665 represented as a surrogate pair. If it is not defined, each :c:type:`Py_UNICODE`

123