Searched defs:locale (Results 126 - 150 of 549) sorted by relevance

1234567891011>>

/external/chromium_org/chromeos/login/auth/
H A Duser_context.cc138 void UserContext::SetPublicSessionLocale(const std::string& locale) { argument
139 public_session_locale_ = locale;
/external/chromium_org/components/feedback/
H A Dfeedback_common.h73 std::string locale() const { return locale_; } function in class:FeedbackCommon
94 void set_locale(const std::string& locale) { locale_ = locale; } argument
/external/chromium_org/components/variations/
H A Dstudy_filtering.cc102 bool CheckStudyLocale(const Study_Filter& filter, const std::string& locale) { argument
103 // An empty locale list matches all locales.
108 if (filter.locale(i) == locale)
164 const std::string& locale,
182 if (!CheckStudyLocale(study.filter(), locale)) {
183 DVLOG(1) << "Filtered out study " << study.name() << " due to locale.";
218 const std::string& locale,
236 if (!internal::ShouldAddStudy(study, locale, reference_date, version,
162 ShouldAddStudy( const Study& study, const std::string& locale, const base::Time& reference_date, const base::Version& version, Study_Channel channel, Study_FormFactor form_factor, const std::string& hardware_class) argument
216 FilterAndValidateStudies( const VariationsSeed& seed, const std::string& locale, const base::Time& reference_date, const base::Version& version, Study_Channel channel, Study_FormFactor form_factor, const std::string& hardware_class, std::vector<ProcessedStudy>* filtered_studies) argument
H A Dvariations_seed_processor.cc84 const std::string& locale,
92 FilterAndValidateStudies(seed, locale, reference_date, version, channel,
82 CreateTrialsFromSeed( const VariationsSeed& seed, const std::string& locale, const base::Time& reference_date, const base::Version& version, Study_Channel channel, Study_FormFactor form_factor, const std::string& hardware_class, const UIStringOverrideCallback& override_callback) argument
H A Dvariations_seed_simulator.cc113 const std::string& locale,
120 FilterAndValidateStudies(seed, locale, reference_date, version, channel,
111 SimulateSeedStudies( const VariationsSeed& seed, const std::string& locale, const base::Time& reference_date, const base::Version& version, Study_Channel channel, Study_FormFactor form_factor, const std::string& hardware_class) argument
/external/chromium_org/extensions/common/
H A Dextension_l10n_util_unittest.cc36 base::FilePath locale = src_path.AppendASCII("ms"); local
37 ASSERT_TRUE(base::CreateDirectory(locale));
39 base::FilePath messages_file = locale.Append(kMessagesFilename);
90 // Supported locale.
96 // Unsupported locale.
166 base::FilePath locale = src_path.AppendASCII("sr"); local
167 ASSERT_TRUE(base::CreateDirectory(locale));
170 base::FilePath messages_file = locale.Append(kMessagesFilename);
626 // Try with all data present, but with same current_locale as system locale.
/external/chromium_org/net/base/
H A Dfilename_util_unittest.cc422 // This test doesn't run when the locale is not UTF-8 because some of the
425 std::string locale = setlocale(LC_CTYPE, NULL); local
426 base::StringToLowerASCII(&locale);
427 EXPECT_TRUE(locale.find("utf-8") != std::string::npos ||
428 locale.find("utf8") != std::string::npos)
429 << "Your locale (" << locale << ") must be set to UTF-8 "
/external/chromium_org/third_party/WebKit/Source/core/html/ime/
H A DInputMethodContext.cpp56 String InputMethodContext::locale() const function in class:blink::InputMethodContext
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontDescription.cpp42 String locale; member in struct:blink::SameSizeAsFontDescription
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
H A DFontFallbackWin.cpp191 // Initialize the locale-dependent mapping.
192 // Since Chrome synchronizes the ICU default locale with its UI locale,
193 // this ICU locale tells the current UI locale of Chrome.
194 icu::Locale locale = icu::Locale::getDefault(); local
196 if (locale == icu::Locale::getJapanese()) {
198 } else if (locale == icu::Locale::getKorean()) {
200 } else if (locale == icu::Locale::getTraditionalChinese()) {
310 // Han (determined in a locale
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DTextBreakIterator.h45 PLATFORM_EXPORT TextBreakIterator* acquireLineBreakIterator(const LChar*, int length, const AtomicString& locale, const UChar* priorContext, unsigned priorContextLength);
46 PLATFORM_EXPORT TextBreakIterator* acquireLineBreakIterator(const UChar*, int length, const AtomicString& locale, const UChar* priorContext, unsigned priorContextLength);
64 LazyLineBreakIterator(String string, const AtomicString& locale = AtomicString())
66 , m_locale(locale)
148 void resetStringAndReleaseIterator(String string, const AtomicString& locale) argument
154 m_locale = locale;
/external/chromium_org/third_party/WebKit/Source/web/
H A DColorChooserPopupUIController.cpp100 PagePopupClient::addProperty("otherColorLabel", locale().queryString(WebLocalizedString::OtherColorLabel), data);
108 Locale& ColorChooserPopupUIController::locale() function in class:blink::ColorChooserPopupUIController
H A DDateTimeChooserImpl.cpp54 , m_locale(Locale::create(parameters.locale))
113 todayLabelString = locale().queryString(WebLocalizedString::ThisMonthButtonLabel);
114 otherDateLabelString = locale().queryString(WebLocalizedString::OtherMonthLabel);
116 todayLabelString = locale().queryString(WebLocalizedString::ThisWeekButtonLabel);
117 otherDateLabelString = locale().queryString(WebLocalizedString::OtherWeekLabel);
119 todayLabelString = locale().queryString(WebLocalizedString::CalendarToday);
120 otherDateLabelString = locale().queryString(WebLocalizedString::OtherDateLabel);
137 addProperty("locale", m_parameters.locale.string(), data);
139 addProperty("clearLabel", locale()
181 Locale& DateTimeChooserImpl::locale() function in class:blink::DateTimeChooserImpl
[all...]
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DLocaleICUTest.cpp92 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
93 return locale->monthFormat();
98 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
99 return locale->timeFormat();
104 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
105 return locale->shortTimeFormat();
110 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
111 return locale->shortMonthLabels()[index];
116 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
117 return locale
122 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
128 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
134 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
229 OwnPtr<Locale> locale = Locale::create(localeIdentifier); local
242 OwnPtr<Locale> locale = Locale::create(localeIdentifier); local
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DWTFStringTest.cpp259 const char* locale = testDataList[i].localeList[j]; local
260 EXPECT_STREQ(expected, source.upper(locale).utf8().data()) << testDataList[i].sourceDescription << "; locale=" << locale;
312 const char* locale = testDataList[i].localeList[j]; local
313 EXPECT_STREQ(expected, source.lower(locale).utf8().data()) << testDataList[i].sourceDescription << "; locale=" << locale;
/external/chromium_org/third_party/icu/source/common/
H A Dlocutil.cpp137 * Hack: Since ICU code can handle locale IDs with multiple encodings
146 * There should be only at most one '@' in a locale ID.
171 LocaleUtility::initNameFromLocale(const Locale& locale, UnicodeString& result) argument
173 if (locale.isBogus()) {
176 result.append(UnicodeString(locale.getName(), -1, US_INV));
H A Dresbund.cpp27 * Modified to load locale index out of new file distinct
67 * will be treated as distinct, even if they are for the same locale.
107 * is to place all locale resources into default.txt, which should
117 * requested locale. Then it is done for the default locale, as
119 * default.txt is searched for the default locale. The overall FILE
122 * Note that although file name searching includes the default locale,
124 * no longer includes the default locale. The path is LCV -> LC -> L
129 * only that locale is parsed (along with anything else in the same
151 * practice a bad idea, since you only want the one locale yo
206 ResourceBundle(const char* path, const Locale& locale, UErrorCode& err) argument
[all...]
H A Dservlkf.cpp92 LocaleKeyFactory::getDisplayName(const UnicodeString& id, const Locale& locale, UnicodeString& result) const { argument
99 return loc.getDisplayName(locale, result);
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Dtblcoll.h100 * If specific data for a locale is not available, the orders eventually falls back
372 * Gets the locale of the Collator
373 * @param type can be either requested, valid or actual locale. For more
377 * @return locale where the collation data lives. If the collator
378 * was instantiated from rules, locale is empty.
722 * RuleBasedCollator constructor. This constructor takes a locale. The
724 * createInstance() happens to know that the requested locale's collation is
728 * @param desiredLocale locale used
751 * @param locale desired locale
830 setUCollator(const Locale &locale, UErrorCode &status) argument
[all...]
/external/chromium_org/third_party/icu/source/io/
H A Dufile.c44 const char *locale,
82 /* if locale is 0, use the default */
83 if(u_locbund_init(&result->str.fBundle, locale) == 0) {
113 const char *locale,
116 return finit_owner(f, locale, codepage, FALSE);
121 const char *locale,
124 return finit_owner(f, locale, codepage, TRUE);
130 const char *locale,
139 result = finit_owner(systemFile, locale, codepage, TRUE);
153 const char *locale)
43 finit_owner(FILE *f, const char *locale, const char *codepage, UBool takeOwnership ) argument
112 u_finit(FILE *f, const char *locale, const char *codepage) argument
120 u_fadopt(FILE *f, const char *locale, const char *codepage) argument
128 u_fopen(const char *filename, const char *perm, const char *locale, const char *codepage) argument
151 u_fstropen(UChar *stringBuf, int32_t capacity, const char *locale) argument
260 u_fsetlocale(UFILE *file, const char *locale) argument
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcdateintervalformattest.c40 const char * locale; member in struct:__anon12199
73 for ( testItemPtr = testItems; testItemPtr->locale != NULL; ++testItemPtr ) {
88 udtitvfmt = udtitvfmt_open(testItemPtr->locale, skelBuf, -1, tzidBuf, tzidLen, &status);
100 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n",
101 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to,
105 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n",
106 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, myErrorName(status) );
110 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n",
111 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, myErrorName(status) );
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dgenderinfotest.cpp43 void checkLocale(const Locale& locale, UGender expected, const UGender* genderList, int32_t listLength);
101 const Locale& locale, UGender expected, const UGender* genderList, int32_t listLength) {
103 const GenderInfo* gi = GenderInfo::getInstance(locale, status);
114 errln("For locale: %s expected: %d got %d", locale.getName(), expected, actual);
100 checkLocale( const Locale& locale, UGender expected, const UGender* genderList, int32_t listLength) argument
H A Dlistformattertest.cpp58 UBool ListFormatterTest::RecordFourCases(const Locale& locale, UnicodeString one, UnicodeString two, argument
61 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(locale, errorCode));
63 dataerrln("ListFormatter::createInstance(\"%s\", errorCode) failed in RecordFourCases: %s", locale.getName(), u_errorName(errorCode));
92 // Bogus locale should fallback to root.
H A Dtsdate.cpp67 IntlTestDateFormat::testLocale(/*char* par, */const Locale& locale, const UnicodeString& localeName) argument
81 fFormat = DateFormat::createTimeInstance(timeStyle, locale);
92 fFormat = DateFormat::createDateInstance(dateStyle, locale);
105 fFormat = DateFormat::createDateTimeInstance(dateStyle, timeStyle, locale);
/external/chromium_org/third_party/icu/source/tools/ctestfw/unicode/
H A Duperf.h166 const char* locale; member in class:UPerfTest

Completed in 478 milliseconds

1234567891011>>