Searched refs:testLocale (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtsdate.h31 * call testLocale for all locales
36 * call tryDate with variations, called by testLocale
46 void testLocale(/*char *par, */const Locale&, const UnicodeString&);
H A Dtsnmfmt.h30 * call tryIt with many variations, called by testLocale
46 * call testLocale for all locales
52 void testLocale(/* char *par, */const Locale& locale, const UnicodeString& localeName);
H A Dwinnmtst.cpp229 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestLog *log) function
298 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log);
299 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log);
306 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log);
307 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log);
H A Dicusvtst.h33 void testLocale(void);
H A Dloctest.cpp243 Locale testLocale("");
245 testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i], rawData[VAR][i]);
248 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]);
250 logln("Testing " + (UnicodeString)testLocale.getName() + "...");
252 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i]))
255 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i]))
258 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i]))
261 if ( (temp=testLocale.getVariant()) != (dataTable[VAR][i]))
264 if ( (temp=testLocale.getName()) != (dataTable[NAME][i]))
271 Locale testLocale("");
[all...]
H A Dtsdate.cpp44 testLocale(/*par, */Locale::getDefault(), "Default Locale");
67 IntlTestDateFormat::testLocale(/*char* par, */const Locale& locale, const UnicodeString& localeName) function in class:IntlTestDateFormat
283 testLocale(/*par, */locales[i], name);
H A Ddtifmtts.cpp1328 const char* testLocale[][3] = { local
1371 for ( localeIndex = 0; localeIndex < ARRAY_SIZE(testLocale); ++localeIndex ) {
1373 uprv_strcpy(locName, testLocale[localeIndex][0]);
1374 uprv_strcat(locName, testLocale[localeIndex][1]);
1375 stress(DATA, ARRAY_SIZE(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2]), locName);
H A Dtsnmfmt.cpp53 if (exec) testLocale(/*par, */Locale::getDefault(), name);
75 IntlTestNumberFormat::testLocale(/* char* par, */const Locale& locale, const UnicodeString& localeName) function in class:IntlTestNumberFormat
445 testLocale(/* par, */locales[i], name);
H A Ddtptngts.cpp65 const char* testLocale[MAX_LOCALE][4] = { local
628 Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], testLocale[localeIndex][3]);
629 logln("\n\n Locale: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], testLocale[localeIndex][3]);
H A Dicusvtst.cpp147 TESTCASE(4,testLocale);
1035 void ICUServiceTest::testLocale() { function in class:ICUServiceTest
/external/icu/icu4c/source/test/intltest/
H A Dtsdate.h31 * call testLocale for all locales
36 * call tryDate with variations, called by testLocale
46 void testLocale(/*char *par, */const Locale&, const UnicodeString&);
H A Dtsnmfmt.h30 * call tryIt with many variations, called by testLocale
46 * call testLocale for all locales
52 void testLocale(/* char *par, */const Locale& locale, const UnicodeString& localeName);
H A Dwinnmtst.cpp229 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestLog *log) function
298 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log);
299 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log);
306 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log);
307 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log);
H A Dicusvtst.h33 void testLocale(void);
H A Dloctest.cpp243 Locale testLocale("");
245 testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i], rawData[VAR][i]);
248 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]);
250 logln("Testing " + (UnicodeString)testLocale.getName() + "...");
252 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i]))
255 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i]))
258 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i]))
261 if ( (temp=testLocale.getVariant()) != (dataTable[VAR][i]))
264 if ( (temp=testLocale.getName()) != (dataTable[NAME][i]))
271 Locale testLocale("");
[all...]
H A Dtsdate.cpp44 testLocale(/*par, */Locale::getDefault(), "Default Locale");
67 IntlTestDateFormat::testLocale(/*char* par, */const Locale& locale, const UnicodeString& localeName) function in class:IntlTestDateFormat
283 testLocale(/*par, */locales[i], name);
H A Ddtifmtts.cpp1328 const char* testLocale[][3] = { local
1371 for ( localeIndex = 0; localeIndex < ARRAY_SIZE(testLocale); ++localeIndex ) {
1373 uprv_strcpy(locName, testLocale[localeIndex][0]);
1374 uprv_strcat(locName, testLocale[localeIndex][1]);
1375 stress(DATA, ARRAY_SIZE(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2]), locName);
H A Dtsnmfmt.cpp53 if (exec) testLocale(/*par, */Locale::getDefault(), name);
75 IntlTestNumberFormat::testLocale(/* char* par, */const Locale& locale, const UnicodeString& localeName) function in class:IntlTestNumberFormat
445 testLocale(/* par, */locales[i], name);
H A Ddtptngts.cpp65 const char* testLocale[MAX_LOCALE][4] = { local
628 Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], testLocale[localeIndex][3]);
629 logln("\n\n Locale: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], testLocale[localeIndex][3]);
H A Dicusvtst.cpp147 TESTCASE(4,testLocale);
1035 void ICUServiceTest::testLocale() { function in class:ICUServiceTest
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcloctst.c259 char *testLocale = 0; local
263 testLocale=(char*)malloc(sizeof(char) * (strlen(rawData2[NAME][i])+1));
264 strcpy(testLocale,rawData2[NAME][i]);
266 log_verbose("Testing %s .....\n", testLocale);
267 cap=uloc_getLanguage(testLocale, NULL, 0, &status);
271 uloc_getLanguage(testLocale, temp, cap+1, &status);
281 cap=uloc_getCountry(testLocale, temp, cap, &status);
285 uloc_getCountry(testLocale, temp, cap+1, &status);
295 cap=uloc_getVariant(testLocale, temp, cap, &status);
299 uloc_getVariant(testLocale, tem
526 char* testLocale = 0; local
864 const char *testLocale; local
3108 const char* testLocale = 0; local
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcloctst.c259 char *testLocale = 0; local
263 testLocale=(char*)malloc(sizeof(char) * (strlen(rawData2[NAME][i])+1));
264 strcpy(testLocale,rawData2[NAME][i]);
266 log_verbose("Testing %s .....\n", testLocale);
267 cap=uloc_getLanguage(testLocale, NULL, 0, &status);
271 uloc_getLanguage(testLocale, temp, cap+1, &status);
281 cap=uloc_getCountry(testLocale, temp, cap, &status);
285 uloc_getCountry(testLocale, temp, cap+1, &status);
295 cap=uloc_getVariant(testLocale, temp, cap, &status);
299 uloc_getVariant(testLocale, tem
526 char* testLocale = 0; local
864 const char *testLocale; local
3109 const char* testLocale = 0; local
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dextension_service_unittest.cc5093 extension_l10n_util::ScopedLocaleForTest testLocale("en");

Completed in 3671 milliseconds