Searched refs:locale (Results 1 - 25 of 1361) sorted by relevance

1234567891011>>

/macosx-10.9.5/libiconv-41/libiconv/libcharset/tools/
H A Dlocale_charmap2 # Prints the system dependent name for the current locale's charmap.
4 locale charmap
H A Dall-locales2 # 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$,,'
/macosx-10.9.5/libstdcxx-60/src/
H A Dios_locale.cc36 #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 Dcompatibility-ldbl.cc31 #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 Dlocale.cc34 #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.9.5/gnudiff-19/diffutils/lib/
H A Dhard-locale.c1 /* 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.9.5/CPANInternal-140/DateTime/t/
H A D14locale.t10 eval { DateTime->new( year => 100, locale => 'en_US' ) };
11 is( $@, '', 'make sure constructor accepts locale parameter' );
13 eval { DateTime->now( locale => 'en_US' ) };
14 is( $@, '', 'make sure constructor accepts locale parameter' );
16 eval { DateTime->today( locale => 'en_US' ) };
17 is( $@, '', 'make sure constructor accepts locale parameter' );
19 eval { DateTime->from_epoch( epoch => 1, locale => 'en_US' ) };
20 is( $@, '', 'make sure constructor accepts locale parameter' );
22 eval { DateTime->last_day_of_month( year => 100, month => 2, locale => 'en_US' ) };
23 is( $@, '', 'make sure constructor accepts locale paramete
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Dustrcase_locale.cpp26 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 Dunistr_case_locale.cpp35 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 Dunistr_titlecase_brkiter.cpp43 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 Dustr_titlecase_brkiter.cpp37 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.9.5/WebCore-7537.78.1/platform/efl/
H A DLanguageEfl.cpp32 #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.9.5/text_cmds-87/sort/
H A Dhard-locale.c1 /* 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.9.5/CPANInternal-140/DateTime-Format-Strptime/t/
H A D004_locale_defaults.t39 # 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 Dauthor-001_all_locales.t23 foreach my $locale (@locales) {
25 my $dt = DateTime->now( locale => $locale )->set( day => $day );
30 locale => $locale,
47 foreach my $locale (@locales) {
49 my $dt = DateTime->now( locale => $locale )->truncate( to => 'month' )
55 locale => $locale,
[all...]
H A D006_locales.t15 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.9.5/CPANInternal-140/DateTime-Format-Strptime-1.52/t/
H A D004_locale_defaults.t39 # 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 D006_locales.t15 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.9.5/CPANInternal-140/DateTime-Format-Strptime/t/more/
H A D001_all_locales.t15 foreach my $locale ( @locales ) {
17 my $dt = DateTime->now( locale => $locale )->set( day => $day );
21 locale => $locale,
35 diag( $locale );
40 foreach my $locale ( @locales ) {
42 my $dt = DateTime->now( locale => $locale )->truncate( to => 'month' )->set( month => $month );
46 locale
[all...]
/macosx-10.9.5/CPANInternal-140/DateTime-Format-Strptime-1.04/t/
H A D004_locale.t38 my ($locale, $pattern, $data) = @$_;
40 $object->locale($locale);
45 is($datetime->year, 1998, $locale. ' : ' . $pattern . ' : year' );
46 is($datetime->month, 12, $locale. ' : ' . $pattern . ' : month' );
47 is($datetime->day, 31, $locale. ' : ' . $pattern . ' : day' );
50 is($datetime->hour, 12, $locale. ' : ' . $pattern . ' : hour' );
51 is($datetime->minute, 34, $locale. ' : ' . $pattern . ' : minute');
52 is($datetime->second, 56, $locale. ' : ' . $pattern . ' : second');
/macosx-10.9.5/libstdcxx-60/include/c++/4.2.1/bits/
H A Dlocale_classes.h52 // 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.9.5/Liby-20/
H A Dmain.c34 #include <locale.h>
/macosx-10.9.5/WebCore-7537.78.1/platform/text/mac/
H A DTextBreakIteratorInternalICUMac.mm32 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.9.5/WebCore-7537.78.1/platform/text/cf/
H A DHyphenationCF.cpp41 RetainPtr<CFLocaleRef> locale = adoptCF(CFLocaleCopyCurrent()); local
43 return CFStringIsHyphenationAvailableForLocale(locale.get()) ? locale : 0;
49 RetainPtr<CFLocaleRef> locale = adoptCF(CFLocaleCreate(kCFAllocatorDefault, localeIdentifier.string().createCFString().get())); local
51 return CFStringIsHyphenationAvailableForLocale(locale.get()) ? locale : 0;
69 RetainPtr<CFLocaleRef> locale = cfLocaleCache().get(localeIdentifier); local
70 ASSERT(locale);
73 CFIndex result = CFStringGetHyphenationLocationBeforeIndex(string.get(), beforeIndex, CFRangeMake(0, length), searchAcrossWordBoundaries, locale.get(), 0);
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/misc/win32/
H A Dcharset.c34 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))

Completed in 143 milliseconds

1234567891011>>