Searched defs:locales (Results 1 - 25 of 35) sorted by relevance

12

/external/chromium/third_party/icu/source/test/cintltst/
H A Dcg7coll.c54 const char* locales[8] = { variable
143 log_verbose("Testing ucol_openRules for all the locales\n");
147 myCollation = ucol_open(locales[i], &status);
153 log_err_status(status, "Error in creating collator in %s: %s\n", locales[i], myErrorName(status));
164 log_err_status(status, "Error in creating collator in %s: %s\n", locales[i], myErrorName(status));
169 log_verbose("Locale %s\n", locales[i]);
/external/chromium/third_party/icu/source/test/intltest/
H A Dg7coll.cpp83 const Locale locales[8] = { local
102 myCollation = Collator::createInstance(locales[i], status);
115 msg += locales[i].getDisplayName(dispName);
130 msg += locales[i].getDisplayName(name);
140 msg += locales[i].getDisplayName(dispName);
H A Dtufmtts.cpp36 const char* locales[] = {"en", "sl", "fr", "zh", "ar", "ru", "zh_Hant"}; local
38 locIndex < sizeof(locales)/sizeof(locales[0]);
41 Locale loc(locales[locIndex]);
48 std::cout << "locale: " << locales[locIndex] << "\n";
H A Ddtfmapts.cpp184 const Locale *locales = DateFormat::getAvailableLocales(count); local
185 logln((UnicodeString) "Got " + count + " locales" );
188 name = locales[i].getName();
H A Dtsdate.cpp253 const Locale* locales = DateFormat::getAvailableLocales(count); local
254 logln((UnicodeString)"" + count + " available locales");
255 if (locales && count)
262 all += locales[i].getName();
266 else dataerrln((UnicodeString)"**** FAIL: Zero available locales or null array pointer");
272 const Locale* locales = DateFormat::getAvailableLocales(count); local
273 if (locales && count)
276 logln("quick test: testing just 3 locales!");
281 UnicodeString name = UnicodeString(locales[i].getName(), "");
283 testLocale(/*par, */locales[
[all...]
H A Dnmfmapts.cpp190 const Locale *locales = NumberFormat::getAvailableLocales(count); local
191 logln((UnicodeString) "Got " + count + " locales" );
193 UnicodeString name(locales[i].getName(),"");
H A Dtsnmfmt.cpp389 const Locale* locales = NumberFormat::getAvailableLocales(count); local
390 logln((UnicodeString)"" + count + " available locales");
391 if (locales && count)
399 all += locales[i].getName();
404 dataerrln((UnicodeString)"**** FAIL: Zero available locales or null array pointer");
412 Locale* locales = (Locale*)allLocales; local
417 logln("quick test: testing just 6 locales!");
419 locales = quickLocales;
420 locales[0] = allLocales[0];
421 locales[
[all...]
H A Ditrbnf.cpp1809 // For non-exhaustive mode, we only test a few locales.
1814 const Locale* locales = Locale::getAvailableLocales(count); local
1816 const Locale* loc = &locales[i];
H A Dregcoll.cpp928 const Locale *locales = Locale::getAvailableLocales(localeCount); local
935 c = Collator::createInstance(locales[i], status);
942 msg += locales[i].getName();
H A Dicusvtst.cpp1193 StringEnumeration* locales = service.getAvailableLocales(); local
1194 if (locales) {
1195 confirmIdentical("test available locales", locales->count(status), 6);
1196 logln("locales: ");
1199 while ((p = locales->next(NULL, status))) {
1204 delete locales;
1206 errln("could not create available locales");
/external/icu4c/layoutex/layout/
H A DRunArrays.h411 * Construct a <code>LocaleRuns</code> object from pre-existing arrays of locales
414 * @param locales is the address of an array of pointers to <code>Locale</code> objects. This array,
425 inline LocaleRuns(const Locale **locales, const le_int32 *limits, le_int32 count);
535 inline LocaleRuns::LocaleRuns(const Locale **locales, const le_int32 *limits, le_int32 count) argument
536 : RunArray(limits, count), fLocales(locales)
/external/icu4c/test/cintltst/
H A Dcg7coll.c54 const char* locales[8] = { variable
147 log_verbose("Testing ucol_openRules for all the locales\n");
151 myCollation = ucol_open(locales[i], &status);
157 log_err_status(status, "Error in creating collator in %s: %s\n", locales[i], myErrorName(status));
168 log_err_status(status, "Error in creating collator in %s: %s\n", locales[i], myErrorName(status));
173 log_verbose("Locale %s\n", locales[i]);
/external/icu4c/test/intltest/
H A Dg7coll.cpp83 const Locale locales[8] = { local
102 myCollation = Collator::createInstance(locales[i], status);
115 msg += locales[i].getDisplayName(dispName);
130 msg += locales[i].getDisplayName(name);
140 msg += locales[i].getDisplayName(dispName);
H A Dtufmtts.cpp36 const char* locales[] = {"en", "sl", "fr", "zh", "ar", "ru", "zh_Hant"}; local
38 locIndex < sizeof(locales)/sizeof(locales[0]);
41 Locale loc(locales[locIndex]);
48 std::cout << "locale: " << locales[locIndex] << "\n";
H A Dtsdate.cpp253 const Locale* locales = DateFormat::getAvailableLocales(count); local
254 logln((UnicodeString)"" + count + " available locales");
255 if (locales && count)
262 all += locales[i].getName();
266 else dataerrln((UnicodeString)"**** FAIL: Zero available locales or null array pointer");
272 const Locale* locales = DateFormat::getAvailableLocales(count); local
273 if (locales && count)
276 logln("quick test: testing just 3 locales!");
281 UnicodeString name = UnicodeString(locales[i].getName(), "");
283 testLocale(/*par, */locales[
[all...]
H A Ddtfmapts.cpp213 const Locale *locales = DateFormat::getAvailableLocales(count); local
214 logln((UnicodeString) "Got " + count + " locales" );
217 name = locales[i].getName();
H A Dnmfmapts.cpp190 const Locale *locales = NumberFormat::getAvailableLocales(count); local
191 logln((UnicodeString) "Got " + count + " locales" );
193 UnicodeString name(locales[i].getName(),"");
H A Dtsnmfmt.cpp389 const Locale* locales = NumberFormat::getAvailableLocales(count); local
390 logln((UnicodeString)"" + count + " available locales");
391 if (locales && count)
399 all += locales[i].getName();
404 dataerrln((UnicodeString)"**** FAIL: Zero available locales or null array pointer");
412 Locale* locales = (Locale*)allLocales; local
417 logln("quick test: testing just 6 locales!");
419 locales = quickLocales;
420 locales[0] = allLocales[0];
421 locales[
[all...]
H A Dtzfmttst.cpp86 // Set up test locales
246 const Locale* locales; // Static member in struct:LocaleData
311 log.logln((UnicodeString) "\nThread " + index + ": Locale: " + UnicodeString(data.locales[locidx].getName()));
320 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, data.locales[locidx], status);
323 pattern + " for locale " + data.locales[locidx].getName() + " - " + u_errorName(status));
397 log.errln((UnicodeString) "Parse failure for text=" + text + ", tzid=" + *tzid + ", locale=" + data.locales[locidx].getName()
403 UnicodeString msg = (UnicodeString) "Time round trip failed for " + "tzid=" + *tzid + ", locale=" + data.locales[locidx].getName() + ", pattern=" + PATTERNS[patidx]
480 // Set up test locales
508 data.locales = LOCALES;
H A Ditrbnf.cpp1806 // For non-exhaustive mode, we only test a few locales.
1811 const Locale* locales = Locale::getAvailableLocales(count); local
1813 const Locale* loc = &locales[i];
H A Dregcoll.cpp930 const Locale *locales = Locale::getAvailableLocales(localeCount); local
937 c = Collator::createInstance(locales[i], status);
944 msg += locales[i].getName();
/external/icu4c/layoutex/
H A DRunArrays.cpp161 Locale **locales = (Locale **) fLocales; local
163 locales[index] = (Locale *) locale;
H A Dplruns.cpp215 * Construct a <code>LocaleRuns</code> object from pre-existing arrays of locales
218 * @param locales is the address of an array of locale name strings. This array,
229 ULocRuns(const char **locales, const le_int32 *limits, le_int32 count);
331 Locale **locales = LE_NEW_ARRAY(Locale *, count); local
334 locales[i] = new Locale(Locale::createFromName(localeNames[i]));
337 return (const Locale **) locales;
340 ULocRuns::ULocRuns(const char **locales, const le_int32 *limits, le_int32 count) argument
341 : LocaleRuns(getLocales(locales, count), limits, count), fLocaleNames(locales)
409 pl_openLocaleRuns(const char **locales, argument
[all...]
/external/icu4c/samples/layout/
H A Dparagraph.cpp91 LocaleRuns *locales = NULL; local
115 paragraphLayout = new ParagraphLayout(pStart, pEnd - pStart, &fr, NULL, NULL, locales, fParagraphLevel, FALSE, status);
H A Dpflow.c114 pl_localeRuns *locales = NULL; local
143 locales = pl_openEmptyLocaleRuns(0);
168 pl_resetLocaleRuns(locales);
169 pl_addLocaleRun(locales, TEST_LOCALE, pEnd - pStart);
172 paragraphLayout = pl_create(pStart, pEnd - pStart, fr, NULL, NULL, locales, flow->fParagraphLevel, FALSE, status);
216 pl_closeLocaleRuns(locales);

Completed in 424 milliseconds

12