/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ConfigurationTest.java | 37 shConfiguration.setLocale( Locale.US ); 40 shConfiguration.setLocale( Locale.FRANCE);
|
/external/protobuf/src/google/protobuf/stubs/ |
strutil_unittest.cc | 47 char* old_locale_cstr = setlocale(LC_NUMERIC, NULL); 52 ASSERT_TRUE(setlocale(LC_NUMERIC, "C") != NULL); 64 if (setlocale(LC_NUMERIC, "es_ES") == NULL && 65 setlocale(LC_NUMERIC, "es_ES.utf8") == NULL) { 78 setlocale(LC_NUMERIC, old_locale.c_str());
|
/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/ |
OverlayBaseTest.java | 31 private void setLocale(String code) { 76 setLocale("sv_SE"); 83 setLocale("en_US"); 85 setLocale("sv_SE"); 92 setLocale("en_US"); 94 setLocale("sv_SE");
|
/packages/apps/Dialer/tests/src/com/android/dialer/util/ |
LocaleTestUtils.java | 41 * mLocaleTestUtils.setLocale(Locale.CANADA_FRENCH); 54 * Note that one should not call {@link #setLocale(Locale)} more than once without calling 81 public void setLocale(Locale locale) { 84 "call restoreLocale() before calling setLocale() again"); 94 * @throws IllegalStateException if the locale was not set using {@link #setLocale(Locale)} 98 throw new IllegalStateException("call setLocale() before calling restoreLocale()");
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowConfiguration.java | 27 public void setLocale( Locale l ) {
|
/ndk/sources/host-tools/sed-4.2.1/m4/ |
wcrtomb.m4 | 50 if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) 55 if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) 60 if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) 65 if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/i686-linux/bits/ |
ctype_noninline.h | 47 char* __old = setlocale(LC_CTYPE, NULL); 54 setlocale(LC_CTYPE, "C"); 63 setlocale(LC_CTYPE, __sav); 89 char* __old = setlocale(LC_CTYPE, NULL); 96 setlocale(LC_CTYPE, "C"); 109 setlocale(LC_CTYPE, __sav); 134 char* __old = setlocale(LC_CTYPE, NULL); 141 setlocale(LC_CTYPE, "C"); 154 setlocale(LC_CTYPE, __sav);
|
c++locale.h | 60 char* __old = std::setlocale(LC_NUMERIC, NULL); 67 std::setlocale(LC_NUMERIC, "C"); 83 std::setlocale(LC_NUMERIC, __sav);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/i686-linux/bits/ |
ctype_noninline.h | 47 char* __old = setlocale(LC_CTYPE, NULL); 54 setlocale(LC_CTYPE, "C"); 63 setlocale(LC_CTYPE, __sav); 89 char* __old = setlocale(LC_CTYPE, NULL); 96 setlocale(LC_CTYPE, "C"); 109 setlocale(LC_CTYPE, __sav); 134 char* __old = setlocale(LC_CTYPE, NULL); 141 setlocale(LC_CTYPE, "C"); 154 setlocale(LC_CTYPE, __sav);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/x86_64-linux/bits/ |
ctype_noninline.h | 47 char* __old = setlocale(LC_CTYPE, NULL); 54 setlocale(LC_CTYPE, "C"); 63 setlocale(LC_CTYPE, __sav); 89 char* __old = setlocale(LC_CTYPE, NULL); 96 setlocale(LC_CTYPE, "C"); 109 setlocale(LC_CTYPE, __sav); 134 char* __old = setlocale(LC_CTYPE, NULL); 141 setlocale(LC_CTYPE, "C"); 154 setlocale(LC_CTYPE, __sav);
|
/bionic/libc/bionic/ |
setlocale.cpp | 32 // setlocale(3) always fails on bionic. 33 char* setlocale(int /*category*/, char const* /*locale*/) { function
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
LanguageCallbackTest.java | 44 lc.setLocale(locale); 55 lc.setLocale(null);
|
/external/bison/lib/ |
main.c | 26 # define setlocale(Category, Locale) macro 34 setlocale (LC_ALL, "");
|
/external/e2fsprogs/misc/ |
uuidgen.c | 44 setlocale(LC_MESSAGES, ""); 45 setlocale(LC_CTYPE, "");
|
/ndk/sources/cxx-stl/llvm-libc++/include/ |
clocale | 31 char* setlocale(int category, const char* locale); 48 using ::setlocale;
|
/external/bison/m4/ |
locale-fr.m4 | 29 /* On native Windows, setlocale(category, "") looks at the system settings, 33 if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL 34 || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) 37 if (setlocale (LC_ALL, "") == NULL) return 1; 42 On OpenBSD 4.0, when an unsupported locale is specified, setlocale() 45 On MirBSD 10, when an unsupported locale is specified, setlocale() 78 # Handle native Windows specially, because there setlocale() interprets 157 /* On native Windows, setlocale(category, "") looks at the system settings, 161 if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL 162 || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0 [all...] |
locale-ja.m4 | 31 /* On native Windows, setlocale(category, "") looks at the system settings, 35 if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL 36 || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) 39 if (setlocale (LC_ALL, "") == NULL) return 1; 44 On OpenBSD 4.0, when an unsupported locale is specified, setlocale() 47 On MirBSD 10, when an unsupported locale is specified, setlocale() 80 # Handle native Windows specially, because there setlocale() interprets
|
locale-zh.m4 | 32 /* On native Windows, setlocale(category, "") looks at the system settings, 36 if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL 37 || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) 40 if (setlocale (LC_ALL, "") == NULL) return 1; 45 On OpenBSD 4.0, when an unsupported locale is specified, setlocale() 48 On MirBSD 10, when an unsupported locale is specified, setlocale() 81 # Handle native Windows specially, because there setlocale() interprets
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactLocaleUtilsTest.java | 138 ContactLocaleUtils.setLocale(Locale.ENGLISH); 155 ContactLocaleUtils.setLocale(Locale.JAPAN); 176 ContactLocaleUtils.setLocale(Locale.SIMPLIFIED_CHINESE); 185 ContactLocaleUtils.setLocale(Locale.TRADITIONAL_CHINESE); 192 ContactLocaleUtils.setLocale(Locale.SIMPLIFIED_CHINESE); 204 ContactLocaleUtils.setLocale(Locale.TRADITIONAL_CHINESE); 214 ContactLocaleUtils.setLocale(Locale.ENGLISH); 218 ContactLocaleUtils.setLocale(Locale.CHINA); 227 ContactLocaleUtils.setLocale(Locale.TRADITIONAL_CHINESE); 236 ContactLocaleUtils.setLocale(Locale.KOREA) [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
c++locale.h | 60 char* __old = std::setlocale(LC_NUMERIC, NULL); 67 std::setlocale(LC_NUMERIC, "C"); 83 std::setlocale(LC_NUMERIC, __sav);
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/ |
c++locale.h | 60 char* __old = std::setlocale(LC_NUMERIC, NULL); 67 std::setlocale(LC_NUMERIC, "C"); 83 std::setlocale(LC_NUMERIC, __sav);
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
c++locale.h | 60 char* __old = std::setlocale(LC_NUMERIC, NULL); 67 std::setlocale(LC_NUMERIC, "C"); 83 std::setlocale(LC_NUMERIC, __sav);
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/ |
c++locale.h | 60 char* __old = std::setlocale(LC_NUMERIC, NULL); 67 std::setlocale(LC_NUMERIC, "C"); 83 std::setlocale(LC_NUMERIC, __sav);
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/libs/x86/include/bits/ |
c++locale.h | 60 char* __old = std::setlocale(LC_NUMERIC, NULL); 67 std::setlocale(LC_NUMERIC, "C"); 83 std::setlocale(LC_NUMERIC, __sav);
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
c++locale.h | 60 char* __old = std::setlocale(LC_NUMERIC, NULL); 67 std::setlocale(LC_NUMERIC, "C"); 83 std::setlocale(LC_NUMERIC, __sav);
|