HomeSort by relevance Sort by last modified time
    Searched defs:locale (Results 401 - 425 of 1524) sorted by null

<<11121314151617181920>>

  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
ULocale.java 21 import java.util.Locale;
37 import com.ibm.icu.impl.locale.AsciiUtil;
38 import com.ibm.icu.impl.locale.BaseLocale;
39 import com.ibm.icu.impl.locale.Extension;
40 import com.ibm.icu.impl.locale.InternalLocaleBuilder;
41 import com.ibm.icu.impl.locale.KeyTypeData;
42 import com.ibm.icu.impl.locale.LanguageTag;
43 import com.ibm.icu.impl.locale.LocaleExtensions;
44 import com.ibm.icu.impl.locale.LocaleSyntaxException;
45 import com.ibm.icu.impl.locale.ParseStatus
325 private transient volatile Locale locale; field in class:ULocale
    [all...]
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/
icu4j-54.1.1.jar 
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
formatter.h 4 #include <locale.h>
363 /* Locale type codes. */
368 /* Locale info needed for formatting integers and the part of floats
441 int has_decimal, const LocaleInfo *locale,
450 spec->n_decimal = has_decimal ? strlen(locale->decimal_point) : 0;
515 locale->grouping,
516 locale->thousands_sep);
559 LocaleInfo *locale, int toupper)
599 locale->grouping, locale->thousands_sep);
759 LocaleInfo locale; local
948 LocaleInfo locale; local
1113 LocaleInfo locale; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
formatter.h 4 #include <locale.h>
363 /* Locale type codes. */
368 /* Locale info needed for formatting integers and the part of floats
441 int has_decimal, const LocaleInfo *locale,
450 spec->n_decimal = has_decimal ? strlen(locale->decimal_point) : 0;
515 locale->grouping,
516 locale->thousands_sep);
559 LocaleInfo *locale, int toupper)
599 locale->grouping, locale->thousands_sep);
760 LocaleInfo locale; local
899 &locale, format->type == 'X'); local
950 LocaleInfo locale; local
1047 format->fill_char == '\\0' ? ' ' : format->fill_char, &locale, local
1110 LocaleInfo locale; local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/res/
XPATHErrorResources.java 24 import java.util.Locale;
948 Locale locale = Locale.getDefault(); local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
TimeZoneNamesImpl.java 56 // These are hard cache. We create only one TimeZoneNamesImpl per locale
66 public TimeZoneNamesImpl(ULocale locale) {
67 initialize(locale);
306 * Loads all meta zone and time zone names for this TimeZoneNames' locale.
311 * _zoneStrings.getSize() is ineffective in a sparsely populated locale like en-GB.
418 * @param locale The locale
420 private void initialize(ULocale locale) {
422 ICUData.ICU_ZONE_BASE_NAME, locale);
461 * This implementation only preserve locale object used for the names
464 ULocale locale = _zoneStrings.getULocale(); local
473 ULocale locale = (ULocale)in.readObject(); local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
DateIntervalFormat.java 17 import java.util.Locale;
131 * If a skeleton is not found in a locale's DateIntervalInfo, which means
174 * create an instance using default or given locale plus given skeleton.
181 * create an instance using default or given locale plus given skeleton
185 * Locale provides the timezone, calendar, and format symbols information.
204 * YEAR_MONTH_DAY, Locale("en", "GB", ""));
220 * // Get DateIntervalFormat instance using default locale
299 // Cache for the locale interval pattern
304 * The interval patterns for this locale.
327 * relevant (locale) to this formatter
1033 ULocale locale = fDateFormat.getLocale(); local
    [all...]
RelativeDateTimeFormatter.java 14 import java.util.Locale;
40 * fancy APIs. The caller tells it exactly what to display in a locale
230 * Two before. Not fully supported in every locale
250 * Two after. Not fully supported in every locale
343 * Returns a RelativeDateTimeFormatter for the default locale.
350 * Returns a RelativeDateTimeFormatter for a particular locale.
352 * @param locale the locale.
355 public static RelativeDateTimeFormatter getInstance(ULocale locale) {
356 return getInstance(locale, null, Style.LONG, DisplayContext.CAPITALIZATION_NONE)
771 private final ULocale locale; field in class:RelativeDateTimeFormatter
    [all...]
RuleBasedNumberFormat.java 18 import java.util.Locale;
44 * <p>The resources contain three predefined formatters for each locale: spellout, which
477 * exponent of the base value for the specified locale, which is normally equivalent to the &lt;&lt; value.
486 * exponent of the base value for the specified locale, which is normally equivalent to the &lt;&lt; value.
591 * The formatter's locale. This is used to create DecimalFormatSymbols and
595 private ULocale locale = null; field in class:RuleBasedNumberFormat
622 * the locale. This is lazy-evaluated, like decimalFormatSymbols. It is
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
LanguageTestFmwk.java 59 private String locale; field in class:LanguageTestFmwk
78 private static TestData getTestData(String locale) {
80 if (locale.equals("testFullPluralizedForms")) {
83 TestData data = (TestData) datacache.get(locale);
87 .getResourceAsStream("testdata/testdata_" + locale
91 System.out.println("test data for locale '" + locale
108 public LanguageTestFmwk(String locale, boolean ignore) {
109 this(getTestData(locale), locale);
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DataDrivenNumberFormatTestData.java 41 * for the locale attribute and a setCurrency(String) method for the currency attribute.
59 * The locale.
61 public ULocale locale = null; field in class:DataDrivenNumberFormatTestData
186 "locale",
253 locale = new ULocale(value);
RbnfTest.java 14 import java.util.Locale;
183 RuleBasedNumberFormat fmt4 = new RuleBasedNumberFormat(fracRules, Locale.ENGLISH);
184 RuleBasedNumberFormat fmt5 = new RuleBasedNumberFormat(fracRules, Locale.ENGLISH);
223 Locale greek = new Locale("el", "", "");
255 NumberFormat decFormat = NumberFormat.getInstance(Locale.US);
276 RuleBasedNumberFormat formatter = new RuleBasedNumberFormat(Locale.US,
309 RuleBasedNumberFormat formatter= new RuleBasedNumberFormat(Locale.US,
339 RuleBasedNumberFormat formatter = new RuleBasedNumberFormat(Locale.US,
363 RuleBasedNumberFormat formatter = new RuleBasedNumberFormat(new Locale("es", "es"
799 Locale locale = new Locale("sv", "", ""); local
1480 public String locale; field in class:RbnfTest.TextContextItem
1505 ULocale locale = new ULocale(item.locale); local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
CurrencyTest.java 21 import java.util.Locale;
89 Locale[] avail = Currency.getAvailableLocales();
109 final Currency usd = Currency.getInstance(Locale.US);
128 Currency nus = Currency.getInstance(Locale.US);
134 Currency nus1 = Currency.getInstance(Locale.JAPAN);
148 errln("did not find locale" + fu_FU + " in currency locales");
158 Currency nus2 = Currency.getInstance(Locale.US);
172 errln("found locale" + fu_FU + " in currency locales after unregister");
175 Locale[] locs = Currency.getAvailableLocales();
184 errln("found locale" + fu_FU + " in currency locales after unregister")
556 ULocale locale = new ULocale("th_TH@collation=traditional;currency=QQQ"); local
591 ULocale locale = new ULocale(test[0]); local
655 Locale locale = new Locale("sr", "QQ"); local
    [all...]
ICUServiceTest.java 73 * uses the current default ULocale as the locale, the default collator for
74 * the locale as the comparator to sort the display names, and null for
78 ULocale locale = ULocale.getDefault(); local
79 Collator col = Collator.getInstance(locale.toLocale());
80 return service.getDisplayNames(locale, col, null);
85 * uses the default collator for the locale as the comparator to
88 public SortedMap getDisplayNames(ICUService service, ULocale locale) {
89 Collator col = Collator.getInstance(locale.toLocale());
90 return service.getDisplayNames(locale, col, null);
94 * uses the default collator for the locale as the comparator t
    [all...]
  /external/icu/icu4c/source/i18n/
dtitvfmt.cpp 81 return createInstance(skeleton, Locale::getDefault(), status);
87 const Locale& locale,
101 DateIntervalInfo* dtitvinf = new DateIntervalInfo(locale, status);
102 return create(locale, dtitvinf, &skeleton, status);
111 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status);
117 const Locale& locale,
121 return create(locale, ptn, &skeleton, status);
130 fLocale(Locale::getRoot())
596 const Locale& locale = fDateFormat->getSmpFmtLocale(); local
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
numberformatter.h 39 * .locale(...)
49 * // Create a "template" in a singleton but without setting a locale until the call site:
54 * template.locale(...).format(1234).toString(); // +1,234 meters in en-US
67 * formatter.locale(Locale.getEnglish()).format(9.8765).toString(); // prints "9.8765E0", not "9.88E0"
119 * since Fahrenheit is the customary unit for temperature in that locale.
182 * The exact format, including the position and the code point of the sign, differ by locale.
210 * Use the locale-dependent accounting format on negative numbers, and do not show the sign on positive numbers.
213 * The accounting format is defined in CLDR and varies by locale; in many Western locales, the format is a pair
226 * Use the locale-dependent accounting format on negative numbers, and show the plus sign on positive numbers
1317 Locale locale; member in struct:number::impl::MacroProps
    [all...]
  /external/icu/icu4c/source/test/cintltst/
cbiapts.c 239 log_err("No locale for which breakiterator is applicable\n");
241 log_verbose("A locale %s for which breakiterator is applicable\n",ubrk_getAvailable(i));
330 log_verbose("\nTesting open and close for us locale\n");
809 const char * locale; member in struct:__anon21526
830 for (testPtr = tailoringTests; testPtr->locale != NULL; ++testPtr) {
832 UBreakIterator* ubrkiter = ubrk_open(testPtr->type, testPtr->locale, testPtr->test, -1, &status);
1009 const char * locale; member in struct:__anon21528
    [all...]
cldrtest.c 78 UResourceBundle *currentBundle, const char *locale) {
93 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode));
101 log_err("Can't open a resource with key \"%s\" in \"%s\" from %s for locale \"%s\"\n",
105 locale);
110 log_err("key \"%s\" in \"%s\" has a different type from root for locale \"%s\"\n"
111 "\troot=%d, locale=%d\n",
114 locale,
130 log_err("Arrays are different size with key \"%s\" in \"%s\" from root for locale \"%s\"\n",
133 locale);
143 log_err("Value out of range with key \"%s\" at index %d in \"%s\" for locale \"%s\"\n"
1171 const char* locale = uenum_next(avail, NULL, &ec); local
    [all...]
usrchtst.c 2721 const char * locale; member in struct:__anon21662
2822 const char *locale; local
2925 const char *locale; local
    [all...]
  /external/icu/icu4c/source/test/intltest/
dtfmrgts.cpp 134 DateFormat::SHORT, Locale::getUS());
236 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("yyMMdd"), Locale::getUS(), status);
441 Locale saveLocale = Locale::getDefault();
446 Locale *curLocale = new Locale("de","DE");
447 Locale::setDefault(*curLocale, status);
448 failure(status, "Locale::setDefault");
492 logln("*** FOR LOCALE de OR de_DE IS MISSING ***");
496 Locale::setDefault(saveLocale, status)
1599 const char * locale; member in struct:__anon21694
1631 Locale locale = Locale::createFromName(itemPtr->locale); local
    [all...]
numberformattesttuple.h 88 Locale locale; member in class:NumberFormatTestTuple
strcase.cpp 74 Locale GREEK_LOCALE_;
145 test4.toLower(Locale(""));
151 test4.toLower(Locale("tr", "TR"));
161 test4.toUpper(Locale(""));
167 test4.toUpper(Locale("tr", "TR"));
174 test3.toUpper(Locale("de", "DE"));
181 test4.toLower(Locale("el", "GR"));
210 /* lowercase with root locale */
216 errln("error in toLower(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerRoot, UPRV_LENGTHOF(lowerRoot)) + "\"");
219 /* lowercase with turkish locale */
527 UnicodeString locale, input, output, optionsString, result; local
    [all...]
