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.java799 int flags, Locale loc) { in get() argument
825 return new SimpleDateFormat(timeStyle, dateStyle, loc); in get()
DSimpleDateFormat.java715 private void initialize(Locale loc) { in initialize() argument
720 numberFormat = cachedNumberFormatData.get(loc); in initialize()
722 numberFormat = NumberFormat.getIntegerInstance(loc); in initialize()
726 cachedNumberFormatData.putIfAbsent(loc, numberFormat); in initialize()
733 private void initializeCalendar(Locale loc) { in initializeCalendar() argument
735 assert loc != null; in initializeCalendar()
740 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