/ndk/sources/android/support/src/musl-locale/ |
nl_langinfo_l.c | 1 #include <locale.h>
|
strcoll_l.c | 2 #include <locale.h>
|
wcscoll_l.c | 3 int wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale)
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.locales/ |
locales.pass.cpp | 15 // locale pubimbue(const locale& loc); 16 // locale getloc() const; 21 #include "platform_support.h" // locale name macros 29 void imbue(const std::locale&) 41 std::locale::global(std::locale(LOCALE_en_US_UTF_8)); 45 assert(t.pubimbue(std::locale(LOCALE_fr_FR_UTF_8)).name() == "en_US.UTF-8");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate/ |
ctor.pass.cpp | 10 // <locale> 16 #include <locale> 38 std::locale l(std::locale::classic(), new my_facet<char>); 46 std::locale l(std::locale::classic(), &f); 53 std::locale l(std::locale::classic(), new my_facet<wchar_t>); 61 std::locale l(std::locale::classic(), &f) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/ |
types.pass.cpp | 10 // <locale> 14 // : public locale::facet, 21 #include <locale> 27 std::locale l = std::locale::classic(); 36 static_assert((std::is_base_of<std::locale::facet, std::ctype<char> >::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt.byname/ |
ctor_char.pass.cpp | 10 // <locale> 17 #include <locale> 41 std::locale l(std::locale::classic(), new my_facet("en_US")); 49 std::locale l(std::locale::classic(), &f); 56 std::locale l(std::locale::classic(), new my_facet(std::string("en_US"))); 64 std::locale l(std::locale::classic(), &f) [all...] |
ctor_char16_t.pass.cpp | 10 // <locale> 17 #include <locale> 41 std::locale l(std::locale::classic(), new my_facet("en_US")); 49 std::locale l(std::locale::classic(), &f); 56 std::locale l(std::locale::classic(), new my_facet(std::string("en_US"))); 64 std::locale l(std::locale::classic(), &f) [all...] |
ctor_char32_t.pass.cpp | 10 // <locale> 17 #include <locale> 41 std::locale l(std::locale::classic(), new my_facet("en_US")); 49 std::locale l(std::locale::classic(), &f); 56 std::locale l(std::locale::classic(), new my_facet(std::string("en_US"))); 64 std::locale l(std::locale::classic(), &f) [all...] |
ctor_wchar_t.pass.cpp | 10 // <locale> 17 #include <locale> 20 #include "platform_support.h" // locale name macros 43 std::locale l(std::locale::classic(), new my_facet(LOCALE_en_US_UTF_8)); 51 std::locale l(std::locale::classic(), &f); 58 std::locale l(std::locale::classic(), new my_facet(std::string(LOCALE_en_US_UTF_8))); 66 std::locale l(std::locale::classic(), &f) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/ |
ctor.pass.cpp | 10 // <locale> 16 #include <locale> 37 std::locale l(std::locale::classic(), new my_facet<char>); 45 std::locale l(std::locale::classic(), &f); 52 std::locale l(std::locale::classic(), new my_facet<wchar_t>); 60 std::locale l(std::locale::classic(), &f) [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
localcharset.c | 3 /* Determine a canonical name for the current locale's character encoding. 53 # include <locale.h> 317 /* Determine the current locale's character encoding, and canonicalize it 342 of the locale name from the environment variables (if present) or 346 const char *locale; local 349 locale = getenv ("LC_ALL"); 350 if (locale == NULL || locale[0] == '\0') 352 locale = getenv ("LC_CTYPE"); 353 if (locale == NULL || locale[0] == '\0' 389 const char *locale = NULL; local 426 const char *locale; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_locale.py | 3 import locale namespace 16 # The locale test work fine on OSX 10.6, I (ronaldoussoren) 19 raise unittest.SkipTest("Locale support on MacOSX is minimal") 24 oldlocale = locale.setlocale(locale.LC_NUMERIC) 27 locale.setlocale(locale.LC_NUMERIC, tloc) 28 except locale.Error: 33 "Test locale not supported (tried %s)" % (', '.join(tlocs))) 35 locale.setlocale(locale.LC_NUMERIC, oldlocale [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_locale.py | 3 import locale namespace 16 # The locale test work fine on OSX 10.6, I (ronaldoussoren) 19 raise unittest.SkipTest("Locale support on MacOSX is minimal") 24 oldlocale = locale.setlocale(locale.LC_NUMERIC) 27 locale.setlocale(locale.LC_NUMERIC, tloc) 28 except locale.Error: 33 "Test locale not supported (tried %s)" % (', '.join(tlocs))) 35 locale.setlocale(locale.LC_NUMERIC, oldlocale [all...] |
/external/stlport/test/unit/ |
locale_test.cpp | 5 # include <locale> 29 typedef void (LocaleTest::*_Test) (const locale&); 33 locale loc; 37 locale tmp(tested_locales[i]); 42 //This locale is not supported. 54 * Check of the 22.1.1.2.7 standard point. Construction of a locale 59 locale loc(static_cast<char const*>(0)); 69 locale loc("yasli_language"); 81 locale loc(very_large_locale_name.c_str()); 95 locale loc(very_large_locale_name.c_str()) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
locale_test.cpp | 5 # include <locale> 29 typedef void (LocaleTest::*_Test) (const locale&); 33 locale loc; 37 locale tmp(tested_locales[i]); 42 //This locale is not supported. 54 * Check of the 22.1.1.2.7 standard point. Construction of a locale 59 locale loc(static_cast<char const*>(0)); 69 locale loc("yasli_language"); 81 locale loc(very_large_locale_name.c_str()); 95 locale loc(very_large_locale_name.c_str()) [all...] |
/ndk/tests/device/test-stlport/unit/ |
locale_test.cpp | 5 # include <locale> 29 typedef void (LocaleTest::*_Test) (const locale&); 33 locale loc; 37 locale tmp(tested_locales[i]); 42 //This locale is not supported. 54 * Check of the 22.1.1.2.7 standard point. Construction of a locale 59 locale loc(static_cast<char const*>(0)); 69 locale loc("yasli_language"); 81 locale loc(very_large_locale_name.c_str()); 95 locale loc(very_large_locale_name.c_str()) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
PersonalizationHelper.java | 44 final Context context, final String locale, final SharedPreferences sp) { 46 if (sLangUserHistoryDictCache.containsKey(locale)) { 48 sLangUserHistoryDictCache.get(locale); 52 Log.w(TAG, "Use cached UserHistoryDictionary for " + locale); 58 final UserHistoryDictionary dict = new UserHistoryDictionary(context, locale, sp); 59 sLangUserHistoryDictCache.put(locale, new SoftReference<UserHistoryDictionary>(dict)); 77 final PersonalizationDictionaryUpdateSession session, String locale) { 79 getPersonalizationPredictionDictionary(context, locale, 83 getPersonalizationDictionary(context, locale, 89 final Context context, final String locale, final SharedPreferences sp) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/res/ |
XResourceBundle.java | 24 import java.util.Locale; 50 * Return a named ResourceBundle for a particular locale. This method mimics the behavior 54 * @param locale the locale to prefer when searching for the bundle 57 String className, Locale locale) throws MissingResourceException 60 String suffix = getResourceSuffix(locale); 66 // first try with the given locale 68 return (XResourceBundle) ResourceBundle.getBundle(resourceName, locale); 78 XSLT_RESOURCE, new Locale("en", "US")) [all...] |
/external/libexif/test/nls/ |
test-nls.c | 4 #include <locale.h> 10 char *locale; member in struct:_testcase 41 printf("Default locale: %s\n", newloc); 46 char *locale = testcases[i].locale; local 52 printf("setlocale(\"%s\")\n", locale); 53 const char *actual_locale = setlocale(LC_MESSAGES, locale); 55 fprintf(stderr, "Error: Cannot set locale to %s.\n", locale); 58 printf("new locale: %s\n", actual_locale) [all...] |
/external/srec/shared/include/ |
ESR_Locale.h | 30 * Locale support functions. 70 * Given a locale, returns its string representation. 72 * @param locale The locale to translate 73 * @return Locale string 75 ESR_SHARED_API LCHAR* ESR_locale2str(const ESR_Locale locale); 78 * Given a locale's string representation, returns the associated ESR_Locale handle. 80 * @param str String representation of locale 81 * @param locale [out] Resulting locale [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.operators/ |
compare.pass.cpp | 10 // <locale> 16 #include <locale> 22 std::locale l;
|
/development/apps/CustomLocale/src/com/android/customlocale2/ |
ChangeLocale.java | 20 import java.util.Locale; 29 * Helper class to change the system locale. 37 * Sets the system locale to the new one specified. 39 * @param locale A locale name in the form "ab_AB". Must not be null or empty. 40 * @return True if the locale was succesfully changed. 42 public static boolean changeSystemLocale(String locale) { 44 Log.d(TAG, "Change locale to: " + locale); 51 Locale loc = null [all...] |
/external/chromium_org/chrome/browser/ |
user_data_dir_extractor_win.cc | 56 std::string locale = l10n_util::GetApplicationLocale(std::string()); 57 DCHECK(!locale.empty()); 58 if (locale.empty()) 59 locale = kUserDataDirDialogFallbackLocale; 60 ResourceBundle::InitSharedInstanceWithLocale(locale, NULL);
|
/external/chromium_org/third_party/icu/source/common/ |
resbund_cnv.cpp | 26 const Locale& locale, 30 constructForLocale(path, locale, error); 37 constructForLocale(path, Locale::getDefault(), error); 42 const Locale& locale, 46 fResource = ures_open(NULL, locale.getName(), &error); 51 fResource = ures_openU(nullTerminatedPath.getBuffer(), locale.getName(), &error);
|