/libcore/ojluni/src/test/java/text/Format/DateFormat/ |
D | SimpleDateFormatPatternTest.java | 162 public void testIllegalArgumentException1(String pattern, Locale loc) in testIllegalArgumentException1() argument 164 Locale.setDefault(loc); in testIllegalArgumentException1() 171 public void testIllegalArgumentException2(String pattern, Locale loc) in testIllegalArgumentException2() argument 173 Locale.setDefault(loc); in testIllegalArgumentException2() 180 public void testIllegalArgumentException3(String pattern, Locale loc) in testIllegalArgumentException3() argument 182 Locale.setDefault(loc); in testIllegalArgumentException3() 189 public void testIllegalArgumentException4(String pattern, Locale loc) in testIllegalArgumentException4() argument 191 Locale.setDefault(loc); in testIllegalArgumentException4() 209 public void testNullPointerException1(Locale loc) in testNullPointerException1() argument 211 Locale.setDefault(loc); in testNullPointerException1() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CurrencyTest.java | 96 Locale loc = new Locale("", "AQ"); in test_getInstanceLjava_util_Locale() local 98 Currency curr = Currency.getInstance(loc); in test_getInstanceLjava_util_Locale() 107 loc = new Locale("", "ZR"); in test_getInstanceLjava_util_Locale() 109 Currency curr = Currency.getInstance(loc); in test_getInstanceLjava_util_Locale() 114 loc = new Locale("", "ZAR"); in test_getInstanceLjava_util_Locale() 116 Currency curr = Currency.getInstance(loc); in test_getInstanceLjava_util_Locale() 121 loc = new Locale("", "FX"); in test_getInstanceLjava_util_Locale() 123 Currency curr = Currency.getInstance(loc); in test_getInstanceLjava_util_Locale() 128 loc = new Locale("", "FXX"); in test_getInstanceLjava_util_Locale() 130 Currency curr = Currency.getInstance(loc); in test_getInstanceLjava_util_Locale()
|
D | ResourceBundleTest.java | 270 Locale loc = Locale.getDefault(); in test_getLocale() local 291 Locale.setDefault(loc); in test_getLocale()
|
D | DateTest.java | 494 Locale loc = Locale.getDefault(); in test_toLocaleString() local 507 Locale.setDefault(loc); in test_toLocaleString()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestNarrowMonthNamesAndDayNames.java | 85 LOCARR.forEach((loc) -> { in compareMonthNarrowValues() argument 88 String result = value.getDisplayName(style, loc); in compareMonthNarrowValues() 92 + loc + " for style " + style.name() in compareMonthNarrowValues()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 1047 Locale loc = defaultDisplayLocale; // volatile read in getDefault() local 1048 if (loc == null) { in getDefault() 1049 loc = getDisplayLocale(); in getDefault() 1051 return loc; in getDefault() 1054 Locale loc = defaultFormatLocale; // volatile read in getDefault() local 1055 if (loc == null) { in getDefault() 1056 loc = getFormatLocale(); in getDefault() 1058 return loc; in getDefault() 1063 Locale loc = defaultDisplayLocale; in getDisplayLocale() local 1064 if (loc == null) { in getDisplayLocale() [all …]
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | CalendarDate.java | 359 protected void setLocale(Locale loc) { in setLocale() argument 360 locale = loc; in setLocale()
|
D | ImmutableGregorianDate.java | 185 protected void setLocale(Locale loc) { in setLocale() argument
|
/libcore/ojluni/src/main/java/java/text/ |
D | DateFormat.java | 846 int flags, Locale loc) { in get() argument 872 return new SimpleDateFormat(timeStyle, dateStyle, loc); in get()
|
D | SimpleDateFormat.java | 737 private void initialize(Locale loc) { in initialize() argument 742 numberFormat = cachedNumberFormatData.get(loc); in initialize() 744 numberFormat = NumberFormat.getIntegerInstance(loc); in initialize() 748 cachedNumberFormatData.putIfAbsent(loc, numberFormat); in initialize() 755 private void initializeCalendar(Locale loc) { in initializeCalendar() argument 757 assert loc != null; in initializeCalendar() 762 calendar = Calendar.getInstance(loc); in initializeCalendar()
|
/libcore/ojluni/src/test/java/text/Format/NumberFormat/ |
D | BigDecimalParse.java | 43 Locale loc = Locale.getDefault(); in main() local 49 Locale.setDefault(loc); in main()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipFile.java | 977 byte[] loc = new byte[LOCHDR]; in initDataOffset() 979 int len = ZipFile.this.res.zsrc.readFullyAt(loc, 0, loc.length, pos); in initDataOffset() 983 if (LOCSIG(loc) != LOCSIG) { in initDataOffset() 986 pos += LOCHDR + LOCNAM(loc) + LOCEXT(loc); in initDataOffset()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | ImmutableGregorianDate.java | 181 protected void setLocale(java.util.Locale loc) { in setLocale() argument
|
D | CalendarDate.java | 196 protected void setLocale(java.util.Locale loc) { in setLocale() argument
|
/libcore/ojluni/src/main/native/ |
D | zip_util.c | 1415 unsigned char loc[LOCHDR]; in ZIP_GetEntryDataOffset() local 1416 if (readFullyAt(zip->zfd, loc, LOCHDR, -(entry->pos)) == -1) { in ZIP_GetEntryDataOffset() 1420 if (!LOCSIG_AT(loc)) { in ZIP_GetEntryDataOffset() 1424 entry->pos = (- entry->pos) + LOCHDR + LOCNAM(loc) + LOCEXT(loc); in ZIP_GetEntryDataOffset()
|
/libcore/ojluni/annotations/hiddenapi/java/text/ |
D | DateFormat.java | 171 int timeStyle, int dateStyle, int flags, java.util.Locale loc) { in get() argument
|