Home
last modified time | relevance | path

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

/external/icu4c/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/icu4c/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/icu4c/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()