/external/stlport/test/unit/ |
H A D | c_locale_header_test.c | 8 #include <locale.h>
|
H A D | locale_header_test.cpp | 9 # include <locale>
|
H A D | messages_facets_test.cpp | 4 # include <locale> 17 * Check of the 22.1.1.2.7 standard point. Construction of a locale 24 locale loc(locale::classic(), new messages_byname<char>(static_cast<char const*>(0))); 36 locale loc(locale::classic(), new messages_byname<char>("yasli_language")); 48 locale loc(locale::classic(), new messages_byname<char>("")); 62 locale loc(locale [all...] |
/external/compiler-rt/lib/msan/lit_tests/ |
H A D | setlocale.cc | 4 #include <locale.h> 8 char *locale = setlocale (LC_ALL, ""); local 9 assert(locale); 10 if (locale[0])
|
/external/chromium_org/v8/test/intl/break-iterator/ |
H A D | 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...] |
H A D | resolved-options-is-method.js | 38 result.locale = 'xx'; 40 assertEquals(result.locale, 'xx');
|
H A D | wellformed-unsupported-locale.js | 28 // Passing a well formed but unsupported locale falls back to default. 32 assertEquals(iterator.resolvedOptions().locale, %GetDefaultICULocale());
|
/external/clang/test/CodeGenCXX/ |
H A D | debug-info-context.cpp | 4 class locale { class 10 locale _M_ios_locale;
|
/external/chromium_org/v8/test/intl/date-format/ |
H A D | default-locale.js | 28 // Constructing DateTimeFormat 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, dtfNone.resolvedOptions().locale);
|
H A D | resolved-options-is-method.js | 38 result.locale = 'xx'; 40 assertEquals(result.locale, 'xx');
|
H A D | wellformed-unsupported-locale.js | 28 // Passing a well formed but unsupported locale falls back to default. 32 assertEquals(dtf.resolvedOptions().locale, %GetDefaultICULocale());
|
/external/chromium_org/v8/test/intl/number-format/ |
H A D | default-locale.js | 28 // Constructing NumberFormat 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, nfNone.resolvedOptions().locale);
|
H A D | resolved-options-is-method.js | 38 result.locale = 'xx'; 40 assertEquals(result.locale, 'xx');
|
H A D | wellformed-unsupported-locale.js | 28 // Passing a well formed but unsupported locale falls back to default. 32 assertEquals(nf.resolvedOptions().locale, %GetDefaultICULocale());
|
/external/chromium_org/v8/test/intl/collator/ |
H A D | default-locale.js | 28 // Constructing Collator 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, collatorNone.resolvedOptions().locale); 48 assertEquals(options.locale, collatorBraket.resolvedOptions().locale); [all...] |
H A D | resolved-options-is-method.js | 38 result.locale = 'xx'; 40 assertEquals(result.locale, 'xx');
|
H A D | wellformed-unsupported-locale.js | 28 // Passing a well formed but unsupported locale falls back to default. 32 assertEquals(collator.resolvedOptions().locale, %GetDefaultICULocale());
|
/external/smack/src/org/apache/harmony/javax/security/auth/callback/ |
H A D | LanguageCallback.java | 27 private Locale locale; field in class:LanguageCallback 34 return locale; 37 public void setLocale(Locale locale) { argument 38 this.locale = locale;
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | ContentLanguage.java | 93 protected Locale locale; 121 if ( "".equals(locale.getCountry())) { 122 return locale.getLanguage(); 124 return locale.getLanguage() + '-' + locale.getCountry(); 135 this.locale = new Locale(languageTag.substring(0,slash), languageTag.substring(slash+1) ); 137 this.locale = new Locale(languageTag); 150 return locale; 162 this.locale = language; 167 if (this.locale ! 92 protected Locale locale; field in class:ContentLanguage [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/text/ |
H A D | TextBreakIteratorInternalICU.cpp | 36 DEFINE_STATIC_LOCAL(CString, locale, (defaultLanguage().latin1())); 37 return locale.data();
|
/external/chromium_org/base/test/ |
H A D | scoped_locale.cc | 7 #include <locale.h> 13 ScopedLocale::ScopedLocale(const std::string& locale) { argument 15 EXPECT_TRUE(setlocale(LC_ALL, locale.c_str()) != NULL) << 16 "Failed to set locale: " << locale;
|
/external/icu4c/common/ |
H A D | ustrcase_locale.cpp | 26 ustrcase_setTempCaseMapLocale(UCaseMap *csm, const char *locale) { argument 42 /* the internal functions require locale!=NULL */ 43 if(locale==NULL) { 45 // changes to the default locale via uloc_setDefault(). 47 // does not cache the locale ID. 51 // and we do not need the locale ID to be canonicalized. 53 // Best is to not call case mapping functions with a NULL locale ID. 54 locale=uloc_getDefault(); 56 for(i=0; i<4 && (c=locale[i])!=0 && c!='-' && c!='_'; ++i) { 57 csm->locale[ 71 setTempCaseMap(UCaseMap *csm, const char *locale) argument 85 u_strToLower(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument 99 u_strToUpper(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument [all...] |
H A D | unistr_case_locale.cpp | 35 setTempCaseMap(UCaseMap *csm, const char *locale) { argument 39 if(locale!=NULL && locale[0]==0) { 40 csm->locale[0]=0; 42 ustrcase_setTempCaseMapLocale(csm, locale); 52 UnicodeString::toLower(const Locale &locale) { argument 54 setTempCaseMap(&csm, locale.getName()); 64 UnicodeString::toUpper(const Locale &locale) { argument 66 setTempCaseMap(&csm, locale.getName());
|
/external/chromium_org/third_party/libusb/src/libusb/ |
H A D | strerror.c | 21 #include <locale.h> 41 * code for your locale at the end of \c usbi_locale_supported[]<br> 114 * This takes a locale string in the default setlocale format: lang[-region] 129 * locale settings, call libusb_setlocale(setlocale(LC_MESSAGES, NULL)), 130 * after your app has done its locale setup. 132 * \param locale locale-string in the form of lang[_country_region][.codeset] 135 * \returns LIBUSB_ERROR_INVALID_PARAM if the locale doesn't meet the requirements 140 int API_EXPORTED libusb_setlocale(const char *locale) argument 144 if ( (locale [all...] |
/external/chromium/build/ |
H A D | apply_locales.py | 30 for locale in locales: 31 # For Cocoa to find the locale at runtime, it needs to use '_' instead 35 if locale == 'en-US': 36 locale = 'en' 37 locale = locale.replace('-', '_') 38 results.append(str_template.replace('ZZLOCALE', locale))
|