/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...] |
H A D | locale_test.h | 6 # include <locale> 77 void _loc_has_facet( const STD locale& ); 78 void _num_put_get( const STD locale&, const ref_locale* ); 79 void _time_put_get( const STD locale& ); 80 void _ctype_facet( const STD locale& ); 81 void _ctype_facet_w( const STD locale& ); 82 void _locale_init_problem( const STD locale& ); 87 void _money_put_get( const STD locale&, const ref_monetary* ); 88 void _money_put_get2( const STD locale& loc, const STD locale [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | debug-info-context.cpp | 4 class locale { class 10 locale _M_ios_locale;
|
/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/webkit/Source/WebCore/platform/qt/ |
H A D | LanguageQt.cpp | 37 QLocale locale; local 38 return locale.name().replace(QLatin1Char('_'), QLatin1Char('-'));
|
/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());
|
H A D | unistr_titlecase_brkiter.cpp | 43 setTempCaseMap(UCaseMap *csm, const char *locale) { argument 47 if(locale!=NULL && locale[0]==0) { 48 csm->locale[0]=0; 50 ustrcase_setTempCaseMapLocale(csm, locale); 62 UnicodeString::toTitle(BreakIterator *titleIter, const Locale &locale) { argument 63 return toTitle(titleIter, locale, 0); 67 UnicodeString::toTitle(BreakIterator *titleIter, const Locale &locale, uint32_t options) { argument 70 setTempCaseMap(&csm, locale.getName()); 74 bi=BreakIterator::createWordInstance(locale, errorCod [all...] |
H A D | ustr_titlecase_brkiter.cpp | 37 setTempCaseMap(UCaseMap *csm, const char *locale) { argument 41 if(locale!=NULL && locale[0]==0) { 42 csm->locale[0]=0; 44 ustrcase_setTempCaseMapLocale(csm, locale); 54 const char *locale, 57 setTempCaseMap(&csm, locale); 61 csm.iter=ubrk_open(UBRK_WORD, csm.locale, src, srcLength, pErrorCode); 82 csm->iter=ubrk_open(UBRK_WORD, csm->locale, src, srcLength, pErrorCode); 51 u_strToTitle(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UBreakIterator *titleIter, const char *locale, UErrorCode *pErrorCode) argument
|
/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))
|
/external/webkit/Source/WebCore/platform/text/chromium/ |
H A D | TextBreakIteratorInternalICUChromium.cpp | 36 DEFINE_STATIC_LOCAL(CString, locale, (defaultLanguage().latin1())); 37 return locale.data();
|
/external/srec/shared/src/ |
H A D | ESR_Locale.c | 26 LCHAR* ESR_locale2str(const ESR_Locale locale) argument 28 switch (locale) { 39 return L("invalid locale code"); 43 ESR_ReturnCode ESR_str2locale(const LCHAR* str, ESR_Locale* locale) argument 46 if (!lstrcasecmp(str, L("EN-US"), &rtn) && !rtn) *locale = ESR_LOCALE_EN_US; 47 else if (!lstrcasecmp(str, L("FR-FR"), &rtn) && !rtn) *locale = ESR_LOCALE_FR_FR; 48 else if (!lstrcasecmp(str, L("DE-DE"), &rtn) && !rtn) *locale = ESR_LOCALE_DE_DE; 49 else if (!lstrcasecmp(str, L("EN-GB"), &rtn) && !rtn) *locale = ESR_LOCALE_EN_GB; 50 else if (!lstrcasecmp(str, L("IT-IT"), &rtn) && !rtn) *locale = ESR_LOCALE_IT_IT; 51 else if (!lstrcasecmp(str, L("NL-NL"), &rtn) && !rtn) *locale [all...] |
/external/srec/srec/Vocabulary/include/ |
H A D | SR_VocabularyImpl.h | 50 * Vocabulary locale. 52 ESR_Locale locale; member in struct:SR_VocabularyImpl_t 54 * String to identify TTP language associated with locale. 99 ESR_ReturnCode SR_VocabularyGetLanguageImpl(SR_Vocabulary* self, ESR_Locale* locale); 114 #define TTP_LANG(locale) locale == ESR_LOCALE_EN_US ? L("enu") : \ 115 locale == ESR_LOCALE_FR_FR ? L("fra") : \ 116 locale == ESR_LOCALE_DE_DE ? L("deu") : \ 117 locale == ESR_LOCALE_EN_GB ? L("eng") : \ 118 locale [all...] |
/external/webkit/Source/WebCore/platform/text/mac/ |
H A D | TextBreakIteratorInternalICUMac.mm | 32 RetainPtr<CFPropertyListRef> locale(AdoptCF, CFPreferencesCopyValue(CFSTR("AppleTextBreakLocale"), 34 if (!locale || CFGetTypeID(locale.get()) != CFStringGetTypeID()) 36 return static_cast<CFStringRef>(locale.get()); 52 static RetainPtr<CFStringRef> canonicalLanguageIdentifier(CFStringRef locale) 54 if (!locale) 57 CFLocaleCreateCanonicalLanguageIdentifierFromString(kCFAllocatorDefault, locale)); 59 return locale; 63 static void getLocale(CFStringRef locale, char localeStringBuffer[maxLocaleStringLength]) 65 // Empty string means "root locale", an [all...] |
/external/stlport/src/ |
H A D | locale_impl.h | 22 #include <clocale> // C locale header file. 25 #include <locale> 33 //If we are using pointer specialization, vector<locale::facet*> will use 35 _STLP_EXPORT_TEMPLATE_CLASS allocator<locale::facet*>; 39 _STLP_EXPORT_TEMPLATE_CLASS _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<locale::facet*> >; 40 _STLP_EXPORT_TEMPLATE_CLASS _Vector_base<locale::facet*, allocator<locale::facet*> >; 47 _STLP_EXPORT_TEMPLATE_CLASS __construct_checker<_STLP_NON_DBG_VECTOR<locale [all...] |
H A D | locale.cpp | 21 #include <locale> 35 locale* _Stl_get_classic_locale(); 36 locale* _Stl_get_global_locale(); 40 # define locale _STLP_NO_MEM_T_NAME(loc) macro 43 locale::facet::~facet() {} 47 bool locale::operator()(const string& __x, 52 bool locale::operator()(const wstring& __x, 58 void _STLP_CALL locale::_M_throw_on_null_name() 59 { _STLP_THROW(runtime_error("Invalid null locale name")); } 61 void _STLP_CALL locale 133 locale::locale( _Locale_impl* impl ) : function in class:locale 138 locale::locale(const char* name) function in class:locale 247 locale::locale(const locale& L, const char* name, locale::category c) function in class:locale 296 locale::locale(const locale& L1, const locale& L2, category c) function in class:locale [all...] |
/external/stlport/stlport/stl/ |
H A D | _locale.h | 49 class locale; 52 bool __locale_do_operator_call(const locale& __loc, 62 bool _HasFacet(const locale& __loc, const _Facet* __facet) _STLP_NOTHROW; 65 _Facet* _UseFacet(const locale& __loc, const _Facet* __facet); 68 void _InsertFacet(locale& __loc, _Facet* __facet); 74 # define locale _STLP_NO_MEM_T_NAME(loc) macro 77 class _STLP_CLASS_DECLSPEC locale { class 88 friend class locale; 120 locale() _STLP_NOTHROW; 121 locale(cons 127 locale(const locale& __loc, _Facet* __f) { function in class:locale 211 # undef locale macro 214 class locale : public _Locale { class in inherits:_Locale 224 explicit locale(const char *__str) : _Locale(__str) {} function in class:locale 225 locale(const locale& __loc, const char* __str, category __cat) function in class:locale 229 locale(const locale& __loc, _Facet* __f) function in class:locale 238 locale(_Locale_impl* __impl) : _Locale(__impl) {} function in class:locale 239 locale(const _Locale& __loc) : _Locale(__loc) {} function in class:locale 243 locale(const locale& __loc1, const locale& __loc2, category __cat) function in class:locale [all...] |
/external/bison/lib/ |
H A D | main.c | 23 # include <locale.h>
|
H A D | localcharset.c | 1 /* Determine a canonical name for the current locale's character encoding. 52 # include <locale.h> 347 /* Determine the current locale's character encoding, and canonicalize it 371 returns "US-ASCII". Return the suffix of the locale name from the 375 const char *locale; local 378 locale = getenv ("LC_ALL"); 379 if (locale == NULL || locale[0] == '\0') 381 locale = getenv ("LC_CTYPE"); 382 if (locale 428 const char *locale = NULL; local 471 const char *locale; local [all...] |
/external/libxslt/libxslt/ |
H A D | xsltlocale.h | 3 * Description: Interfaces for locale handling. Needed for language dependent 18 #include <locale.h> 41 * Macro indicating that locale are not supported 53 void xsltFreeLocale(xsltLocale locale); 54 xsltLocaleChar *xsltStrxfrm(xsltLocale locale, const xmlChar *string); 55 int xsltLocaleStrcmp(xsltLocale locale, const xsltLocaleChar *str1, const xsltLocaleChar *str2);
|
/external/llvm/include/llvm/Support/ |
H A D | Locale.h | 8 namespace locale { namespace in namespace:llvm::sys
|
/external/webkit/Source/WebCore/platform/text/cf/ |
H A D | HyphenationCF.cpp | 43 RetainPtr<CFLocaleRef> locale(AdoptCF, CFLocaleCopyCurrent()); 45 return CFStringIsHyphenationAvailableForLocale(locale.get()) ? locale : 0; 52 RetainPtr<CFLocaleRef> locale(AdoptCF, CFLocaleCreate(kCFAllocatorDefault, cfLocaleIdentifier.get())); 54 return CFStringIsHyphenationAvailableForLocale(locale.get()) ? locale : 0; 72 RetainPtr<CFLocaleRef> locale = cfLocaleCache().get(localeIdentifier); local 73 ASSERT(locale); 75 CFIndex result = CFStringGetHyphenationLocationBeforeIndex(string.get(), beforeIndex, CFRangeMake(0, length), 0, locale.get(), 0);
|