/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/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/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/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/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 | 2512 const char* localeString = DATA[i][0]; in TestCurrencyIsoPluralFormat() local 2523 UNumberFormat* unumFmt = unum_open(style, NULL, 0, localeString, NULL, &status); in TestCurrencyIsoPluralFormat() 2525 …log_data_err("FAIL: unum_open, locale %s, style %d - %s\n", localeString, (int)style, myErrorName(… in TestCurrencyIsoPluralFormat() 2531 …log_err("FAIL: unum_setTextAttribute, locale %s, UNUM_CURRENCY_CODE %s\n", localeString, currencyI… in TestCurrencyIsoPluralFormat() 2535 …r("FAIL: unum_formatDouble, locale %s, UNUM_CURRENCY_CODE %s - %s\n", localeString, currencyISOCod… in TestCurrencyIsoPluralFormat() 2540 localeString, currencyISOCode, DATA[i][3 + sIndex]); in TestCurrencyIsoPluralFormat() 2639 const char* localeString = "en_US"; in TestCurrencyUsage() local 2650 unumFmt = unum_open(style, NULL, 0, localeString, NULL, &status); in TestCurrencyUsage() 2653 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/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralRulesTest.java | 923 for (String localeString : parts[0].split("\\s*,\\s*")) { 924 ULocale locale = new ULocale(localeString); 930 checkCategoriesAndExpected(localeString, parts[i], rules);
|
D | NumberFormatTest.java | 778 String localeString = DATA[i][0]; in TestCurrencyIsoPluralFormat() local 781 ULocale locale = new ULocale(localeString); in TestCurrencyIsoPluralFormat() 793 …errln("FAIL: localeID: " + localeString + ", expected(" + formatResult.length() + "): \"" + format… in TestCurrencyIsoPluralFormat() 806 …errln("FAIL: getCurrencyFormat of locale " + localeString + " failed roundtripping the number. val… in TestCurrencyIsoPluralFormat() 861 private final String localeString; in TestParseCurrency() field in NumberFormatTest.ParseCurrencyItem 871 localeString = locStr; in TestParseCurrency() 880 public String getLocaleString() { return localeString; } in TestParseCurrency() 915 String localeString = item.getLocaleString(); in TestParseCurrency() local 916 ULocale uloc = new ULocale(localeString); in TestParseCurrency() 921 errln("NumberFormat.getCurrencyInstance fails for locale " + localeString); in TestParseCurrency() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRulesTest.java | 920 for (String localeString : parts[0].split("\\s*,\\s*")) { 921 ULocale locale = new ULocale(localeString); 927 checkCategoriesAndExpected(localeString, parts[i], rules);
|
D | NumberFormatTest.java | 775 String localeString = DATA[i][0]; in TestCurrencyIsoPluralFormat() local 778 ULocale locale = new ULocale(localeString); in TestCurrencyIsoPluralFormat() 790 …errln("FAIL: localeID: " + localeString + ", expected(" + formatResult.length() + "): \"" + format… in TestCurrencyIsoPluralFormat() 803 …errln("FAIL: getCurrencyFormat of locale " + localeString + " failed roundtripping the number. val… in TestCurrencyIsoPluralFormat() 858 private final String localeString; in TestParseCurrency() field in NumberFormatTest.ParseCurrencyItem 868 localeString = locStr; in TestParseCurrency() 877 public String getLocaleString() { return localeString; } in TestParseCurrency() 912 String localeString = item.getLocaleString(); in TestParseCurrency() local 913 ULocale uloc = new ULocale(localeString); in TestParseCurrency() 918 errln("NumberFormat.getCurrencyInstance fails for locale " + localeString); in TestParseCurrency() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | numfmtst.cpp | 3673 const char* localeString = DATA[i][0]; in TestCurrencyIsoPluralFormat() local 3676 logln(UnicodeString(u"Locale: ") + localeString + "; amount: " + numberToBeFormat); in TestCurrencyIsoPluralFormat() 3677 Locale locale(localeString); in TestCurrencyIsoPluralFormat() 3685 …dataerrln((UnicodeString)"can not create instance, locale:" + localeString + ", style: " + k + " -… in TestCurrencyIsoPluralFormat() 3726 localeString + " failed roundtripping the number"); in TestCurrencyIsoPluralFormat() 3788 const char* localeString = DATA[i][0]; in TestCurrencyParsing() local 3791 Locale locale(localeString); in TestCurrencyParsing() 3795 i, localeString, currencyStyleNames[kIndex], in TestCurrencyParsing() 3800 …dataerrln((UnicodeString)"can not create instance, locale:" + localeString + ", style: " + k + " -… in TestCurrencyParsing() 3841 … errln((UnicodeString)"FAIL: NumberFormat(" + localeString +", " + currencyStyleNames[kIndex] + in TestCurrencyParsing()
|
/external/pdfium/fxjs/ |
D | cfxjse_formcalc_context.cpp | 4478 ByteString localeString; in WordNum() local 4485 localeString = ValueToUTF8String(localeValue.get()); in WordNum()
|