Home
last modified time | relevance | path

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

123456789

/third_party/jerryscript/tests/jerry/es2015/
Dstring-prototype-codepointat.js19 assert(str.codePointAt(0) === 65);
20 assert(str.codePointAt(1) === 127747);
21 assert(str.codePointAt(2) === 57091);
22 assert(str.codePointAt(3) === 66);
23 assert(str.codePointAt(4) === 55296);
26 assert(str.codePointAt("a") === 65);
27 assert(str.codePointAt("B") === 65);
30 assert(str.codePointAt(obj) === 65);
33 assert(str.codePointAt(NaN) === 65);
36 assert(str.codePointAt(5) === undefined);
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DStringSegment.java111 public int codePointAt(int index) {
112 return str.codePointAt(start + index);
146 int cp1 = Character.codePointAt(this, 0);
147 int cp2 = Character.codePointAt(other, 0);
182 int cp1 = Character.codePointAt(this, offset);
183 int cp2 = Character.codePointAt(other, offset);
DUTS46.java437 c=labelString.codePointAt(labelStart); in processLabel()
575 c=Character.codePointAt(label, i); in checkLabelBiDi()
615 c=Character.codePointAt(label, i); in checkLabelBiDi()
733 c=Character.codePointAt(label, j); in isLabelOkContextJ()
786 UScript.GREEK==UScript.getScript(Character.codePointAt(label, i+1)))) { in checkLabelContextO()
841 c=Character.codePointAt(label, j); in checkLabelContextO()
DNormalizer2Impl.java199 int c=Character.codePointAt(s, start); in append()
203 c=Character.codePointAt(s, start); in append()
657 c2=extraData.codePointAt(mapping); in ensureCanonIterData()
664 c2=extraData.codePointAt(mapping); in ensureCanonIterData()
1075 int c=Character.codePointAt(s, 0); in decomposeAndAppend()
1085 c=Character.codePointAt(s, src); in decomposeAndAppend()
1270 c = Character.codePointAt(s, src); in compose()
1413 c = Character.codePointAt(s, src); in composeQuickCheck()
1799 int c=Character.codePointAt(s, src); in decomposeShort()
1973 c=sb.codePointAt(p); in recompose()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DStringSegment.java113 public int codePointAt(int index) {
114 return str.codePointAt(start + index);
148 int cp1 = Character.codePointAt(this, 0);
149 int cp2 = Character.codePointAt(other, 0);
184 int cp1 = Character.codePointAt(this, offset);
185 int cp2 = Character.codePointAt(other, offset);
DUTS46.java428 c=labelString.codePointAt(labelStart); in processLabel()
566 c=Character.codePointAt(label, i); in checkLabelBiDi()
606 c=Character.codePointAt(label, i); in checkLabelBiDi()
724 c=Character.codePointAt(label, j); in isLabelOkContextJ()
777 UScript.GREEK==UScript.getScript(Character.codePointAt(label, i+1)))) { in checkLabelContextO()
832 c=Character.codePointAt(label, j); in checkLabelContextO()
DNormalizer2Impl.java205 int c=Character.codePointAt(s, start); in append()
209 c=Character.codePointAt(s, start); in append()
666 c2=extraData.codePointAt(mapping); in ensureCanonIterData()
673 c2=extraData.codePointAt(mapping); in ensureCanonIterData()
1084 int c=Character.codePointAt(s, 0); in decomposeAndAppend()
1094 c=Character.codePointAt(s, src); in decomposeAndAppend()
1279 c = Character.codePointAt(s, src); in compose()
1422 c = Character.codePointAt(s, src); in composeQuickCheck()
1808 int c=Character.codePointAt(s, src); in decomposeShort()
1982 c=sb.codePointAt(p); in recompose()
[all …]
/third_party/node/test/fixtures/wpt/FileAPI/support/
Dsend-file-form-helper.js102 .replace(/[^\0-\x7F]/gu, (x) => `&#${x.codePointAt(0)};`)
108 (x) => `&#${x.codePointAt(0)};`,
114 (x) => `&#${x.codePointAt(0)};`,
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DParsingUtils.java37 output.add(str.codePointAt(0)); in putLeadCodePoints()
44 output.add(input.codePointAt(0)); in putLeadCodePoint()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
DParsingUtils.java38 output.add(str.codePointAt(0)); in putLeadCodePoints()
44 output.add(input.codePointAt(0)); in putLeadCodePoint()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSpoofChecker.java996 int keyChar = keyCharStr.codePointAt(0); in build()
1356 c = Character.codePointAt(text, i);
1378 c = Character.codePointAt(nfdText, i);
1510 int c = Character.codePointAt(nfdId, inputIndex); in getSkeleton()
1632 int codePoint = Character.codePointAt(input, utf16Offset); in getResolvedScriptSetWithout()
1653 int codePoint = Character.codePointAt(input, utf16Offset); in getNumerics()
1712 int cp = input.codePointAt(i); in findHiddenOverlay()
1961 if (codePointAt(mid) > inChar) { in confusableLookup()
1963 } else if (codePointAt(mid) < inChar) { in confusableLookup()
1973 if (codePointAt(lo) != inChar) { in confusableLookup()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DSpoofChecker.java944 int keyChar = keyCharStr.codePointAt(0); in build()
1289 c = Character.codePointAt(text, i);
1311 c = Character.codePointAt(nfdText, i);
1439 int c = Character.codePointAt(nfdId, inputIndex); in getSkeleton()
1559 int codePoint = Character.codePointAt(input, utf16Offset); in getResolvedScriptSetWithout()
1580 int codePoint = Character.codePointAt(input, utf16Offset); in getNumerics()
1639 int cp = input.codePointAt(i); in findHiddenOverlay()
1888 if (codePointAt(mid) > inChar) { in confusableLookup()
1890 } else if (codePointAt(mid) < inChar) { in confusableLookup()
1900 if (codePointAt(lo) != inChar) { in confusableLookup()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DCharSequences.java107 case 2: return codepoint > 0xFFFF && codepoint == Character.codePointAt(other, 0); in equals()
193 int result = Character.codePointAt(s, 0); in getSingleCodePoint()
267 cp = Character.codePointAt(s, i); in indexOf()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DCurrencySpacingEnabledModifier.java82 && afterPrefixUnicodeSet.contains(output.codePointAt(leftIndex))) { in apply()
133 int affixCp = (affix == PREFIX) ? output.codePointBefore(index) : output.codePointAt(index); in applyCurrencySpacingAffix()
138 … int numberCp = (affix == PREFIX) ? output.codePointAt(index) : output.codePointBefore(index); in applyCurrencySpacingAffix()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/lang/
DCharSequences.java109 case 2: return codepoint > 0xFFFF && codepoint == Character.codePointAt(other, 0); in equals()
195 int result = Character.codePointAt(s, 0); in getSingleCodePoint()
269 cp = Character.codePointAt(s, i); in indexOf()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCurrencySpacingEnabledModifier.java80 && afterPrefixUnicodeSet.contains(output.codePointAt(leftIndex))) { in apply()
131 int affixCp = (affix == PREFIX) ? output.codePointBefore(index) : output.codePointAt(index); in applyCurrencySpacingAffix()
136 … int numberCp = (affix == PREFIX) ? output.codePointAt(index) : output.codePointBefore(index); in applyCurrencySpacingAffix()
DAffixUtils.java137 int cp = Character.codePointAt(patternString, offset); in estimateLength()
217 int cp = Character.codePointAt(input, offset); in escape()
496 int cp = Character.codePointAt(patternString, offset); in nextToken()
/third_party/typescript/tests/baselines/reference/
DmappedTypeRecursiveInference.errors.txt1codePointAt: any; includes: any; endsWith: any; normalize: any; repeat: any; startsWith: any; anch…
3codePointAt: any; includes: any; endsWith: any; normalize: any; repeat: any; startsWith: any; anch…
4codePointAt: any; includes: any; endsWith: any; normalize: any; repeat: any; startsWith: any; anch…
28codePointAt: any; includes: any; endsWith: any; normalize: any; repeat: any; startsWith: any; anch…
30codePointAt: any; includes: any; endsWith: any; normalize: any; repeat: any; startsWith: any; anch…
31codePointAt: any; includes: any; endsWith: any; normalize: any; repeat: any; startsWith: any; anch…
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationRuleParser.java311 int prefix0 = prefix.codePointAt(0); in parseRelationStrings()
312 int c = rawBuilder.codePointAt(0); in parseRelationStrings()
338 int c = rawBuilder.codePointAt(j); in parseStarredCharacters()
364 int c = rawBuilder.codePointAt(0); in parseStarredCharacters()
439 int cp = rules.codePointAt(i); in parseString()
456 int c = raw.codePointAt(j); in parseString()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationRuleParser.java315 int prefix0 = prefix.codePointAt(0); in parseRelationStrings()
316 int c = rawBuilder.codePointAt(0); in parseRelationStrings()
342 int c = rawBuilder.codePointAt(j); in parseStarredCharacters()
368 int c = rawBuilder.codePointAt(0); in parseStarredCharacters()
443 int cp = rules.codePointAt(i); in parseString()
460 int c = raw.codePointAt(j); in parseString()
/third_party/typescript/src/compiler/
Dscanner.ts919 let ch = codePointAt(name, 0);
925 if (!isIdentifierPart(ch = codePointAt(name, i), languageVersion, identifierVariant)) {
1132 if (!isIdentifierStart(codePointAt(text, pos), languageVersion)) {
1497 …if (codePointAt(text, pos + 1) === CharacterCodes.u && codePointAt(text, pos + 2) === CharacterCod…
1512 let ch = codePointAt(text, pos);
1633 const ch = codePointAt(text, pos);
2067 const charAfterHash = codePointAt(text, pos + 1);
2128 const ch = codePointAt(text, pos);
2141 …while (pos < end && isIdentifierPart(ch = codePointAt(text, pos), languageVersion)) pos += charSiz…
2449 const ch = codePointAt(text, pos);
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
DRBBITestExtended.java128 int c = testString.codePointAt(charIdx); in TestExtended()
326 int cp = testString.codePointAt(charIdx); in TestExtended()
327 if (cp == '\r' && charIdx<len && testString.codePointAt(charIdx+1) == '\n') { in TestExtended()
361 c = testString.codePointAt(charIdx); in TestExtended()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUCharacterSurrogateTest.java186 if (UCharacter.codePointAt(s, i) != avalues[i]) in TestCodePointAtBefore()
188 if (UCharacter.codePointAt(c, i) != avalues[i]) in TestCodePointAtBefore()
190 if (UCharacter.codePointAt(b, i) != avalues[i]) in TestCodePointAtBefore()
204 if (UCharacter.codePointAt(c, i, 4) != avalues[i]) in TestCodePointAtBefore()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterSurrogateTest.java194 if (UCharacter.codePointAt(s, i) != avalues[i]) in TestCodePointAtBefore()
196 if (UCharacter.codePointAt(c, i) != avalues[i]) in TestCodePointAtBefore()
198 if (UCharacter.codePointAt(b, i) != avalues[i]) in TestCodePointAtBefore()
212 if (UCharacter.codePointAt(c, i, 4) != avalues[i]) in TestCodePointAtBefore()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestExtended.java129 int c = testString.codePointAt(charIdx); in TestExtended()
332 int cp = testString.codePointAt(charIdx); in TestExtended()
333 if (cp == '\r' && charIdx<len && testString.codePointAt(charIdx+1) == '\n') { in TestExtended()
365 c = testString.codePointAt(charIdx); in TestExtended()

123456789