Searched refs:loc (Results 1 – 11 of 11) sorted by relevance
/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 | DateTest.java | 489 Locale loc = Locale.getDefault(); in test_toLocaleString() local 502 Locale.setDefault(loc); in test_toLocaleString()
|
D | ResourceBundleTest.java | 270 Locale loc = Locale.getDefault(); in test_getLocale() local 291 Locale.setDefault(loc); in test_getLocale()
|
/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 | 791 int flags, Locale loc) { in get() argument 817 return new SimpleDateFormat(timeStyle, dateStyle, loc); in get()
|
D | SimpleDateFormat.java | 716 private void initialize(Locale loc) { in initialize() argument 721 numberFormat = cachedNumberFormatData.get(loc); in initialize() 723 numberFormat = NumberFormat.getIntegerInstance(loc); in initialize() 727 cachedNumberFormatData.putIfAbsent(loc, numberFormat); in initialize() 734 private void initializeCalendar(Locale loc) { in initializeCalendar() argument 736 assert loc != null; in initializeCalendar() 741 calendar = Calendar.getInstance(TimeZone.getDefault(), loc); in initializeCalendar()
|
/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 | 1332 unsigned char loc[LOCHDR]; in ZIP_GetEntryDataOffset() local 1333 if (readFullyAt(zip->zfd, loc, LOCHDR, -(entry->pos)) == -1) { in ZIP_GetEntryDataOffset() 1337 if (GETSIG(loc) != LOCSIG) { in ZIP_GetEntryDataOffset() 1341 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
|