/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 718 private String localeString; in TestSearchCollatorElements() field in CollationIteratorTest.TSCEItem 721 localeString = locStr; in TestSearchCollatorElements() 724 public String getLocaleString() { return localeString; } in TestSearchCollatorElements() 733 String localeString = tsceItem.getLocaleString(); in TestSearchCollatorElements() local 734 ULocale uloc = new ULocale(localeString); in TestSearchCollatorElements() 739 errln("Error: in locale " + localeString + ", err in Collator.getInstance"); in TestSearchCollatorElements() 751 … logln(String.format("(%s) offset=%2d ce=%08x\n", tsceItem.localeString, offset, element)); in TestSearchCollatorElements() 753 … errln("Error: in locale " + localeString + ", CEIterator next() returned element 0"); in TestSearchCollatorElements() 757 …errln("Error: in locale " + localeString + ", expected CEIterator next()->getOffset " + offsets[io… in TestSearchCollatorElements() 763 …errln("Error: in locale " + localeString + ", CEIterator next() returned more elements than expect… in TestSearchCollatorElements() [all …]
|
D | AlphabeticIndexTest.java | 391 …private void checkBuckets(String localeString, String[] test, ULocale additionalLocale, String tes… in checkBuckets() argument 393 ULocale desiredLocale = new ULocale(localeString); in checkBuckets() 572 String localeString = list[i].toString(); in TestBasics() local 573 if (!KEY_LOCALES.contains(localeString)) continue; // TODO change in exhaustive in TestBasics() 574 ULocale locale = new ULocale(localeString + collationValue); in TestBasics() 607 for (String localeString : new String[] {"zh"}) { // KEY_LOCALES, new String[] {"zh"} in TestClientSupport() 608 ULocale ulocale = new ULocale(localeString); in TestClientSupport() 613 if (!localeString.equals("zh") ) { in TestClientSupport()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 719 private String localeString; in TestSearchCollatorElements() field in CollationIteratorTest.TSCEItem 722 localeString = locStr; in TestSearchCollatorElements() 725 public String getLocaleString() { return localeString; } in TestSearchCollatorElements() 734 String localeString = tsceItem.getLocaleString(); in TestSearchCollatorElements() local 735 ULocale uloc = new ULocale(localeString); in TestSearchCollatorElements() 740 errln("Error: in locale " + localeString + ", err in Collator.getInstance"); in TestSearchCollatorElements() 752 … logln(String.format("(%s) offset=%2d ce=%08x\n", tsceItem.localeString, offset, element)); in TestSearchCollatorElements() 754 … errln("Error: in locale " + localeString + ", CEIterator next() returned element 0"); in TestSearchCollatorElements() 758 …errln("Error: in locale " + localeString + ", expected CEIterator next()->getOffset " + offsets[io… in TestSearchCollatorElements() 764 …errln("Error: in locale " + localeString + ", CEIterator next() returned more elements than expect… in TestSearchCollatorElements() [all …]
|
D | AlphabeticIndexTest.java | 392 …private void checkBuckets(String localeString, String[] test, ULocale additionalLocale, String tes… in checkBuckets() argument 394 ULocale desiredLocale = new ULocale(localeString); in checkBuckets() 573 String localeString = list[i].toString(); in TestBasics() local 574 if (!KEY_LOCALES.contains(localeString)) continue; // TODO change in exhaustive in TestBasics() 575 ULocale locale = new ULocale(localeString + collationValue); in TestBasics() 608 for (String localeString : new String[] {"zh"}) { // KEY_LOCALES, new String[] {"zh"} in TestClientSupport() 609 ULocale ulocale = new ULocale(localeString); in TestClientSupport() 614 if (!localeString.equals("zh") ) { in TestClientSupport()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | ICUDurationTest.java | 273 final String localeString; in TestXMLDuration() field in ICUDurationTest.TestCase 280 localeString = loc; in TestXMLDuration() 307 String loc = tc.localeString; in TestXMLDuration()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
D | ICUDurationTest.java | 274 final String localeString; in TestXMLDuration() field in ICUDurationTest.TestCase 281 localeString = loc; in TestXMLDuration() 308 String loc = tc.localeString; in TestXMLDuration()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/search/ |
D | SearchTest.java | 2132 private String localeString; in TestUsingSearchCollator() field in SearchTest.TUSCItem 2136 localeString = locStr; in TestUsingSearchCollator() 2140 public String getLocaleString() { return localeString; } in TestUsingSearchCollator() 2153 String localeString = tuscItem.getLocaleString(); in TestUsingSearchCollator() local 2154 ULocale uloc = new ULocale(localeString); in TestUsingSearchCollator() 2159 errln("Error: in locale " + localeString + ", err in Collator.getInstance"); in TestUsingSearchCollator() 2179 …errln("Error: in locale " + localeString + ", expected SearchIterator.next() " + offsets[ioff] + "… in TestUsingSearchCollator() 2185 …errln("Error: in locale " + localeString + ", SearchIterator.next() returned more matches than exp… in TestUsingSearchCollator() 2189 …errln("Error: in locale " + localeString + ", SearchIterator.next() returned fewer matches than ex… in TestUsingSearchCollator() 2202 …errln("Error: in locale " + localeString + ", expected SearchIterator.previous() " + offsets[ioff]… in TestUsingSearchCollator() [all …]
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/ |
D | SearchTest.java | 2131 private String localeString; in TestUsingSearchCollator() field in SearchTest.TUSCItem 2135 localeString = locStr; in TestUsingSearchCollator() 2139 public String getLocaleString() { return localeString; } in TestUsingSearchCollator() 2152 String localeString = tuscItem.getLocaleString(); in TestUsingSearchCollator() local 2153 ULocale uloc = new ULocale(localeString); in TestUsingSearchCollator() 2158 errln("Error: in locale " + localeString + ", err in Collator.getInstance"); in TestUsingSearchCollator() 2178 …errln("Error: in locale " + localeString + ", expected SearchIterator.next() " + offsets[ioff] + "… in TestUsingSearchCollator() 2184 …errln("Error: in locale " + localeString + ", SearchIterator.next() returned more matches than exp… in TestUsingSearchCollator() 2188 …errln("Error: in locale " + localeString + ", SearchIterator.next() returned fewer matches than ex… in TestUsingSearchCollator() 2201 …errln("Error: in locale " + localeString + ", expected SearchIterator.previous() " + offsets[ioff]… in TestUsingSearchCollator() [all …]
|
/external/v8/src/js/ |
D | i18n.js | 784 var localeString = TO_STRING(localeID); 786 if (isStructuallyValidLanguageTag(localeString) === false) { 787 throw %make_range_error(kInvalidLanguageTag, localeString); 791 var tag = %CanonicalizeLanguageTag(localeString); 795 throw %make_range_error(kInvalidLanguageTag, localeString);
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 2448 const char* localeString = DATA[i][0]; in TestCurrencyIsoPluralFormat() local 2459 UNumberFormat* unumFmt = unum_open(style, NULL, 0, localeString, NULL, &status); in TestCurrencyIsoPluralFormat() 2461 …log_data_err("FAIL: unum_open, locale %s, style %d - %s\n", localeString, (int)style, myErrorName(… in TestCurrencyIsoPluralFormat() 2467 …log_err("FAIL: unum_setTextAttribute, locale %s, UNUM_CURRENCY_CODE %s\n", localeString, currencyI… in TestCurrencyIsoPluralFormat() 2471 …r("FAIL: unum_formatDouble, locale %s, UNUM_CURRENCY_CODE %s - %s\n", localeString, currencyISOCod… in TestCurrencyIsoPluralFormat() 2476 localeString, currencyISOCode, DATA[i][3 + sIndex]); in TestCurrencyIsoPluralFormat() 2575 const char* localeString = "en_US"; in TestCurrencyUsage() local 2586 unumFmt = unum_open(style, NULL, 0, localeString, NULL, &status); in TestCurrencyUsage() 2589 localeString, (int)style, myErrorName(status)); in TestCurrencyUsage()
|
D | cdattst.c | 1622 const char* localeString = "zh@numbers=hanidays"; in TestOverrideNumberFormat() local 1638 overrideFmt = unum_open(UNUM_DEFAULT, NULL, 0, localeString, NULL, &status); in TestOverrideNumberFormat() 1651 overrideFmt = unum_open(UNUM_DEFAULT, NULL, 0, localeString, NULL, &status); in TestOverrideNumberFormat() 1666 overrideFmt2 = unum_open(UNUM_DEFAULT, NULL, 0, localeString, NULL, &status); in TestOverrideNumberFormat()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatTest.java | 1079 String localeString = DATA[i][0]; in TestCurrencyIsoPluralFormat() local 1082 ULocale locale = new ULocale(localeString); in TestCurrencyIsoPluralFormat() 1094 …errln("FAIL: localeID: " + localeString + ", expected(" + formatResult.length() + "): \"" + format… in TestCurrencyIsoPluralFormat() 1108 …errln("FAIL: getCurrencyFormat of locale " + localeString + " failed roundtripping the number. val… in TestCurrencyIsoPluralFormat() 1153 private final String localeString; in TestParseCurrency() field in NumberFormatTest.ParseCurrencyItem 1163 localeString = locStr; in TestParseCurrency() 1172 public String getLocaleString() { return localeString; } in TestParseCurrency() 1205 String localeString = item.getLocaleString(); in TestParseCurrency() local 1206 ULocale uloc = new ULocale(localeString); in TestParseCurrency() 1211 errln("NumberFormat.getCurrencyInstance fails for locale " + localeString); in TestParseCurrency() [all …]
|
D | PluralRulesTest.java | 916 for (String localeString : parts[0].split("\\s*,\\s*")) { 917 ULocale locale = new ULocale(localeString); 923 checkCategoriesAndExpected(localeString, parts[i], rules);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatTest.java | 1080 String localeString = DATA[i][0]; in TestCurrencyIsoPluralFormat() local 1083 ULocale locale = new ULocale(localeString); in TestCurrencyIsoPluralFormat() 1095 …errln("FAIL: localeID: " + localeString + ", expected(" + formatResult.length() + "): \"" + format… in TestCurrencyIsoPluralFormat() 1109 …errln("FAIL: getCurrencyFormat of locale " + localeString + " failed roundtripping the number. val… in TestCurrencyIsoPluralFormat() 1154 private final String localeString; in TestParseCurrency() field in NumberFormatTest.ParseCurrencyItem 1164 localeString = locStr; in TestParseCurrency() 1173 public String getLocaleString() { return localeString; } in TestParseCurrency() 1206 String localeString = item.getLocaleString(); in TestParseCurrency() local 1207 ULocale uloc = new ULocale(localeString); in TestParseCurrency() 1212 errln("NumberFormat.getCurrencyInstance fails for locale " + localeString); in TestParseCurrency() [all …]
|
D | PluralRulesTest.java | 917 for (String localeString : parts[0].split("\\s*,\\s*")) { 918 ULocale locale = new ULocale(localeString); 924 checkCategoriesAndExpected(localeString, parts[i], rules);
|
/external/icu/icu4c/source/test/intltest/ |
D | numfmtst.cpp | 3862 const char* localeString = DATA[i][0]; in TestCurrencyIsoPluralFormat() local 3865 Locale locale(localeString); in TestCurrencyIsoPluralFormat() 3870 …dataerrln((UnicodeString)"can not create instance, locale:" + localeString + ", style: " + k + " -… in TestCurrencyIsoPluralFormat() 3909 localeString + " failed roundtripping the number"); in TestCurrencyIsoPluralFormat() 3970 const char* localeString = DATA[i][0]; in TestCurrencyParsing() local 3973 Locale locale(localeString); in TestCurrencyParsing() 3977 i, localeString, currencyStyleNames[kIndex], in TestCurrencyParsing() 3982 …dataerrln((UnicodeString)"can not create instance, locale:" + localeString + ", style: " + k + " -… in TestCurrencyParsing() 4023 … errln((UnicodeString)"FAIL: NumberFormat(" + localeString +", " + currencyStyleNames[kIndex] + in TestCurrencyParsing()
|
/external/pdfium/xfa/fxfa/fm2js/ |
D | xfa_fm2jscontext.cpp | 4658 CFX_ByteString localeString; in WordNum() local 4665 ValueToUTF8String(localeValue.get(), localeString); in WordNum()
|