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

1234567891011

/external/llvm/include/llvm/Support/
H A DLocale.h8 namespace locale { namespace in namespace:llvm::sys
/external/webkit/Source/WebCore/platform/qt/
H A DLanguageQt.cpp37 QLocale locale; local
38 return locale.name().replace(QLatin1Char('_'), QLatin1Char('-'));
/external/icu4c/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 Ducnv_imp.h47 char locale[ULOC_FULLNAME_CAPACITY]; member in struct:__anon5224
66 * @param locale locale parameter, or ""
75 const char *locale, uint32_t options,
H A Dustr_imp.h93 char locale[32]; member in struct:UCaseMap
113 const char *locale,
120 const char *locale,
130 const char *locale, uint32_t options,
/external/icu4c/i18n/
H A Dmeasfmt.cpp22 MeasureFormat* U_EXPORT2 MeasureFormat::createCurrencyFormat(const Locale& locale, argument
26 fmt = new CurrencyFormat(locale, ec);
H A Dupluralrules.cpp21 uplrules_open(const char *locale, argument
24 return (UPluralRules*)PluralRules::forLocale(Locale(locale), *status);
/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/bison/lib/
H A Dhard-locale.c1 /* hard-locale.c -- Determine whether a locale is hard.
24 #include "hard-locale.h"
26 #include <locale.h>
38 /* Return true if the current CATEGORY locale is hard, i.e. if you
55 char *locale = strdup (p); local
56 if (locale)
58 /* Temporarily set the locale to the "C" and "POSIX" locales
60 or the other is the caller's locale. */
62 && strcmp (p, locale)
[all...]
/external/clang/test/CodeGenCXX/
H A Ddebug-info-context.cpp4 class locale { class
10 locale _M_ios_locale;
/external/icu4c/i18n/unicode/
H A Dlocdspnm.h42 * {@link #createInstance(const Locale& locale, UDialectHandling dialectHandling)}
44 * @param locale the display locale
48 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale);
52 * formatted for the provided locale, using the provided
55 * @param locale the display locale
60 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale,
65 * Returns the locale used to determine the display names. This is
66 * not necessarily the same locale passe
180 createInstance(const Locale& locale) argument
[all...]
H A Dplurfmt.h82 * the constructors that takes a <code>locale</code> object. To
92 * specified locale. Syntax:
123 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you
135 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this
136 * constructor, this locale will be used to format the number in the message
151 * Creates a new <code>PluralFormat</code> for the default locale.
152 * This locale will be used to get the set of plural rules and for standard
161 * Creates a new <code>PluralFormat</code> for a given locale.
162 * @param locale the <code>PluralFormat</code> will be configured with
163 * rules for this locale
520 Locale locale; member in class:PluralFormat
[all...]
/external/chromium/base/
H A Dsys_string_conversions_unittest.cc5 #include <locale.h>
76 #if defined(OS_LINUX) // Tests depend on setting a specific Linux locale.
81 explicit ScopedSetLocale(const char* locale) { argument
83 setlocale(LC_ALL, locale);
97 ScopedSetLocale locale("en_US.utf-8");
125 // We assume the test is running in a UTF8 locale.
128 ScopedSetLocale locale("en_US.utf-8");
182 ScopedSetLocale locale("en_US.utf-8");
/external/srec/srec/Recognizer/include/
H A DSR_RecognizerResultImpl.h56 ESR_Locale locale; member in struct:SR_RecognizerResultImpl_t
114 ESR_Locale* locale);
/external/srec/srec/Vocabulary/include/
H A DSR_VocabularyImpl.h50 * Vocabulary locale.
52 ESR_Locale locale; member in struct:SR_VocabularyImpl_t
54 * String to identify TTP language associated with locale.
99 ESR_ReturnCode SR_VocabularyGetLanguageImpl(SR_Vocabulary* self, ESR_Locale* locale);
114 #define TTP_LANG(locale) locale == ESR_LOCALE_EN_US ? L("enu") : \
115 locale == ESR_LOCALE_FR_FR ? L("fra") : \
116 locale == ESR_LOCALE_DE_DE ? L("deu") : \
117 locale == ESR_LOCALE_EN_GB ? L("eng") : \
118 locale
[all...]
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
H A DMockedDateFormatSymbolsProvider.java28 public DateFormatSymbols getInstance(Locale locale) { argument
29 if (locale == null) {
32 if (!locale.equals(supportLocale)) {
H A DMockedDecimalFormatSymbolsProvider.java29 public DecimalFormatSymbols getInstance(Locale locale) { argument
30 if (locale == null) {
33 if (!locale.equals(supportLocale)) {
/external/bluetooth/glib/tests/
H A Dunicode-caseconv.c4 #include <locale.h>
17 const char *locale; local
42 locale = strings[0];
44 if (!locale[0])
45 locale = "C";
47 if (strcmp (locale, current_locale) != 0)
49 setlocale (LC_CTYPE, locale);
52 if (strncmp (current_locale, locale, 2) != 0)
54 fprintf (stderr, "Cannot set locale to %s, skipping\n", locale);
[all...]
/external/chromium/chrome/browser/
H A Ddefault_encoding_combo_model.cc17 // UI locale.
18 std::string locale = g_browser_process->GetApplicationLocale(); local
24 l10n_util::SortVectorWithStringKey(locale, &sorted_encoding_list_, true);
/external/chromium/chrome/browser/download/
H A Ddownload_util_unittest.cc8 #include <locale.h>
444 // This test doesn't run when the locale is not UTF-8 because some of the
447 std::string locale = setlocale(LC_CTYPE, NULL); local
448 StringToLowerASCII(&locale);
449 EXPECT_NE(std::string::npos, locale.find("utf-8"))
450 << "Your locale (" << locale << ") must be set to UTF-8 "
/external/chromium/chrome/browser/google/
H A Dgoogle_util.cc40 std::string locale = g_browser_process->GetApplicationLocale(); local
41 if (locale == "nb")
42 locale = "no";
43 return AppendParam(url, "hl", locale);
/external/icu4c/test/cintltst/
H A Dcpluralrulestest.c28 const char * locale; member in struct:__anon5483
64 for ( testItemPtr = testItems; testItemPtr->locale != NULL; ++testItemPtr ) {
66 UPluralRules* uplrules = uplrules_open(testItemPtr->locale, &status);
78 log_data_err("ERROR: uplrules_select for locale %s, number %.1f: expect %s, get %s\n",
79 testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keyword) );
82 log_err("FAIL: uplrules_select for locale %s, number %.1f: %s\n",
83 testItemPtr->locale, testItemPtr->number, myErrorName(status) );
87 log_err("FAIL: uplrules_open for locale %s: %s\n", testItemPtr->locale, myErrorName(status) );
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DContentLanguage.java93 protected Locale locale;
121 if ( "".equals(locale.getCountry())) {
122 return locale.getLanguage();
124 return locale.getLanguage() + '-' + locale.getCountry();
135 this.locale = new Locale(languageTag.substring(0,slash), languageTag.substring(slash+1) );
137 this.locale = new Locale(languageTag);
150 return locale;
162 this.locale = language;
167 if (this.locale !
92 protected Locale locale; field in class:ContentLanguage
[all...]
/external/srec/srec/Recognizer/src/
H A DRecognizerResult.c76 ESR_ReturnCode SR_RecognizerResultGetLocale(const SR_RecognizerResult* self, ESR_Locale* locale) argument
83 return self->getLocale(self, locale);
/external/webkit/Source/WebCore/platform/text/cf/
H A DHyphenationCF.cpp43 RetainPtr<CFLocaleRef> locale(AdoptCF, CFLocaleCopyCurrent());
45 return CFStringIsHyphenationAvailableForLocale(locale.get()) ? locale : 0;
52 RetainPtr<CFLocaleRef> locale(AdoptCF, CFLocaleCreate(kCFAllocatorDefault, cfLocaleIdentifier.get()));
54 return CFStringIsHyphenationAvailableForLocale(locale.get()) ? locale : 0;
72 RetainPtr<CFLocaleRef> locale = cfLocaleCache().get(localeIdentifier); local
73 ASSERT(locale);
75 CFIndex result = CFStringGetHyphenationLocationBeforeIndex(string.get(), beforeIndex, CFRangeMake(0, length), 0, locale.get(), 0);

Completed in 435 milliseconds

1234567891011