/libcore/luni/src/main/java/java/text/spi/ |
NumberFormatProvider.java | 21 import java.util.Locale; 27 * <p>Note that Android does not support user-supplied locale service providers. 41 * monetary values for the given locale. 43 * @param locale the locale 45 * @throws NullPointerException if {@code locale == null} 47 * if locale isn't one of the locales returned from 50 public abstract NumberFormat getCurrencyInstance(Locale locale); 54 * integer values for the given locale. The returned {@code NumberFormat [all...] |
/ndk/sources/android/support/src/locale/ |
locale_impl.h | 31 #include <locale.h>
|
newlocale.c | 31 locale_t newlocale(int category_mask, const char* locale, locale_t base) { 37 if (*locale && strcmp(locale, "C") && strcmp(locale, "POSIX"))
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.messages/locale.messages/ |
messages_base.pass.cpp | 10 // <locale> 18 #include <locale>
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/ |
version.pass.cpp | 10 // <locale> 12 #include <locale>
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/ |
dtor.pass.cpp | 10 // <locale> 16 #include <locale> 32 std::locale l(std::locale::classic(), new std::ctype<char>); 39 std::locale l(std::locale::classic(), new std::ctype<char>(table)); 45 std::locale l(std::locale::classic(),
|
/external/stlport/stlport/stl/ |
_locale.h | 49 class locale; 52 bool __locale_do_operator_call(const locale& __loc, 62 bool _HasFacet(const locale& __loc, const _Facet* __facet) _STLP_NOTHROW; 65 _Facet* _UseFacet(const locale& __loc, const _Facet* __facet); 68 void _InsertFacet(locale& __loc, _Facet* __facet); 74 # define locale _STLP_NO_MEM_T_NAME(loc) macro 77 class _STLP_CLASS_DECLSPEC locale { class 88 friend class locale; 120 locale() _STLP_NOTHROW; 121 locale(const locale&) _STLP_NOTHROW 127 locale(const locale& __loc, _Facet* __f) { function in class:locale 211 # undef locale macro 214 class locale : public _Locale { class in inherits:_Locale 224 explicit locale(const char *__str) : _Locale(__str) {} function in class:locale 225 locale(const locale& __loc, const char* __str, category __cat) function in class:locale 229 locale(const locale& __loc, _Facet* __f) function in class:locale 238 locale(_Locale_impl* __impl) : _Locale(__impl) {} function in class:locale 239 locale(const _Locale& __loc) : _Locale(__loc) {} function in class:locale 243 locale(const locale& __loc1, const locale& __loc2, category __cat) function in class:locale [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_locale.h | 49 class locale; 52 bool __locale_do_operator_call(const locale& __loc, 62 bool _HasFacet(const locale& __loc, const _Facet* __facet) _STLP_NOTHROW; 65 _Facet* _UseFacet(const locale& __loc, const _Facet* __facet); 68 void _InsertFacet(locale& __loc, _Facet* __facet); 74 # define locale _STLP_NO_MEM_T_NAME(loc) macro 77 class _STLP_CLASS_DECLSPEC locale { class 88 friend class locale; 120 locale() _STLP_NOTHROW; 121 locale(const locale&) _STLP_NOTHROW 127 locale(const locale& __loc, _Facet* __f) { function in class:locale 211 # undef locale macro 214 class locale : public _Locale { class in inherits:_Locale 224 explicit locale(const char *__str) : _Locale(__str) {} function in class:locale 225 locale(const locale& __loc, const char* __str, category __cat) function in class:locale 229 locale(const locale& __loc, _Facet* __f) function in class:locale 238 locale(_Locale_impl* __impl) : _Locale(__impl) {} function in class:locale 239 locale(const _Locale& __loc) : _Locale(__loc) {} function in class:locale 243 locale(const locale& __loc1, const locale& __loc2, category __cat) function in class:locale [all...] |
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_locale.h | 47 class locale; 50 bool __locale_do_operator_call(const locale& __loc, 60 bool _HasFacet(const locale& __loc, const _Facet* __facet) _STLP_NOTHROW; 63 _Facet* _UseFacet(const locale& __loc, const _Facet* __facet); 66 void _InsertFacet(locale& __loc, _Facet* __facet); 72 # define locale _STLP_NO_MEM_T_NAME(loc) macro 75 class _STLP_CLASS_DECLSPEC locale { class 86 friend class locale; 118 locale() _STLP_NOTHROW; 119 locale(const locale&) _STLP_NOTHROW 125 locale(const locale& __loc, _Facet* __f) { function in class:locale 209 # undef locale macro 212 class locale : public _Locale { class in inherits:_Locale 222 explicit locale(const char *__str) : _Locale(__str) {} function in class:locale 223 locale(const locale& __loc, const char* __str, category __cat) function in class:locale 227 locale(const locale& __loc, _Facet* __f) function in class:locale 236 locale(_Locale_impl* __impl) : _Locale(__impl) {} function in class:locale 237 locale(const _Locale& __loc) : _Locale(__loc) {} function in class:locale 241 locale(const locale& __loc1, const locale& __loc2, category __cat) function in class:locale [all...] |
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_locale.h | 47 class locale; 50 bool __locale_do_operator_call(const locale& __loc, 60 bool _HasFacet(const locale& __loc, const _Facet* __facet) _STLP_NOTHROW; 63 _Facet* _UseFacet(const locale& __loc, const _Facet* __facet); 66 void _InsertFacet(locale& __loc, _Facet* __facet); 72 # define locale _STLP_NO_MEM_T_NAME(loc) macro 75 class _STLP_CLASS_DECLSPEC locale { class 86 friend class locale; 118 locale() _STLP_NOTHROW; 119 locale(const locale&) _STLP_NOTHROW 125 locale(const locale& __loc, _Facet* __f) { function in class:locale 209 # undef locale macro 212 class locale : public _Locale { class in inherits:_Locale 222 explicit locale(const char *__str) : _Locale(__str) {} function in class:locale 223 locale(const locale& __loc, const char* __str, category __cat) function in class:locale 227 locale(const locale& __loc, _Facet* __f) function in class:locale 236 locale(_Locale_impl* __impl) : _Locale(__impl) {} function in class:locale 237 locale(const _Locale& __loc) : _Locale(__loc) {} function in class:locale 241 locale(const locale& __loc1, const locale& __loc2, category __cat) function in class:locale [all...] |
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_locale.h | 49 class locale; 52 bool __locale_do_operator_call(const locale& __loc, 62 bool _HasFacet(const locale& __loc, const _Facet* __facet) _STLP_NOTHROW; 65 _Facet* _UseFacet(const locale& __loc, const _Facet* __facet); 68 void _InsertFacet(locale& __loc, _Facet* __facet); 74 # define locale _STLP_NO_MEM_T_NAME(loc) macro 77 class _STLP_CLASS_DECLSPEC locale { class 88 friend class locale; 120 locale() _STLP_NOTHROW; 121 locale(const locale&) _STLP_NOTHROW 127 locale(const locale& __loc, _Facet* __f) { function in class:locale 211 # undef locale macro 214 class locale : public _Locale { class in inherits:_Locale 224 explicit locale(const char *__str) : _Locale(__str) {} function in class:locale 225 locale(const locale& __loc, const char* __str, category __cat) function in class:locale 229 locale(const locale& __loc, _Facet* __f) function in class:locale 238 locale(_Locale_impl* __impl) : _Locale(__impl) {} function in class:locale 239 locale(const _Locale& __loc) : _Locale(__loc) {} function in class:locale 243 locale(const locale& __loc1, const locale& __loc2, category __cat) function in class:locale [all...] |
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_locale.h | 49 class locale; 52 bool __locale_do_operator_call(const locale& __loc, 62 bool _HasFacet(const locale& __loc, const _Facet* __facet) _STLP_NOTHROW; 65 _Facet* _UseFacet(const locale& __loc, const _Facet* __facet); 68 void _InsertFacet(locale& __loc, _Facet* __facet); 74 # define locale _STLP_NO_MEM_T_NAME(loc) macro 77 class _STLP_CLASS_DECLSPEC locale { class 88 friend class locale; 120 locale() _STLP_NOTHROW; 121 locale(const locale&) _STLP_NOTHROW 127 locale(const locale& __loc, _Facet* __f) { function in class:locale 211 # undef locale macro 214 class locale : public _Locale { class in inherits:_Locale 224 explicit locale(const char *__str) : _Locale(__str) {} function in class:locale 225 locale(const locale& __loc, const char* __str, category __cat) function in class:locale 229 locale(const locale& __loc, _Facet* __f) function in class:locale 238 locale(_Locale_impl* __impl) : _Locale(__impl) {} function in class:locale 239 locale(const _Locale& __loc) : _Locale(__loc) {} function in class:locale 243 locale(const locale& __loc1, const locale& __loc2, category __cat) function in class:locale [all...] |
/prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/ |
_locale.h | 49 class locale; 52 bool __locale_do_operator_call(const locale& __loc, 62 bool _HasFacet(const locale& __loc, const _Facet* __facet) _STLP_NOTHROW; 65 _Facet* _UseFacet(const locale& __loc, const _Facet* __facet); 68 void _InsertFacet(locale& __loc, _Facet* __facet); 74 # define locale _STLP_NO_MEM_T_NAME(loc) macro 77 class _STLP_CLASS_DECLSPEC locale { class 88 friend class locale; 120 locale() _STLP_NOTHROW; 121 locale(const locale&) _STLP_NOTHROW 127 locale(const locale& __loc, _Facet* __f) { function in class:locale 211 # undef locale macro 214 class locale : public _Locale { class in inherits:_Locale 224 explicit locale(const char *__str) : _Locale(__str) {} function in class:locale 225 locale(const locale& __loc, const char* __str, category __cat) function in class:locale 229 locale(const locale& __loc, _Facet* __f) function in class:locale 238 locale(_Locale_impl* __impl) : _Locale(__impl) {} function in class:locale 239 locale(const _Locale& __loc) : _Locale(__loc) {} function in class:locale 243 locale(const locale& __loc1, const locale& __loc2, category __cat) function in class:locale [all...] |
/external/chromium_org/third_party/libusb/src/libusb/ |
strerror.c | 21 #include <locale.h> 41 * code for your locale at the end of \c usbi_locale_supported[]<br> 114 * This takes a locale string in the default setlocale format: lang[-region] 129 * locale settings, call libusb_setlocale(setlocale(LC_MESSAGES, NULL)), 130 * after your app has done its locale setup. 132 * \param locale locale-string in the form of lang[_country_region][.codeset] 135 * \returns LIBUSB_ERROR_INVALID_PARAM if the locale doesn't meet the requirements 140 int API_EXPORTED libusb_setlocale(const char *locale) 144 if ( (locale == NULL) || (strlen(locale) < 2 [all...] |
/external/icu4c/common/ |
unistr_case_locale.cpp | 14 * Locale-sensitive case mapping functions (ones that call uloc_getDefault()) 35 setTempCaseMap(UCaseMap *csm, const char *locale) { 39 if(locale!=NULL && locale[0]==0) { 40 csm->locale[0]=0; 42 ustrcase_setTempCaseMapLocale(csm, locale); 48 return toLower(Locale::getDefault()); 52 UnicodeString::toLower(const Locale &locale) { 54 setTempCaseMap(&csm, locale.getName()) [all...] |
/development/apps/CustomLocale/src/com/android/customlocale2/ |
CustomLocaleReceiver.java | 28 * Broadcast receiver that can change the system's locale.
31 * to easily trigger a locale change on an emulator as such:
34 * --es com.android.intent.extra.LOCALE en_US
44 /** An extra String that specifies the locale to set, in the form "en_US". */
45 public static final String EXTRA_LOCALE = "com.android.intent.extra.LOCALE";
57 String locale = intent.getStringExtra(EXTRA_LOCALE);
local 59 // Enforce the locale string is either in the form "ab" or "ab_cd"
60 boolean is_ok = locale != null;
61 is_ok = is_ok && (locale.length() == 2 || locale.length() == 5); [all...] |
/external/chromium_org/ui/base/l10n/ |
l10n_util_posix.cc | 15 bool IsLocaleSupportedByOS(const std::string& locale) { 24 if (LowerCaseEqualsASCII(locale, kUnsupportedLocales[i]))
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
WordListInfo.java | 25 public WordListInfo(final String id, final String locale) { 27 mLocale = locale;
|
/external/llvm/include/llvm/Support/ |
Locale.h | 8 namespace locale { namespace in namespace:llvm::sys
|
/ndk/sources/android/support/src/musl-locale/ |
strerror_l.c | 2 #include <locale.h>
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/ |
classic_table.pass.cpp | 10 // <locale> 16 #include <locale>
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.locale/ |
imbue.pass.cpp | 17 #include <locale> 20 #include "platform_support.h" // locale name macros 25 std::locale loc = r.imbue(std::locale(LOCALE_en_US_UTF_8)); 28 loc = r.imbue(std::locale("C"));
|
/cts/tests/src/android/text/format/cts/ |
LocaleUtils.java | 21 import java.util.Locale; 25 /** Return whether or not the given locale is the device's current locale. */ 26 public static boolean isCurrentLocale(Context context, Locale locale) { 27 // TODO: Change the locale on the device using public API if it becomes available. 28 Locale currentLocale = context.getResources().getConfiguration().locale; 29 return locale.equals(currentLocale);
|
/external/srec/shared/src/ |
ESR_Locale.c | 26 LCHAR* ESR_locale2str(const ESR_Locale locale) 28 switch (locale) { 39 return L("invalid locale code"); 43 ESR_ReturnCode ESR_str2locale(const LCHAR* str, ESR_Locale* locale) 46 if (!lstrcasecmp(str, L("EN-US"), &rtn) && !rtn) *locale = ESR_LOCALE_EN_US; 47 else if (!lstrcasecmp(str, L("FR-FR"), &rtn) && !rtn) *locale = ESR_LOCALE_FR_FR; 48 else if (!lstrcasecmp(str, L("DE-DE"), &rtn) && !rtn) *locale = ESR_LOCALE_DE_DE; 49 else if (!lstrcasecmp(str, L("EN-GB"), &rtn) && !rtn) *locale = ESR_LOCALE_EN_GB; 50 else if (!lstrcasecmp(str, L("IT-IT"), &rtn) && !rtn) *locale = ESR_LOCALE_IT_IT; 51 else if (!lstrcasecmp(str, L("NL-NL"), &rtn) && !rtn) *locale = ESR_LOCALE_NL_NL [all...] |
/external/srec/srec/Vocabulary/include/ |
SR_VocabularyImpl.h | 50 * Vocabulary locale. 52 ESR_Locale locale; member in struct:SR_VocabularyImpl_t 54 * String to identify TTP language associated with locale. 99 ESR_ReturnCode SR_VocabularyGetLanguageImpl(SR_Vocabulary* self, ESR_Locale* locale); 114 #define TTP_LANG(locale) locale == ESR_LOCALE_EN_US ? L("enu") : \ 115 locale == ESR_LOCALE_FR_FR ? L("fra") : \ 116 locale == ESR_LOCALE_DE_DE ? L("deu") : \ 117 locale == ESR_LOCALE_EN_GB ? L("eng") : \ 118 locale == ESR_LOCALE_JA_JP ? L("jpn") : [all...] |