/external/libcxx/test/re/re.traits/ |
H A D | default.pass.cpp | 20 #include "platform_support.h" // locale name macros 31 std::locale::global(std::locale(LOCALE_en_US_UTF_8));
|
H A D | getloc.pass.cpp | 19 #include "platform_support.h" // locale name macros 30 std::locale::global(std::locale(LOCALE_en_US_UTF_8));
|
/external/stlport/stlport/ |
H A D | locale.h | 27 /* evc3 doesn't have locale.h */ 30 # include_next <locale.h> 32 # include _STLP_NATIVE_C_HEADER(locale.h)
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | locdspnm.h | 43 * {@link #createInstance(const Locale& locale, UDialectHandling dialectHandling)} 45 * @param locale the display locale 49 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale); 53 * formatted for the provided locale, using the provided 56 * @param locale the display locale 61 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale, 67 * for the provided locale, using the provided UDisplayContext settings. 69 * @param locale th 198 createInstance(const Locale& locale) argument [all...] |
H A D | ucurr.h | 26 * <ul><li>A display symbol, for a specific locale 38 * Finds a currency code for the given locale. 39 * @param locale the locale for which to retrieve a currency code. 53 ucurr_forLocale(const char* locale, 87 * Register an (existing) ISO 4217 currency code for the given locale. 91 * @param locale the locale for which to register this currency code 99 const char* locale, 118 * given locale [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
H A D | locdspnm.h | 43 * {@link #createInstance(const Locale& locale, UDialectHandling dialectHandling)} 45 * @param locale the display locale 49 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale); 53 * formatted for the provided locale, using the provided 56 * @param locale the display locale 61 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale, 66 * for the provided locale, using the provided UDisplayContext settings. 68 * @param locale th 196 createInstance(const Locale& locale) argument [all...] |
H A D | ucurr.h | 26 * <ul><li>A display symbol, for a specific locale 38 * Finds a currency code for the given locale. 39 * @param locale the locale for which to retrieve a currency code. 53 ucurr_forLocale(const char* locale, 87 * Register an (existing) ISO 4217 currency code for the given locale. 91 * @param locale the locale for which to register this currency code 99 const char* locale, 118 * given locale [all...] |
/external/stlport/test/unit/ |
H A D | time_facets_test.cpp | 4 # include <locale> 25 void LocaleTest::_time_put_get( const locale& loc ) 194 typedef void (LocaleTest::*_Test) (const locale&); 198 locale loc; 203 locale tmp(tested_locales[i]); 208 //This locale is not supported. 216 locale tmp(locale::classic(), tested_locales[i], locale::time); 223 locale tmp [all...] |
/external/chromium_org/ui/base/l10n/ |
H A D | l10n_util_android.cc | 28 ScopedJavaLocalRef<jstring> locale = Java_LocalizationUtils_getDefaultLocale( local 30 return ConvertJavaStringToUTF8(locale); 53 std::string GetLocaleComponent(const std::string& locale, argument 58 int32_t actual_length = uloc_func(locale.c_str(), 70 const std::string& locale) { 73 locale, uloc_getLanguage, ULOC_LANG_CAPACITY); 75 locale, uloc_getCountry, ULOC_COUNTRY_CAPACITY); 77 locale, uloc_getVariant, ULOC_FULLNAME_CAPACITY); 86 base::string16 GetDisplayNameForLocale(const std::string& locale, 90 NewJavaLocale(env, locale); [all...] |
/external/e2fsprogs/intl/ |
H A D | finddomain.c | 50 _nl_find_domain (const char *dirname, char *locale, argument 74 the full specified locale is not found, the less specific one are 86 /* If we have already tested for this locale entry there has to 89 strlen (dirname) + 1, 0, locale, NULL, NULL, 93 /* We know something about this locale. */ 114 /* See whether the locale value is an alias. If yes its value 117 alias_value = _nl_expand_alias (locale); 121 locale = strdup (alias_value); 122 if (locale == NULL) 126 locale [all...] |
/external/chromium_org/third_party/icu/source/common/ |
H A D | servls.cpp | 45 ICULocaleService::get(const Locale& locale, UErrorCode& status) const argument 47 return get(locale, LocaleKey::KIND_ANY, NULL, status); 51 ICULocaleService::get(const Locale& locale, int32_t kind, UErrorCode& status) const argument 53 return get(locale, kind, NULL, status); 57 ICULocaleService::get(const Locale& locale, Locale* actualReturn, UErrorCode& status) const argument 59 return get(locale, LocaleKey::KIND_ANY, actualReturn, status); 63 ICULocaleService::get(const Locale& locale, int32_t kind, Locale* actualReturn, UErrorCode& status) const argument 70 UnicodeString locName(locale.getName(), -1, US_INV); 95 ICULocaleService::registerInstance(UObject* objToAdopt, const UnicodeString& locale, argument 99 LocaleUtility::initLocaleFromName(locale, lo 105 registerInstance(UObject* objToAdopt, const Locale& locale, UErrorCode& status) argument 111 registerInstance(UObject* objToAdopt, const Locale& locale, int32_t kind, UErrorCode& status) argument 117 registerInstance(UObject* objToAdopt, const Locale& locale, int32_t kind, int32_t coverage, UErrorCode& status) argument [all...] |
/external/icu/icu4c/source/common/ |
H A D | servls.cpp | 45 ICULocaleService::get(const Locale& locale, UErrorCode& status) const argument 47 return get(locale, LocaleKey::KIND_ANY, NULL, status); 51 ICULocaleService::get(const Locale& locale, int32_t kind, UErrorCode& status) const argument 53 return get(locale, kind, NULL, status); 57 ICULocaleService::get(const Locale& locale, Locale* actualReturn, UErrorCode& status) const argument 59 return get(locale, LocaleKey::KIND_ANY, actualReturn, status); 63 ICULocaleService::get(const Locale& locale, int32_t kind, Locale* actualReturn, UErrorCode& status) const argument 70 UnicodeString locName(locale.getName(), -1, US_INV); 95 ICULocaleService::registerInstance(UObject* objToAdopt, const UnicodeString& locale, argument 99 LocaleUtility::initLocaleFromName(locale, lo 105 registerInstance(UObject* objToAdopt, const Locale& locale, UErrorCode& status) argument 111 registerInstance(UObject* objToAdopt, const Locale& locale, int32_t kind, UErrorCode& status) argument 117 registerInstance(UObject* objToAdopt, const Locale& locale, int32_t kind, int32_t coverage, UErrorCode& status) argument [all...] |
/external/chromium_org/content/ppapi_plugin/ |
H A D | ppapi_plugin_main.cc | 82 // Set the default locale to be the current UI language. WebKit uses ICU's 83 // default locale for some font settings (especially switching between 86 std::string locale = command_line.GetSwitchValueASCII(switches::kLang); local 87 base::i18n::SetICUDefaultLocale(locale); 90 // TODO(shess): Flash appears to have a POSIX locale dependency 97 std::replace(locale.begin(), locale.end(), '-', '_'); 98 locale.append(".UTF-8"); 99 setlocale(LC_ALL, locale.c_str()); 100 setenv("LANG", locale [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | LocaleICUTest.cpp | 92 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 93 return locale->monthFormat(); 98 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 99 return locale->timeFormat(); 104 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 105 return locale->shortTimeFormat(); 110 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 111 return locale->shortMonthLabels()[index]; 116 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 117 return locale 122 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 128 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 134 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local 229 OwnPtr<Locale> locale = Locale::create(localeIdentifier); local 242 OwnPtr<Locale> locale = Locale::create(localeIdentifier); local [all...] |
H A D | 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::FormatTypeShort : Locale::FormatTypeMedium)); 104 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 105 return locale 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...] |
H A D | 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 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/stlport/src/ |
H A D | dll_main.cpp | 52 #include <locale> 137 template class _STLP_CLASS_DECLSPEC allocator<locale::facet*>; 140 template class _STLP_CLASS_DECLSPEC _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<locale::facet*> >; 141 template class _STLP_CLASS_DECLSPEC _Vector_base<locale::facet*, allocator<locale::facet*> >; 148 template class _STLP_CLASS_DECLSPEC __construct_checker<_STLP_PRIV _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > >; 149 template class _STLP_CLASS_DECLSPEC _STLP_NON_DBG_VECTOR<locale [all...] |
/external/chromium_org/third_party/icu/source/test/perf/ubrkperf/ |
H A D | ubrkperf.h | 23 ICUBreakFunction(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument 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) : argument 60 ICUBreakFunction(locale, mode, file, file_len) 86 ICUForward(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument 87 ICUBreakFunction(locale, mode, file, file_len)
|
/external/icu/icu4c/source/test/perf/ubrkperf/ |
H A D | ubrkperf.h | 23 ICUBreakFunction(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument 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) : argument 60 ICUBreakFunction(locale, mode, file, file_len) 86 ICUForward(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument 87 ICUBreakFunction(locale, mode, file, file_len)
|
/external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/ |
H A D | Android.mk | 17 test_makefile := external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/Android.mk 19 test_name := localization/locales/locale.convenience/conversions/conversions.buffer/state 23 test_name := localization/locales/locale.convenience/conversions/conversions.buffer/overflow 27 test_name := localization/locales/locale.convenience/conversions/conversions.buffer/rdbuf 31 test_name := localization/locales/locale.convenience/conversions/conversions.buffer/test 35 test_name := localization/locales/locale.convenience/conversions/conversions.buffer/pbackfail 39 test_name := localization/locales/locale.convenience/conversions/conversions.buffer/underflow 43 test_name := localization/locales/locale.convenience/conversions/conversions.buffer/ctor 47 test_name := localization/locales/locale.convenience/conversions/conversions.buffer/seekoff
|
/external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.string/ |
H A D | Android.mk | 17 test_makefile := external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.string/Android.mk 19 test_name := localization/locales/locale.convenience/conversions/conversions.string/from_bytes 23 test_name := localization/locales/locale.convenience/conversions/conversions.string/state 27 test_name := localization/locales/locale.convenience/conversions/conversions.string/ctor_codecvt 31 test_name := localization/locales/locale.convenience/conversions/conversions.string/converted 35 test_name := localization/locales/locale.convenience/conversions/conversions.string/to_bytes 39 test_name := localization/locales/locale.convenience/conversions/conversions.string/types 43 test_name := localization/locales/locale.convenience/conversions/conversions.string/ctor_err_string 47 test_name := localization/locales/locale.convenience/conversions/conversions.string/ctor_codecvt_state
|
/external/libcxx/test/localization/locale.categories/category.collate/locale.collate/ |
H A D | 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), "");
|
/external/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/ |
H A D | 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), "");
|
/external/srec/srec/Vocabulary/include/ |
H A D | 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...] |
/external/icu/icu4c/source/i18n/ |
H A D | currfmt.cpp | 21 CurrencyFormat::CurrencyFormat(const Locale& locale, UErrorCode& ec) : argument 22 MeasureFormat(locale, UMEASFMT_WIDTH_WIDE, ec), fmt(NULL) 24 fmt = NumberFormat::createCurrencyInstance(locale, ec);
|