/libcore/luni/src/main/java/libcore/icu/ |
D | LocaleData.java | 175 private LocaleData(Locale locale) { in LocaleData() 184 public static Locale mapInvalidAndNullLocales(Locale locale) { in mapInvalidAndNullLocales() 202 public static Locale getCompatibleLocaleForBug159514442(Locale locale) { in getCompatibleLocaleForBug159514442() 219 public static LocaleData get(Locale locale) { in get() 293 public static LocaleData initLocaleData(Locale locale) { in initLocaleData() 326 private static void initializePatternSeparator(LocaleData localeData, Locale locale) { in initializePatternSeparator() 348 private void initializeDateFormatData(Locale locale) { in initializeDateFormatData() 377 private void initializeDecimalFormatData(Locale locale) { in initializeDecimalFormatData() 404 private void initializeCalendarData(Locale locale) { in initializeCalendarData() 411 private void initializeDateTimePatterns(Locale locale) { in initializeDateTimePatterns()
|
D | ICU.java | 60 getTimePattern(locale, false, false); in getTimePattern() argument 61 getTimePattern(locale, false, true); in getTimePattern() argument 62 getTimePattern(locale, true, false); in getTimePattern() argument 63 getTimePattern(locale, true, true); in getTimePattern() argument 289 /* package */ static String getTimePattern(Locale locale, boolean is24Hour, boolean withSecond) { in getTimePattern() 300 public static String getBestDateTimePattern(String skeleton, Locale locale) { in getBestDateTimePattern() 313 private static String getBestDateTimePattern0(String skeleton, Locale locale) { in getBestDateTimePattern0() 394 public static Locale addLikelySubtags(Locale locale) { in addLikelySubtags() 405 public static String addLikelySubtags(String locale) { in addLikelySubtags() 415 public static native String getScript(String locale); in getScript()
|
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
D | CalendarDataUtility.java | 104 Locale locale) { in retrieveFieldValueName() 151 Locale locale) { in retrieveJavaTimeFieldValueName() 167 Locale locale) { in retrieveFieldValueNames() 198 int style, Locale locale) { in retrieveJavaTimeFieldValueNames() 226 Locale locale) { in retrieveFieldValueNamesImpl() 261 private static String[] getNames(String id, int field, int style, Locale locale) { in getNames() 288 private static DateFormatSymbols getDateFormatSymbols(String id, Locale locale) { in getDateFormatSymbols()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestZoneTextPrinterParser.java | 63 protected static DateTimeFormatter getFormatter(Locale locale, TextStyle style) { in getFormatter() 113 …private void printText(Locale locale, ZonedDateTime zdt, TextStyle style, TimeZone zone, String ex… in printText() 191 …public void test_ParseText(String expected, String text, Set<ZoneId> preferred, Locale locale, Tex… in test_ParseText() 208 private void parseText(Set<String> zids, Locale locale, TextStyle style, boolean ci) { in parseText() 228 Locale locale, TextStyle style, boolean ci) { in parse() 248 private DateTimeFormatter getFormatter(Locale locale, TextStyle style, boolean ci) { in getFormatter()
|
/libcore/ojluni/src/main/java/java/text/ |
D | BreakIterator.java | 453 public static BreakIterator getWordInstance(Locale locale) in getWordInstance() 479 public static BreakIterator getLineInstance(Locale locale) in getLineInstance() 505 public static BreakIterator getCharacterInstance(Locale locale) in getCharacterInstance() 531 public static BreakIterator getSentenceInstance(Locale locale) in getSentenceInstance()
|
D | DateFormatSymbols.java | 139 public DateFormatSymbols(Locale locale) in DateFormatSymbols() 283 Locale locale = null; field in DateFormatSymbols 406 public static final DateFormatSymbols getInstance(Locale locale) { in getInstance() 417 static final DateFormatSymbols getInstanceRef(Locale locale) { in getInstanceRef() 430 private static DateFormatSymbols getCachedInstance(Locale locale) { in getCachedInstance() 822 private void initializeData(Locale locale) { in initializeData()
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
D | TestFormatter.java | 157 private String test(String fmtStr, Locale locale, in test() 174 private void printFmtStr(Locale locale, String fmtStr) { in printFmtStr() 181 private void testDate(String fmtStr, Locale locale, in testDate() 193 private void testTime(String fmtStr, Locale locale, in testTime() 219 private void testZoneId(Locale locale, ChronoZonedDateTime<?> zdt, Calendar cal) { in testZoneId() 243 private void testInstant(Locale locale, Instant instant, in testInstant()
|
/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | AlphabeticIndexTest.java | 45 Locale locale = Locale.forLanguageTag(language); in testBucketCount_withNoIndexCharacters() local 64 private void verifyIndex(Locale locale) { in verifyIndex()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | DecimalFormatTest.java | 171 …iplierAndFractionByLocale(String value, int multiplier, int fraction, Locale locale, String expect… in assertDecFmtWithMultiplierAndFractionByLocale() 317 currency, locale); in testCurrencySymbolSpacing() local 325 Currency currency, Locale locale) { in assertCurrencyFormat() 380 private String formatArbitraryCurrencyAmountInLocale(Currency currency, Locale locale) { in formatArbitraryCurrencyAmountInLocale() 394 Locale locale = new Locale("de", "AT"); in testLocaleGroupingSeparator() local 430 Locale locale; in testPerMill() local 487 Locale locale; in testPercent() local 529 Locale locale; in testMinusSign() local 579 Locale locale = new Locale("ar"); in testPlusSign() local 630 private static DecimalFormat[] createDecimalFormatInstances(Locale locale, String pattern) { in createDecimalFormatInstances()
|
/libcore/luni/src/main/native/ |
D | ScopedIcuULoc.h | 25 static void getLocale(const char* localeName, std::string& locale, UErrorCode* status) { in getLocale() 81 const char* locale() const { in locale() function
|
/libcore/ojluni/src/main/java/java/util/ |
D | Currency.java | 320 public static Currency getInstance(Locale locale) { in getInstance() 479 public String getSymbol(Locale locale) { in getSymbol() 561 public String getDisplayName(Locale locale) { in getDisplayName()
|
D | ResourceBundle.java | 343 private Locale locale = null; field in ResourceBundle 541 private Locale locale; field in ResourceBundle.CacheKey 565 CacheKey(String baseName, Locale locale, ClassLoader loader) { in CacheKey() 592 CacheKey setLocale(Locale locale) { in setLocale() 841 Locale locale) in getBundle() 1070 public static ResourceBundle getBundle(String baseName, Locale locale, in getBundle() 1311 private static ResourceBundle getBundleImpl(String baseName, Locale locale, in getBundleImpl() 1554 Locale locale, in throwMissingResourceException() 2360 public List<Locale> getCandidateLocales(String baseName, Locale locale) { in getCandidateLocales() 2524 public Locale getFallbackLocale(String baseName, Locale locale) { in getFallbackLocale() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKLocalizedPrinterParser.java | 144 …blic void test_date_print(LocalDate date, FormatStyle dateStyle, int dateStyleOld, Locale locale) { in test_date_print() 156 …blic void test_date_parse(LocalDate date, FormatStyle dateStyle, int dateStyleOld, Locale locale) { in test_date_parse() 197 …blic void test_time_print(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale) { in test_time_print() 209 …blic void test_time_parse(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale) { in test_time_parse()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 141 public String getText(TemporalField field, long value, TextStyle style, Locale locale) { in getText() 165 TextStyle style, Locale locale) { in getText() 219 …terator<Entry<String, Long>> getTextIterator(TemporalField field, TextStyle style, Locale locale) { in getTextIterator() 245 TextStyle style, Locale locale) { in getTextIterator() 309 private Object findStore(TemporalField field, Locale locale) { in findStore() 328 private Object createStore(TemporalField field, Locale locale) { in createStore()
|
D | ZoneName.java | 43 public static String toZid(String zid, Locale locale) { in toZid()
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestChronoField.java | 124 Locale locale = Locale.US; in test_IsoFields_week_based_year() local 137 Locale locale = Locale.US; in test_WeekFields_week_based_year() local
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestJapaneseChronoImpl.java | 98 Locale locale = Locale.forLanguageTag("ja-JP-u-ca-japanese"); in test_JapaneseChrono_vsCalendar() local 129 Locale locale = Locale.forLanguageTag("ja-JP-u-ca-japanese"); in test_dayOfYearVsCalendar() local
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | NumberFormatBenchmark.java | 24 private static Locale locale = Locale.getDefault(Locale.Category.FORMAT); field in NumberFormatBenchmark
|
D | DecimalFormatSymbolsBenchmark.java | 23 private static Locale locale = Locale.getDefault(Locale.Category.FORMAT); field in DecimalFormatSymbolsBenchmark
|
D | BreakIteratorBenchmark.java | 39 final Locale locale; field in BreakIteratorBenchmark.Text 42 Text(Locale locale, String text) { in Text()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | Era.java | 41 public java.lang.String getDisplayName(java.util.Locale locale) { in getDisplayName() 50 public java.lang.String getDiaplayAbbreviation(java.util.Locale locale) { in getDiaplayAbbreviation()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | RuleBasedCollatorTest.java | 102 Locale locale = Locale.forLanguageTag("es-u-co-trad"); in testGetCollationElementIteratorString() local 119 Locale locale = new Locale("de", "DE"); in testGetCollationElementIteratorString() local 144 Locale locale = Locale.forLanguageTag("es-u-co-trad"); in testGetCollationElementIteratorCharacterIterator() local 163 Locale locale = new Locale("de", "DE"); in testGetCollationElementIteratorCharacterIterator() local
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | Era.java | 97 public String getDisplayName(Locale locale) { in getDisplayName() 105 public String getDiaplayAbbreviation(Locale locale) { in getDiaplayAbbreviation()
|
/libcore/luni/src/test/native/ |
D | ScopedIcuLocale.h | 49 icu::Locale& locale() { in locale() function
|
/libcore/libart/src/main/java/java/lang/ |
D | CaseMapper.java | 45 public static String toLowerCase(Locale locale, String s) { in toLowerCase() 146 public static String toUpperCase(Locale locale, String s, int count) { in toUpperCase()
|