/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
DecimalFormatSymbolsTest.java | 23 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); 24 DecimalFormatSymbols dfs2 = new DecimalFormatSymbols(ULocale.US); 48 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); 56 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); 64 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); 72 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); 85 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); 93 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); 106 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); 114 DecimalFormatSymbols dfs = new DecimalFormatSymbols(ULocale.US); [all...] |
DateFormatSymbolsTest.java | 23 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); 24 DateFormatSymbols dfs2 = new DateFormatSymbols(ULocale.US); 25 DateFormatSymbols dfsn = new DateFormatSymbols(Locale.US); 49 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); 57 DateFormatSymbols dfs = new DateFormatSymbols(ULocale.US); 65 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); 73 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); 87 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); 95 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); 109 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); [all...] |
MessageFormatTest.java | 63 MessageFormat mf = new MessageFormat(pattern, Locale.US); 71 MessageFormat mf = new MessageFormat(pattern, ULocale.US); 79 MessageFormat mf = new MessageFormat(pattern, Locale.US); 89 MessageFormat mf = new MessageFormat(pattern, Locale.US); 99 MessageFormat mf = new MessageFormat(pattern, Locale.US); 108 MessageFormat mf = new MessageFormat(pattern, Locale.US); 135 MessageFormat mf = new MessageFormat(pattern, Locale.US); 153 MessageFormat mf = new MessageFormat(pattern, Locale.US); 168 MessageFormat mf = new MessageFormat(pattern, Locale.US); 180 MessageFormat mf = new MessageFormat(pattern, Locale.US); [all...] |
/external/vogar/test/vogar/target/junit4/ |
ChangeDefaultLocaleTest.java | 25 * Verify that the locale is reset to Locale.US before/after each test is run. 33 assertEquals(Locale.US, Locale.getDefault()); 39 assertEquals(Locale.US, Locale.getDefault());
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
PersonalDictionaryLookupTest.java | 140 PersonalDictionaryLookup lookup = setUpShortcut(Locale.US); 142 assertEquals("Expansion", lookup.expandShortcut("shortcut", Locale.US)); 143 assertNull(lookup.expandShortcut("Shortcut", Locale.US)); 144 assertNull(lookup.expandShortcut("SHORTCUT", Locale.US)); 145 assertNull(lookup.expandShortcut("shortcu", Locale.US)); 146 assertNull(lookup.expandShortcut("shortcutt", Locale.US)); 153 PersonalDictionaryLookup lookup = setUpShortcut(Locale.US); 155 verifyWordExists(lookup.getShortcutsForLocale(Locale.US), "shortcut"); 161 assertEquals("Expansion", lookup.expandShortcut("shortcut", Locale.US)); 174 verifyWordExists(lookup.getShortcutsForLocale(Locale.US), "shortcut") [all...] |
DictionaryFacilitatorLruCacheTests.java | 30 final DictionaryFacilitator dictionaryFacilitatorEnUs = cache.get(Locale.US); 32 assertTrue(dictionaryFacilitatorEnUs.isForLocale(Locale.US));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
BigNumberFormatTest.java | 38 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); 39 DecimalFormat fmt1 = new DecimalFormat("0.###E0", US); 40 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); 54 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); 55 DecimalFormat f = new DecimalFormat("#,##,###", US); 103 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); 104 DecimalFormat fmt = new DecimalFormat("#", US); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
BigNumberFormatTest.java | 35 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); 36 DecimalFormat fmt1 = new DecimalFormat("0.###E0", US); 37 DecimalFormat fmt2 = new DecimalFormat("0.###E+0", US); 51 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); 52 DecimalFormat f = new DecimalFormat("#,##,###", US); 100 DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US); 101 DecimalFormat fmt = new DecimalFormat("#", US); [all...] |
/art/test/123-inline-execute2/src/ |
Main.java | 24 + String.format(Locale.US, "%.12f", Math.sin(d))); 27 + String.format(Locale.US, "%.12f", Math.sinh(d))); 29 + String.format(Locale.US, "%.12f", Math.asin(d))); 31 + String.format(Locale.US, "%.12f", Math.cos(d))); 33 + String.format(Locale.US, "%.12f", Math.cosh(d))); 35 + String.format(Locale.US, "%.12f", Math.acos(d))); 38 + String.format(Locale.US, "%.12f", Math.tan(d))); 41 + String.format(Locale.US, "%.12f", Math.tanh(d))); 43 + String.format(Locale.US, "%.12f", Math.atan(d))); 45 + String.format(Locale.US, "%.12f", Math.atan2(d, d + 1.0))) [all...] |
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
ShortNumberInfoTest.java | 65 shortInfo.isCarrierSpecificForRegion(parse("33669", RegionCode.US), RegionCode.US)); 71 shortInfo.isCarrierSpecificForRegion(parse("911", RegionCode.US), RegionCode.US)); 77 shortInfo.isCarrierSpecificForRegion(carrierSpecificNumberForSomeRegion, RegionCode.US)); 85 assertTrue(shortInfo.isSmsServiceForRegion(smsServiceNumberForSomeRegion, RegionCode.US)); 137 shortInfo.getExpectedCostForRegion(parse("911", RegionCode.US), RegionCode.ZZ)); 216 assertTrue(shortInfo.connectsToEmergencyNumber("911", RegionCode.US)); 217 assertTrue(shortInfo.connectsToEmergencyNumber("112", RegionCode.US)); 218 assertFalse(shortInfo.connectsToEmergencyNumber("999", RegionCode.US)); [all...] |
PhoneNumberMatcherTest.java | 92 // Try again, but this time we have an international number with Region Code US. It should 94 doTestFindInContext("01164 3 331 6005", RegionCode.US); 95 doTestFindInContext("+64 3 331 6005", RegionCode.US); 101 doTestFindInContext("123-456-7890", RegionCode.US); 107 doTestFindInContext("1-650-333-6000", RegionCode.US); 108 // Calling the US number from Singapore by using different service providers 115 // Calling the US number from Poland 164 doTestFindInContext("011xx5481429712", RegionCode.US); 196 doTestFindInContext("(1800) 7493.524", RegionCode.US); 209 doTestFindInContext("(800) 901-3355 x 7246433", RegionCode.US); [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldFormatterTest.java | 63 fLoc.format(Locale.US, "%f", val); 69 fLoc.format(Locale.US, "%f", val); 73 fLoc = new Formatter(Locale.US); 74 fNoL = new Formatter(Locale.US); 75 fLoc.format(Locale.US, "%f", val); 81 fLoc.format(Locale.US, "%tA %tB %td %tT", cal, cal, cal, cal); 87 fLoc.format(Locale.US, "%tA %tB %td %tT", cal, cal, cal, cal); 91 fLoc = new Formatter(Locale.US); 92 fNoL = new Formatter(Locale.US); 93 fLoc.format(Locale.US, "%tA %tB %td %tT", cal, cal, cal, cal) [all...] |
/external/caliper/examples/src/main/java/examples/ |
ExpensiveObjectsBenchmark.java | 32 new DecimalFormatSymbols(Locale.US); 37 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); 45 NumberFormat.getInstance(Locale.US); 50 NumberFormat nf = NumberFormat.getInstance(Locale.US);
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
AssetJsonWriter.java | 56 mWriter.name(key.toLowerCase(Locale.US)); 57 mWriter.value(value.toLowerCase(Locale.US)); 77 mWriter.name(key.toLowerCase(Locale.US)); 80 mWriter.value(value.toUpperCase(Locale.US));
|
/libcore/benchmarks/src/benchmarks/regression/ |
RelativeDateTimeFormatterBenchmark.java | 28 Locale l = Locale.US; 38 Locale l = Locale.US; 48 Locale l = Locale.US; 58 Locale l = Locale.US;
|
ExpensiveObjectsBenchmark.java | 57 Collator.getInstance(Locale.US); 62 Collator c = Collator.getInstance(Locale.US); 70 new DateFormatSymbols(Locale.US); 75 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); 83 new DecimalFormatSymbols(Locale.US); 88 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); 96 NumberFormat.getInstance(Locale.US); 101 NumberFormat nf = NumberFormat.getInstance(Locale.US); 108 NumberFormat nf = NumberFormat.getInstance(Locale.US); 121 NumberFormat nf = NumberFormat.getInstance(Locale.US); [all...] |
DateIntervalFormatBenchmark.java | 27 ULocale l = ULocale.US; 37 ULocale l = ULocale.US; 47 ULocale l = ULocale.US;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
StringUtilsTests.java | 26 private static final Locale US = Locale.US; 38 assert_toTitleCaseOfKeyLabel(US, null, null); 39 assert_toTitleCaseOfKeyLabel(US, "", ""); 40 assert_toTitleCaseOfKeyLabel(US, "aeiou", "AEIOU"); 55 assert_toTitleCaseOfKeyLabel(US, 120 assert_toTitleCaseOfKeyCode(US, Constants.CODE_ENTER, Constants.CODE_ENTER); 121 assert_toTitleCaseOfKeyCode(US, Constants.CODE_SPACE, Constants.CODE_SPACE); 122 assert_toTitleCaseOfKeyCode(US, Constants.CODE_COMMA, Constants.CODE_COMMA); 127 assert_toTitleCaseOfKeyCode(US, 0x0069, 0x0049); // i -> [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/m0/src/ |
stopwatch.c | 11 #define US_TO_CYCLE(US) (US * 24)
|
/external/wayland/ |
publish-doc | 9 DOC_HTML=./doc/publican/Wayland/en-US/html/
|
/libcore/luni/src/main/java/libcore/net/http/ |
HttpDate.java | 38 DateFormat rfc1123 = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US); 78 return new SimpleDateFormat(formatString, Locale.US).parse(value);
|
/libcore/luni/src/test/java/libcore/java/text/ |
BreakIteratorTest.java | 29 iterator = BreakIterator.getCharacterInstance(Locale.US); 39 if (l.equals(Locale.US)) { 44 assertTrue("At least locale " + Locale.US + " must be presented", found); 58 BreakIterator it = BreakIterator.getWordInstance(Locale.US); 73 BreakIterator it = BreakIterator.getWordInstance(Locale.US); 106 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US); 130 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US); 154 BreakIterator it = BreakIterator.getCharacterInstance(Locale.US);
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
MDnsUtils.java | 64 || containsString(container.toLowerCase(Locale.US), value.toLowerCase(Locale.US)) 65 || containsString(container.toUpperCase(Locale.US), value.toUpperCase(Locale.US)))
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
SynchronousProfileProvider.java | 45 return Locale.US;
|
/external/eigen/test/ |
unalignedcount.cpp | 20 #define VERIFY_ALIGNED_UNALIGNED_COUNT(XPR,AL,UL,AS,US) {\ 23 if(!(nb_load==AL && nb_loadu==UL && nb_store==AS && nb_storeu==US)) \ 25 VERIFY( (#XPR) && nb_load==AL && nb_loadu==UL && nb_store==AS && nb_storeu==US ); \
|