| /external/icu4c/i18n/ |
| plurfmt.cpp | 36 : locale(Locale::getDefault()), 43 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) 44 : locale(loc), 52 : locale(Locale::getDefault()), 59 PluralFormat::PluralFormat(const Locale& loc, 62 : locale(loc), 69 PluralFormat::PluralFormat(const Locale& loc, 72 : locale(loc) [all...] |
| /external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
| Messages.java | 24 import java.util.Locale; 100 private final Locale m_locale = Locale.getDefault(); 128 * Set the Locale object to use. If this method is not called the 129 * default locale is used. This method needs to be called before 132 * @param locale non-null reference to Locale object. 135 // public void setLocale(Locale locale) 137 // m_locale = locale; 308 Locale locale = getLocale(); local [all...] |
| /external/chromium_org/chrome/browser/chromeos/ |
| customization_document.h | 50 std::string GetLocaleSpecificString(const std::string& locale, 72 std::string GetHelpPage(const std::string& locale) const; 73 std::string GetEULAPage(const std::string& locale) const; 135 std::string GetInitialStartPage(const std::string& locale) const; 136 std::string GetSupportPage(const std::string& locale) const;
|
| /external/icu4c/samples/ufortune/ |
| ufortune.c | 21 * be selected based on locale. 60 char *locale=NULL; /* Locale name. Null for system default, */ local 80 * -l locale specify a locale 87 locale = argv[i]; 107 u_stdout = u_finit(stdout, NULL /*locale*/, NULL /*codepage */); 127 myResources = ures_open("fortune_resources", locale, &err); 134 locale? locale: " ", u_errorName(err)) [all...] |
| /frameworks/base/core/java/android/webkit/ |
| DateSorter.java | 24 import java.util.Locale; 69 Locale locale = resources.getConfiguration().locale; local 70 if (locale == null) { 71 locale = Locale.getDefault(); 73 LocaleData localeData = LocaleData.get(locale);
|
| /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/ |
| tolower_1.pass.cpp | 10 // <locale> 19 #include <locale> 22 #include "platform_support.h" // locale name macros 27 std::locale l(LOCALE_en_US_UTF_8); 43 std::locale l("C"); 59 std::locale l(LOCALE_en_US_UTF_8); 75 std::locale l("C");
|
| tolower_many.pass.cpp | 10 // <locale> 19 #include <locale> 23 #include "platform_support.h" // locale name macros 28 std::locale l(LOCALE_en_US_UTF_8); 45 std::locale l("C"); 62 std::locale l(LOCALE_en_US_UTF_8); 79 std::locale l("C");
|
| toupper_1.pass.cpp | 10 // <locale> 19 #include <locale> 22 #include "platform_support.h" // locale name macros 27 std::locale l(LOCALE_en_US_UTF_8); 43 std::locale l("C"); 59 std::locale l(LOCALE_en_US_UTF_8); 75 std::locale l("C");
|
| toupper_many.pass.cpp | 10 // <locale> 19 #include <locale> 23 #include "platform_support.h" // locale name macros 28 std::locale l(LOCALE_en_US_UTF_8); 45 std::locale l("C"); 62 std::locale l(LOCALE_en_US_UTF_8); 79 std::locale l("C");
|
| /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.cons/ |
| locale_char_pointer_cat.pass.cpp | 10 // <locale> 12 // locale(const locale& other, const char* std_name, category); 14 #include <locale> 18 #include "platform_support.h" // locale name macros 34 void check(const std::locale& loc) 72 std::locale loc(LOCALE_ru_RU_UTF_8); 74 std::locale loc2(loc, LOCALE_en_US_UTF_8, std::locale::monetary);
|
| locale_string_cat.pass.cpp | 10 // <locale> 12 // locale(const locale& other, const string& std_name, category cat); 14 #include <locale> 18 #include "platform_support.h" // locale name macros 34 void check(const std::locale& loc) 72 std::locale loc(LOCALE_ru_RU_UTF_8); 74 std::locale loc2(loc, std::string(LOCALE_en_US_UTF_8), std::locale::monetary);
|
| default.pass.cpp | 10 // <locale> 12 // locale() throw(); 14 #include <locale> 18 #include "platform_support.h" // locale name macros 34 void check(const std::locale& loc) 73 std::locale loc; 79 assert(std::locale::global(std::locale(LOCALE_en_US_UTF_8)) == loc); 81 std::locale loc2; 85 assert(loc2 == std::locale(LOCALE_en_US_UTF_8)) [all...] |
| /external/chromium_org/third_party/WebKit/Source/web/ |
| DateTimeChooserImpl.cpp | 56 , m_locale(WebCore::Locale::create(parameters.locale)) 110 todayLabelString = locale().queryString(WebLocalizedString::ThisMonthButtonLabel); 111 otherDateLabelString = locale().queryString(WebLocalizedString::OtherMonthLabel); 113 todayLabelString = locale().queryString(WebLocalizedString::ThisWeekButtonLabel); 114 otherDateLabelString = locale().queryString(WebLocalizedString::OtherWeekLabel); 116 todayLabelString = locale().queryString(WebLocalizedString::CalendarToday); 117 otherDateLabelString = locale().queryString(WebLocalizedString::OtherDateLabel); 134 addProperty("locale", m_parameters.locale.string(), writer) 170 WebCore::Locale& DateTimeChooserImpl::locale() function in class:blink::DateTimeChooserImpl [all...] |
| /external/chromium_org/third_party/icu/source/common/ |
| servloc.h | 52 * A subclass of Key that implements a locale fallback mechanism. 53 * The first locale to search for is the locale provided by the 54 * client, and the fallback locale to search for is the current 55 * default locale. If a prefix is present, the currentDescriptor 56 * includes it before the locale proper, separated by "/". This 59 * <p>Canonicalization adjusts the locale string so that the 93 * PrimaryID is the user's requested locale string, 95 * fallbackID is the current default locale's string in 130 * Convenience method to return the locale corresponding to the (canonical) original ID [all...] |
| /external/icu4c/common/ |
| servloc.h | 52 * A subclass of Key that implements a locale fallback mechanism. 53 * The first locale to search for is the locale provided by the 54 * client, and the fallback locale to search for is the current 55 * default locale. If a prefix is present, the currentDescriptor 56 * includes it before the locale proper, separated by "/". This 59 * <p>Canonicalization adjusts the locale string so that the 93 * PrimaryID is the user's requested locale string, 95 * fallbackID is the current default locale's string in 130 * Convenience method to return the locale corresponding to the (canonical) original ID [all...] |
| /external/stlport/src/ |
| messages.cpp | 29 void _Catalog_locale_map::insert(nl_catd_type key, const locale& L) { 59 locale _Catalog_locale_map::lookup(nl_catd_type key) const { 62 return i != M->end() ? (*i).second : locale::classic(); 65 return locale::classic(); 103 locale::_M_throw_on_null_name(); 109 locale::_M_throw_on_creation_failure(__err_code, name, "messages"); 124 _Messages::catalog _Messages::do_open(const string& filename, const locale& L) const { 189 : locale::facet(refs) {} 201 messages_byname<char>::do_open(const string& filename, const locale& l) const 218 : locale::facet(refs) { [all...] |
| /ndk/sources/cxx-stl/stlport/src/ |
| messages.cpp | 29 void _Catalog_locale_map::insert(nl_catd_type key, const locale& L) { 59 locale _Catalog_locale_map::lookup(nl_catd_type key) const { 62 return i != M->end() ? (*i).second : locale::classic(); 65 return locale::classic(); 103 locale::_M_throw_on_null_name(); 109 locale::_M_throw_on_creation_failure(__err_code, name, "messages"); 124 _Messages::catalog _Messages::do_open(const string& filename, const locale& L) const { 189 : locale::facet(refs) {} 201 messages_byname<char>::do_open(const string& filename, const locale& l) const 218 : locale::facet(refs) { [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
| UserBinaryDictionary.java | 37 import java.util.Locale; 78 public UserBinaryDictionary(final Context context, final String locale) { 79 this(context, locale, false); 82 public UserBinaryDictionary(final Context context, final String locale, 84 super(context, getFilenameWithLocale(NAME, locale), Dictionary.TYPE_USER, 86 if (null == locale) throw new NullPointerException(); // Catch the error earlier 87 if (SubtypeLocaleUtils.NO_LANGUAGE.equals(locale)) { 88 // If we don't have a locale, insert into the "all locales" user dictionary. 91 mLocale = locale; 130 // Split the locale. For example "en" => ["en"], "de_DE" => ["de", "DE"] 212 final Locale locale; local [all...] |
| /external/chromium_org/ui/base/l10n/ |
| l10n_util.h | 23 // This method translates a generic locale name to one of the locally defined 25 UI_EXPORT bool CheckAndResolveLocale(const std::string& locale, 28 // This method is responsible for determining the locale as defined below. In 32 // Returns the locale used by the Application. First we use the value from the 34 // as |pref_locale|), finally, we fall back on the system locale. We only return 35 // a value if there's a corresponding resource DLL for the locale. Otherwise, 39 // Returns true if a display name for |locale| is available in the locale 41 UI_EXPORT bool IsLocaleNameTranslated(const char* locale, 44 // Given a locale code, return true if the OS is capable of supporting it [all...] |
| /external/stlport/stlport/stl/ |
| _collate.h | 43 class _STLP_CLASS_DECLSPEC collate<char> : public locale::facet { 48 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} 62 static _STLP_STATIC_DECLSPEC locale::id id; 79 class _STLP_CLASS_DECLSPEC collate<wchar_t> : public locale::facet { 84 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} 98 static _STLP_STATIC_DECLSPEC locale::id id; 162 __locale_do_operator_call (const locale& __loc,
|
| /ndk/sources/cxx-stl/stlport/stlport/stl/ |
| _collate.h | 43 class _STLP_CLASS_DECLSPEC collate<char> : public locale::facet { 48 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} 62 static _STLP_STATIC_DECLSPEC locale::id id; 79 class _STLP_CLASS_DECLSPEC collate<wchar_t> : public locale::facet { 84 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} 98 static _STLP_STATIC_DECLSPEC locale::id id; 162 __locale_do_operator_call (const locale& __loc,
|
| /prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
| _collate.h | 43 class _STLP_CLASS_DECLSPEC collate<char> : public locale::facet { 48 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} 62 static _STLP_STATIC_DECLSPEC locale::id id; 79 class _STLP_CLASS_DECLSPEC collate<wchar_t> : public locale::facet { 84 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} 98 static _STLP_STATIC_DECLSPEC locale::id id; 162 __locale_do_operator_call (const locale& __loc,
|
| /prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
| _collate.h | 43 class _STLP_CLASS_DECLSPEC collate<char> : public locale::facet { 48 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} 62 static _STLP_STATIC_DECLSPEC locale::id id; 79 class _STLP_CLASS_DECLSPEC collate<wchar_t> : public locale::facet { 84 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} 98 static _STLP_STATIC_DECLSPEC locale::id id; 162 __locale_do_operator_call (const locale& __loc,
|
| /prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
| _collate.h | 43 class _STLP_CLASS_DECLSPEC collate<char> : public locale::facet { 48 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} 62 static _STLP_STATIC_DECLSPEC locale::id id; 79 class _STLP_CLASS_DECLSPEC collate<wchar_t> : public locale::facet { 84 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} 98 static _STLP_STATIC_DECLSPEC locale::id id; 162 __locale_do_operator_call (const locale& __loc,
|
| /prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
| _collate.h | 43 class _STLP_CLASS_DECLSPEC collate<char> : public locale::facet { 48 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} 62 static _STLP_STATIC_DECLSPEC locale::id id; 79 class _STLP_CLASS_DECLSPEC collate<wchar_t> : public locale::facet { 84 explicit collate(size_t __refs = 0) : locale::facet(__refs) {} 98 static _STLP_STATIC_DECLSPEC locale::id id; 162 __locale_do_operator_call (const locale& __loc,
|