Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperfold.cpp95 char * opt_locale = "en_US"; variable
131 {"-locale", OptSpec::STRING, &opt_locale},
180 status = LocaleRefFromLocaleString(opt_locale, &lref); in createMACBrkIt()
204 brkit = BreakIterator::createCharacterInstance(opt_locale, status); in createICUBrkIt()
206 brkit = BreakIterator::createWordInstance(opt_locale, status); in createICUBrkIt()
208 brkit = BreakIterator::createLineInstance(opt_locale, status); in createICUBrkIt()
210 brkit = BreakIterator::createSentenceInstance(opt_locale, status); in createICUBrkIt()
213 brkit = BreakIterator::createCharacterInstance(opt_locale, status); in createICUBrkIt()
216 fprintf(stderr, "Warning, U_USING_DEFAULT_WARNING for %s\n", opt_locale); in createICUBrkIt()
219 fprintf(stderr, "Warning, U_USING_FALLBACK_ERROR for %s\n", opt_locale); in createICUBrkIt()
[all …]
Dubrkperf.cpp36 status = LocaleRefFromLocaleString(opt_locale, &lref);
/external/icu/icu4c/source/samples/coll/
Dcoll.cpp42 char * opt_locale = "en_US"; variable
66 {"-locale", OptSpec::STRING, &opt_locale},
168 collator = ucol_open(opt_locale, &status); in processCollator()
176 opt_locale); in processCollator()
180 opt_locale); in processCollator()
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp45 char * opt_locale = "en_US"; variable
75 {"-locale", OptSpec::STRING, &opt_locale},
159 collator = ucol_open(opt_locale, &status); in processCollator()
167 opt_locale); in processCollator()
171 opt_locale); in processCollator()
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp106 const char * opt_locale = "en_US"; variable
148 {"-locale", OptSpec::STRING, &opt_locale},
1445 gCol = ucol_open(opt_locale, &status); in main()
1452 fprintf(stderr, "Warning, U_USING_DEFAULT_WARNING for %s\n", opt_locale); in main()
1455 fprintf(stderr, "Warning, U_USING_FALLBACK_ERROR for %s\n", opt_locale); in main()
1519 gWinLCID = uloc_getLCID(opt_locale); in main()
1527 if (setlocale(LC_ALL, opt_locale) == 0) { in main()
1528 fprintf(stderr, "setlocale(LC_ALL, %s) failed.\n", opt_locale); in main()