Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 11 of 11) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCurrencyTest.java96 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()
DDateTest.java489 Locale loc = Locale.getDefault(); in test_toLocaleString() local
502 Locale.setDefault(loc); in test_toLocaleString()
DResourceBundleTest.java270 Locale loc = Locale.getDefault(); in test_getLocale() local
291 Locale.setDefault(loc); in test_getLocale()
/libcore/ojluni/src/main/java/sun/util/calendar/
DCalendarDate.java359 protected void setLocale(Locale loc) { in setLocale() argument
360 locale = loc; in setLocale()
DImmutableGregorianDate.java185 protected void setLocale(Locale loc) { in setLocale() argument
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java791 int flags, Locale loc) { in get() argument
817 return new SimpleDateFormat(timeStyle, dateStyle, loc); in get()
DSimpleDateFormat.java718 private void initialize(Locale loc) { in initialize() argument
723 numberFormat = cachedNumberFormatData.get(loc); in initialize()
725 numberFormat = NumberFormat.getIntegerInstance(loc); in initialize()
729 cachedNumberFormatData.putIfAbsent(loc, numberFormat); in initialize()
736 private void initializeCalendar(Locale loc) { in initializeCalendar() argument
738 assert loc != null; in initializeCalendar()
743 calendar = Calendar.getInstance(TimeZone.getDefault(), loc); in initializeCalendar()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DImmutableGregorianDate.java181 protected void setLocale(java.util.Locale loc) { in setLocale() argument
DCalendarDate.java196 protected void setLocale(java.util.Locale loc) { in setLocale() argument
/libcore/ojluni/src/main/native/
Dzip_util.c1332 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/
DDateFormat.java171 int timeStyle, int dateStyle, int flags, java.util.Locale loc) { in get() argument