/freebsd-11-stable/lib/libc/stdio/ |
H A D | asprintf.c | 57 asprintf_l(char ** __restrict s, locale_t locale, char const * __restrict fmt, argument 64 ret = vasprintf_l(s, locale, fmt, ap);
|
H A D | printf.c | 60 printf_l(locale_t locale, char const * __restrict fmt, ...) argument 66 ret = vfprintf_l(stdout, locale, fmt, ap);
|
H A D | sscanf.c | 62 sscanf_l(const char * __restrict str, locale_t locale, argument 69 ret = vsscanf_l(str, locale, fmt, ap);
|
H A D | wprintf.c | 53 wprintf_l(locale_t locale, const wchar_t * __restrict fmt, ...) argument 59 ret = vfwprintf_l(stdout, locale, fmt, ap);
|
H A D | wscanf.c | 53 wscanf_l(locale_t locale, const wchar_t * __restrict fmt, ...) argument 59 r = vfwscanf_l(stdin, locale, fmt, ap);
|
H A D | vswscanf.c | 66 vswscanf_l(const wchar_t * __restrict str, locale_t locale, argument 76 FIX_LOCALE(locale); 86 if ((mlen = wcsrtombs_l(mbstr, &strp, SIZE_T_MAX, &mbs, locale)) == (size_t)-1) { 94 r = __vfwscanf(&f, locale, fmt, ap);
|
H A D | printfcommon.h | 87 io_print(struct io_state *iop, const CHAR * __restrict ptr, int len, locale_t locale) argument 94 return (__sprint(iop->fp, &iop->uio, locale)); 116 locale_t locale) 122 if (io_print(iop, with, n, locale)) 135 int len, const CHAR * __restrict with, locale_t locale) 143 if (io_print(iop, p, p_len, locale)) 148 return (io_pad(iop, len - p_len, with, locale)); 152 io_flush(struct io_state *iop, locale_t locale) argument 155 return (__sprint(iop->fp, &iop->uio, locale)); 115 io_pad(struct io_state *iop, int howmany, const CHAR * __restrict with, locale_t locale) argument 134 io_printandpad(struct io_state *iop, const CHAR *p, const CHAR *ep, int len, const CHAR * __restrict with, locale_t locale) argument
|
/freebsd-11-stable/tools/diag/localeck/ |
H A D | docheck.sh | 9 LOCALEDIR=/usr/share/locale
|
/freebsd-11-stable/contrib/libstdc++/include/c_std/ |
H A D | std_clocale.h | 35 * This is the C++ version of the Standard C Library header @c locale.h, 51 #include <locale.h> 53 // Get rid of those macros defined in <locale.h> in lieu of real functions.
|
/freebsd-11-stable/contrib/gdtoa/ |
H A D | strtord.c | 73 strtord_l(s, sp, rounding, d, locale) CONST char *s; char **sp; int rounding; 74 double *d; locale_t locale; 76 strtord_l(CONST char *s, char **sp, int rounding, double *d, locale_t locale) 91 k = strtodg_l(s, sp, fpi, &exp, bits, locale);
|
/freebsd-11-stable/lib/libc/string/ |
H A D | strxfrm.c | 52 strxfrm_l(char * __restrict dest, const char * __restrict src, size_t len, locale_t locale) argument 58 FIX_LOCALE(locale); 60 (struct xlocale_collate*)locale->components[XLC_COLLATE]; 81 if (mbstowcs_l(wcs, src, slen + 1, locale) == (size_t)-1)
|
/freebsd-11-stable/lib/libc/locale/ |
H A D | c16rtomb.c | 41 locale_t locale) 46 FIX_LOCALE(locale); 48 ps = &locale->c16rtomb; 73 return (c32rtomb_l(s, c32, &cs->c32_mbstate, locale)); 40 c16rtomb_l(char * __restrict s, char16_t c16, mbstate_t * __restrict ps, locale_t locale) argument
|
H A D | wctrans.c | 47 towctrans_l(wint_t wc, wctrans_t desc, locale_t locale) argument 51 wc = towlower_l(wc, locale); 54 wc = towupper_l(wc, locale); 71 * wctrans() calls this will a 0 locale. If this is ever modified to actually 72 * use the locale, wctrans() must be modified to call __get_locale(). 75 wctrans_l(const char *charclass, locale_t locale) argument
|
H A D | cXXrtomb_iconv.h | 56 locale_t locale) 64 FIX_LOCALE(locale); 66 ps = &locale->cXXrtomb; 73 nl_langinfo_l(CODESET, locale)) != 0) { 93 dstleft = MB_CUR_MAX_L(locale); 55 cXXrtomb_l(char * __restrict s, charXX_t c, mbstate_t * __restrict ps, locale_t locale) argument
|
H A D | wcstol.c | 50 base, locale_t locale) 57 FIX_LOCALE(locale); 65 } while (iswspace_l(c, locale)); 92 if (iswdigit_l(c, locale)) 93 c = digittoint_l(c, locale); 49 wcstol_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base, locale_t locale) argument
|
H A D | wcstoll.c | 56 int base, locale_t locale) 63 FIX_LOCALE(locale); 71 } while (iswspace_l(c, locale)); 98 if (iswdigit_l(c, locale)) 99 c = digittoint_l(c, locale); 55 wcstoll_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base, locale_t locale) argument
|
H A D | wcstoul.c | 50 int base, locale_t locale) 57 FIX_LOCALE(locale); 65 } while (iswspace_l(c, locale)); 90 if (iswdigit_l(c, locale)) 91 c = digittoint_l(c, locale); 49 wcstoul_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base, locale_t locale) argument
|
H A D | wcstoull.c | 56 int base, locale_t locale) 63 FIX_LOCALE(locale); 71 } while (iswspace_l(c, locale)); 96 if (iswdigit_l(c, locale)) 97 c = digittoint_l(c, locale); 55 wcstoull_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base, locale_t locale) argument
|
H A D | wcstoumax.c | 56 int base, locale_t locale) 63 FIX_LOCALE(locale); 71 } while (iswspace_l(c, locale)); 96 if (iswdigit_l(c, locale)) 97 c = digittoint_l(c, locale); 55 wcstoumax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base, locale_t locale) argument
|
H A D | xlocale_private.h | 36 #include <locale.h> 72 * Header for a locale component. All locale components must begin with this 77 /** Name of the locale used for this component. */ 78 char locale[ENCODING_LEN+1]; member in struct:xlocale_component 82 * xlocale structure, stores per-thread locale information. 86 /** Components for the locale. */ 89 * last call to localeconv_l() with this locale. */ 91 /** Flag indicating whether this locale is actually using a locale fo 217 get_real_locale(locale_t locale) argument [all...] |
H A D | setlocale.c | 38 __FBSDID("$FreeBSD: stable/11/lib/libc/locale/setlocale.c 323548 2017-09-13 16:21:11Z pfg $"); 44 #include <locale.h> 84 * Path to locale storage directory 101 setlocale(int category, const char *locale) argument 110 if (locale == NULL) 115 * Default to the current locale for everything. 121 * Now go fill up new_categories from the locale argument 123 if (!*locale) { 142 if (strlen(locale) > ENCODING_LEN) { 146 (void)strcpy(new_categories[category], locale); [all...] |
/freebsd-11-stable/usr.bin/talk/ |
H A D | talk.c | 44 #include <locale.h>
|
/freebsd-11-stable/usr.bin/mklocale/ |
H A D | Makefile | 6 CFLAGS+= -I. -I${.CURDIR} -I${SRCTOP}/lib/libc/locale
|
/freebsd-11-stable/contrib/libstdc++/config/locale/gnu/ |
H A D | c_locale.cc | 32 // ISO C++ 14882: 22.8 Standard locale categories. 38 #include <locale> 94 locale::facet::_S_create_c_locale(__c_locale& __cloc, const char* __s, 100 // This named locale is not supported by the underlying OS. 101 __throw_runtime_error(__N("locale::facet::_S_create_c_locale " 107 locale::facet::_S_destroy_c_locale(__c_locale& __cloc) 114 locale::facet::_S_clone_c_locale(__c_locale& __cloc) 141 const char* const* const locale::_S_categories = __gnu_cxx::category_names;
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/locale/ |
H A D | t_mbtowc.c | 62 #include <locale.h> 72 h_mbtowc(const char *locale, const char *illegal, const char *legal) argument 80 ATF_REQUIRE(setlocale(LC_CTYPE, locale) != NULL); 82 if (setlocale(LC_CTYPE, locale) == NULL) { 83 fprintf(stderr, "Locale %s not found.\n", locale); 89 (void)printf("Using locale: %s\n", str);
|