/external/compiler-rt/test/msan/ |
H A D | setlocale.cc | 4 #include <locale.h> 8 char *locale = setlocale (LC_ALL, ""); local 9 assert(locale); 10 if (locale[0])
|
/external/icu/icu4c/source/common/unicode/ |
H A D | locdspnm.h | 46 * {@link #createInstance(const Locale& locale, UDialectHandling dialectHandling)} 48 * @param locale the display locale 52 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale); 56 * formatted for the provided locale, using the provided 59 * @param locale the display locale 64 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale, 69 * for the provided locale, using the provided UDisplayContext settings. 71 * @param locale th 199 createInstance(const Locale& locale) argument [all...] |
/external/icu/icu4c/source/common/ |
H A D | unistr_case_locale.cpp | 39 UnicodeString::toLower(const Locale &locale) { argument 40 return caseMap(ustrcase_getCaseLocale(locale.getBaseName()), 0, 51 UnicodeString::toUpper(const Locale &locale) { argument 52 return caseMap(ustrcase_getCaseLocale(locale.getBaseName()), 0,
|
H A D | resbund_cnv.cpp | 28 const Locale& locale, 32 constructForLocale(path, locale, error); 44 const Locale& locale, 48 fResource = ures_open(NULL, locale.getName(), &error); 53 fResource = ures_openU(nullTerminatedPath.getBuffer(), locale.getName(), &error); 27 ResourceBundle( const UnicodeString& path, const Locale& locale, UErrorCode& error) argument 43 constructForLocale(const UnicodeString& path, const Locale& locale, UErrorCode& error) argument
|
H A D | unistr_titlecase_brkiter.cpp | 38 UnicodeString::toTitle(BreakIterator *iter, const Locale &locale) { argument 39 return toTitle(iter, locale, 0); 43 UnicodeString::toTitle(BreakIterator *iter, const Locale &locale, uint32_t options) { argument 46 iter = ustrcase_getTitleBreakIterator(&locale, "", options, iter, ownedIter, errorCode); 51 caseMap(ustrcase_getCaseLocale(locale.getBaseName()), options, iter, ustrcase_internalToTitle);
|
H A D | ucnv_imp.h | 49 char locale[ULOC_FULLNAME_CAPACITY]; member in struct:__anon7934 69 * @param locale locale parameter, or "" 78 const char *locale, uint32_t options,
|
/external/libtextclassifier/util/i18n/ |
H A D | locale_test.cc | 17 #include "util/i18n/locale.h" 25 Locale locale = Locale::Invalid(); local 26 EXPECT_FALSE(locale.IsValid()); 30 Locale locale = Locale::FromBCP47("en-CH"); local 31 EXPECT_TRUE(locale.IsValid()); 32 EXPECT_EQ(locale.Language(), "en"); 33 EXPECT_EQ(locale.Script(), ""); 34 EXPECT_EQ(locale.Region(), "CH"); 38 Locale locale = Locale::FromBCP47("zh-CN"); local 39 EXPECT_TRUE(locale 46 Locale locale = Locale::FromBCP47("zh-Hant-TW"); local 54 Locale locale = Locale::FromBCP47("en"); local 62 Locale locale = Locale::FromBCP47("zh-Hant"); local [all...] |
/external/llvm/include/llvm/Support/ |
H A D | Locale.h | 8 namespace locale { namespace in namespace:llvm::sys
|
/external/python/cpython3/Lib/ |
H A D | _bootlocale.py | 1 """A minimal subset of the locale module used at interpreter startup 4 Don't import directly from third-party code; use the `locale` module instead! 19 # getdefaultlocale() function, import the full locale module. 20 import locale namespace 21 return locale.getpreferredencoding(do_setlocale)
|
/external/libchrome/base/test/ |
H A D | scoped_locale.cc | 7 #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/clang/test/CodeGenCXX/ |
H A D | debug-info-context.cpp | 4 class locale { class 10 locale _M_ios_locale;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | TimeZoneNamesFactoryImpl.java | 26 public TimeZoneNames getTimeZoneNames(ULocale locale) { argument 27 return new TimeZoneNamesImpl(locale);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | RbnfLenientScannerProvider.java | 24 * Returns a scanner appropriate for the given locale, with optional extra data. 27 * @param locale the locale to provide the default lenient rules. 33 RbnfLenientScanner get(ULocale locale, String extras); argument
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | TimeZoneNamesFactoryImpl.java | 24 public TimeZoneNames getTimeZoneNames(ULocale locale) { argument 25 return new TimeZoneNamesImpl(locale);
|
/external/libmojo/base/android/ |
H A D | locale_utils.cc | 21 ScopedJavaLocalRef<jstring> locale = local 23 return ConvertJavaStringToUTF8(locale);
|
/external/llvm/lib/Support/ |
H A D | Locale.cpp | 8 namespace locale { namespace in namespace:llvm::sys 31 } // namespace locale
|
/external/python/cpython2/Tools/i18n/ |
H A D | makelocalealias.py | 3 Convert the X11 locale.alias file into a mapping dictionary suitable 4 for locale.py. 9 import locale namespace 12 LOCALE_ALIAS = '/usr/share/X11/locale/locale.alias' 25 locale, alias = line.split() 26 # Fix non-standard locale names, e.g. ks_IN@devanagari.UTF-8 33 if locale[-1] == ':': 34 locale = locale[ [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/annotation/ |
H A D | Values.java | 4 * Indicate that roboletric should look for values that is specific for the locale 11 String locale(); method in interface:Values
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/util/ |
H A D | Localizable.java | 38 * @param locale locale into which to get the string 41 String getLocalizedString(Locale locale); argument
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
H A D | LocaleSyntaxException.java | 10 package android.icu.impl.locale;
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
H A D | UnlocalizedNumberFormatter.java | 11 * A NumberFormatter that does not yet have a locale. In order to format numbers, a locale must be specified. 29 * Associate the given locale with the number formatter. The locale is used for picking the appropriate symbols, 33 * To use the Java default locale, call Locale.getDefault(): 36 * NumberFormatter.with(). ... .locale(Locale.getDefault()) 39 * @param locale 40 * The locale to use when loading data for number formatting. 44 public LocalizedNumberFormatter locale(Locale locale) { argument 57 locale(ULocale locale) argument [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
H A D | plurfmt.h | 81 * the constructors that takes a <code>locale</code> object. To 91 * specified locale. Syntax: 122 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you 134 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this 135 * constructor, this locale will be used to format the number in the message 150 * Creates a new cardinal-number <code>PluralFormat</code> for the default locale. 151 * This locale will be used to get the set of plural rules and for standard 160 * Creates a new cardinal-number <code>PluralFormat</code> for a given locale. 161 * @param locale the <code>PluralFormat</code> will be configured with 162 * rules for this locale 571 Locale locale; member in class:PluralFormat [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
H A D | UnlocalizedNumberFormatter.java | 10 * A NumberFormatter that does not yet have a locale. In order to format numbers, a locale must be specified. 28 * Associate the given locale with the number formatter. The locale is used for picking the appropriate symbols, 32 * To use the Java default locale, call Locale.getDefault(): 35 * NumberFormatter.with(). ... .locale(Locale.getDefault()) 38 * @param locale 39 * The locale to use when loading data for number formatting. 44 public LocalizedNumberFormatter locale(Locale locale) { argument 58 locale(ULocale locale) argument [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RbnfLenientScannerProvider.java | 22 * Returns a scanner appropriate for the given locale, with optional extra data. 25 * @param locale the locale to provide the default lenient rules. 31 RbnfLenientScanner get(ULocale locale, String extras); argument
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/ |
H A D | CollatorProviderICU.java | 21 public Collator getInstance(Locale locale) { argument 23 ICULocaleServiceProvider.toULocaleNoSpecialVariant(locale));
|