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

<<11121314151617181920>>

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
HolidayTest.java 13 import java.util.Locale;
58 exerciseHolidays(holidays, Locale.getDefault());
62 // getHolidays(Locale)
90 Locale locale = LocaleUtility.getLocaleFromName(localeNames[i]); local
91 Holiday[] holidays = Holiday.getHolidays(locale);
92 exerciseHolidays(holidays, locale);
97 void exerciseHolidays(Holiday[] holidays, Locale locale) {
99 exerciseHoliday(holidays[i], locale);
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
CollationServiceTest.java 18 import java.util.Locale;
66 { // try create collator for new locale
83 errln("new locale fu_FU not reported as supported locale");
92 warnln("Could not load locale data.");
101 warnln("Could not load locale data.");
119 errln("new locale fu_FU not reported as supported locale");
135 ULocale locale; field in class:CollationServiceTest.CollatorInfo
137 Map displayNames; // locale -> strin
193 ULocale locale = (ULocale)iter.next(); local
497 String locale = PREFERRED[i][0]; local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
ICUDurationTest.java 280 final ULocale locale; field in class:ICUDurationTest.TestCase
287 locale = new ULocale(loc);
317 ULocale locale = tc.locale; local
320 DurationFormat df = DurationFormat.getInstance(locale);
324 logln("SUCCESS: locale: " + loc + ", from " + from + " ["+d.toString()+"] " +" to " + to + "= " + output);
326 logln("FAIL: locale: " + loc + ", from " + from + " ["+d.toString()+"] " +": expected " + to + " got " + output);
360 logln("PASS: caught missing resource exception on locale 'und'");
406 ULocale locale; field in class:ICUDurationTest.TestCase
409 TestCase(ULocale locale, int diffInSeconds, String expected)
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
ICUServiceThreadTest.java 20 import java.util.Locale;
62 public String getDisplayName(String idForDisplay, ULocale locale) {
63 return (visible && idForDisplay.equals(this.id)) ? "(" + locale.toString() + ") " + idForDisplay : null;
73 * uses the default collator for the locale as the comparator to
76 public static SortedMap getDisplayNames(ICUService service, ULocale locale) {
79 col = Collator.getInstance(locale.toLocale());
85 return service.getDisplayNames(locale, col, null);
93 return new Locale(c, l, v).toString();
274 ULocale locale; field in class:ICUServiceThreadTest.GetDisplayThread
276 GetDisplayThread(String name, ICUService service, long delay, ULocale locale) {
404 String locale = localeNames[i]; local
476 String locale = localeNames[i]; local
    [all...]
  /external/icu/icu4c/source/common/
ucnv_cnv.h 58 const char *pkg, *name, *locale; member in struct:__anon21281
  /external/icu/icu4c/source/layoutex/layout/
ParagraphLayout.h 381 * @param localeRuns is a pointer to a <code>LocaleRuns</code> object representing locale runs.
382 * The <code>Locale</code> objects are used to determind the language of the text. If this
383 * pointer is <code>NULL</code> the default locale will be used for all of the text.
570 const Locale *locale; member in struct:ParagraphLayout::StyleRunInfo
598 le_int32 getLanguageCode(const Locale *locale);
  /external/icu/icu4c/source/test/cintltst/
cdateintervalformattest.c 42 const char * locale; member in struct:__anon21554
75 for ( testItemPtr = testItems; testItemPtr->locale != NULL; ++testItemPtr ) {
90 udtitvfmt = udtitvfmt_open(testItemPtr->locale, skelBuf, -1, tzidBuf, tzidLen, &status);
102 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n",
103 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to,
107 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n",
108 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, myErrorName(status) );
112 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n",
113 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, myErrorName(status) );
256 const char * locale; member in struct:__anon21558
    [all...]
cmsgtst.c 1031 const char* locale = "hi_IN"; local
    [all...]
cstrcase.c 47 /* lowercase with root locale and separate buffers */
59 log_err("error in u_strToLower(root locale)=%ld error=%s string matches: %s\t\nlowerRoot=%s\t\nbuffer=%s\n",
68 /* lowercase with turkish locale and in the same buffer */
81 log_err("error in u_strToLower(turkish locale)=%ld error=%s string matches: %s\n",
99 log_err("error in u_strToLower(root locale preflighting)=%ld error=%s string matches: %s\n",
112 log_err("error in u_strToLower(root locale dest=NULL)=%ld error=%s\n",
126 log_err("error in u_strToLower(root locale destCapacity=-1)=%ld error=%s buffer[0]==0x%lx\n",
145 /* uppercase with root locale and in the same buffer */
157 log_err("error in u_strToUpper(root locale)=%ld error=%s string matches: %s\n",
163 /* uppercase with turkish locale and separate buffers *
733 const char *locale; local
    [all...]
udatpg_test.c 81 /* Open a DateTimePatternGenerator for the default locale. */
257 static const char locale[]= "fr"; local
346 generator=udatpg_open(locale, &status);
354 formatter = udat_open(UDAT_PATTERN, UDAT_PATTERN, locale, timeZoneGMT, -1,
379 const char * locale; member in struct:DTPtnGenOptionsData
419 UDateTimePatternGenerator * dtpgen = udatpg_open(testDataPtr->locale, &status);
429 log_err("ERROR udatpg_getBestPatternWithOptions, locale %s, skeleton %s, options 0x%04X, expected pattern %s, got %s, status %d\n",
430 testDataPtr->locale, u_austrncpy(skelBytes,testDataPtr->skel,kTestOptionsPatLenMax), testDataPtr->options,
436 log_data_err("ERROR udatpg_open failed for locale %s : %s - (Are you missing data?)\n", testDataPtr->locale, myErrorName(status))
    [all...]
  /external/icu/icu4c/source/test/intltest/
alphaindextst.cpp 88 AlphabeticIndex *index = new AlphabeticIndex(Locale::getEnglish(), status);
100 Collator::createInstance(Locale::getGerman(), status));
115 index = new AlphabeticIndex(Locale::getEnglish(), status);
129 // addLabels(Locale)
132 index = new AlphabeticIndex(Locale::getEnglish(), status);
134 AlphabeticIndex &aip = index->addLabels(Locale::getJapanese(), status);
145 index = new AlphabeticIndex(Locale::getGerman(), status);
147 Collator *germanCol = Collator::createInstance(Locale::getGerman(), status);
186 index = new AlphabeticIndex(Locale::getEnglish(), status);
214 index = new AlphabeticIndex(Locale::getEnglish(), status)
531 const char *locale = localeAndIndexCharacters[0]; local
    [all...]
locnmtst.cpp 95 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getGermany());
103 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS(), ULDN_DIALECT_NAMES);
111 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS());
122 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS());
132 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS());
142 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS());
152 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS());
164 ULocaleDisplayNames *ldn = uldn_open(Locale::getGermany().getName(), ULDN_STANDARD_NAMES, &status);
172 // make sure that NULL gives us the default locale as usual
174 const char *locale = uldn_getLocale(ldn) local
    [all...]
plurfmts.cpp 56 Locale locale = Locale::getDefault(); local
68 dataerrln("ERROR: Could not create NumberFormat instance with default locale ");
76 plFmt[2] = new PluralFormat(locale, status[2]);
77 plFmt[3] = new PluralFormat(locale, *plRules, status[3]);
80 plFmt[6] = new PluralFormat(locale, otherPattern, status[6]);
81 plFmt[7] = new PluralFormat(locale, *plRules, otherPattern, status[7]);
98 plFmt[1]= new PluralFormat(locale, status[1]);
113 plFmt[0]= new PluralFormat(locale, status[0])
756 const char *locale = localeArray[i]; local
    [all...]
plurults.cpp 127 logln("\n start default locale test case ..\n");
135 LocalPointer<PluralRules> newEnPlural(test->forLocale(Locale::getEnglish(), status), status);
250 // ====== Test fallback to parent locale
251 LocalPointer<PluralRules> en_UK(test->forLocale(Locale::getUK(), status));
252 LocalPointer<PluralRules> en(test->forLocale(Locale::getEnglish(), status));
255 errln("ERROR: test locale fallback failed!");
259 LocalPointer<PluralRules> zh_Hant(test->forLocale(Locale::getTaiwan(), status));
260 LocalPointer<PluralRules> zh(test->forLocale(Locale::getChinese(), status));
263 errln("ERROR: test locale fallback failed!");
387 // test every locale..
854 const char *locale = localesEnum->next(NULL, status); local
897 Locale locale = Locale::createFromName(localeName); local
    [all...]
restest.cpp 93 Locale *locale; member in struct:__anon21731
157 Don't use more than one of these at a time because of the Locale names
163 if (param[5].locale == NULL) {
164 param[0].locale = new Locale("root");
165 param[1].locale = new Locale("te");
166 param[2].locale = new Locale("te", "IN")
498 const char* locale = uloc_getAvailable(locIndex); local
594 Locale locale; local
    [all...]
svccoll.cpp 21 #include "cstring.h" // internal api used to compare locale strings
38 const Locale& FR = Locale::getFrance();
39 const Locale& US = Locale::getUS();
40 const Locale US_FOO("en", "US", "FOO");
65 // The requested locale may be the same as the valid locale,
67 Locale loc = ncol->getLocale(ULOC_REQUESTED_LOCALE, status);
69 errln(UnicodeString("requested locale for en_US_FOO is not en_US_FOO nor en_US but ") + loc.getName())
219 Locale locale; member in struct:CollatorInfo
    [all...]
  /external/icu/icu4c/source/test/perf/DateFmtPerf/
DateFmtPerf.h 89 boundary = BreakIterator::createCharacterInstance(Locale::getUS(), *status);
150 char locale[25]; member in class:DateFmtFunction
161 strcpy(locale, loc);
178 Locale loc(locale);
244 char locale[25]; member in class:DateFmtCreateFunction
250 strcpy(locale, loc);
256 Locale loc(locale);
278 char locale[25] member in class:DateFmtCopyFunction
325 char locale[25]; member in class:DIFCreateFunction
380 char locale[25]; member in class:TimeZoneCreateFunction
424 char locale[25]; member in class:DTPatternGeneratorCreateFunction
469 char locale[25]; member in class:DTPatternGeneratorCopyFunction
516 char locale[25]; member in class:DTPatternGeneratorBestValueFunction
564 char locale[25]; member in class:NumFmtFunction
693 char locale[25]; member in class:StdioNumFmtFunction
752 char locale[25]; member in class:CollationFunction
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
MessageFormat.java 25 import java.util.Locale;
60 * itself doesn't implement locale-specific behavior. Any locale-specific
402 * @see java.util.Locale
430 * Constructs a MessageFormat for the default locale and the
432 * The constructor first sets the locale, then parses the pattern and
446 * Constructs a MessageFormat for the specified locale and
448 * The constructor first sets the locale, then parses the pattern and
454 * @param locale the locale for this message forma
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
KeyTypeData.java 9 package com.ibm.icu.impl.locale;
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
TimeUnitFormat.java 16 import java.util.Locale;
47 * // set the locale of time unit format
91 private ULocale locale; field in class:TimeUnitFormat
127 * @param locale locale of this time unit formatter.
131 public TimeUnitFormat(ULocale locale) {
132 this(locale, FULL_NAME);
136 * Create TimeUnitFormat given a Locale, and using full name style.
137 * @param locale locale of this time unit formatter
371 ULocale locale; field in class:TimeUnitFormat.TimeUnitFormatSetupSink
    [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
CollationServiceTest.java 17 import java.util.Locale;
63 { // try create collator for new locale
80 errln("new locale fu_FU not reported as supported locale");
89 warnln("Could not load locale data.");
98 warnln("Could not load locale data.");
116 errln("new locale fu_FU not reported as supported locale");
132 ULocale locale; field in class:CollationServiceTest.CollatorInfo
134 Map displayNames; // locale -> strin
190 ULocale locale = (ULocale)iter.next(); local
494 String locale = PREFERRED[i][0]; local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
HolidayTest.java 12 import java.util.Locale;
55 exerciseHolidays(holidays, Locale.getDefault());
59 // getHolidays(Locale)
87 Locale locale = LocaleUtility.getLocaleFromName(localeNames[i]); local
88 Holiday[] holidays = Holiday.getHolidays(locale);
89 exerciseHolidays(holidays, locale);
94 void exerciseHolidays(Holiday[] holidays, Locale locale) {
96 exerciseHoliday(holidays[i], locale);
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
ICUDurationTest.java 277 final ULocale locale; field in class:ICUDurationTest.TestCase
284 locale = new ULocale(loc);
314 ULocale locale = tc.locale; local
317 DurationFormat df = DurationFormat.getInstance(locale);
321 logln("SUCCESS: locale: " + loc + ", from " + from + " ["+d.toString()+"] " +" to " + to + "= " + output);
323 logln("FAIL: locale: " + loc + ", from " + from + " ["+d.toString()+"] " +": expected " + to + " got " + output);
357 logln("PASS: caught missing resource exception on locale 'und'");
403 ULocale locale; field in class:ICUDurationTest.TestCase
406 TestCase(ULocale locale, int diffInSeconds, String expected)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
ICUServiceThreadTest.java 19 import java.util.Locale;
59 public String getDisplayName(String idForDisplay, ULocale locale) {
60 return (visible && idForDisplay.equals(this.id)) ? "(" + locale.toString() + ") " + idForDisplay : null;
70 * uses the default collator for the locale as the comparator to
73 public static SortedMap getDisplayNames(ICUService service, ULocale locale) {
76 col = Collator.getInstance(locale.toLocale());
82 return service.getDisplayNames(locale, col, null);
90 return new Locale(c, l, v).toString();
271 ULocale locale; field in class:ICUServiceThreadTest.GetDisplayThread
273 GetDisplayThread(String name, ICUService service, long delay, ULocale locale) {
401 String locale = localeNames[i]; local
473 String locale = localeNames[i]; local
    [all...]
  /external/libcups/cups/
language.c 117 const char * const locale; /* Locale ID */ member in struct:__anon24477
121 { /* Language to locale ID LUT */
149 static cups_array_t *appleMessageLoad(const char *locale)
165 * locale ID.
169 _cupsAppleLanguage(const char *locale, /* I - Locale ID */
174 CFStringRef localeid, /* CF locale identifier */
179 * Copy the locale name and convert, as needed, to the Apple-specific
180 * locale identifier..
456 char locale[255]; \/* Copy of locale name *\/ local
    [all...]

Completed in 545 milliseconds

<<11121314151617181920>>