Home
last modified time | relevance | path

Searched refs:opt_locale (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperfold.cpp100 char * opt_locale = "en_US"; variable
136 {"-locale", OptSpec::STRING, &opt_locale},
185 status = LocaleRefFromLocaleString(opt_locale, &lref); in createMACBrkIt()
209 brkit = BreakIterator::createCharacterInstance(opt_locale, status); in createICUBrkIt()
211 brkit = BreakIterator::createWordInstance(opt_locale, status); in createICUBrkIt()
213 brkit = BreakIterator::createLineInstance(opt_locale, status); in createICUBrkIt()
215 brkit = BreakIterator::createSentenceInstance(opt_locale, status); in createICUBrkIt()
218 brkit = BreakIterator::createCharacterInstance(opt_locale, status); in createICUBrkIt()
221 fprintf(stderr, "Warning, U_USING_DEFAULT_WARNING for %s\n", opt_locale); in createICUBrkIt()
224 fprintf(stderr, "Warning, U_USING_FALLBACK_ERROR for %s\n", opt_locale); in createICUBrkIt()
[all …]
Dubrkperf.cpp42 status = LocaleRefFromLocaleString(opt_locale, &lref);
/external/icu/icu4c/source/samples/coll/
Dcoll.cpp48 char * opt_locale = "en_US"; variable
72 {"-locale", OptSpec::STRING, &opt_locale},
174 collator = ucol_open(opt_locale, &status); in processCollator()
182 opt_locale); in processCollator()
186 opt_locale); in processCollator()
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp50 char * opt_locale = "en_US"; variable
80 {"-locale", OptSpec::STRING, &opt_locale},
164 collator = ucol_open(opt_locale, &status); in processCollator()
172 opt_locale); in processCollator()
176 opt_locale); in processCollator()
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp110 const char * opt_locale = "en_US"; variable
152 {"-locale", OptSpec::STRING, &opt_locale},
1448 gCol = ucol_open(opt_locale, &status); in main()
1455 fprintf(stderr, "Warning, U_USING_DEFAULT_WARNING for %s\n", opt_locale); in main()
1458 fprintf(stderr, "Warning, U_USING_FALLBACK_ERROR for %s\n", opt_locale); in main()
1522 gWinLCID = uloc_getLCID(opt_locale); in main()
1530 if (setlocale(LC_ALL, opt_locale) == 0) { in main()
1531 fprintf(stderr, "setlocale(LC_ALL, %s) failed.\n", opt_locale); in main()
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java95 static String opt_locale = "en_US"; field in CollationPerformanceTest
843 LocaleUtility.getLocaleFromName(opt_locale)); in setOptions()
847 LocaleUtility.getLocaleFromName(opt_locale)); in setOptions()
948 opt_locale = temp_opt_locale.toString(); in processOptions()