| /ndk/sources/cxx-stl/stlport/src/ |
| locale_impl.cpp | 20 #include <locale> 36 locale::facet * _STLP_CALL _get_facet(locale::facet *f) 43 void _STLP_CALL _release_facet(locale::facet *&f) 51 size_t locale::id::_S_max = 27; 76 facets_vec.reserve( locale::id::_S_max ); 97 // Initialization of the locale system. This must be called before 105 // Release of the classic locale ressources. Has to be called after the last 106 // locale destruction and not only after the classic locale destruction a [all...] |
| /frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
| ICU_Delegate.java | 23 import java.util.Locale; 105 /*package*/ static String getCurrencyCode(String locale) { 110 /*package*/ static String getCurrencyDisplayName(String locale, String currencyCode) { 120 /*package*/ static String getCurrencySymbol(String locale, String currencyCode) { 125 /*package*/ static String getDisplayCountryNative(String countryCode, String locale) { 130 /*package*/ static String getDisplayLanguageNative(String languageCode, String locale) { 135 /*package*/ static String getDisplayVariantNative(String variantCode, String locale) { 140 /*package*/ static String getISO3CountryNative(String locale) { 145 /*package*/ static String getISO3LanguageNative(String locale) { 150 /*package*/ static String addLikelySubtags(String locale) { [all...] |
| /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.members/ |
| combine.pass.cpp | 10 // <locale> 12 // template <class Facet> locale combine(const locale& other) const; 14 #include <locale> 32 void check(const std::locale& loc) 68 : public std::locale::facet 72 static std::locale::id id; 75 std::locale::id my_facet::id; 81 std::locale loc; 82 std::locale loc2(loc, new my_facet) [all...] |
| /external/stlport/stlport/ |
| locale | 20 // Basic framework: class locale and class locale::facet 83 inline bool isspace (_CharT c, const locale& loc) 87 inline bool isprint (_CharT c, const locale& loc) 91 inline bool iscntrl (_CharT c, const locale& loc) 95 inline bool isupper (_CharT c, const locale& loc) 99 inline bool islower (_CharT c, const locale& loc) 103 inline bool isalpha (_CharT c, const locale& loc) 107 inline bool isdigit (_CharT c, const locale& loc) 111 inline bool ispunct (_CharT c, const locale& loc [all...] |
| /ndk/sources/cxx-stl/stlport/stlport/ |
| locale | 20 // Basic framework: class locale and class locale::facet 83 inline bool isspace (_CharT c, const locale& loc) 87 inline bool isprint (_CharT c, const locale& loc) 91 inline bool iscntrl (_CharT c, const locale& loc) 95 inline bool isupper (_CharT c, const locale& loc) 99 inline bool islower (_CharT c, const locale& loc) 103 inline bool isalpha (_CharT c, const locale& loc) 107 inline bool isdigit (_CharT c, const locale& loc) 111 inline bool ispunct (_CharT c, const locale& loc [all...] |
| /prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/ |
| locale | 20 // Basic framework: class locale and class locale::facet 83 inline bool isspace (_CharT c, const locale& loc) 87 inline bool isprint (_CharT c, const locale& loc) 91 inline bool iscntrl (_CharT c, const locale& loc) 95 inline bool isupper (_CharT c, const locale& loc) 99 inline bool islower (_CharT c, const locale& loc) 103 inline bool isalpha (_CharT c, const locale& loc) 107 inline bool isdigit (_CharT c, const locale& loc) 111 inline bool ispunct (_CharT c, const locale& loc [all...] |
| /prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/ |
| locale | 20 // Basic framework: class locale and class locale::facet 83 inline bool isspace (_CharT c, const locale& loc) 87 inline bool isprint (_CharT c, const locale& loc) 91 inline bool iscntrl (_CharT c, const locale& loc) 95 inline bool isupper (_CharT c, const locale& loc) 99 inline bool islower (_CharT c, const locale& loc) 103 inline bool isalpha (_CharT c, const locale& loc) 107 inline bool isdigit (_CharT c, const locale& loc) 111 inline bool ispunct (_CharT c, const locale& loc [all...] |
| /prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/ |
| locale | 20 // Basic framework: class locale and class locale::facet 83 inline bool isspace (_CharT c, const locale& loc) 87 inline bool isprint (_CharT c, const locale& loc) 91 inline bool iscntrl (_CharT c, const locale& loc) 95 inline bool isupper (_CharT c, const locale& loc) 99 inline bool islower (_CharT c, const locale& loc) 103 inline bool isalpha (_CharT c, const locale& loc) 107 inline bool isdigit (_CharT c, const locale& loc) 111 inline bool ispunct (_CharT c, const locale& loc [all...] |
| /prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/ |
| locale | 20 // Basic framework: class locale and class locale::facet 83 inline bool isspace (_CharT c, const locale& loc) 87 inline bool isprint (_CharT c, const locale& loc) 91 inline bool iscntrl (_CharT c, const locale& loc) 95 inline bool isupper (_CharT c, const locale& loc) 99 inline bool islower (_CharT c, const locale& loc) 103 inline bool isalpha (_CharT c, const locale& loc) 107 inline bool isdigit (_CharT c, const locale& loc) 111 inline bool ispunct (_CharT c, const locale& loc [all...] |
| /prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/ |
| locale | 20 // Basic framework: class locale and class locale::facet 83 inline bool isspace (_CharT c, const locale& loc) 87 inline bool isprint (_CharT c, const locale& loc) 91 inline bool iscntrl (_CharT c, const locale& loc) 95 inline bool isupper (_CharT c, const locale& loc) 99 inline bool islower (_CharT c, const locale& loc) 103 inline bool isalpha (_CharT c, const locale& loc) 107 inline bool isdigit (_CharT c, const locale& loc) 111 inline bool ispunct (_CharT c, const locale& loc [all...] |
| /external/chromium_org/third_party/libxslt/libxslt/ |
| xsltlocale.c | 2 * xsltlocale.c: locale handling 73 * Creates a new locale of an opaque system dependent type based on the 76 * Returns the locale or NULL on error or if no matching locale was found 81 xsltLocale locale; local 113 locale = newlocale(LC_COLLATE_MASK, localeName, NULL); 114 if (locale != NULL) 115 return(locale); 122 /* Try locale without territory, e.g. for Esperanto (eo) */ 125 locale = newlocale(LC_COLLATE_MASK, localeName, NULL) 149 xsltLocale locale = (xsltLocale)0; local [all...] |
| /external/chromium_org/v8/test/intl/collator/ |
| default-locale.js | 28 // Constructing Collator with no locale arguments or with [] 29 // creates one with default locale. 36 assertFalse(options.locale === 'und'); 37 assertFalse(options.locale === ''); 38 assertFalse(options.locale === undefined); 41 assertEquals(options.locale, %GetDefaultICULocale()); 44 assertEquals(options.locale, collatorNone.resolvedOptions().locale); 48 assertEquals(options.locale, collatorBraket.resolvedOptions().locale); [all...] |
| /external/libxslt/libxslt/ |
| xsltlocale.c | 2 * xsltlocale.c: locale handling 73 * Creates a new locale of an opaque system dependent type based on the 76 * Returns the locale or NULL on error or if no matching locale was found 81 xsltLocale locale; local 113 locale = newlocale(LC_COLLATE_MASK, localeName, NULL); 114 if (locale != NULL) 115 return(locale); 122 /* Try locale without territory, e.g. for Esperanto (eo) */ 125 locale = newlocale(LC_COLLATE_MASK, localeName, NULL) 149 xsltLocale locale = (xsltLocale)0; local [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
| DictionaryInfoUtils.java | 34 import java.util.Locale; 49 private static final String LOCALE_COLUMN = "locale"; 57 public final Locale mLocale; 61 public DictionaryInfo(final String id, final Locale locale, final String description, 64 mLocale = locale; 117 sb.append(String.format((Locale)null, "%%%1$0" + MAX_HEX_DIGITS_FOR_CODEPOINT + "x", 160 * Helper method to the list of cache directories, one for each distinct locale. 170 * {@link #getMainDictId(Locale)} and {@link #isMainWordListId(String)}. 176 // An id is supposed to be in format category:locale, so splitting on the separato 290 final Locale locale = LocaleUtils.constructLocaleFromString(header.getLocaleString()); local 324 final Locale locale = LocaleUtils.constructLocaleFromString(localeString); local 341 final Locale locale = LocaleUtils.constructLocaleFromString(localeString); local [all...] |
| /external/stlport/test/unit/ |
| money_facets_test.cpp | 4 # include <locale> 52 void LocaleTest::_money_put_get( const locale& loc, const ref_monetary* rl ) 57 void LocaleTest::_money_put_get2( const locale& loc, const locale& streamLoc, const ref_monetary* prl ) 101 * (http://www.opengroup.org/onlinepubs/7990989775/xbd/locale.html) 264 //Without negative sign there is no way to guess the resulting amount sign ("C" locale): 279 void LocaleTest::_money_put_X_bug( const locale& loc, const ref_monetary* prl ) 417 typedef void (LocaleTest::*_Test) (const locale&, const ref_monetary*); 421 locale loc; 426 locale tmp(tested_locales[i].name) [all...] |
| /ndk/tests/device/test-gnustl-full/unit/ |
| money_facets_test.cpp | 4 # include <locale> 52 void LocaleTest::_money_put_get( const locale& loc, const ref_monetary* rl ) 57 void LocaleTest::_money_put_get2( const locale& loc, const locale& streamLoc, const ref_monetary* prl ) 101 * (http://www.opengroup.org/onlinepubs/7990989775/xbd/locale.html) 264 //Without negative sign there is no way to guess the resulting amount sign ("C" locale): 279 void LocaleTest::_money_put_X_bug( const locale& loc, const ref_monetary* prl ) 417 typedef void (LocaleTest::*_Test) (const locale&, const ref_monetary*); 421 locale loc; 426 locale tmp(tested_locales[i].name) [all...] |
| /ndk/tests/device/test-stlport/unit/ |
| money_facets_test.cpp | 4 # include <locale> 52 void LocaleTest::_money_put_get( const locale& loc, const ref_monetary* rl ) 57 void LocaleTest::_money_put_get2( const locale& loc, const locale& streamLoc, const ref_monetary* prl ) 101 * (http://www.opengroup.org/onlinepubs/7990989775/xbd/locale.html) 264 //Without negative sign there is no way to guess the resulting amount sign ("C" locale): 279 void LocaleTest::_money_put_X_bug( const locale& loc, const ref_monetary* prl ) 417 typedef void (LocaleTest::*_Test) (const locale&, const ref_monetary*); 421 locale loc; 426 locale tmp(tested_locales[i].name) [all...] |
| /bionic/libc/include/ |
| locale.h | 52 extern char *setlocale(int category, const char *locale);
|
| /development/ndk/platforms/android-3/include/ |
| locale.h | 52 extern char *setlocale(int category, const char *locale);
|
| /external/chromium/chrome/browser/google/ |
| 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/chromium_org/chrome/browser/chromeos/base/ |
| locale_util.h | 5 // This file contains utility functions for locale change. 27 // locale - (copy of) locale argument to SwitchLanguage(). Expected locale. 28 // loaded_locale - actual locale name loaded. 29 // success - if locale load succeeded. 30 // (const std::string* locale, const std::string* loaded_locale, bool success) 37 // method currently in use may not be supported by the new locale. (i.e. 38 // using new locale with unsupported input method may lead to undefined 40 void SwitchLanguage(const std::string& locale, [all...] |
| /external/chromium_org/chrome/browser/chromeos/login/ |
| startup_utils.h | 36 // Returns initial locale from local settings. 39 // Sets initial locale in local settings. 40 static void SetInitialLocale(const std::string& locale);
|
| /external/chromium_org/chrome/browser/ |
| language_usage_metrics.h | 25 // is a case-insensitive locale string of either xx, xx-YY, or xx_YY format. 29 // Parses |locale| and returns the language code. Returns 0 in case of errors. 31 // |locale| is 'en' which represents 'English', the codes of 'e' and 'n' are 34 // |locale| should consist of only lower-case letters. This function doesn't 35 // check whether |locale| is valid locale or not strictly. 36 static int ToLanguageCode(const std::string &locale);
|
| /external/chromium_org/chrome/browser/net/ |
| client_hints.cc | 7 #include <locale> 61 // according to the machine's locale 62 std::locale locale; local 65 if (!std::isdigit(*it, locale))
|
| /external/chromium_org/third_party/icu/source/i18n/ |
| ucurrimp.h | 16 * Internal method. Given a currency ISO code and a locale, return 31 * display name in the given locale, or as a 3-letter ISO 4217 37 * @param locale the locale of the display names to match 50 uprv_parseCurrency(const char* locale,
|