tmsgfmt.cpp 81 Locale locale[] = { local
82 Locale("ar", "", ""),
83 Locale("be", "", ""),
84 Locale("bg", "", ""),
85 Locale("ca", "", ""),
86 Locale("cs", "", ""),
87 Locale("da", "", ""),
88 Locale("de", "", ""),
89 Locale("de", "AT", "")
    [all...]
tzfmttst.cpp 140 const Locale testLocales[] = {
141 Locale("en"),
142 Locale("en_CA"),
143 Locale("fr"),
144 Locale("zh_Hant"),
145 Locale("fa"),
146 Locale("ccp")
149 const Locale *LOCALES;
156 LOCALES = Locale::getAvailableLocales(nLocales);
178 PATTERNS[patidx] + " for locale " + LOCALES[locidx].getName() + " - " + u_errorName(status))
718 const char* locale; member in struct:__anon21745
1020 const char* locale; member in struct:__anon21746
    [all...]
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/
RbnfDemo.java 45 import java.util.Locale;
87 spelloutFormatter = new RuleBasedNumberFormat(RbnfSampleRuleSets.usEnglish, Locale.US);
321 Locale locale = RbnfSampleRuleSets.sampleRuleSetLocales[item];
326 if (locale != null && (locale.getLanguage().equals("iw")
327 || locale.getLanguage().equals("ru") || locale.getLanguage().equals("ja")
328 || locale.getLanguage().equals("el")
329 || locale.getLanguage().equals("zh")))
406 Locale locale = RbnfSampleRuleSets.sampleRuleSetLocales[item]; local
    [all...]

Completed in 1084 milliseconds

<<11121314151617181920>>