/external/icu4c/test/perf/ubrkperf/ |
ubrkperf.h | 23 ICUBreakFunction(const char *locale, const char *mode, const UChar *file, int32_t file_len) : 32 m_brkIt_ = BreakIterator::createCharacterInstance(locale, m_status_); 35 m_brkIt_ = BreakIterator::createWordInstance(locale, m_status_); 38 m_brkIt_ = BreakIterator::createLineInstance(locale, m_status_); 41 m_brkIt_ = BreakIterator::createSentenceInstance(locale, m_status_); 59 ICUIsBound(const char *locale, const char *mode, const UChar *file, int32_t file_len) : 60 ICUBreakFunction(locale, mode, file, file_len) 86 ICUForward(const char *locale, const char *mode, const UChar *file, int32_t file_len) : 87 ICUBreakFunction(locale, mode, file, file_len)
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
locdspnm.h | 15 * \brief C++ API: Provides display names of Locale and its components. 29 * values, see Locale. 42 * {@link #createInstance(const Locale& locale, UDialectHandling dialectHandling)} 44 * @param locale the display locale 48 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale); 52 * formatted for the provided locale, using the provided 55 * @param locale the display local [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/ |
LocalizationUtils.java | 14 import java.util.Locale; 17 * This class provides the locale related methods for the native library. 30 * @return the default locale, translating Android deprecated 35 Locale locale = Locale.getDefault(); local 36 String language = locale.getLanguage(); 37 String country = locale.getCountry(); 42 // See http://developer.android.com/reference/java/util/Locale.html 54 private static Locale getJavaLocale(String language, String country, String variant) [all...] |
/external/srec/srec/Vocabulary/include/ |
SR_Vocabulary.h | 63 * Returns vocabulary locale. 66 * @param locale [out] Vocabulary locale 68 ESR_ReturnCode(*getLanguage)(struct SR_Vocabulary_t* self, ESR_Locale* locale); 94 * @param locale 97 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyCreate(ESR_Locale locale, SR_Vocabulary** self); 131 * Returns vocabulary locale. 134 * @param locale [out] Vocabulary locale 136 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyGetLanguage(SR_Vocabulary* self, ESR_Locale* locale); [all...] |
/frameworks/support/v4/ics/android/support/v4/text/ |
ICUCompatIcs.java | 46 public static String getScript(String locale) { 49 final Object[] args = new Object[] { locale }; 63 public static String addLikelySubtags(String locale) { 66 final Object[] args = new Object[] { locale }; 77 return locale;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate/ |
types.pass.cpp | 10 // <locale> 14 // : public locale::facet { 19 // static locale::id id; 22 #include <locale> 28 std::locale l = std::locale::classic(); 37 static_assert((std::is_base_of<std::locale::facet, std::collate<char> >::value), ""); 47 static_assert((std::is_base_of<std::locale::facet, std::collate<wchar_t> >::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/ |
types.pass.cpp | 10 // <locale> 14 // : public locale::facet 19 // static locale::id id; 21 #include <locale> 27 std::locale l = std::locale::classic(); 36 static_assert((std::is_base_of<std::locale::facet, std::numpunct<char> >::value), ""); 46 static_assert((std::is_base_of<std::locale::facet, std::numpunct<wchar_t> >::value), "");
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
AccessibilityUtils.java | 28 import java.util.Locale; 65 static CharSequence getTextForLocale(Context context, Locale locale, int resId) { 68 final Locale prevLocale = config.locale; 70 config.locale = locale; 74 config.locale = prevLocale;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
UserDictionaryCompatUtils.java | 23 import java.util.Locale; 26 // UserDictionary.Words#addWord(Context, String, int, String, Locale) was introduced 29 Context.class, String.class, Integer.TYPE, String.class, Locale.class); 33 final String shortcut, final Locale locale) { 36 locale); 40 if (null == locale) { 43 final Locale currentLocale = context.getResources().getConfiguration().locale; 44 if (locale.equals(currentLocale)) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
LocaleMacTest.cpp | 74 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 78 return locale->formatDateTime(date); 83 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 87 return locale->formatDateTime(date, (useShortFormat ? Locale::FormatTypeShort : Locale::FormatTypeMedium)); 92 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 93 return locale->formatDateTime(dateComponents(year, month, day)); 98 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 99 return locale->formatDateTime(timeComponents(hour, minute, second, millisecond), (useShortFormat ? Locale::Forma (…) 104 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 110 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 116 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 122 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 129 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 135 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 141 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 147 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 153 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 159 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 165 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 171 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 358 OwnPtr<Locale> locale = Locale::create(localeString); local [all...] |
LocaleWinTest.cpp | 89 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true /* defaultsForLocale */); local 90 return locale->formatDateTime(dateComponents(year, month, day)); 95 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true /* defaultsForLocale */); local 96 return locale->firstDayOfWeek(); 101 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true /* defaultsForLocale */); local 102 return locale->monthLabels()[index]; 107 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true /* defaultsForLocale */); local 108 return locale->weekDayShortLabels()[index]; 113 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true /* defaultsForLocale */); local 114 return locale->isRTL() 120 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true \/* defaultsForLocale *\/); local 126 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true \/* defaultsForLocale *\/); local 132 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true \/* defaultsForLocale *\/); local 138 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true \/* defaultsForLocale *\/); local 144 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true \/* defaultsForLocale *\/); local 150 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true \/* defaultsForLocale *\/); local 267 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid, true \/* defaultsForLocale *\/); local [all...] |
/external/chromium/chrome/browser/autofill/ |
autofill_country.h | 16 // locale. 21 AutofillCountry(const std::string& country_code, const std::string& locale); 28 // Returns the likely country code for |locale|, or "US" as a fallback if no 29 // mapping from the locale is available. 30 static const std::string CountryCodeForLocale(const std::string& locale); 33 // country code or country name localized to |locale|. This function can 36 const std::string& locale); 38 // Returns the application locale. 55 // The country's name, localized to the app locale.
|
/external/chromium_org/chrome/browser/importer/ |
importer_list.h | 30 // |locale|: As in DetectSourceProfilesWorker(). 31 void DetectSourceProfiles(const std::string& locale, 44 // |locale|: As in DetectSourceProfilesWorker(). 45 void DetectSourceProfilesHack(const std::string& locale, 69 // thread. |locale|:The application locale (it must be taken as an argument 72 void DetectSourceProfilesWorker(const std::string& locale,
|
/external/chromium_org/third_party/icu/source/common/ |
unistr_case.cpp | 94 const char *locale, 141 locale, &errorCode); 145 locale, &errorCode); 152 (UBreakIterator *)titleIter, locale, options, &errorCode); 174 return caseMap(0, Locale::getDefault().getName(), 0, TO_LOWER); 178 UnicodeString::toLower(const Locale &locale) { 179 return caseMap(0, locale.getName(), 0, TO_LOWER); 184 return caseMap(0, Locale::getDefault().getName(), 0, TO_UPPER); 188 UnicodeString::toUpper(const Locale &locale) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios.base/ios.base.callback/ |
register_callback.pass.cpp | 18 #include <locale> 21 #include "platform_support.h" // locale name macros 52 std::locale l = b.imbue(std::locale(LOCALE_en_US_UTF_8));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/ |
hash.pass.cpp | 10 // <locale> 18 #include <locale> 24 std::locale l = std::locale::classic();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/ |
char16_t_in.pass.cpp | 10 // <locale> 18 #include <locale> 27 std::locale l = std::locale::classic();
|
char16_t_out.pass.cpp | 10 // <locale> 18 #include <locale> 29 std::locale l = std::locale::classic();
|
char32_t_in.pass.cpp | 10 // <locale> 18 #include <locale> 27 std::locale l = std::locale::classic();
|
char32_t_out.pass.cpp | 10 // <locale> 18 #include <locale> 29 std::locale l = std::locale::classic();
|
char_in.pass.cpp | 10 // <locale> 18 #include <locale> 27 std::locale l = std::locale::classic();
|
char_out.pass.cpp | 10 // <locale> 18 #include <locale> 27 std::locale l = std::locale::classic();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/locale.ctype.members/ |
widen_many.pass.cpp | 10 // <locale> 16 #include <locale> 23 std::locale l = std::locale::classic();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.messages/locale.messages/ |
types.pass.cpp | 10 // <locale> 14 // : public locale::facet, 21 #include <locale> 26 static_assert((std::is_base_of<std::locale::facet, std::messages<char> >::value), ""); 28 static_assert((std::is_base_of<std::locale::facet, std::messages<wchar_t> >::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.money.get/ |
types.pass.cpp | 10 // <locale> 14 // : public locale::facet 21 #include <locale> 26 static_assert((std::is_base_of<std::locale::facet, std::money_get<char> >::value), ""); 27 static_assert((std::is_base_of<std::locale::facet, std::money_get<wchar_t> >::value), "");
|