/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ |
D | ICULocaleServiceProvider.java | 137 for (ULocale uloc : icuLocales) { in getLocales() 138 String language = uloc.getLanguage(); in getLocales() 142 addULocale(uloc, localeSet); in getLocales() 144 if (uloc.getScript().length() > 0 && uloc.getCountry().length() > 0) { in getLocales() 149 locBld.setLocale(uloc); in getLocales() 185 private static void addULocale(ULocale uloc, Set<Locale> locales) { in addULocale() argument 186 locales.add(uloc.toLocale()); in addULocale() 190 StringBuilder var = new StringBuilder(uloc.getVariant()); in addULocale() 198 locBld.setLocale(uloc); in addULocale()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | FormatHandler.java | 717 private static DateFormatSymbols getCannedDateFormatSymbols(ULocale uloc) in getCannedDateFormatSymbols() argument 719 DateFormatSymbols dfs =new DateFormatSymbols(GregorianCalendar.class, uloc); in getCannedDateFormatSymbols() 720 String key = uloc.toString(); in getCannedDateFormatSymbols() 728 private static SimpleDateFormat getCannedSimpleDateFormat(String pattern, ULocale uloc) in getCannedSimpleDateFormat() argument 730 DateFormatSymbols dfs = getCannedDateFormatSymbols(uloc); in getCannedSimpleDateFormat() 734 SimpleDateFormat cannedSDF = new SimpleDateFormat(pattern, dfs, uloc); in getCannedSimpleDateFormat() 999 private static DecimalFormatSymbols getCannedDecimalFormatSymbols(ULocale uloc) in getCannedDecimalFormatSymbols() argument 1001 DecimalFormatSymbols dfs = new DecimalFormatSymbols(uloc); in getCannedDecimalFormatSymbols() 1003 setSymbols(dfs, (String[]) cannedDecimalFormatSymbols.get(uloc.toString())); in getCannedDecimalFormatSymbols() 1008 private static DecimalFormat getCannedDecimalFormat(String pattern, ULocale uloc) in getCannedDecimalFormat() argument [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | FormatHandler.java | 714 private static DateFormatSymbols getCannedDateFormatSymbols(ULocale uloc) in getCannedDateFormatSymbols() argument 716 DateFormatSymbols dfs =new DateFormatSymbols(GregorianCalendar.class, uloc); in getCannedDateFormatSymbols() 717 String key = uloc.toString(); in getCannedDateFormatSymbols() 725 private static SimpleDateFormat getCannedSimpleDateFormat(String pattern, ULocale uloc) in getCannedSimpleDateFormat() argument 727 DateFormatSymbols dfs = getCannedDateFormatSymbols(uloc); in getCannedSimpleDateFormat() 731 SimpleDateFormat cannedSDF = new SimpleDateFormat(pattern, dfs, uloc); in getCannedSimpleDateFormat() 996 private static DecimalFormatSymbols getCannedDecimalFormatSymbols(ULocale uloc) in getCannedDecimalFormatSymbols() argument 998 DecimalFormatSymbols dfs = new DecimalFormatSymbols(uloc); in getCannedDecimalFormatSymbols() 1000 setSymbols(dfs, (String[]) cannedDecimalFormatSymbols.get(uloc.toString())); in getCannedDecimalFormatSymbols() 1005 private static DecimalFormat getCannedDecimalFormat(String pattern, ULocale uloc) in getCannedDecimalFormat() argument [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyPluralInfo.java | 277 private void initialize(ULocale uloc) { in initialize() argument 278 ulocale = uloc; in initialize() 279 pluralRules = PluralRules.forLocale(uloc); in initialize() 280 setupCurrencyPluralPattern(uloc); in initialize() 283 private void setupCurrencyPluralPattern(ULocale uloc) { in setupCurrencyPluralPattern() argument 286 String numberStylePattern = NumberFormat.getPattern(uloc, NumberFormat.NUMBERSTYLE); in setupCurrencyPluralPattern() 294 Map<String, String> map = CurrencyData.provider.getInstance(uloc, true).getUnitPatterns(); in setupCurrencyPluralPattern()
|
D | NumberFormatServiceShim.java | 101 ULocale uloc = actualLoc[0]; in createInstance() local 102 fmt.setLocale(uloc, uloc); // services make no distinction between actual & valid in createInstance()
|
D | BreakIteratorFactory.java | 162 ULocale uloc = ULocale.forLocale(rb.getLocale()); in createBreakInstance() local 163 iter.setLocale(uloc, uloc); in createBreakInstance()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CurrencyPluralInfo.java | 259 private void initialize(ULocale uloc) { in initialize() argument 260 ulocale = uloc; in initialize() 261 pluralRules = PluralRules.forLocale(uloc); in initialize() 262 setupCurrencyPluralPattern(uloc); in initialize() 265 private void setupCurrencyPluralPattern(ULocale uloc) { in setupCurrencyPluralPattern() argument 268 String numberStylePattern = NumberFormat.getPattern(uloc, NumberFormat.NUMBERSTYLE); in setupCurrencyPluralPattern() 276 Map<String, String> map = CurrencyData.provider.getInstance(uloc, true).getUnitPatterns(); in setupCurrencyPluralPattern()
|
D | NumberFormatServiceShim.java | 102 ULocale uloc = actualLoc[0]; in createInstance() local 103 fmt.setLocale(uloc, uloc); // services make no distinction between actual & valid in createInstance()
|
D | BreakIteratorFactory.java | 163 ULocale uloc = ULocale.forLocale(rb.getLocale()); in createBreakInstance() local 164 iter.setLocale(uloc, uloc); in createBreakInstance()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | GlobalizationPreferences.java | 797 ULocale uloc = inputLocales.get(i); in processLocales() local 799 String language = uloc.getLanguage(); in processLocales() 800 String script = uloc.getScript(); in processLocales() 801 String country = uloc.getCountry(); in processLocales() 802 String variant = uloc.getVariant(); in processLocales() 818 result.add(j, uloc); in processLocales() 823 result.add(j, uloc); in processLocales() 828 result.add(j, uloc); in processLocales() 836 result.add(j, uloc); in processLocales() 842 result.add(j, uloc); in processLocales() [all …]
|
D | UResourceBundle.java | 184 ULocale uloc = ULocale.getDefault(); in getBundleInstance() local 185 … return getBundleInstance(baseName, uloc.getBaseName(), ICUResourceBundle.ICU_DATA_CLASS_LOADER, in getBundleInstance() 203 ULocale uloc = locale == null ? ULocale.getDefault() : ULocale.forLocale(locale); in getBundleInstance() local 205 return getBundleInstance(baseName, uloc.getBaseName(), in getBundleInstance() 245 ULocale uloc = locale == null ? ULocale.getDefault() : ULocale.forLocale(locale); in getBundleInstance() local 246 return getBundleInstance(baseName, uloc.getBaseName(), loader, false); in getBundleInstance()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/ |
D | GlobalizationPreferences.java | 828 ULocale uloc = inputLocales.get(i); in processLocales() local 830 String language = uloc.getLanguage(); in processLocales() 831 String script = uloc.getScript(); in processLocales() 832 String country = uloc.getCountry(); in processLocales() 833 String variant = uloc.getVariant(); in processLocales() 849 result.add(j, uloc); in processLocales() 854 result.add(j, uloc); in processLocales() 859 result.add(j, uloc); in processLocales() 867 result.add(j, uloc); in processLocales() 873 result.add(j, uloc); in processLocales() [all …]
|
/external/libaom/libaom/examples/ |
D | encoder_util.c | 82 int use_highbitdepth, int yloc[4], int uloc[4], in find_mismatch_helper() 85 find_mismatch_plane(img1, img2, AOM_PLANE_U, use_highbitdepth, uloc); in find_mismatch_helper() 91 int uloc[4], int vloc[4]) { in aom_find_mismatch_high() 92 find_mismatch_helper(img1, img2, 1, yloc, uloc, vloc); in aom_find_mismatch_high() 96 const aom_image_t *const img2, int yloc[4], int uloc[4], in aom_find_mismatch() 98 find_mismatch_helper(img1, img2, 0, yloc, uloc, vloc); in aom_find_mismatch()
|
D | encoder_util.h | 23 int uloc[4], int vloc[4]); 26 const aom_image_t *const img2, int yloc[4], int uloc[4],
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ULocaleTest.java | 181 ULocale uloc = new ULocale("en_Latn_US"); in TestSetULocaleKeywords() local 182 uloc = uloc.setKeywordValue("Foo", "FooValue"); in TestSetULocaleKeywords() 183 if (!"en_Latn_US@foo=FooValue".equals(uloc.getName())) { in TestSetULocaleKeywords() 184 errln("failed to add foo keyword, got: " + uloc.getName()); in TestSetULocaleKeywords() 186 uloc = uloc.setKeywordValue("Bar", "BarValue"); in TestSetULocaleKeywords() 187 if (!"en_Latn_US@bar=BarValue;foo=FooValue".equals(uloc.getName())) { in TestSetULocaleKeywords() 188 errln("failed to add bar keyword, got: " + uloc.getName()); in TestSetULocaleKeywords() 190 uloc = uloc.setKeywordValue("BAR", "NewBarValue"); in TestSetULocaleKeywords() 191 if (!"en_Latn_US@bar=NewBarValue;foo=FooValue".equals(uloc.getName())) { in TestSetULocaleKeywords() 192 errln("failed to change bar keyword, got: " + uloc.getName()); in TestSetULocaleKeywords() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ULocaleTest.java | 178 ULocale uloc = new ULocale("en_Latn_US"); in TestSetULocaleKeywords() local 179 uloc = uloc.setKeywordValue("Foo", "FooValue"); in TestSetULocaleKeywords() 180 if (!"en_Latn_US@foo=FooValue".equals(uloc.getName())) { in TestSetULocaleKeywords() 181 errln("failed to add foo keyword, got: " + uloc.getName()); in TestSetULocaleKeywords() 183 uloc = uloc.setKeywordValue("Bar", "BarValue"); in TestSetULocaleKeywords() 184 if (!"en_Latn_US@bar=BarValue;foo=FooValue".equals(uloc.getName())) { in TestSetULocaleKeywords() 185 errln("failed to add bar keyword, got: " + uloc.getName()); in TestSetULocaleKeywords() 187 uloc = uloc.setKeywordValue("BAR", "NewBarValue"); in TestSetULocaleKeywords() 188 if (!"en_Latn_US@bar=NewBarValue;foo=FooValue".equals(uloc.getName())) { in TestSetULocaleKeywords() 189 errln("failed to change bar keyword, got: " + uloc.getName()); in TestSetULocaleKeywords() [all …]
|
/external/libvpx/libvpx/examples/ |
D | vp9cx_set_ref.c | 105 int uloc[4], int vloc[4]) { in find_mismatch() 141 uloc[0] = uloc[1] = uloc[2] = uloc[3] = -1; in find_mismatch() 153 uloc[0] = i + k; in find_mismatch() 154 uloc[1] = j + l; in find_mismatch() 155 uloc[2] = *(img1->planes[VPX_PLANE_U] + in find_mismatch() 157 uloc[3] = *(img2->planes[VPX_PLANE_U] + in find_mismatch()
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | TestUtil.java | 35 ULocale uloc = ULocale.forLocale(locale); in toICUExtendedLocale() local 36 if (uloc.getScript().length() == 0) { in toICUExtendedLocale() 45 locBld.setLocale(uloc); in toICUExtendedLocale()
|
D | DateFormatSymbolsTest.java | 195 ULocale uloc = new ULocale("en_US_" + TestUtil.ICU_VARIANT + "@calendar=japanese"); in TestCalendarKeyword() local 196 Locale loc = uloc.toLocale(); in TestCalendarKeyword() 198 … com.ibm.icu.text.DateFormatSymbols icuDfs = com.ibm.icu.text.DateFormatSymbols.getInstance(uloc); in TestCalendarKeyword()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | UResourceBundle.java | 189 ULocale uloc = ULocale.getDefault(); in getBundleInstance() local 190 … return getBundleInstance(baseName, uloc.getBaseName(), ICUResourceBundle.ICU_DATA_CLASS_LOADER, in getBundleInstance() 209 ULocale uloc = locale == null ? ULocale.getDefault() : ULocale.forLocale(locale); in getBundleInstance() local 211 return getBundleInstance(baseName, uloc.getBaseName(), in getBundleInstance() 252 ULocale uloc = locale == null ? ULocale.getDefault() : ULocale.forLocale(locale); in getBundleInstance() local 253 return getBundleInstance(baseName, uloc.getBaseName(), loader, false); in getBundleInstance()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | BreakIteratorTest.java | 242 ULocale uloc = null; in TestNullLocale() local 253 brk = BreakIterator.getCharacterInstance(uloc); in TestNullLocale() 263 brk = BreakIterator.getLineInstance(uloc); in TestNullLocale() 273 brk = BreakIterator.getSentenceInstance(uloc); in TestNullLocale() 283 brk = BreakIterator.getTitleInstance(uloc); in TestNullLocale() 293 brk = BreakIterator.getWordInstance(uloc); in TestNullLocale()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | BreakIteratorTest.java | 239 ULocale uloc = null; in TestNullLocale() local 250 brk = BreakIterator.getCharacterInstance(uloc); in TestNullLocale() 260 brk = BreakIterator.getLineInstance(uloc); in TestNullLocale() 270 brk = BreakIterator.getSentenceInstance(uloc); in TestNullLocale() 280 brk = BreakIterator.getTitleInstance(uloc); in TestNullLocale() 290 brk = BreakIterator.getWordInstance(uloc); in TestNullLocale()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | Currency.java | 281 public String getSymbol(ULocale uloc) { in getSymbol() argument 282 return currency.getSymbol(uloc.toLocale()); in getSymbol()
|
D | ULocale.java | 3487 public static Locale toLocale(ULocale uloc) { in toLocale() argument 3488 return isJava7orNewer ? toLocale7(uloc) : toLocale6(uloc); in toLocale() 3629 ULocale uloc = null; in toULocale6() local 3632 uloc = ULocale.ROOT; in toULocale6() 3642 uloc = new ULocale(getName(locStr), loc); in toULocale6() 3644 return uloc; in toULocale6() 3647 private static Locale toLocale7(ULocale uloc) { in toLocale7() argument 3649 String ulocStr = uloc.getName(); in toLocale7() 3650 if (uloc.getScript().length() > 0 || ulocStr.contains("@")) { in toLocale7() 3657 String tag = uloc.toLanguageTag(); in toLocale7() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CoverageLevel2.java | 182 ULocale uloc = new ULocale("de"); in main() local 191 int oldLevel = supplementalDataInfo2.getCoverageValueOld(path, uloc); in main() 204 int oldLevel = supplementalDataInfo2.getCoverageValueOld(path, uloc); in main()
|