Home
last modified time | relevance | path

Searched refs:codePointAt (Results 1 – 25 of 61) sorted by relevance

123

/external/v8/test/mjsunit/harmony/
Dstring-codepointat.js10 assertEquals(String.prototype.codePointAt.length, 1);
14 assertEquals("abc\uD834\uDF06def".codePointAt(""), 0x61);
15 assertEquals("abc\uD834\uDF06def".codePointAt("_"), 0x61);
16 assertEquals("abc\uD834\uDF06def".codePointAt(), 0x61);
17 assertEquals("abc\uD834\uDF06def".codePointAt(-Infinity), undefined);
18 assertEquals("abc\uD834\uDF06def".codePointAt(-1), undefined);
19 assertEquals("abc\uD834\uDF06def".codePointAt(-0), 0x61);
20 assertEquals("abc\uD834\uDF06def".codePointAt(0), 0x61);
21 assertEquals("abc\uD834\uDF06def".codePointAt(3), 0x1D306);
22 assertEquals("abc\uD834\uDF06def".codePointAt(4), 0xDF06);
[all …]
/external/guava/guava/src/com/google/common/escape/
DUnicodeEscaper.java119 int cp = codePointAt(csq, index, end); in nextEscapeIndex()
185 int cp = codePointAt(s, index, end); in escapeSlow()
266 protected static int codePointAt(CharSequence seq, int index, int end) { in codePointAt() method in UnicodeEscaper
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DCharSequences.java105 case 2: return codepoint > 0xFFFF && codepoint == Character.codePointAt(other, 0); in equals()
190 int result = Character.codePointAt(s, 0); in getSingleCodePoint()
264 cp = Character.codePointAt(s, i); in indexOf()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUTS46.java412 c=labelString.codePointAt(labelStart); in processLabel()
550 c=Character.codePointAt(label, i); in checkLabelBiDi()
590 c=Character.codePointAt(label, i); in checkLabelBiDi()
708 c=Character.codePointAt(label, j); in isLabelOkContextJ()
761 UScript.GREEK==UScript.getScript(Character.codePointAt(label, i+1)))) { in checkLabelContextO()
816 c=Character.codePointAt(label, j); in checkLabelContextO()
DNormalizer2Impl.java187 int c=Character.codePointAt(s, start); in append()
191 c=Character.codePointAt(s, start); in append()
642 c2=extraData.codePointAt(norm16_2); in ensureCanonIterData()
649 c2=extraData.codePointAt(norm16_2); in ensureCanonIterData()
1031 int c=Character.codePointAt(s, 0); in decomposeAndAppend()
1041 c=Character.codePointAt(s, src); in decomposeAndAppend()
1702 c=Character.codePointAt(s, cpStart); in getTrailCCFromCompYesAndZeroCC()
1764 int c=Character.codePointAt(s, src); in decomposeShort()
1926 c=sb.codePointAt(p); in recompose()
2119 return isCompYesAndZeroCC(getNorm16(Character.codePointAt(extraData, norm16+1))); in hasCompBoundaryBefore()
[all …]
DUtility.java739 int c = Character.codePointAt(s, i); in escape()
799 c = Character.codePointAt(s, offset); in unescapeAt()
996 cp = Character.codePointAt(s, i);
1216 int cpat = Character.codePointAt(pat, ipat);
1320 int ch = Character.codePointAt(str, p);
1434 int ch = Character.codePointAt(text, p);
DTextTrieMap.java143 int cp = UCharacter.foldCase(Character.codePointAt(_text, _nextIdx), true); in next()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationRuleParser.java309 int prefix0 = prefix.codePointAt(0); in parseRelationStrings()
310 int c = rawBuilder.codePointAt(0); in parseRelationStrings()
336 int c = rawBuilder.codePointAt(j); in parseStarredCharacters()
362 int c = rawBuilder.codePointAt(0); in parseStarredCharacters()
437 int cp = rules.codePointAt(i); in parseString()
454 int c = raw.codePointAt(j); in parseString()
DFCDUTF16CollationIterator.java254 int c = Character.codePointAt(seq, p);
268 c = Character.codePointAt(seq, p);
DBOCSU.java119 int c = Character.codePointAt(s, i); in writeIdenticalLevelRun()
DCollationDataBuilder.java178 int c = Character.codePointAt(s, 0); in addCE32()
1084 int fcd16 = nfcImpl.getFCD16(suffix.codePointAt(0)); in buildContext()
1227 int c = Character.codePointAt(s, pos); in fetchCEs()
1267 int c = Character.codePointAt(s, pos); in nextCodePoint()
DFCDIterCollationIterator.java84 c = normalized.codePointAt(pos); in nextCodePoint()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterSurrogateTest.java172 if (UCharacter.codePointAt(s, i) != avalues[i]) in TestCodePointAtBefore()
174 if (UCharacter.codePointAt(c, i) != avalues[i]) in TestCodePointAtBefore()
176 if (UCharacter.codePointAt(b, i) != avalues[i]) in TestCodePointAtBefore()
190 if (UCharacter.codePointAt(c, i, 4) != avalues[i]) in TestCodePointAtBefore()
DUCharacterTest.java834 int a=dm.codePointAt(0); in TestUnicodeData()
3157 if(UCharacter.codePointAt((CharSequence) cases[i], 0) != result[i])
3161 UCharacter.codePointAt((CharSequence) cases[i], 0));
3165 if(UCharacter.codePointAt(cases[i].toCharArray(), 0) != result[i])
3169 UCharacter.codePointAt(cases[i].toCharArray(), 0));
3173 if(UCharacter.codePointAt(cases[i].toCharArray(), 0, 1) != result[i])
3177 UCharacter.codePointAt(cases[i].toCharArray(), 0, 1));
3190 UCharacter.codePointAt(reg_text, 100, limitCases[i]);
3192 "but got " + UCharacter.codePointAt(reg_text, 100, limitCases[i]) +
3202 UCharacter.codePointAt(empty_text, 0, limitCases[i]);
[all …]
DUnicodeSetStringSpanTest.java185 c = s.codePointAt(start); in containsSpanUTF16()
196 c = s.codePointAt(next); in containsSpanUTF16()
214 c = s.codePointAt(next); in containsSpanUTF16()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCanonicalIterator.java138 cp = source.codePointAt(i); in setSource()
302 cp = segment.codePointAt(i); in getEquivalents2()
DSpoofChecker.java1162 int keyChar = keyCharStr.codePointAt(0);
1608 c = Character.codePointAt(text, i);
1632 c = Character.codePointAt(nfdText, i);
1851 int c = Character.codePointAt(nfdId, inputIndex);
2027 c = Character.codePointAt(text, inputIdx);
DCjkBreakEngine.java107 int codepoint = prenormstr.codePointAt(index); in divideUpDictionaryRange()
DIdentifierInfo.java113 cp = Character.codePointAt(identifier, i); in setIdentifier()
/external/guava/guava/src/com/google/common/base/
DUtf8.java90 int cp = Character.codePointAt(sequence, i); in encodedLengthGeneral()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DRubyTarget.java380 code_point = literal.codePointAt( 1 ); in getTargetCharLiteralFromANTLRCharLiteral()
405 code_point = literal.codePointAt( 0 ); in getTargetCharLiteralFromANTLRCharLiteral()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHttpUrl.java783 codePoint = encoded.codePointAt(i); in decode()
818 codePoint = input.codePointAt(i); in encode()
838 codePoint = input.codePointAt(i); in encode()
/external/guava/guava-tests/test/com/google/common/escape/
DUnicodeEscaperTest.java182 UnicodeEscaper.codePointAt("Testing...", 4, 2); in testCodePointAt_IndexOutOfBoundsException()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java283 int c = Character.codePointAt(s, i); in getFirstRealScript()
678 int script = UScript.getScript(current.codePointAt(0)); in firstStringsInScript()
725 UScript.getScript(Character.codePointAt(s, 1)) == UScript.UNKNOWN; in isUnassignedBoundary()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DRuleBasedCollator.java1530 int c = Character.codePointAt(decomp, index); in nextCodePoint()
1547 c = Character.codePointAt(decomp, 0); in nextDecomposedCodePoint()
1573 int c = Character.codePointAt(s, pos); in nextRawCodePoint()

123