/external/chromium/third_party/icu/public/i18n/unicode/ |
coll.h | 29 * createDefault() to call new RuleBasedCollator(Locale&) 82 * The <code>Collator</code> class performs locale-sensitive string 98 * Like other locale-sensitive classes, you can use the static factory method, 100 * <code>Collator</code> object for a given locale. You will only need to 106 * <code>Collator</code> for the default locale. 110 * // Compare two strings in the default locale 125 * The exact assignment of strengths to language features is locale dependant. 135 * Collator* usCollator = Collator::createInstance(Locale::US, success); 162 * <strong>Note:</strong> <code>Collator</code>s with different Locale, 172 * @see Locale [all...] |
tmutfmt.h | 59 * TimeUnitFormat* format = new TimeUnitFormat(Locale("en"), status); 96 * Create TimeUnitFormat with default locale, and full name style. 103 * Create TimeUnitFormat given locale, and full name style. 106 TimeUnitFormat(const Locale& locale, UErrorCode& status); 109 * Create TimeUnitFormat given locale and style. 112 TimeUnitFormat(const Locale& locale, EStyle style, UErrorCode& status); 160 * Set the locale used for formatting or parsing. 161 * @param locale the locale to be se [all...] |
/external/icu4c/i18n/unicode/ |
coll.h | 29 * createDefault() to call new RuleBasedCollator(Locale&) 82 * The <code>Collator</code> class performs locale-sensitive string 98 * Like other locale-sensitive classes, you can use the static factory method, 100 * <code>Collator</code> object for a given locale. You will only need to 106 * <code>Collator</code> for the default locale. 110 * // Compare two strings in the default locale 125 * The exact assignment of strengths to language features is locale dependant. 135 * Collator* usCollator = Collator::createInstance(Locale::US, success); 162 * <strong>Note:</strong> <code>Collator</code>s with different Locale, 172 * @see Locale [all...] |
tmutfmt.h | 49 * TimeUnitFormat* format = new TimeUnitFormat(Locale("en"), status); 86 * Create TimeUnitFormat with default locale, and full name style. 93 * Create TimeUnitFormat given locale, and full name style. 96 TimeUnitFormat(const Locale& locale, UErrorCode& status); 99 * Create TimeUnitFormat given locale and style. 102 TimeUnitFormat(const Locale& locale, EStyle style, UErrorCode& status); 150 * Set the locale used for formatting or parsing. 151 * @param locale the locale to be se [all...] |
/external/chromium/third_party/icu/public/common/unicode/ |
brkiter.h | 287 * Create BreakIterator for word-breaks using the given locale. 290 * @param where the locale. 297 * U_USING_FALLBACK_WARNING indicates that a fall back locale was used. For 299 * used. U_USING_DEFAULT_WARNING indicates that the default locale data was 300 * used; neither the requested locale nor any of its fall back locales 306 createWordInstance(const Locale& where, UErrorCode& status); 309 * Create BreakIterator for line-breaks using specified locale. 314 * @param where the locale. 321 * U_USING_FALLBACK_WARNING indicates that a fall back locale was used. For 323 * used. U_USING_DEFAULT_WARNING indicates that the default locale data wa [all...] |
/external/icu4c/common/unicode/ |
brkiter.h | 287 * Create BreakIterator for word-breaks using the given locale. 290 * @param where the locale. 297 * U_USING_FALLBACK_WARNING indicates that a fall back locale was used. For 299 * used. U_USING_DEFAULT_WARNING indicates that the default locale data was 300 * used; neither the requested locale nor any of its fall back locales 306 createWordInstance(const Locale& where, UErrorCode& status); 309 * Create BreakIterator for line-breaks using specified locale. 314 * @param where the locale. 321 * U_USING_FALLBACK_WARNING indicates that a fall back locale was used. For 323 * used. U_USING_DEFAULT_WARNING indicates that the default locale data wa [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
AddressTest.java | 19 import java.util.Locale; 41 args = {java.util.Locale.class} 44 new Address(Locale.ENGLISH); 46 new Address(Locale.FRANCE); 58 Address address = new Address(Locale.GERMAN); 84 Address address = new Address(Locale.ITALY); 109 Address address = new Address(Locale.JAPAN); 134 Address address = new Address(Locale.KOREA); 159 Address address = new Address(Locale.TAIWAN); 190 Address address = new Address(Locale.SIMPLIFIED_CHINESE) 494 Locale locale = Locale.US; local 538 Locale locale = Locale.KOREA; local [all...] |
/external/bluetooth/glib/tests/ |
unicode-collate.c | 8 #include <locale.h> 42 gchar *locale; local 48 locale = setlocale (LC_ALL, ""); 49 if (locale == NULL || strcmp (locale, "en_US") != 0) 51 fprintf (stderr, "No suitable locale, skipping test\n");
|
/external/protobuf/src/google/protobuf/stubs/ |
strutil_unittest.cc | 37 #include <locale.h> 46 // Remember the old locale. 51 // Set the locale to "C". 66 // Some systems may not have the desired locale available. 68 << "Couldn't set locale to es_ES. Skipping this test."; 77 // Return to original locale.
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberFormattingTextWatcher.java | 24 import java.util.Locale; 29 * the current system locale when this object is created and future locale changes 35 static private Locale sCachedLocale; 42 if (sCachedLocale == null || sCachedLocale != Locale.getDefault()) { 43 sCachedLocale = Locale.getDefault();
|
/external/chromium/third_party/icu/source/i18n/ |
coll.cpp | 27 * createDefault() to call new RuleBasedCollator(Locale&) 55 static U_NAMESPACE_QUALIFIER Locale* availableLocaleList = NULL; 104 CollatorFactory::getDisplayName(const Locale& objectLocale, 105 const Locale& displayLocale, 124 Locale loc; 125 // make sure the requested locale is correct 158 Locale loc(""); 172 // because that will overwrite its correct built-in locale 174 // have is the requested locale). (TODO remove in 3.0) [aliu] 177 Locale canonicalLocale("") [all...] |
/external/icu4c/i18n/ |
coll.cpp | 27 * createDefault() to call new RuleBasedCollator(Locale&) 55 static U_NAMESPACE_QUALIFIER Locale* availableLocaleList = NULL; 104 CollatorFactory::getDisplayName(const Locale& objectLocale, 105 const Locale& displayLocale, 124 Locale loc; 125 // make sure the requested locale is correct 158 Locale loc(""); 172 // because that will overwrite its correct built-in locale 174 // have is the requested locale). (TODO remove in 3.0) [aliu] 177 Locale canonicalLocale("") [all...] |
/external/chromium/third_party/icu/source/test/testdata/ |
ssearch.xml | 12 locale CDATA "en" 92 <test-case id="test11" strength="PRIMARY" locale="de_DE@collation=phonebook"> 97 <test-case id="test11a" strength="SECONDARY" locale="de_DE@collation=phonebook"> 107 <test-case id="test13" strength="PRIMARY" locale="fr"> 112 <test-case id="test14" strength="PRIMARY" locale="fr"> 121 <test-case id="test15" strength="PRIMARY" locale="en"> 126 <test-case id="test16" strength="PRIMARY" locale="fr"> 131 <test-case id="test17" strength="PRIMARY" locale="fr"> 136 <test-case id="test18" strength="PRIMARY" locale="fr"> 141 <test-case id="test19" strength="PRIMARY" locale="fr" [all...] |
/external/icu4c/test/testdata/ |
ssearch.xml | 12 locale CDATA "en" 92 <test-case id="test11" strength="PRIMARY" locale="de_DE@collation=phonebook"> 97 <test-case id="test11a" strength="SECONDARY" locale="de_DE@collation=phonebook"> 107 <test-case id="test13" strength="PRIMARY" locale="fr"> 112 <test-case id="test14" strength="PRIMARY" locale="fr"> 121 <test-case id="test15" strength="PRIMARY" locale="en"> 126 <test-case id="test16" strength="PRIMARY" locale="fr"> 131 <test-case id="test17" strength="PRIMARY" locale="fr"> 136 <test-case id="test18" strength="PRIMARY" locale="fr"> 141 <test-case id="test19" strength="PRIMARY" locale="fr" [all...] |
/libcore/luni/src/main/java/java/text/ |
DateFormatSymbols.java | 27 import java.util.Locale; 72 * Locale, necessary to lazily load time zone strings. We force the time 76 transient final Locale locale; field in class:DateFormatSymbols 85 zoneStrings = TimeZones.getZoneStrings(locale); 92 * symbols for the user's default locale. 93 * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>". 96 this(Locale.getDefault()); 101 * symbols for the specified locale [all...] |
/external/chromium/third_party/icu/source/test/cintltst/ |
cldrtest.c | 77 UResourceBundle *currentBundle, const char *locale) { 91 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode)); 99 log_err("Can't open a resource with key \"%s\" in \"%s\" from %s for locale \"%s\"\n", 103 locale); 108 log_err("key \"%s\" in \"%s\" has a different type from root for locale \"%s\"\n" 109 "\troot=%d, locale=%d\n", 112 locale, 128 log_err("Arrays are different size with key \"%s\" in \"%s\" from root for locale \"%s\"\n", 131 locale); 141 log_err("Value out of range with key \"%s\" at index %d in \"%s\" for locale \"%s\"\n" 1166 const char* locale = uenum_next(avail, NULL, &ec); local [all...] |
/external/icu4c/test/cintltst/ |
cldrtest.c | 77 UResourceBundle *currentBundle, const char *locale) { 91 log_err("Can't open a resource for lnocale %s. Error: %s\n", locale, u_errorName(errorCode)); 99 log_err("Can't open a resource with key \"%s\" in \"%s\" from %s for locale \"%s\"\n", 103 locale); 108 log_err("key \"%s\" in \"%s\" has a different type from root for locale \"%s\"\n" 109 "\troot=%d, locale=%d\n", 112 locale, 128 log_err("Arrays are different size with key \"%s\" in \"%s\" from root for locale \"%s\"\n", 131 locale); 141 log_err("Value out of range with key \"%s\" at index %d in \"%s\" for locale \"%s\"\n" 1169 const char* locale = uenum_next(avail, NULL, &ec); local [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/ |
locale_classes.tcc | 0 // Locale support -*- C++ -*- 42 locale:: 43 locale(const locale& __other, _Facet* __f) 59 locale 60 locale:: 61 combine(const locale& __other) const 73 return locale(__tmp); 78 locale:: 91 has_facet(const locale& __loc) throw( [all...] |
/external/e2fsprogs/intl/ |
loadinfo.h | 23 /* Declarations of locale dependent catalog lookup functions. 26 localealias.c Possibly replace a locale name by another. 27 explodename.c Split a locale name into its various fields. 54 /* Encoding of locale name parts. */ 87 /* Lookup a locale dependent file. 88 *L10NFILE_LIST denotes a pool of lookup results of locale dependent 93 SPECIAL, SPONSOR, REVISION are the pieces of the locale name, as 110 /* Lookup the real locale name for a locale alias NAME, or NULL if 111 NAME is not a locale alias (but possibly a real locale name) [all...] |
/external/icu4c/test/intltest/ |
locnmtst.cpp | 86 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getGermany()); 94 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS(), ULDN_DIALECT_NAMES); 102 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); 115 ULocaleDisplayNames *ldn = uldn_open(Locale::getGermany().getName(), ULDN_STANDARD_NAMES, &status); 123 // make sure that NULL gives us the default locale as usual 125 const char *locale = uldn_getLocale(ldn); local 126 if(0 != uprv_strcmp(uloc_getDefault(), locale)) { 127 errln("uldn_getLocale(uldn_open(NULL))=%s != default locale %s\n", locale, uloc_getDefault()); 137 ULocaleDisplayNames *ldn = uldn_open(Locale::getUS().getName(), ULDN_DIALECT_NAMES, &status) [all...] |
/external/stlport/src/ |
dll_main.cpp | 52 #include <locale> 137 template class _STLP_CLASS_DECLSPEC allocator<locale::facet*>; 140 template class _STLP_CLASS_DECLSPEC _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<locale::facet*> >; 141 template class _STLP_CLASS_DECLSPEC _Vector_base<locale::facet*, allocator<locale::facet*> >; 148 template class _STLP_CLASS_DECLSPEC __construct_checker<_STLP_PRIV _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > >; 149 template class _STLP_CLASS_DECLSPEC _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsHelper.java | 19 import java.util.Locale; 136 final Locale loc = conf.locale; 146 * Sets the locale specified. Input data is the equivalent of "ll_cc".getBytes(), where 148 * @param data the locale string in bytes. 151 // Check if locale was set by the user: 153 Locale loc = conf.locale; 154 // TODO: The following is not working as intended because the network is forcing a locale 156 // changed the locale [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
dll_main.cpp | 52 #include <locale> 137 template class _STLP_CLASS_DECLSPEC allocator<locale::facet*>; 140 template class _STLP_CLASS_DECLSPEC _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<locale::facet*> >; 141 template class _STLP_CLASS_DECLSPEC _Vector_base<locale::facet*, allocator<locale::facet*> >; 148 template class _STLP_CLASS_DECLSPEC __construct_checker<_STLP_PRIV _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > >; 149 template class _STLP_CLASS_DECLSPEC _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > [all...] |
/ndk/build/tools/toolchain-patches/gcc/ |
0001-libstdc-v3-fix-setlocale-related-crash.patch | 8 this condition and avoid saving the old locale when it happens. 12 .../libstdc++-v3/config/locale/generic/c_locale.cc | 78 ++++++++++++------- 13 .../libstdc++-v3/config/locale/generic/c_locale.h | 2 +- 14 .../config/locale/generic/time_members.cc | 48 ++++++++---- 17 diff --git a/gcc-4.4.3/libstdc++-v3/config/locale/generic/c_locale.cc b/gcc-4.4.3/libstdc++-v3/config/locale/generic/c_locale.cc 19 --- a/gcc-4.4.3/libstdc++-v3/config/locale/generic/c_locale.cc 20 +++ b/gcc-4.4.3/libstdc++-v3/config/locale/generic/c_locale.cc 30 // Assumes __s formatted for "C" locale. 67 // Assumes __s formatted for "C" locale [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
restsnew.cpp | 89 Locale *locale; member in struct:__anon3017 153 Don't use more than one of these at a time because of the Locale names 159 if (param[5].locale == NULL) { 160 param[0].locale = new Locale("root"); 161 param[1].locale = new Locale("te"); 162 param[2].locale = new Locale("te", "IN") 307 Locale *locale=new Locale("te_IN"); local 441 Locale *locale=new Locale("te_IN"); local [all...] |