/libcore/luni/src/test/java/libcore/java/util/ |
D | Locales.java | 24 import static java.util.Locale.Category.FORMAT; 94 Locale.setDefault(FORMAT, formatLocale); in setAsDefault() 99 Locale.getDefault(), Locale.getDefault(DISPLAY), Locale.getDefault(FORMAT)); in getDefault()
|
D | LocaleTest.java | 1625 assertEquals(Locale.US, Locale.getDefault(Locale.Category.FORMAT)); in test_setDefault_withCategory() 1629 Locale.setDefault(Locale.Category.FORMAT, Locale.UK); in test_setDefault_withCategory() 1630 assertEquals(Locale.UK, Locale.getDefault(Locale.Category.FORMAT)); in test_setDefault_withCategory() 1635 assertEquals(Locale.UK, Locale.getDefault(Locale.Category.FORMAT)); in test_setDefault_withCategory() 1640 assertEquals(Locale.FRANCE, Locale.getDefault(Locale.Category.FORMAT)); in test_setDefault_withCategory() 1646 assertEquals(Locale.US, Locale.getDefault(Locale.Category.FORMAT)); in test_setDefault_withCategory()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DateFormat.java | 456 return get(DEFAULT, 0, 1, Locale.getDefault(Locale.Category.FORMAT)); in getTimeInstance() 473 return get(style, 0, 1, Locale.getDefault(Locale.Category.FORMAT)); in getTimeInstance() 502 return get(0, DEFAULT, 2, Locale.getDefault(Locale.Category.FORMAT)); in getDateInstance() 519 return get(0, style, 2, Locale.getDefault(Locale.Category.FORMAT)); in getDateInstance() 548 return get(DEFAULT, DEFAULT, 3, Locale.getDefault(Locale.Category.FORMAT)); in getDateTimeInstance() 568 return get(timeStyle, dateStyle, 3, Locale.getDefault(Locale.Category.FORMAT)); in getDateTimeInstance()
|
D | NumberFormat.java | 419 return getInstance(Locale.getDefault(Locale.Category.FORMAT), NUMBERSTYLE); in getInstance() 448 return getInstance(Locale.getDefault(Locale.Category.FORMAT), NUMBERSTYLE); in getNumberInstance() 481 return getInstance(Locale.getDefault(Locale.Category.FORMAT), INTEGERSTYLE); in getIntegerInstance() 513 return getInstance(Locale.getDefault(Locale.Category.FORMAT), CURRENCYSTYLE); in getCurrencyInstance() 538 return getInstance(Locale.getDefault(Locale.Category.FORMAT), PERCENTSTYLE); in getPercentInstance()
|
D | DateFormatSymbols.java | 123 initializeData(Locale.getDefault(Locale.Category.FORMAT)); in DateFormatSymbols() 394 return getInstance(Locale.getDefault(Locale.Category.FORMAT)); in getInstance()
|
D | DecimalFormatSymbols.java | 81 initialize( Locale.getDefault(Locale.Category.FORMAT) ); in DecimalFormatSymbols() 133 return getInstance(Locale.getDefault(Locale.Category.FORMAT)); in getInstance()
|
D | MessageFormat.java | 362 this.locale = Locale.getDefault(Locale.Category.FORMAT); in MessageFormat()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | DecimalFormatSymbolsBenchmark.java | 23 private static Locale locale = Locale.getDefault(Locale.Category.FORMAT);
|
D | NumberFormatBenchmark.java | 24 private static Locale locale = Locale.getDefault(Locale.Category.FORMAT);
|
/libcore/support/src/test/java/tests/resources/x509/ |
D | default.cnf | 177 1.2.3.4.99999.1.2.3.4 = critical,ASN1:FORMAT:BITLIST,BITSTRING:0,1,2 184 keyUsage=ASN1:FORMAT:BITLIST,BITSTRING:0,1,2,3,4,5,6,7,8,9,10 207 IP.1 = IMPLICIT:7,FORMAT:HEX,OCTETSTRING:0A 214 IP.1 = IMPLICIT:7,FORMAT:HEX,OCTETSTRING:20010DB8000000000000FF0000428329
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DecimalStyle.java | 143 return of(Locale.getDefault(Locale.Category.FORMAT)); in ofDefaultLocale()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 637 dateFormatSym.getMonths(count, icu::DateFormatSymbols::FORMAT, icu::DateFormatSymbols::WIDE); in ICU_initLocaleDataNative() 640 …dateFormatSym.getMonths(count, icu::DateFormatSymbols::FORMAT, icu::DateFormatSymbols::ABBREVIATED… in ICU_initLocaleDataNative() 643 … dateFormatSym.getMonths(count, icu::DateFormatSymbols::FORMAT, icu::DateFormatSymbols::NARROW); in ICU_initLocaleDataNative() 646 … dateFormatSym.getWeekdays(count, icu::DateFormatSymbols::FORMAT, icu::DateFormatSymbols::WIDE); in ICU_initLocaleDataNative() 649 …dateFormatSym.getWeekdays(count, icu::DateFormatSymbols::FORMAT, icu::DateFormatSymbols::ABBREVIAT… in ICU_initLocaleDataNative() 652 … dateFormatSym.getWeekdays(count, icu::DateFormatSymbols::FORMAT, icu::DateFormatSymbols::NARROW); in ICU_initLocaleDataNative()
|
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
D | CalendarDataUtility.java | 320 return DateFormatSymbols.FORMAT; in toContext()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Formatter.java | 1918 this(Locale.getDefault(Locale.Category.FORMAT), new StringBuilder()); in Formatter() 1934 this(Locale.getDefault(Locale.Category.FORMAT), nonNullAppendable(a)); in Formatter() 2000 this(Locale.getDefault(Locale.Category.FORMAT), in Formatter() 2039 this(fileName, csn, Locale.getDefault(Locale.Category.FORMAT)); in Formatter() 2111 this(Locale.getDefault(Locale.Category.FORMAT), in Formatter() 2150 this(file, csn, Locale.getDefault(Locale.Category.FORMAT)); in Formatter() 2208 this(Locale.getDefault(Locale.Category.FORMAT), in Formatter() 2229 this(Locale.getDefault(Locale.Category.FORMAT), in Formatter() 2256 this(os, csn, Locale.getDefault(Locale.Category.FORMAT)); in Formatter()
|
D | Calendar.java | 1586 this(TimeZone.getDefaultRef(), Locale.getDefault(Locale.Category.FORMAT)); in Calendar() 1625 return createCalendar(TimeZone.getDefault(), Locale.getDefault(Locale.Category.FORMAT)); in getInstance() 1639 return createCalendar(zone, Locale.getDefault(Locale.Category.FORMAT)); in getInstance()
|
D | GregorianCalendar.java | 592 this(TimeZone.getDefaultRef(), Locale.getDefault(Locale.Category.FORMAT)); in GregorianCalendar() 604 this(zone, Locale.getDefault(Locale.Category.FORMAT)); in GregorianCalendar()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | CharacterTest.java | 731 assertEquals("Wrong constant for FORMAT", 16, Character.FORMAT); 797 assertTrue(Character.getType(0x00AD) == Character.FORMAT); 798 assertTrue(Character.getType(0xE007F) == Character.FORMAT);
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | Locale.annotated.java | 252 FORMAT; enumConstant
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 627 FORMAT; enumConstant
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Locale.annotated.java | 248 FORMAT; enumConstant
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Character.annotated.java | 269 public static final byte FORMAT = 16; // 0x10 field in Character
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Character.java | 523 public static final byte FORMAT = 16; // 0x10 field in Character
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatters.java | 130 Locale fmtLocale = Locale.getDefault(Locale.Category.FORMAT); in test_pattern_String()
|