/external/chromium_org/third_party/icu/source/test/cintltst/ |
cdateintervalformattest.c | 40 const char * locale; member in struct:__anon16824 73 for ( testItemPtr = testItems; testItemPtr->locale != NULL; ++testItemPtr ) { 88 udtitvfmt = udtitvfmt_open(testItemPtr->locale, skelBuf, -1, tzidBuf, tzidLen, &status); 100 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n", 101 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, 105 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n", 106 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, myErrorName(status) ); 110 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n", 111 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, myErrorName(status) );
|
/external/icu/icu4c/source/test/cintltst/ |
cdateintervalformattest.c | 40 const char * locale; member in struct:__anon1557 73 for ( testItemPtr = testItems; testItemPtr->locale != NULL; ++testItemPtr ) { 88 udtitvfmt = udtitvfmt_open(testItemPtr->locale, skelBuf, -1, tzidBuf, tzidLen, &status); 100 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n", 101 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, 105 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n", 106 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, testItemPtr->from, testItemPtr->to, myErrorName(status) ); 110 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n", 111 testItemPtr->locale, testItemPtr->skeleton, tzidForLog, myErrorName(status) );
|
/external/libcxx/src/ |
ios.cpp | 90 // ios_base locale 133 // locale 135 locale 136 ios_base::imbue(const locale& newloc) 138 static_assert(sizeof(locale) == sizeof(__loc_), ""); 139 locale& loc_storage = *reinterpret_cast<locale*>(&__loc_); 140 locale oldloc = loc_storage; 146 locale 149 const locale& loc_storage = *reinterpret_cast<const locale*>(&__loc_) [all...] |
/external/libcxx/test/localization/locales/locale/locale.cons/ |
locale_locale_cat.pass.cpp | 10 // <locale> 12 // locale(const locale& other, const locale& one, category cats); 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::locale(LOCALE_en_US_UTF_8), std::locale::monetary) [all...] |
char_pointer.pass.cpp | 10 // <locale> 12 // explicit locale(const char* std_name); 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(LOCALE_ru_RU_UTF_8); 77 std::locale loc3(LOCALE_zh_CN_UTF_8); 83 std::locale((const char*)0); 91 std::locale("spazbot") [all...] |
/external/libcxx/test/localization/locales/locale/locale.statics/ |
classic.pass.cpp | 10 // <locale> 12 // static const locale& classic(); 14 #include <locale> 17 void check(const std::locale& loc) 54 std::locale loc = std::locale::classic(); 56 assert(loc == std::locale("C")); 58 check(std::locale("C"));
|
/external/libexif/test/nls/ |
test-codeset.c | 40 char *locale; member in struct:__anon3241 94 "Old codeset: \"%s\" (locale default)\n", 141 /* set locale to env settings */ 153 printf("Locale not available: \"%s\"\n", newlocale); 160 "Old locale: %s\n" 161 "New locale: %s\n", 166 for (i=0; testcases[i].locale != NULL; i++) { 167 const int localelen = strlen(testcases[i].locale); 168 if (strncmp(newlocale, testcases[i].locale, localelen) == 0) { 173 printf("No test case found for locale: %s\n", newlocale) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
LocaleMac.mm | 44 static inline String languageFromLocale(const String& locale) 46 String normalizedLocale = locale; 54 static RetainPtr<NSLocale> determineLocale(const String& locale) 58 String localeLanguage = languageFromLocale(locale); 61 // It seems initWithLocaleIdentifier accepts dash-separated locale identifier. 62 return RetainPtr<NSLocale>(AdoptNS, [[NSLocale alloc] initWithLocaleIdentifier:locale]); 65 PassOwnPtr<Locale> Locale::create(const String& locale) 67 return LocaleMac::create(determineLocale(locale).get()) [all...] |
/external/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/ |
put_long.pass.cpp | 10 // <locale> 16 #include <locale> 157 ios.imbue(std::locale(std::locale::classic(), new my_numpunct)); 170 ios.imbue(std::locale(std::locale::classic(), new my_numpunct)); 182 ios.imbue(std::locale(std::locale::classic(), new my_numpunct)); 193 ios.imbue(std::locale(std::locale::classic(), new my_numpunct)) [all...] |
put_unsigned_long.pass.cpp | 10 // <locale> 16 #include <locale> 157 ios.imbue(std::locale(std::locale::classic(), new my_numpunct)); 170 ios.imbue(std::locale(std::locale::classic(), new my_numpunct)); 182 ios.imbue(std::locale(std::locale::classic(), new my_numpunct)); 193 ios.imbue(std::locale(std::locale::classic(), new my_numpunct)) [all...] |
/external/chromium_org/chrome/browser/net/ |
client_hints_unittest.cc | 7 #include <locale.h> 35 base::ScopedLocale locale("fr_FR.UTF-8");
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
l10n_util.h | 30 // dictionary that contains data such as the language's locale code and a 34 // from initial_locale in VPD. If |selected| matches the locale code of any 55 // Return a list of keyboard layouts that can be used for |locale| on the login 58 // followed by a divider and locale-specific keyboard layouts, if any. The list 65 const std::string& locale, 69 // |locale|. Each list entry is a dictionary that contains data such as an ID 71 // followed by a divider and locale-specific keyboard layouts, if any. All 72 // layouts supported for |locale| are returned, including those that produce 78 const std::string& locale);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
plurfmt.h | 78 * the constructors that takes a <code>locale</code> object. To 88 * specified locale. Syntax: 119 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you 131 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this 132 * constructor, this locale will be used to format the number in the message 147 * Creates a new cardinal-number <code>PluralFormat</code> for the default locale. 148 * This locale will be used to get the set of plural rules and for standard 157 * Creates a new cardinal-number <code>PluralFormat</code> for a given locale. 158 * @param locale the <code>PluralFormat</code> will be configured with 159 * rules for this locale. This locale will also be used fo 568 Locale locale; member in class:PluralFormat [all...] |
/external/clang/test/SemaTemplate/ |
explicit-specialization-member.cpp | 15 class numpunct : public locale::facet // expected-error{{use of undeclared identifier 'locale'}} \ 18 static locale::id id; // expected-error{{use of undeclared identifier}}
|
/external/icu/icu4c/source/i18n/unicode/ |
plurfmt.h | 78 * the constructors that takes a <code>locale</code> object. To 88 * specified locale. Syntax: 119 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you 131 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this 132 * constructor, this locale will be used to format the number in the message 147 * Creates a new cardinal-number <code>PluralFormat</code> for the default locale. 148 * This locale will be used to get the set of plural rules and for standard 157 * Creates a new cardinal-number <code>PluralFormat</code> for a given locale. 158 * @param locale the <code>PluralFormat</code> will be configured with 159 * rules for this locale. This locale will also be used fo 568 Locale locale; member in class:PluralFormat [all...] |
/external/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/ |
hash.pass.cpp | 10 // <locale> 18 #include <locale> 22 #include "platform_support.h" // locale name macros 26 std::locale l(LOCALE_en_US_UTF_8);
|
/external/libcxx/test/re/re.regex/ |
types.pass.cpp | 29 static_assert((std::is_same<std::basic_regex<char>::locale_type, std::locale>::value), ""); 34 static_assert((std::is_same<std::basic_regex<wchar_t>::locale_type, std::locale>::value), "");
|
/external/libcxx/test/re/re.traits/ |
types.pass.cpp | 19 // typedef locale locale_type; 28 static_assert((std::is_same<std::regex_traits<char>::locale_type, std::locale>::value), ""); 31 static_assert((std::is_same<std::regex_traits<wchar_t>::locale_type, std::locale>::value), "");
|
/external/chromium_org/third_party/icu/source/i18n/ |
locdspnm.cpp | 58 // Access resource data for locale components. 62 Locale locale; member in class:ICUDataTable 65 ICUDataTable(const char* path, const Locale& locale); 68 const Locale& getLocale(); 91 ICUDataTable::ICUDataTable(const char* path, const Locale& locale) 92 : path(NULL), locale(Locale::getRoot() 270 Locale locale; member in class:LocaleDisplayNamesImpl [all...] |
/external/icu/icu4c/source/i18n/ |
locdspnm.cpp | 59 // Access resource data for locale components. 63 Locale locale; member in class:ICUDataTable 66 ICUDataTable(const char* path, const Locale& locale); 69 const Locale& getLocale(); 92 ICUDataTable::ICUDataTable(const char* path, const Locale& locale) 93 : path(NULL), locale(Locale::getRoot() 271 Locale locale; member in class:LocaleDisplayNamesImpl [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
AutoTextTest.java | 19 import java.util.Locale; 33 Locale.setDefault(Locale.ENGLISH); 35 if (!config.locale.equals(Locale.getDefault())) { 36 config.locale = Locale.getDefault(); 79 Locale.setDefault(Locale.ENGLISH); 81 if (!config.locale.equals(Locale.getDefault())) [all...] |
/external/chromium_org/chrome/browser/ui/startup/ |
bad_flags_prompt.cc | 105 std::string locale = l10n_util::GetApplicationLocale(std::string()); local 107 if (locale.empty()) 108 locale = kUserDataDirDialogFallbackLocale; 110 locale, NULL, ui::ResourceBundle::LOAD_COMMON_RESOURCES);
|
/external/chromium_org/chrome/common/extensions/api/spellcheck/ |
spellcheck_handler.h | 20 std::string locale; member in struct:extensions::SpellcheckDictionaryInfo
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
DateTimeChooser.h | 51 // Locale name for which the chooser should be localized. This 54 AtomicString locale; member in struct:blink::DateTimeChooserParameters
|
ResetInputType.cpp | 69 return locale().queryString(blink::WebLocalizedString::ResetButtonDefaultLabel);
|