/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt.byname/ |
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/cxx-stl/llvm-libc++/libcxx/test/re/re.traits/ |
lookup_collatename.xlocale.pass.cpp | 35 std::locale::global(std::locale("cs_CZ.ISO8859-2")); 38 std::locale::global(std::locale("cs_CZ.ISO8859-2"));
|
/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...] |
/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/libcxx/test/localization/locale.categories/ |
Android.mk | 17 test_makefile := external/libcxx/test/localization/locale.categories/Android.mk 19 test_name := localization/locale.categories/__scan_keyword
|
/external/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/ |
Android.mk | 17 test_makefile := external/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/Android.mk 19 test_name := localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping 23 test_name := localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep 27 test_name := localization/locale.categories/facet.numpunct/locale.numpunct.byname/decimal_point
|
/external/libcxx/test/localization/locale.syn/ |
Android.mk | 17 test_makefile := external/libcxx/test/localization/locale.syn/Android.mk 19 test_name := localization/locale.syn/nothing_to_do
|
/external/libcxx/test/localization/locales/locale/ |
Android.mk | 17 test_makefile := external/libcxx/test/localization/locales/locale/Android.mk 19 test_name := localization/locales/locale/nothing_to_do
|
/external/libcxx/test/localization/locales/locale/locale.operators/ |
compare.pass.cpp | 10 // <locale> 16 #include <locale> 22 std::locale l;
|
/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...] |
/frameworks/av/media/libmedia/ |
MediaScannerClient.cpp | 34 void MediaScannerClient::setLocale(const char* locale) 36 mLocale = locale; // not currently used
|
/libcore/luni/src/main/java/java/text/ |
BreakIterator.java | 20 import java.util.Locale; 108 * boundary = BreakIterator.getSentenceInstance(Locale.US); 252 * <p>Note that Android does not support user-supplied locale service providers. 254 public static Locale[] getAvailableLocales() { 260 * characters using the user's default locale. 261 * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>". 262 * @return a new instance of {@code BreakIterator} using the default locale. 265 return getCharacterInstance(Locale.getDefault()); 270 * characters using the given locale [all...] |
/ndk/sources/android/support/src/musl-locale/ |
wcscoll.c | 2 #include <locale.h> 7 int wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale)
|
/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;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
WordListInfo.java | 26 public WordListInfo(final String id, final String locale, final String rawChecksum) { 28 mLocale = locale;
|
/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...] |