/external/llvm/include/llvm/Support/ |
H A D | Locale.h | 8 namespace locale { namespace in namespace:llvm::sys
|
/external/webkit/Source/WebCore/platform/qt/ |
H A D | LanguageQt.cpp | 37 QLocale locale; local 38 return locale.name().replace(QLatin1Char('_'), QLatin1Char('-'));
|
/external/icu4c/common/ |
H A D | resbund_cnv.cpp | 26 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 D | ucnv_imp.h | 47 char locale[ULOC_FULLNAME_CAPACITY]; member in struct:__anon5224 66 * @param locale locale parameter, or "" 75 const char *locale, uint32_t options,
|
H A D | ustr_imp.h | 93 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 D | measfmt.cpp | 22 MeasureFormat* U_EXPORT2 MeasureFormat::createCurrencyFormat(const Locale& locale, argument 26 fmt = new CurrencyFormat(locale, ec);
|
H A D | upluralrules.cpp | 21 uplrules_open(const char *locale, argument 24 return (UPluralRules*)PluralRules::forLocale(Locale(locale), *status);
|
/external/srec/shared/src/ |
H A D | ESR_Locale.c | 26 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 D | hard-locale.c | 1 /* 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 D | debug-info-context.cpp | 4 class locale { class 10 locale _M_ios_locale;
|
/external/icu4c/i18n/unicode/ |
H A D | locdspnm.h | 42 * {@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 D | plurfmt.h | 82 * 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 D | sys_string_conversions_unittest.cc | 5 #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 D | SR_RecognizerResultImpl.h | 56 ESR_Locale locale; member in struct:SR_RecognizerResultImpl_t 114 ESR_Locale* locale);
|
/external/srec/srec/Vocabulary/include/ |
H A D | SR_VocabularyImpl.h | 50 * 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 D | MockedDateFormatSymbolsProvider.java | 28 public DateFormatSymbols getInstance(Locale locale) { argument 29 if (locale == null) { 32 if (!locale.equals(supportLocale)) {
|
H A D | MockedDecimalFormatSymbolsProvider.java | 29 public DecimalFormatSymbols getInstance(Locale locale) { argument 30 if (locale == null) { 33 if (!locale.equals(supportLocale)) {
|
/external/bluetooth/glib/tests/ |
H A D | unicode-caseconv.c | 4 #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 D | default_encoding_combo_model.cc | 17 // 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 D | download_util_unittest.cc | 8 #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 D | google_util.cc | 40 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 D | cpluralrulestest.c | 28 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 D | ContentLanguage.java | 93 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 D | RecognizerResult.c | 76 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 D | HyphenationCF.cpp | 43 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);
|