Home
last modified time | relevance | path

Searched refs:charAt (Results 626 - 650 of 2220) sorted by relevance

1...<<21222324252627282930>>...89

/third_party/decimal.js/
H A Ddecimal.js406 if (!+n || !+n.slice(1) && n.charAt(0) == '5') {
1797 if (!+n || !+n.slice(1) && n.charAt(0) == '5') {
2622 arr[0] += NUMERALS.indexOf(str.charAt(i++));
3122 str = str.charAt(0) + '.' + str.slice(1) + getZeroString(k);
3124 str = str.charAt(0) + '.' + str.slice(1);
3416 c0 = c.charAt(0);
3429 //while (c0 < 9 && c0 != 1 || c0 == 1 && c.charAt(1) > 1) {
3431 while (c0 < 7 && c0 != 1 || c0 == 1 && c.charAt(1) > 3) {
3434 c0 = c.charAt(0);
3892 for (i = 0, str = ''; i < len; i++) str += NUMERALS.charAt(x
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DDecimalQuantity_AbstractBCD.java551 _setToLong(Long.parseLong(dstr.charAt(0) + dstr.substring(2, expPos))); in convertToAccurateDouble()
553 } else if (dstr.charAt(0) == '0') { in convertToAccurateDouble()
558 } else if (dstr.charAt(dstr.length() - 1) == '0') { in convertToAccurateDouble()
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DTransliterator.java867 UTF16.isLeadSurrogate(text.charAt(index.limit - 1))) { in transliterate()
1753 int c = UTF16.charAt(id, i); in baseToRules()
2191 switch (direction.charAt(0)) {
H A DCompoundTransliterator.java251 buf.charAt(buf.length() - 1) != c) { in _smartAppend()
/third_party/icu/icu4c/source/common/
H A Duiter.cpp499 return ((Replaceable *)(iter->context))->charAt(iter->index); in replaceableIteratorCurrent()
508 return ((Replaceable *)(iter->context))->charAt(iter->index++); in replaceableIteratorNext()
517 return ((Replaceable *)(iter->context))->charAt(--iter->index); in replaceableIteratorPrevious()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
H A DUTS46Test.java521 char mode=testCase.o.charAt(0); in TestSomeCases()
739 if (status.charAt(0) != '[') { in checkIdnaTestResult()
877 if(str.charAt(i)>=0x80) { in isASCII()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTransliterator.java847 UTF16.isLeadSurrogate(text.charAt(index.limit - 1))) { in transliterate()
1718 int c = UTF16.charAt(id, i); in baseToRules()
2150 switch (direction.charAt(0)) {
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DUTS46Test.java615 char mode=testCase.o.charAt(0); in TestSomeCases()
833 if (status.charAt(0) != '[') { in checkIdnaTestResult()
971 if(str.charAt(i)>=0x80) { in isASCII()
/third_party/icu/icu4c/source/i18n/
H A Dnfrs.cpp165 if (description.charAt(0) == gPercent) { in NFRuleSet()
172 while (pos < description.length() && PatternProps::isWhiteSpace(description.charAt(++pos))) { in NFRuleSet()
312 if (decimalFormatSymbols->getSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol).charAt(0) in setBestFractionRule()
H A Dtzfmt.cpp1651 UChar firstChar = text.charAt(start);
2026 UChar c = text.charAt(idx);
2080 if (idx + 1 < max && text.charAt(idx) == separator) {
2087 if (idx + 1 < max && text.charAt(idx) == separator) {
2222 UChar uch = text.charAt(idx);
2297 UChar c = text.charAt(idx);
2415 UChar c = pattern.charAt(i);
2452 UChar ch = pattern.charAt(i);
/third_party/node/deps/icu-small/source/common/
H A Duiter.cpp499 return ((Replaceable *)(iter->context))->charAt(iter->index); in replaceableIteratorCurrent()
508 return ((Replaceable *)(iter->context))->charAt(iter->index++); in replaceableIteratorNext()
517 return ((Replaceable *)(iter->context))->charAt(--iter->index); in replaceableIteratorPrevious()
/third_party/node/deps/icu-small/source/i18n/
H A Dnfrs.cpp165 if (description.charAt(0) == gPercent) { in NFRuleSet()
172 while (pos < description.length() && PatternProps::isWhiteSpace(description.charAt(++pos))) { in NFRuleSet()
312 if (decimalFormatSymbols->getSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol).charAt(0) in setBestFractionRule()
H A Dtzfmt.cpp1651 char16_t firstChar = text.charAt(start);
2026 char16_t c = text.charAt(idx);
2080 if (idx + 1 < max && text.charAt(idx) == separator) {
2087 if (idx + 1 < max && text.charAt(idx) == separator) {
2222 char16_t uch = text.charAt(idx);
2297 char16_t c = text.charAt(idx);
2415 char16_t c = pattern.charAt(i);
2452 char16_t ch = pattern.charAt(i);
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnfrs.cpp165 if (description.charAt(0) == gPercent) { in NFRuleSet()
172 while (pos < description.length() && PatternProps::isWhiteSpace(description.charAt(++pos))) { in NFRuleSet()
312 if (decimalFormatSymbols->getSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol).charAt(0) in setBestFractionRule()
H A Dtzfmt.cpp1651 UChar firstChar = text.charAt(start);
2026 UChar c = text.charAt(idx);
2080 if (idx + 1 < max && text.charAt(idx) == separator) {
2087 if (idx + 1 < max && text.charAt(idx) == separator) {
2222 UChar uch = text.charAt(idx);
2297 UChar c = text.charAt(idx);
2415 UChar c = pattern.charAt(i);
2452 UChar ch = pattern.charAt(i);
/third_party/skia/third_party/externals/icu/source/common/
H A Duiter.cpp499 return ((Replaceable *)(iter->context))->charAt(iter->index); in replaceableIteratorCurrent()
508 return ((Replaceable *)(iter->context))->charAt(iter->index++); in replaceableIteratorNext()
517 return ((Replaceable *)(iter->context))->charAt(--iter->index); in replaceableIteratorPrevious()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
H A DUnicodeSetTest.java327 c = UTF16.charAt(s, offset); in unescapeAt()
361 //c = UTF16.charAt(s, offset); in unescapeAt()
363 c = s.charAt(offset); in unescapeAt()
419 char c = s.charAt(i++); in unescapeLeniently()
1228 * Test the indexOf() and charAt() methods.
1234 int c = set.charAt(i); in TestIndexOf()
1236 errln("FAIL: charAt(" + i + ") = " + c + in TestIndexOf()
1240 int c = set.charAt(set.size()); in TestIndexOf()
1242 errln("FAIL: charAt(<out of range>) = " + in TestIndexOf()
1968 cp = UTF16.charAt(tex in parseReference()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUnicodeSetTest.java334 c = UTF16.charAt(s, offset); in unescapeAt()
368 //c = UTF16.charAt(s, offset); in unescapeAt()
370 c = s.charAt(offset); in unescapeAt()
426 char c = s.charAt(i++); in unescapeLeniently()
1242 * Test the indexOf() and charAt() methods.
1248 int c = set.charAt(i); in TestIndexOf()
1250 errln("FAIL: charAt(" + i + ") = " + c + in TestIndexOf()
1254 int c = set.charAt(set.size()); in TestIndexOf()
1256 errln("FAIL: charAt(<out of range>) = " + in TestIndexOf()
1982 cp = UTF16.charAt(tex in parseReference()
[all...]
/test/xts/acts/security/cryptoFramework/js_api_test_one/entry/src/ohosTest/js/test/utils/digestalgorithm/
H A DpublicDigestCallback.js155 globalText += t.charAt(Math.floor(Math.random() * t.length));
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DResourceBundleWrapper.java141 (localeID.length() == lang.length() || localeID.charAt(lang.length()) == '_'); in localeIDStartsWithLangSubtag()
H A DPatternTokenizer.java169 cp = UTF16.charAt(string, i); in quoteLiteral()
267 cp = UTF16.charAt(pattern, i); in next()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
H A DXMLRecordWriter.java136 c = str.charAt(i); in normalize()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
H A DUScriptRun.java353 int ch = UTF16.charAt(text, textStart, textLimit, textIndex - textStart); in next()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationThaiTest.java153 if (word.length() == 0 || word.charAt(0) == 0x23) { in TestDictionary()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
H A DICULocaleServiceProvider.java76 } else if (variant.endsWith(suffix) && variant.charAt(variant.length() - suffix.length() - 1) == '_') { in toULocaleNoSpecialVariant()

Completed in 42 milliseconds

1...<<21222324252627282930>>...89