Searched defs:locale (Results 1 - 25 of 549) sorted by relevance

1234567891011>>

/external/compiler-rt/test/msan/
H A Dsetlocale.cc4 #include <locale.h>
8 char *locale = setlocale (LC_ALL, ""); local
9 assert(locale);
10 if (locale[0])
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Dlocdspnm.h43 * {@link #createInstance(const Locale& locale, UDialectHandling dialectHandling)}
45 * @param locale the display locale
49 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale);
53 * formatted for the provided locale, using the provided
56 * @param locale the display locale
61 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale,
67 * for the provided locale, using the provided UDisplayContext settings.
69 * @param locale th
198 createInstance(const Locale& locale) argument
[all...]
H A Dplurfmt.h78 * the constructors that takes a <code>locale</code> object. To
88 * specified locale. Syntax:
119 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you
131 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this
132 * constructor, this locale will be used to format the number in the message
147 * Creates a new cardinal-number <code>PluralFormat</code> for the default locale.
148 * This locale will be used to get the set of plural rules and for standard
157 * Creates a new cardinal-number <code>PluralFormat</code> for a given locale.
158 * @param locale the <code>PluralFormat</code> will be configured with
159 * rules for this locale
568 Locale locale; member in class:PluralFormat
[all...]
/external/chromium_org/ui/base/l10n/
H A Dl10n_util_posix.cc15 bool IsLocaleSupportedByOS(const std::string& locale) { argument
24 if (LowerCaseEqualsASCII(locale, kUnsupportedLocales[i]))
/external/chromium_org/v8/test/intl/break-iterator/
H A Dproperty-override.js30 // Object.defineProperty(Array.prototype, 'locale', {
38 // would throw in case of (JS) x.locale = 'us' or (C++) x->Set('locale', 'us').
53 'type', 'locale'
64 var locale = Intl.v8BreakIterator().resolvedOptions().locale; variable
/external/chromium_org/v8/test/intl/collator/
H A Dproperty-override.js30 // Object.defineProperty(Array.prototype, 'locale', {
38 // would throw in case of (JS) x.locale = 'us' or (C++) x->Set('locale', 'us').
54 'locale', 'numeric', 'usage', 'collation'
65 var locale = Intl.Collator().resolvedOptions().locale; variable
/external/chromium_org/v8/test/intl/date-format/
H A Dproperty-override.js30 // Object.defineProperty(Array.prototype, 'locale', {
38 // would throw in case of (JS) x.locale = 'us' or (C++) x->Set('locale', 'us').
57 'calendar', 'day', 'era', 'hour12', 'hour', 'locale',
70 var locale = Intl.DateTimeFormat().resolvedOptions().locale; variable
/external/chromium_org/v8/test/intl/number-format/
H A Dproperty-override.js30 // Object.defineProperty(Array.prototype, 'locale', {
38 // would throw in case of (JS) x.locale = 'us' or (C++) x->Set('locale', 'us').
59 'style', 'locale', 'numberingSystem',
74 var locale = Intl.NumberFormat(undefined, variable
78 resolvedOptions().locale;
/external/icu/icu4c/source/i18n/unicode/
H A Dlocdspnm.h43 * {@link #createInstance(const Locale& locale, UDialectHandling dialectHandling)}
45 * @param locale the display locale
49 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale);
53 * formatted for the provided locale, using the provided
56 * @param locale the display locale
61 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale,
66 * for the provided locale, using the provided UDisplayContext settings.
68 * @param locale th
196 createInstance(const Locale& locale) argument
[all...]
/external/llvm/include/llvm/Support/
H A DLocale.h8 namespace locale { namespace in namespace:llvm::sys
/external/chromium_org/base/test/
H A Dscoped_locale.cc7 #include <locale.h>
13 ScopedLocale::ScopedLocale(const std::string& locale) { argument
15 EXPECT_TRUE(setlocale(LC_ALL, locale.c_str()) != NULL) <<
16 "Failed to set locale: " << locale;
/external/chromium_org/third_party/icu/source/common/
H A Dresbund_cnv.cpp26 const Locale& locale,
30 constructForLocale(path, locale, error);
42 const Locale& locale,
46 fResource = ures_open(NULL, locale.getName(), &error);
51 fResource = ures_openU(nullTerminatedPath.getBuffer(), locale.getName(), &error);
25 ResourceBundle( const UnicodeString& path, const Locale& locale, UErrorCode& error) argument
41 constructForLocale(const UnicodeString& path, const Locale& locale, UErrorCode& error) argument
H A Dunistr_case_locale.cpp35 setTempCaseMap(UCaseMap *csm, const char *locale) { argument
39 if(locale!=NULL && locale[0]==0) {
40 csm->locale[0]=0;
42 ustrcase_setTempCaseMapLocale(csm, locale);
52 UnicodeString::toLower(const Locale &locale) { argument
54 setTempCaseMap(&csm, locale.getName());
64 UnicodeString::toUpper(const Locale &locale) { argument
66 setTempCaseMap(&csm, locale.getName());
H A Ducnv_imp.h47 char locale[ULOC_FULLNAME_CAPACITY]; member in struct:__anon11977
67 * @param locale locale parameter, or ""
76 const char *locale, uint32_t options,
/external/icu/icu4c/source/common/
H A Dresbund_cnv.cpp26 const Locale& locale,
30 constructForLocale(path, locale, error);
42 const Locale& locale,
46 fResource = ures_open(NULL, locale.getName(), &error);
51 fResource = ures_openU(nullTerminatedPath.getBuffer(), locale.getName(), &error);
25 ResourceBundle( const UnicodeString& path, const Locale& locale, UErrorCode& error) argument
41 constructForLocale(const UnicodeString& path, const Locale& locale, UErrorCode& error) argument
H A Dunistr_case_locale.cpp35 setTempCaseMap(UCaseMap *csm, const char *locale) { argument
39 if(locale!=NULL && locale[0]==0) {
40 csm->locale[0]=0;
42 ustrcase_setTempCaseMapLocale(csm, locale);
52 UnicodeString::toLower(const Locale &locale) { argument
54 setTempCaseMap(&csm, locale.getName());
64 UnicodeString::toUpper(const Locale &locale) { argument
66 setTempCaseMap(&csm, locale.getName());
/external/srec/shared/src/
H A DESR_Locale.c26 LCHAR* ESR_locale2str(const ESR_Locale locale) argument
28 switch (locale) {
39 return L("invalid locale code");
43 ESR_ReturnCode ESR_str2locale(const LCHAR* str, ESR_Locale* locale) argument
46 if (!lstrcasecmp(str, L("EN-US"), &rtn) && !rtn) *locale = ESR_LOCALE_EN_US;
47 else if (!lstrcasecmp(str, L("FR-FR"), &rtn) && !rtn) *locale = ESR_LOCALE_FR_FR;
48 else if (!lstrcasecmp(str, L("DE-DE"), &rtn) && !rtn) *locale = ESR_LOCALE_DE_DE;
49 else if (!lstrcasecmp(str, L("EN-GB"), &rtn) && !rtn) *locale = ESR_LOCALE_EN_GB;
50 else if (!lstrcasecmp(str, L("IT-IT"), &rtn) && !rtn) *locale = ESR_LOCALE_IT_IT;
51 else if (!lstrcasecmp(str, L("NL-NL"), &rtn) && !rtn) *locale
[all...]
/external/chromium_org/chrome/common/extensions/manifest_tests/
H A Dextension_manifests_initvalue_unittest.cc158 std::string locale = l10n_util::GetApplicationLocale(""); local
176 // Reset locale.
177 base::i18n::SetICUDefaultLocale(locale);
/external/chromium_org/third_party/icu/source/i18n/
H A Dmeasfmt.cpp24 MeasureFormat* U_EXPORT2 MeasureFormat::createCurrencyFormat(const Locale& locale, argument
28 fmt = new CurrencyFormat(locale, ec);
/external/clang/test/CodeGenCXX/
H A Ddebug-info-context.cpp4 class locale { class
10 locale _M_ios_locale;
/external/llvm/lib/Support/
H A DLocale.cpp6 namespace locale { namespace in namespace:llvm::sys
29 } // namespace locale
/external/robolectric/src/main/java/com/xtremelabs/robolectric/annotation/
H A DValues.java4 * Indicate that roboletric should look for values that is specific for the locale
11 String locale(); method in interface:Values
/external/chromium_org/chrome/common/extensions/api/spellcheck/
H A Dspellcheck_handler.h20 std::string locale; member in struct:extensions::SpellcheckDictionaryInfo
/external/chromium_org/ppapi/proxy/
H A Dpdf_resource.h30 // For unittesting with a given locale.
31 void SetLocaleForTest(const std::string& locale) { argument
32 locale_ = locale;
/external/chromium_org/third_party/libusb/src/libusb/
H A Dstrerror.c21 #include <locale.h>
41 * code for your locale at the end of \c usbi_locale_supported[]<br>
114 * This takes a locale string in the default setlocale format: lang[-region]
129 * locale settings, call libusb_setlocale(setlocale(LC_MESSAGES, NULL)),
130 * after your app has done its locale setup.
132 * \param locale locale-string in the form of lang[_country_region][.codeset]
135 * \returns LIBUSB_ERROR_INVALID_PARAM if the locale doesn't meet the requirements
140 int API_EXPORTED libusb_setlocale(const char *locale) argument
144 if ( (locale
[all...]

Completed in 554 milliseconds

1234567891011>>