/macosx-10.10/libiconv-42/libiconv/libcharset/tools/ |
H A D | locale_charmap | 2 # Prints the system dependent name for the current locale's charmap. 4 locale charmap
|
H A D | all-locales | 2 # Prints the list of all locale names, one per line. 4 locale -a 14 cd /usr/lib/locale && ls -1 17 cd /usr/share/locale && ls -1 20 cd /usr/share/locale && ls -1 */LC_CTYPE | sed -e 's,/LC_CTYPE$,,'
|
H A D | locale_charset.c | 1 /* Prints the portable name for the current locale's charset. */ 5 #include <locale.h>
|
/macosx-10.10/libstdcxx-104.1/src/ |
H A D | ios_locale.cc | 36 #include <locale> 48 _M_ios_locale = locale(); 51 // 27.4.2.3 ios_base locale functions 52 locale 53 ios_base::imbue(const locale& __loc) 55 locale __old = _M_ios_locale;
|
H A D | compatibility-ldbl.cc | 31 #include <locale> 46 template const num_put<C>& use_facet<num_put<C> >(const locale&); 47 template const num_get<C>& use_facet<num_get<C> >(const locale&); 48 template const money_put<C>& use_facet<money_put<C> >(const locale&); 49 template const money_get<C>& use_facet<money_get<C> >(const locale&); 50 template bool has_facet<num_put<C> >(const locale&); 51 template bool has_facet<num_get<C> >(const locale&); 52 template bool has_facet<money_put<C> >(const locale&); 53 template bool has_facet<money_get<C> >(const locale&); 61 template const num_put<C>& use_facet<num_put<C> >(const locale [all...] |
H A D | locale.cc | 34 #include <locale> 44 # define _GLIBCXX_LOC_ID(mangled) extern std::locale::id mangled 59 // Definitions for static const data members of locale. 60 const locale::category locale::none; 61 const locale::category locale::ctype; 62 const locale::category locale::numeric; 63 const locale 77 locale::locale(const locale& __other) throw() function in class:locale 84 locale::locale(_Impl* __ip) throw() : _M_impl(__ip) function in class:locale [all...] |
/macosx-10.10/gnudiff-19/diffutils/lib/ |
H A D | hard-locale.c | 1 /* hard-locale.c -- Determine whether a locale is hard. 24 # include <locale.h> 35 #include "hard-locale.h" 37 /* Return nonzero if the current CATEGORY locale is hard, i.e. if you 55 char *locale = malloc (strlen (p) + 1); 56 if (locale) 58 strcpy (locale, p); 60 /* Temporarily set the locale to the "C" and "POSIX" locales 62 or the other is the caller's locale [all...] |
/macosx-10.10/ICU-531.30/icuSources/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
|
/macosx-10.10/WebCore-7600.1.25/platform/efl/ |
H A D | LanguageEfl.cpp | 32 #include <locale.h> 45 String locale = String(localeDefault); 46 locale.replace('_', '-'); 47 size_t position = locale.find('.'); 49 locale = locale.left(position); 51 return locale;
|
/macosx-10.10/text_cmds-88/sort/ |
H A D | hard-locale.c | 1 /* hard-locale.c -- Determine whether a locale is hard. 24 #include "hard-locale.h" 26 #include <locale.h> 38 /* Return true if the current CATEGORY locale is hard, i.e. if you 55 char *locale = strdup (p); local 56 if (locale) 58 /* Temporarily set the locale to the "C" and "POSIX" locales 60 or the other is the caller's locale. */ 62 && strcmp (p, locale) [all...] |
/macosx-10.10/CPANInternal-159.1/DateTime-Format-Strptime-1.52/t/ |
H A D | 004_locale_defaults.t | 39 # French Generic - inherits from root locale for glibc formats 46 my ( $locale, $pattern, $data ) = @$_; 47 $object->locale($locale); 52 fail("Could not parse $data with $pattern for $locale") for 1..3; 57 is( $datetime->year, 1998, $locale . ' : ' . $pattern . ' : year' ); 58 is( $datetime->month, 12, $locale . ' : ' . $pattern . ' : month' ); 59 is( $datetime->day, 31, $locale . ' : ' . $pattern . ' : day' ); 62 is( $datetime->hour, 13, $locale . ' : ' . $pattern . ' : hour' ); 63 is( $datetime->minute, 34, $locale [all...] |
H A D | 006_locales.t | 15 foreach my $locale (@locales) { 17 my $dt = DateTime->now( locale => $locale )->set( day => $day ); 22 locale => $locale, 36 # diag( $locale ); 41 foreach my $locale (@locales) { 43 my $dt = DateTime->now( locale => $locale ) 49 locale [all...] |
/macosx-10.10/CPANInternal-159.1/DateTime-Format-Strptime-1.54/t/ |
H A D | 004_locale_defaults.t | 39 # French Generic - inherits from root locale for glibc formats 46 my ( $locale, $pattern, $data ) = @$_; 47 $object->locale($locale); 52 fail("Could not parse $data with $pattern for $locale") for 1..3; 57 is( $datetime->year, 1998, $locale . ' : ' . $pattern . ' : year' ); 58 is( $datetime->month, 12, $locale . ' : ' . $pattern . ' : month' ); 59 is( $datetime->day, 31, $locale . ' : ' . $pattern . ' : day' ); 62 is( $datetime->hour, 13, $locale . ' : ' . $pattern . ' : hour' ); 63 is( $datetime->minute, 34, $locale [all...] |
H A D | 006_locales.t | 15 foreach my $locale (@locales) { 17 my $dt = DateTime->now( locale => $locale )->set( day => $day ); 22 locale => $locale, 36 # diag( $locale ); 41 foreach my $locale (@locales) { 43 my $dt = DateTime->now( locale => $locale ) 49 locale [all...] |
/macosx-10.10/libstdcxx-104.1/include/c++/4.2.1/bits/ |
H A D | locale_classes.h | 52 // 22.1.1 Class locale 56 * The locale class is first a class wrapper for C library locales. It is 57 * also an extensible container for user-defined localization. A locale is 61 * Constructing C++ locales does not change the C library locale. 64 * through a reference counting implementation of the locale class. 66 class locale class 70 /// Definition of locale::category. 83 has_facet(const locale&) throw(); 87 use_facet(const locale&); 101 * NB: Order must match _S_facet_categories definition in locale 571 locale::locale(const locale& __other, _Facet* __f) function in class:locale [all...] |
/macosx-10.10/Liby-20/ |
H A D | main.c | 34 #include <locale.h>
|
/macosx-10.10/WebCore-7600.1.25/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) 56 RetainPtr<CFStringRef> canonicalLocale = adoptCF(CFLocaleCreateCanonicalLanguageIdentifierFromString(kCFAllocatorDefault, locale)); 58 return locale; 62 static void getLocale(CFStringRef locale, char localeStringBuffer[maxLocaleStringLength]) 64 // Empty string means "root locale", an [all...] |
/macosx-10.10/WebCore-7600.1.25/platform/text/cf/ |
H A D | HyphenationCF.cpp | 41 // CF hyphenation functions use locale (regional formats) language, which doesn't necessarily match primary UI language, 42 // so we can't use default locale here. See <rdar://problem/14897664>. 43 RetainPtr<CFLocaleRef> locale = adoptCF(CFLocaleCreate(0, defaultLanguage().createCFString().get())); local 45 return CFStringIsHyphenationAvailableForLocale(locale.get()) ? locale : 0; 51 RetainPtr<CFLocaleRef> locale = adoptCF(CFLocaleCreate(kCFAllocatorDefault, localeIdentifier.string().createCFString().get())); local 53 return CFStringIsHyphenationAvailableForLocale(locale.get()) ? locale : 0; 79 RetainPtr<CFLocaleRef> locale = cfLocaleCache().get(localeIdentifier); local 80 ASSERT(locale); [all...] |
/macosx-10.10/apr-32/apr/apr/misc/win32/ |
H A D | charset.c | 34 LCID locale = GetUserDefaultLCID(); local 36 LCID locale = GetThreadLocale(); local 38 int len = GetLocaleInfo(locale, LOCALE_IDEFAULTANSICODEPAGE, NULL, 0); 40 if (0 < GetLocaleInfo(locale, LOCALE_IDEFAULTANSICODEPAGE, (TCHAR*) (cp + 2), len))
|
/macosx-10.10/gnutar-453/gnutar/lib/ |
H A D | localcharset.c | 1 /* Determine a canonical name for the current locale's character encoding. 45 # include <locale.h> 276 /* Determine the current locale's character encoding, and canonicalize it 301 of the locale name from the environment variables (if present) or 305 const char *locale; local 308 locale = getenv ("LC_ALL"); 309 if (locale == NULL || locale[0] == '\0') 311 locale = getenv ("LC_CTYPE"); 312 if (locale 348 const char *locale = NULL; local 385 const char *locale; local [all...] |
/macosx-10.10/libiconv-42/libiconv/libcharset/lib/ |
H A D | localcharset.c | 1 /* Determine a canonical name for the current locale's character encoding. 57 # include <locale.h> 283 /* Determine the current locale's character encoding, and canonicalize it 308 of the locale name from the environment variables (if present) or 312 const char *locale; local 315 locale = getenv ("LC_ALL"); 316 if (locale == NULL || locale[0] == '\0') 318 locale = getenv ("LC_CTYPE"); 319 if (locale 355 const char *locale = NULL; local 392 const char *locale; local [all...] |
/macosx-10.10/libxslt-13/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);
|