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

1234567891011>>

/freebsd-11-stable/contrib/libstdc++/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...]
/freebsd-11-stable/contrib/diff/lib/
H A Dhard-locale.c1 /* hard-locale.c -- Determine whether a locale is hard.
23 #include "hard-locale.h"
26 # include <locale.h>
32 /* Return nonzero if the current CATEGORY locale is hard, i.e. if you
50 char *locale = malloc (strlen (p) + 1);
51 if (locale)
53 strcpy (locale, p);
55 /* Temporarily set the locale to the "C" and "POSIX" locales
57 or the other is the caller's locale
[all...]
/freebsd-11-stable/usr.bin/locale/
H A DMakefile1 # $FreeBSD: stable/11/usr.bin/locale/Makefile 319186 2017-05-30 04:27:05Z ngie $
3 PROG= locale
4 CFLAGS+= -I${SRCTOP}/lib/libc/locale
/freebsd-11-stable/contrib/libstdc++/include/c/
H A Dstd_clocale.h39 #include_next <locale.h>
/freebsd-11-stable/contrib/libstdc++/include/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
565 locale::locale(const locale& __other, _Facet* __f) function in class:locale
[all...]
/freebsd-11-stable/lib/libc/gdtoa/
H A Dmachdep_ldisQ.c46 strtold_l(const char * __restrict s, char ** __restrict sp, locale_t locale) argument
50 strtorQ_l(s, sp, FLT_ROUNDS, &result, locale);
H A Dmachdep_ldisd.c45 strtold_l(const char * __restrict s, char ** __restrict sp, locale_t locale) argument
48 return strtod_l(s, sp, locale);
H A Dmachdep_ldisx.c46 strtold_l(const char * __restrict s, char ** __restrict sp, locale_t locale) argument
49 FIX_LOCALE(locale);
51 strtorx_l(s, sp, FLT_ROUNDS, &result, locale);
/freebsd-11-stable/contrib/llvm-project/libcxx/include/
H A Dlocale.h2 //===---------------------------- locale.h --------------------------------===//
14 locale.h synopsis
42 #include_next <locale.h>
/freebsd-11-stable/lib/libc/stdio/
H A Dputwchar.c49 putwchar_l(wchar_t wc, locale_t locale) argument
51 FIX_LOCALE(locale);
52 return (fputwc_l(wc, stdout, locale));
H A Dputwc.c50 putwc_l(wchar_t wc, FILE *fp, locale_t locale) argument
52 FIX_LOCALE(locale);
53 return (fputwc_l(wc, fp, locale));
H A Dvscanf.c52 vscanf_l(locale_t locale, const char * __restrict fmt, __va_list ap) argument
55 FIX_LOCALE(locale);
58 retval = __svfscanf(stdin, locale, fmt, ap);
/freebsd-11-stable/lib/libc/string/
H A Dstrcasecmp.c46 strcasecmp_l(const char *s1, const char *s2, locale_t locale) argument
51 FIX_LOCALE(locale);
53 while (tolower_l(*us1, locale) == tolower_l(*us2++, locale))
56 return (tolower_l(*us1, locale) - tolower_l(*--us2, locale));
65 strncasecmp_l(const char *s1, const char *s2, size_t n, locale_t locale) argument
67 FIX_LOCALE(locale);
74 if (tolower_l(*us1, locale) != tolower_l(*us2++, locale))
[all...]
H A Dstrcasestr.c49 strcasestr_l(const char *s, const char *find, locale_t locale) argument
53 FIX_LOCALE(locale);
56 c = tolower_l((unsigned char)c, locale);
62 } while ((char)tolower_l((unsigned char)sc, locale) != c);
63 } while (strncasecmp_l(s, find, len, locale) != 0);
H A Dwcswidth.c50 wcswidth_l(const wchar_t *pwcs, size_t n, locale_t locale) argument
54 FIX_LOCALE(locale);
58 if ((l = wcwidth_l(wc, locale)) < 0)
/freebsd-11-stable/lib/libc/locale/
H A Dmbsinit.c39 mbsinit_l(const mbstate_t *ps, locale_t locale) argument
41 FIX_LOCALE(locale);
42 return (XLOCALE_CTYPE(locale)->__mbsinit(ps));
H A Dmblen.c40 mblen_l(const char *s, size_t n, locale_t locale) argument
44 FIX_LOCALE(locale);
48 locale->mblen = initial;
51 rval = XLOCALE_CTYPE(locale)->__mbrtowc(NULL, s, n, &locale->mblen);
H A Dwctomb.c40 wctomb_l(char *s, wchar_t wchar, locale_t locale) argument
44 FIX_LOCALE(locale);
48 locale->wctomb = initial;
51 if ((rval = XLOCALE_CTYPE(locale)->__wcrtomb(s, wchar, &locale->wctomb)) == (size_t)-1)
H A Dwctob.c41 wctob_l(wint_t c, locale_t locale) argument
46 FIX_LOCALE(locale);
48 if (c == WEOF || XLOCALE_CTYPE(locale)->__wcrtomb(buf, c, &mbs) != 1)
H A Dc32rtomb.c37 locale_t locale)
46 FIX_LOCALE(locale);
48 ps = &locale->c32rtomb;
51 return (wcrtomb_l(s, c32, ps, locale));
36 c32rtomb_l(char * __restrict s, char32_t c32, mbstate_t * __restrict ps, locale_t locale) argument
H A Dmbrlen.c39 mbrlen_l(const char * __restrict s, size_t n, mbstate_t * __restrict ps, locale_t locale) argument
41 FIX_LOCALE(locale);
43 ps = &locale->mbrlen;
44 return (XLOCALE_CTYPE(locale)->__mbrtowc(NULL, s, n, ps));
H A Dmbrtoc32.c36 mbstate_t * __restrict ps, locale_t locale)
39 FIX_LOCALE(locale);
41 ps = &locale->mbrtoc32;
44 return (mbrtowc_l(pc32, s, n, ps, locale));
35 mbrtoc32_l(char32_t * __restrict pc32, const char * __restrict s, size_t n, mbstate_t * __restrict ps, locale_t locale) argument
/freebsd-11-stable/gnu/usr.bin/grep/
H A Dhard-locale.c1 /* hard-locale.c -- Determine whether a locale is hard.
44 # include <locale.h>
51 /* Return nonzero if the current CATEGORY locale is hard, i.e. if you
69 char *locale = alloca (strlen (p) + 1);
70 strcpy (locale, p);
72 /* Temporarily set the locale to the "C" and "POSIX" locales to
74 other is the caller's locale. */
75 if (((p = setlocale (category, "C")) && strcmp (p, locale) == 0)
76 || ((p = setlocale (category, "POSIX")) && strcmp (p, locale)
[all...]

Completed in 135 milliseconds

1234567891011>>