| /prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
| _messages_facets.h | 55 class _STLP_CLASS_DECLSPEC messages<char> : public locale::facet, public messages_base { 63 catalog open(const string& __fn, const locale& __loc) const 71 static _STLP_STATIC_DECLSPEC locale::id id; 76 virtual catalog do_open(const string& __fn, const locale& __loc) const 88 class _STLP_CLASS_DECLSPEC messages<wchar_t> : public locale::facet, public messages_base { 96 inline catalog open(const string& __fn, const locale& __loc) const 104 static _STLP_STATIC_DECLSPEC locale::id id; 109 virtual catalog do_open(const string& __fn, const locale& __loc) const 134 virtual catalog do_open(const string& __fn, const locale& __loc) const; 162 virtual catalog do_open(const string& __fn, const locale& __loc) const [all...] |
| /prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
| _messages_facets.h | 55 class _STLP_CLASS_DECLSPEC messages<char> : public locale::facet, public messages_base { 63 catalog open(const string& __fn, const locale& __loc) const 71 static _STLP_STATIC_DECLSPEC locale::id id; 76 virtual catalog do_open(const string& __fn, const locale& __loc) const 88 class _STLP_CLASS_DECLSPEC messages<wchar_t> : public locale::facet, public messages_base { 96 inline catalog open(const string& __fn, const locale& __loc) const 104 static _STLP_STATIC_DECLSPEC locale::id id; 109 virtual catalog do_open(const string& __fn, const locale& __loc) const 134 virtual catalog do_open(const string& __fn, const locale& __loc) const; 162 virtual catalog do_open(const string& __fn, const locale& __loc) const [all...] |
| /prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
| _messages_facets.h | 55 class _STLP_CLASS_DECLSPEC messages<char> : public locale::facet, public messages_base { 63 catalog open(const string& __fn, const locale& __loc) const 71 static _STLP_STATIC_DECLSPEC locale::id id; 76 virtual catalog do_open(const string& __fn, const locale& __loc) const 88 class _STLP_CLASS_DECLSPEC messages<wchar_t> : public locale::facet, public messages_base { 96 inline catalog open(const string& __fn, const locale& __loc) const 104 static _STLP_STATIC_DECLSPEC locale::id id; 109 virtual catalog do_open(const string& __fn, const locale& __loc) const 134 virtual catalog do_open(const string& __fn, const locale& __loc) const; 162 virtual catalog do_open(const string& __fn, const locale& __loc) const [all...] |
| /prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
| _messages_facets.h | 55 class _STLP_CLASS_DECLSPEC messages<char> : public locale::facet, public messages_base { 63 catalog open(const string& __fn, const locale& __loc) const 71 static _STLP_STATIC_DECLSPEC locale::id id; 76 virtual catalog do_open(const string& __fn, const locale& __loc) const 88 class _STLP_CLASS_DECLSPEC messages<wchar_t> : public locale::facet, public messages_base { 96 inline catalog open(const string& __fn, const locale& __loc) const 104 static _STLP_STATIC_DECLSPEC locale::id id; 109 virtual catalog do_open(const string& __fn, const locale& __loc) const 134 virtual catalog do_open(const string& __fn, const locale& __loc) const; 162 virtual catalog do_open(const string& __fn, const locale& __loc) const [all...] |
| /prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/ |
| _messages_facets.h | 55 class _STLP_CLASS_DECLSPEC messages<char> : public locale::facet, public messages_base { 63 catalog open(const string& __fn, const locale& __loc) const 71 static _STLP_STATIC_DECLSPEC locale::id id; 76 virtual catalog do_open(const string& __fn, const locale& __loc) const 88 class _STLP_CLASS_DECLSPEC messages<wchar_t> : public locale::facet, public messages_base { 96 inline catalog open(const string& __fn, const locale& __loc) const 104 static _STLP_STATIC_DECLSPEC locale::id id; 109 virtual catalog do_open(const string& __fn, const locale& __loc) const 134 virtual catalog do_open(const string& __fn, const locale& __loc) const; 162 virtual catalog do_open(const string& __fn, const locale& __loc) const [all...] |
| /external/chromium_org/v8/test/intl/break-iterator/ |
| default-locale.js | 28 // Constructing BreakIterator with no locale arguments or with [] 29 // creates one with default locale. 36 assertFalse(options.locale === 'und'); 37 assertFalse(options.locale === ''); 38 assertFalse(options.locale === undefined); 41 assertEquals(options.locale, %GetDefaultICULocale()); 44 assertEquals(options.locale, iteratorNone.resolvedOptions().locale); 48 assertEquals(options.locale, iteratorBraket.resolvedOptions().locale); [all...] |
| /external/chromium_org/v8/test/intl/overrides/ |
| number.js | 40 // Specify locale, default options for toLocaleString method. 41 var locale = ['sr']; variable 42 nf = new Intl.NumberFormat(locale); 43 assertEquals(nf.format(integer), integer.toLocaleString(locale)); 44 assertEquals(nf.format(float), float.toLocaleString(locale)); 47 // Specify locale and options for toLocaleString method. 48 locale = ['ko']; 51 nf = new Intl.NumberFormat(locale, options); 52 assertEquals(nf.format(integer), integer.toLocaleString(locale, options)); 53 assertEquals(nf.format(float), float.toLocaleString(locale, options)) [all...] |
| /external/icu4c/samples/legacy/ |
| oldcol.cpp | 28 int32_t getSortKey_legacy(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, int32_t bLen) { 30 UCollator *coll = ucol_open(locale, &status); 58 void initCollator_legacy(const char *locale) { 60 compareCollator = ucol_open(locale, &status); 64 fprintf(stderr, "initCollator_legacy(%s): error opening collator, %s!\n", locale, u_errorName(status));
|
| /packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
| NameNormalizer.java | 24 import java.util.Locale; 34 private static Locale sCollatorLocale; 40 * Ensure that the cached collators are for the current locale. 43 final Locale locale = Locale.getDefault(); local 44 if (locale.equals(sCollatorLocale)) { 47 sCollatorLocale = locale; 49 sCachedCompressingCollator = (RuleBasedCollator) Collator.getInstance(locale); 53 sCachedComplexityCollator = (RuleBasedCollator) Collator.getInstance(locale); [all...] |
| /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/i686-linux/bits/ |
| messages_members.h | 28 * Do not attempt to use it directly. @headername{locale} 71 messages<_CharT>::open(const basic_string<char>& __s, const locale& __loc, 90 const locale&) const 108 if (this->_M_name_messages != locale::facet::_S_get_c_name()) 111 if (__builtin_strcmp(__s, locale::facet::_S_get_c_name()) != 0) 119 this->_M_name_messages = locale::facet::_S_get_c_name();
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/x86_64-linux/bits/ |
| messages_members.h | 28 * Do not attempt to use it directly. @headername{locale} 71 messages<_CharT>::open(const basic_string<char>& __s, const locale& __loc, 90 const locale&) const 108 if (this->_M_name_messages != locale::facet::_S_get_c_name()) 111 if (__builtin_strcmp(__s, locale::facet::_S_get_c_name()) != 0) 119 this->_M_name_messages = locale::facet::_S_get_c_name();
|
| /external/chromium_org/third_party/icu/source/i18n/ |
| locdspnm.cpp | 56 // Access resource data for locale components. 60 Locale locale; member in class:ICUDataTable 63 ICUDataTable(const char* path, const Locale& locale); 66 const Locale& getLocale(); 89 ICUDataTable::ICUDataTable(const char* path, const Locale& locale) 90 : path(NULL), locale(Locale::getRoot() 267 Locale locale; member in class:LocaleDisplayNamesImpl [all...] |
| /external/chromium_org/third_party/icu/source/test/perf/DateFmtPerf/ |
| DateFmtPerf.cpp | 20 if (locale == NULL){ 21 locale = "en_US"; // set default locale 55 DateFmtFunction* func= new DateFmtFunction(1, locale); 60 DateFmtFunction* func= new DateFmtFunction(40, locale); 65 DateFmtFunction* func= new DateFmtFunction(400, locale); 90 NumFmtFunction* func= new NumFmtFunction(10000, locale); 95 NumFmtFunction* func= new NumFmtFunction(100000, locale); 100 CollationFunction* func= new CollationFunction(40, locale); 105 CollationFunction* func= new CollationFunction(400, locale); [all...] |
| /external/icu4c/test/perf/DateFmtPerf/ |
| DateFmtPerf.cpp | 20 if (locale == NULL){ 21 locale = "en_US"; // set default locale 55 DateFmtFunction* func= new DateFmtFunction(1, locale); 60 DateFmtFunction* func= new DateFmtFunction(40, locale); 65 DateFmtFunction* func= new DateFmtFunction(400, locale); 90 NumFmtFunction* func= new NumFmtFunction(10000, locale); 95 NumFmtFunction* func= new NumFmtFunction(100000, locale); 100 CollationFunction* func= new CollationFunction(40, locale); 105 CollationFunction* func= new CollationFunction(400, locale); [all...] |
| /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.cons/ |
| locale_facetptr.pass.cpp | 10 // <locale> 12 // template <class Facet> locale(const locale& other, Facet* f); 14 #include <locale> 18 #include "platform_support.h" // locale name macros 34 void check(const std::locale& loc) 70 : public std::locale::facet 74 static std::locale::id id; 77 std::locale::id my_facet::id; 83 std::locale loc(LOCALE_ru_RU_UTF_8) [all...] |
| 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...] |
| /external/chromium/chrome/browser/chromeos/login/ |
| base_login_display_host.cc | 42 // Determines the hardware keyboard from the given locale code 43 // and the OEM layout information, and saves it to "Locale State". 45 void DetermineAndSaveHardwareKeyboard(const std::string& locale, 52 // Otherwise, determine the hardware keyboard from the locale. 55 locale, 60 // for the given locale. 176 // Set up keyboards. For example, when |locale| is "en-US", enable US qwerty 179 const std::string locale = g_browser_process->GetApplicationLocale(); local 190 locale, chromeos::input_method::kKeyboardLayoutsOnly, 223 std::string locale; local [all...] |
| /cts/tests/tests/content/src/android/content/res/cts/ |
| ConfigurationTest.java | 19 import java.util.Locale; 43 mConfig.locale = Locale.getDefault(); 96 cfg1.locale = new Locale("", "", "2"); 97 cfg2.locale = new Locale("", "", "3"); 99 cfg1.locale = new Locale("", "", "3"); 100 cfg2.locale = new Locale("", "", "2") [all...] |
| /external/chromium_org/chrome/browser/profiles/ |
| profile_downloader_unittest.cc | 15 const std::string& locale) { 34 if (!locale.empty()) 35 stream << (started ? ", " : "") << "\"locale\": \"" << locale << "\""; 55 const std::string& locale, 62 GetJSonData(full_name, given_name, url, locale), 75 EXPECT_EQ(locale, parsed_locale); 136 // Data with only locale. 140 // Data without name or URL or locale.
|
| /external/chromium_org/third_party/icu/source/i18n/unicode/ |
| plurfmt.h | 78 * the constructors that takes a <code>locale</code> object. To 88 * used locale. The pattern is a sequence of 121 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you 131 * Locale("fr"), status); 167 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this 168 * constructor, this locale will be used to format the number in the message 183 * Creates a new <code>PluralFormat</code> for the default locale. 184 * This locale will be used to get the set of plural rules and for standard 193 * Creates a new <code>PluralFormat</code> for a given locale. 194 * @param locale the <code>PluralFormat</code> will be configured wit 525 Locale locale; member in class:PluralFormat [all...] |
| /external/icu4c/test/cintltst/ |
| cdateintervalformattest.c | 40 const char * locale; member in struct:__anon18987 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/libexif/test/nls/ |
| test-codeset.c | 40 char *locale; member in struct:__anon20363 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/stlport/stlport/stl/ |
| _numpunct.h | 48 class _STLP_CLASS_DECLSPEC numpunct<char> : public locale::facet { 54 : locale::facet(__refs) {} 62 static _STLP_STATIC_DECLSPEC locale::id id; 77 class _STLP_CLASS_DECLSPEC numpunct<wchar_t> : public locale::facet { 83 : locale::facet(__refs) {} 91 static _STLP_STATIC_DECLSPEC locale::id id;
|
| /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
| ios.cpp | 86 // ios_base locale 129 // locale 131 locale 132 ios_base::imbue(const locale& newloc) 134 static_assert(sizeof(locale) == sizeof(__loc_), ""); 135 locale& loc_storage = *(locale*)&__loc_; 136 locale oldloc = loc_storage; 142 locale 145 const locale& loc_storage = *(locale*)&__loc_ [all...] |
| /ndk/sources/cxx-stl/llvm-libc++/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"));
|