/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 721 private String localeString; in TestSearchCollatorElements() field in CollationIteratorTest.TSCEItem 724 localeString = locStr; in TestSearchCollatorElements() 727 public String getLocaleString() { return localeString; } in TestSearchCollatorElements() 736 String localeString = tsceItem.getLocaleString(); in TestSearchCollatorElements() local 737 ULocale uloc = new ULocale(localeString); in TestSearchCollatorElements() 742 errln("Error: in locale " + localeString + ", err in Collator.getInstance"); in TestSearchCollatorElements() 754 … logln(String.format("(%s) offset=%2d ce=%08x\n", tsceItem.localeString, offset, element)); in TestSearchCollatorElements() 756 … errln("Error: in locale " + localeString + ", CEIterator next() returned element 0"); in TestSearchCollatorElements() 760 …errln("Error: in locale " + localeString + ", expected CEIterator next()->getOffset " + offsets[io… in TestSearchCollatorElements() 766 …errln("Error: in locale " + localeString + ", CEIterator next() returned more elements than expect… in TestSearchCollatorElements() [all …]
|
D | AlphabeticIndexTest.java | 394 …private void checkBuckets(String localeString, String[] test, ULocale additionalLocale, String tes… in checkBuckets() argument 396 ULocale desiredLocale = new ULocale(localeString); in checkBuckets() 575 String localeString = list[i].toString(); in TestBasics() local 576 if (!KEY_LOCALES.contains(localeString)) continue; // TODO change in exhaustive in TestBasics() 577 ULocale locale = new ULocale(localeString + collationValue); in TestBasics() 610 for (String localeString : new String[] {"zh"}) { // KEY_LOCALES, new String[] {"zh"} in TestClientSupport() 611 ULocale ulocale = new ULocale(localeString); in TestClientSupport() 616 if (!localeString.equals("zh") ) { in TestClientSupport()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 724 private String localeString; in TestSearchCollatorElements() field in CollationIteratorTest.TSCEItem 727 localeString = locStr; in TestSearchCollatorElements() 730 public String getLocaleString() { return localeString; } in TestSearchCollatorElements() 739 String localeString = tsceItem.getLocaleString(); in TestSearchCollatorElements() local 740 ULocale uloc = new ULocale(localeString); in TestSearchCollatorElements() 745 errln("Error: in locale " + localeString + ", err in Collator.getInstance"); in TestSearchCollatorElements() 757 … logln(String.format("(%s) offset=%2d ce=%08x\n", tsceItem.localeString, offset, element)); in TestSearchCollatorElements() 759 … errln("Error: in locale " + localeString + ", CEIterator next() returned element 0"); in TestSearchCollatorElements() 763 …errln("Error: in locale " + localeString + ", expected CEIterator next()->getOffset " + offsets[io… in TestSearchCollatorElements() 769 …errln("Error: in locale " + localeString + ", CEIterator next() returned more elements than expect… in TestSearchCollatorElements() [all …]
|
D | AlphabeticIndexTest.java | 397 …private void checkBuckets(String localeString, String[] test, ULocale additionalLocale, String tes… in checkBuckets() argument 399 ULocale desiredLocale = new ULocale(localeString); in checkBuckets() 578 String localeString = list[i].toString(); in TestBasics() local 579 if (!KEY_LOCALES.contains(localeString)) continue; // TODO change in exhaustive in TestBasics() 580 ULocale locale = new ULocale(localeString + collationValue); in TestBasics() 613 for (String localeString : new String[] {"zh"}) { // KEY_LOCALES, new String[] {"zh"} in TestClientSupport() 614 ULocale ulocale = new ULocale(localeString); in TestClientSupport() 619 if (!localeString.equals("zh") ) { in TestClientSupport()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateSeedDurations.java | 52 String localeString = locale + "\t" + testInfo.getEnglish().getName(locale); in main() local 53 System.out.println("\n" + localeString); in main() 62 warnings.add(localeString + "\t" + patternString + "\t ***No 'H'"); in main() 69 warnings.add(localeString + "\t" + patternString + "\t ***No ':'"); in main()
|
D | FixDelimiters.java | 108 static Matcher localeString = PatternCache.get(".*\\((.*)\\)").matcher(""); field in FixDelimiters.Data 121 if (!localeString.reset(locale).matches()) { 124 String localeCode = localeString.group(1);
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | SubmissionLocales.java | 59 …public static boolean allowEvenIfLimited(String localeString, String path, boolean isError, boolea… in allowEvenIfLimited() argument 63 if (SubmissionLocales.NEW_CLDR_LOCALES.contains(localeString) || isError) { in allowEvenIfLimited() 71 if (!SubmissionLocales.CLDR_LOCALES.contains(localeString)) { in allowEvenIfLimited()
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/ |
D | KeyboardId.java | 57 String localeString = keyboardLocale.substring(0, tExtensionLocation); in fromString() local 58 ULocale locale = ULocale.forLanguageTag(localeString); in fromString()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
D | ICUDurationTest.java | 279 final String localeString; in TestXMLDuration() field in ICUDurationTest.TestCase 286 localeString = loc; in TestXMLDuration() 313 String loc = tc.localeString; in TestXMLDuration()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | ICUDurationTest.java | 276 final String localeString; in TestXMLDuration() field in ICUDurationTest.TestCase 283 localeString = loc; in TestXMLDuration() 310 String loc = tc.localeString; in TestXMLDuration()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/search/ |
D | SearchTest.java | 2141 private String localeString; in TestUsingSearchCollator() field in SearchTest.TUSCItem 2145 localeString = locStr; in TestUsingSearchCollator() 2149 public String getLocaleString() { return localeString; } in TestUsingSearchCollator() 2162 String localeString = tuscItem.getLocaleString(); in TestUsingSearchCollator() local 2163 ULocale uloc = new ULocale(localeString); in TestUsingSearchCollator() 2168 errln("Error: in locale " + localeString + ", err in Collator.getInstance"); in TestUsingSearchCollator() 2188 …errln("Error: in locale " + localeString + ", expected SearchIterator.next() " + offsets[ioff] + "… in TestUsingSearchCollator() 2194 …errln("Error: in locale " + localeString + ", SearchIterator.next() returned more matches than exp… in TestUsingSearchCollator() 2198 …errln("Error: in locale " + localeString + ", SearchIterator.next() returned fewer matches than ex… in TestUsingSearchCollator() 2211 …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 | 2138 private String localeString; in TestUsingSearchCollator() field in SearchTest.TUSCItem 2142 localeString = locStr; in TestUsingSearchCollator() 2146 public String getLocaleString() { return localeString; } in TestUsingSearchCollator() 2159 String localeString = tuscItem.getLocaleString(); in TestUsingSearchCollator() local 2160 ULocale uloc = new ULocale(localeString); in TestUsingSearchCollator() 2165 errln("Error: in locale " + localeString + ", err in Collator.getInstance"); in TestUsingSearchCollator() 2185 …errln("Error: in locale " + localeString + ", expected SearchIterator.next() " + offsets[ioff] + "… in TestUsingSearchCollator() 2191 …errln("Error: in locale " + localeString + ", SearchIterator.next() returned more matches than exp… in TestUsingSearchCollator() 2195 …errln("Error: in locale " + localeString + ", SearchIterator.next() returned fewer matches than ex… in TestUsingSearchCollator() 2208 …errln("Error: in locale " + localeString + ", expected SearchIterator.previous() " + offsets[ioff]… in TestUsingSearchCollator() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 2595 const char* localeString = DATA[i][0]; in TestCurrencyIsoPluralFormat() local 2606 UNumberFormat* unumFmt = unum_open(style, NULL, 0, localeString, NULL, &status); in TestCurrencyIsoPluralFormat() 2608 …log_data_err("FAIL: unum_open, locale %s, style %d - %s\n", localeString, (int)style, myErrorName(… in TestCurrencyIsoPluralFormat() 2614 …log_err("FAIL: unum_setTextAttribute, locale %s, UNUM_CURRENCY_CODE %s\n", localeString, currencyI… in TestCurrencyIsoPluralFormat() 2618 …r("FAIL: unum_formatDouble, locale %s, UNUM_CURRENCY_CODE %s - %s\n", localeString, currencyISOCod… in TestCurrencyIsoPluralFormat() 2623 localeString, currencyISOCode, DATA[i][3 + sIndex]); in TestCurrencyIsoPluralFormat() 2722 const char* localeString = "en_US"; in TestCurrencyUsage() local 2733 unumFmt = unum_open(style, NULL, 0, localeString, NULL, &status); in TestCurrencyUsage() 2736 localeString, (int)style, myErrorName(status)); in TestCurrencyUsage()
|
D | cdattst.c | 1624 const char* localeString = "zh@numbers=hanidays"; in TestOverrideNumberFormat() local 1641 overrideFmt = unum_open(UNUM_DEFAULT, NULL, 0, localeString, NULL, &status); in TestOverrideNumberFormat() 1655 overrideFmt = unum_open(UNUM_DEFAULT, NULL, 0, localeString, NULL, &status); in TestOverrideNumberFormat() 1673 overrideFmt2 = unum_open(UNUM_DEFAULT, NULL, 0, localeString, NULL, &status); in TestOverrideNumberFormat()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestCheckCLDR.java | 122 String localeString = "en"; in TestTestCache() local 123 CLDRLocale locale = CLDRLocale.getInstance(localeString); in TestTestCache() 128 final CLDRFile cldrFile = testInfo.getCLDRFile(localeString, true); in TestTestCache()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRulesTest.java | 987 for (String localeString : parts[0].split("\\s*,\\s*")) { 988 ULocale locale = new ULocale(localeString); 994 checkCategoriesAndExpected(localeString, parts[i], rules);
|
D | NumberFormatTest.java | 796 String localeString = DATA[i][0]; in TestCurrencyIsoPluralFormat() local 799 ULocale locale = new ULocale(localeString); in TestCurrencyIsoPluralFormat() 811 …errln("FAIL: localeID: " + localeString + ", expected(" + formatResult.length() + "): \"" + format… in TestCurrencyIsoPluralFormat() 824 …errln("FAIL: getCurrencyFormat of locale " + localeString + " failed roundtripping the number. val… in TestCurrencyIsoPluralFormat() 879 private final String localeString; in TestParseCurrency() field in NumberFormatTest.ParseCurrencyItem 889 localeString = locStr; in TestParseCurrency() 898 public String getLocaleString() { return localeString; } in TestParseCurrency() 933 String localeString = item.getLocaleString(); in TestParseCurrency() local 934 ULocale uloc = new ULocale(localeString); in TestParseCurrency() 939 errln("NumberFormat.getCurrencyInstance fails for locale " + localeString); in TestParseCurrency() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralRulesTest.java | 990 for (String localeString : parts[0].split("\\s*,\\s*")) { 991 ULocale locale = new ULocale(localeString); 997 checkCategoriesAndExpected(localeString, parts[i], rules);
|
D | NumberFormatTest.java | 799 String localeString = DATA[i][0]; in TestCurrencyIsoPluralFormat() local 802 ULocale locale = new ULocale(localeString); in TestCurrencyIsoPluralFormat() 814 …errln("FAIL: localeID: " + localeString + ", expected(" + formatResult.length() + "): \"" + format… in TestCurrencyIsoPluralFormat() 827 …errln("FAIL: getCurrencyFormat of locale " + localeString + " failed roundtripping the number. val… in TestCurrencyIsoPluralFormat() 882 private final String localeString; in TestParseCurrency() field in NumberFormatTest.ParseCurrencyItem 892 localeString = locStr; in TestParseCurrency() 901 public String getLocaleString() { return localeString; } in TestParseCurrency() 936 String localeString = item.getLocaleString(); in TestParseCurrency() local 937 ULocale uloc = new ULocale(localeString); in TestParseCurrency() 942 errln("NumberFormat.getCurrencyInstance fails for locale " + localeString); in TestParseCurrency() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | numfmtst.cpp | 3793 const char* localeString = DATA[i][0]; in TestCurrencyIsoPluralFormat() local 3796 logln(UnicodeString(u"Locale: ") + localeString + "; amount: " + numberToBeFormat); in TestCurrencyIsoPluralFormat() 3797 Locale locale(localeString); in TestCurrencyIsoPluralFormat() 3805 …dataerrln((UnicodeString)"can not create instance, locale:" + localeString + ", style: " + k + " -… in TestCurrencyIsoPluralFormat() 3846 localeString + " failed roundtripping the number"); in TestCurrencyIsoPluralFormat() 3908 const char* localeString = DATA[i][0]; in TestCurrencyParsing() local 3911 Locale locale(localeString); in TestCurrencyParsing() 3915 i, localeString, currencyStyleNames[kIndex], in TestCurrencyParsing() 3920 …dataerrln((UnicodeString)"can not create instance, locale:" + localeString + ", style: " + k + " -… in TestCurrencyParsing() 3961 … errln((UnicodeString)"FAIL: NumberFormat(" + localeString +", " + currencyStyleNames[kIndex] + in TestCurrencyParsing()
|