Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUTF16.java354 if (isLeadSurrogate(lead)) { in charAt()
409 if (isLeadSurrogate(lead)) in charAt()
457 if (isLeadSurrogate(lead)) { in charAt()
502 if (isLeadSurrogate(ch)) { in bounds()
509 if (offset16 >= 0 && isLeadSurrogate(source.charAt(offset16))) { in bounds()
538 if (isLeadSurrogate(ch)) { in bounds()
545 if (offset16 >= 0 && isLeadSurrogate(source.charAt(offset16))) { in bounds()
582 if (isLeadSurrogate(ch)) { in bounds()
589 if (offset16 >= start && isLeadSurrogate(source[offset16])) { in bounds()
626 public static boolean isLeadSurrogate(char char16) { in isLeadSurrogate() method in UTF16
[all …]
DUCharacterIterator.java147 if(UTF16.isLeadSurrogate((char)ch)){ in currentCodePoint()
210 if(UTF16.isLeadSurrogate((char)ch1)){ in nextCodePoint()
250 if(UTF16.isLeadSurrogate((char)ch2)){ in previousCodePoint()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCharacterIteration.java91 if (UTF16.isLeadSurrogate(lead)) { in previous32()
108 if (UTF16.isLeadSurrogate(lead)) { in current32()
DReplaceableUCharacterIterator.java100 if(UTF16.isLeadSurrogate((char)ch)){ 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.java984 if (com.ibm.icu.text.UTF16.isLeadSurrogate(c2)) { in spanOneBack()
DUtility.java859 UTF16.isLeadSurrogate((char) result)) { in unescapeAt()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DUTF16Util.java286 public static boolean isLeadSurrogate(char char16) in isLeadSurrogate() method in UTF16Util
344 if (isLeadSurrogate(lead)) in charAt()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DFCDIterCollationIterator.java68 if(isLeadSurrogate(c)) { in nextCodePoint()
122 if(isLeadSurrogate(prev)) { in previousCodePoint()
DCollationIterator.java598 assert(isLeadSurrogate(c)); in appendCEsFromCE32()
641 protected static final boolean isLeadSurrogate(int c) { in isLeadSurrogate() method in CollationIterator
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieTest.java173 : !UTF16.isLeadSurrogate(lead) in _testTrieIteration()
290 if (!UTF16.isLeadSurrogate((char)start)) { in _testTrieRanges()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetEncoderICU.java859 if (!UTF16.isLeadSurrogate(lead)) { in handleSurrogates()
901 if (!UTF16.isLeadSurrogate(lead)) { in handleSurrogates()
DCharsetISO2022.java1755 if (getTrail || UTF16.isLeadSurrogate((char)sourceChar)) { in encodeLoop()
2093 … (sourceIndex == 0 || UTF16.isLeadSurrogate(source.get(sourceIndex-1)))) { in encodeLoop()
2260 if (UTF16.isLeadSurrogate((char)sourceChar) || gotoGetTrail) { in encodeLoop()
2541 … (sourceIndex == 0 || UTF16.isLeadSurrogate(source.get(sourceIndex-1)))) { in encodeLoop()
2757 if (gotoGetTrail || UTF16.isLeadSurrogate((char)sourceChar)) { in encodeLoop()
2820 …if (UTF16.isTrailSurrogate(source.get(sourceIndex)) && UTF16.isLeadSurrogate(source.get(sourceInde… in encodeLoop()
DCharsetUTF16.java195 if (!UTF16.isLeadSurrogate(lead)) { in decodeTrail()
DCharsetMBCS.java2952 … if (UTF16.isLeadSurrogate((char) c) && (uniMask & UConverterConstants.HAS_SURROGATES) == 0) { in encodeLoop()
2997 if (UTF16.isLeadSurrogate((char) c)) { in encodeLoop()
4072 } else if (UTF16.isLeadSurrogate((char) c)) { in cnvMBCSSingleFromBMPWithOffsets()
4201 if (UTF16.isLeadSurrogate((char) c)) { in cnvMBCSSingleFromUnicodeWithOffsets()
4232 if (UTF16.isLeadSurrogate((char) c)) { in cnvMBCSSingleFromUnicodeWithOffsets()
4346 if (UTF16.isLeadSurrogate((char) c)) { in cnvMBCSDoubleFromUnicodeWithOffsets()
4381 if (UTF16.isLeadSurrogate((char) c)) { in cnvMBCSDoubleFromUnicodeWithOffsets()
DCharsetSCSU.java814 if(UTF16.isLeadSurrogate((char)c)){ in loop()
1077 if(UTF16.isLeadSurrogate((char)c)){ in getTrailUnicode()
DCharsetCompoundText.java375 if (UTF16.isLeadSurrogate((char)sourceChar) || gotoGetTrail) { in encodeLoop()
DCharsetBOCU1.java518 if(UTF16.isLeadSurrogate((char)c)){ in regularLoop()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUTF16Test.java475 UTF16.isLeadSurrogate((char)0x61) || in TestGetCharCountSurrogate()
479 UTF16.isLeadSurrogate((char)0xd800) != true || in TestGetCharCountSurrogate()
481 UTF16.isLeadSurrogate((char)0xdc00) || in TestGetCharCountSurrogate()
DUnicodeSetStringSpanTest.java165 && !(0 < start && UTF16.isLeadSurrogate (s.charAt(start - 1)) && in matches16CPB()
167 && !(length < limit && UTF16.isLeadSurrogate (s.charAt(start + length - 1)) && in matches16CPB()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestMonkey.java1531 if (UTF16.isLeadSurrogate(c) && pos < s.length()) { in moveIndex32()
1547 if (UTF16.isLeadSurrogate(c)) { in moveIndex32()
1585 if (c >= UTF16.SUPPLEMENTARY_MIN_VALUE && UTF16.isLeadSurrogate(s.charAt(i))) { in nextCP()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterator.java617 UTF16.isLeadSurrogate(text.charAt(index.limit - 1))) { in transliterate()
/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.java64 if(!UTF16.isLeadSurrogate(lead)){ in TestUTF16Converter()

12