Lines Matching refs:opt_locale
95 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()
670 if (setlocale(LC_ALL, opt_locale) == 0) { in main()
671 fprintf(stderr, "setlocale(LC_ALL, %s) failed.\n", opt_locale); in main()