Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUTF16.java346 if (isTrailSurrogate(trail)) in charAt()
400 if (isTrailSurrogate(trail)) { in charAt()
449 if (isTrailSurrogate(trail)) in charAt()
503 if (++offset16 < source.length() && isTrailSurrogate(source.charAt(offset16))) { in bounds()
539 if (++offset16 < source.length() && isTrailSurrogate(source.charAt(offset16))) { in bounds()
584 if (offset16 < limit && isTrailSurrogate(source[offset16])) { in bounds()
615 public static boolean isTrailSurrogate(char char16) { in isTrailSurrogate() method in UTF16
775 && isTrailSurrogate(source.charAt(result + 1))) { in findOffsetFromCodePoint()
807 && isTrailSurrogate(source.charAt(result + 1))) { in findOffsetFromCodePoint()
841 && isTrailSurrogate(source[result + 1])) { in findOffsetFromCodePoint()
[all …]
DUCharacterIterator.java159 if(UTF16.isTrailSurrogate((char)ch2)){ in currentCodePoint()
212 if(UTF16.isTrailSurrogate((char)ch2)){ in nextCodePoint()
248 if(UTF16.isTrailSurrogate((char)ch1)){ in previousCodePoint()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCharacterIteration.java72 if (UTF16.isTrailSurrogate(cTrail)) { in nextTrail32()
89 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) { in previous32()
111 if (UTF16.isTrailSurrogate((char)trail)) { in current32()
DReplaceableUCharacterIterator.java109 if(UTF16.isTrailSurrogate((char)ch2)){ in currentCodePoint()
DIntTrie.java163 if (!UTF16.isLeadSurrogate(lead) || !UTF16.isTrailSurrogate(trail)) { in getSurrogateValue()
DPunycode.java151 …} else if(UTF16.isLeadSurrogate(c) && (j+1)<srcLength && UTF16.isTrailSurrogate(c2=src.charAt(j+1)… in encode()
DUnicodeSetStringSpan.java972 if (com.ibm.icu.text.UTF16.isTrailSurrogate(c2)) { in spanOne()
DUtility.java867 if (UTF16.isTrailSurrogate((char) c)) { in unescapeAt()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DFCDIterCollationIterator.java70 if(isTrailSurrogate(trail)) { in nextCodePoint()
118 if(isTrailSurrogate(c)) { in previousCodePoint()
187 if(isTrailSurrogate(trail)) { in handleGetTrailSurrogate()
DIterCollationIterator.java60 if(!isTrailSurrogate(trail) && trail >= 0) { iter.previous(); } in handleGetTrailSurrogate()
DCollationIterator.java646 protected static final boolean isTrailSurrogate(int c) { in isTrailSurrogate() method in CollationIterator
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DUTF16Util.java274 public static boolean isTrailSurrogate(char char16) in isTrailSurrogate() method in UTF16Util
334 if (isTrailSurrogate(trail)) { in charAt()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetEncoderICU.java871 if (!UTF16.isTrailSurrogate(trail)) { in handleSurrogates()
913 if (!UTF16.isTrailSurrogate(trail)) { in handleSurrogates()
DCharsetISO2022.java1766 if (UTF16.isTrailSurrogate(trail)) { in encodeLoop()
2092 if (UTF16.isTrailSurrogate(source.get(sourceIndex)) && in encodeLoop()
2270 if (UTF16.isTrailSurrogate(trail)) { in encodeLoop()
2540 if (UTF16.isTrailSurrogate(source.get(sourceIndex)) && in encodeLoop()
2767 if (UTF16.isTrailSurrogate(trail)) { in encodeLoop()
2820 …if (UTF16.isTrailSurrogate(source.get(sourceIndex)) && UTF16.isLeadSurrogate(source.get(sourceInde… in encodeLoop()
DCharsetUTF16.java212 if (!UTF16.isTrailSurrogate(trail)) { in decodeTrail()
DCharsetSCSU.java1054 if(UTF16.isTrailSurrogate(trail)){ in getTrail()
1083 if(UTF16.isTrailSurrogate(trail)){ in getTrailUnicode()
DCharsetCompoundText.java385 if (UTF16.isTrailSurrogate(trail)) { in encodeLoop()
DCharsetBOCU1.java470 if(UTF16.isTrailSurrogate(trail)){ in getTrail()
DCharsetMBCS.java4508 if (UTF16.isTrailSurrogate(trail)) { in getTrailSingleBMP()
4550 if (UTF16.isTrailSurrogate(trail)) { in getTrail()
4624 if (UTF16.isTrailSurrogate(trail)) { in getTrailDouble()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUTF16Test.java476 UTF16.isTrailSurrogate((char)0x61) || in TestGetCharCountSurrogate()
480 UTF16.isTrailSurrogate((char)0xd800) || in TestGetCharCountSurrogate()
482 UTF16.isTrailSurrogate((char)0xdc00) != true) { in TestGetCharCountSurrogate()
DUnicodeSetStringSpanTest.java166 UTF16.isTrailSurrogate(s.charAt(start))) in matches16CPB()
168 UTF16.isTrailSurrogate(s.charAt(start + length))); in matches16CPB()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieTest.java174 || !UTF16.isTrailSurrogate(trail) || lead != s.charAt(p - 2) in _testTrieIteration()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestMonkey.java1533 if (UTF16.isTrailSurrogate(c)) { in moveIndex32()
1545 if (UTF16.isTrailSurrogate(c) && pos >= 0) { in moveIndex32()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUCharacter.java4658 if (UTF16.isLeadSurrogate(lead) && UTF16.isTrailSurrogate(trail)) { in getCodePoint()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java68 if(!UTF16.isTrailSurrogate(trail)){ in TestUTF16Converter()

12