Lines Matching refs:opt_locale
95 char * opt_locale = "en_US";
96 int opt_langid = 0; // Defaults to value corresponding to opt_locale.
131 {"-locale", OptSpec::STRING, &opt_locale},
180 status = LocaleRefFromLocaleString(opt_locale, &lref);
190 // brkit = BreakIterator::createSentenceInstance(opt_locale, status);
204 brkit = BreakIterator::createCharacterInstance(opt_locale, status);
206 brkit = BreakIterator::createWordInstance(opt_locale, status);
208 brkit = BreakIterator::createLineInstance(opt_locale, status);
210 brkit = BreakIterator::createSentenceInstance(opt_locale, status);
213 brkit = BreakIterator::createCharacterInstance(opt_locale, status);
216 fprintf(stderr, "Warning, U_USING_DEFAULT_WARNING for %s\n", opt_locale);
219 fprintf(stderr, "Warning, U_USING_FALLBACK_ERROR for %s\n", opt_locale);
662 gWinLCID = uloc_getLCID(opt_locale);
670 if (setlocale(LC_ALL, opt_locale) == 0) {
671 fprintf(stderr, "setlocale(LC_ALL, %s) failed.\n", opt_locale);