/barrelfish-master/lib/libc/stdio/ |
H A D | vasprintf.c | 45 vasprintf_l(char **str, locale_t locale, const char *fmt, __va_list ap) argument 49 FIX_LOCALE(locale); 59 ret = __vfprintf(&f, locale, fmt, ap);
|
H A D | vfwscanf.c | 141 convert_char(FILE *fp, char * mbp, int width, locale_t locale) argument 150 while (width-- != 0 && (wi = __fgetwc(fp, locale)) != WEOF) { 165 convert_wchar(FILE *fp, wchar_t *wcp, int width, locale_t locale) argument 171 while (width-- != 0 && (wi = __fgetwc(fp, locale)) != WEOF) { 183 locale_t locale) 192 while ((wi = __fgetwc(fp, locale)) != WEOF && 203 __ungetwc(wi, fp, locale); 211 locale_t locale) 219 while ((wi = __fgetwc(fp, locale)) != WEOF && 223 __ungetwc(wi, fp, locale); 182 convert_ccl(FILE *fp, char * mbp, int width, const struct ccl *ccl, locale_t locale) argument 210 convert_wccl(FILE *fp, wchar_t *wcp, int width, const struct ccl *ccl, locale_t locale) argument 240 convert_string(FILE *fp, char * mbp, int width, locale_t locale) argument 267 convert_wstring(FILE *fp, wchar_t *wcp, int width, locale_t locale) argument 302 parseint(FILE *fp, wchar_t *buf, int width, int base, int flags, locale_t locale) argument 425 vfwscanf_l(FILE * __restrict fp, locale_t locale, const wchar_t * __restrict fmt, va_list ap) argument 447 __vfwscanf(FILE * __restrict fp, locale_t locale, const wchar_t * __restrict fmt, va_list ap) argument 791 parsefloat(FILE *fp, wchar_t *buf, wchar_t *end, locale_t locale) argument [all...] |
H A D | vsprintf.c | 50 vsprintf_l(char * __restrict str, locale_t locale, argument 55 FIX_LOCALE(locale); 60 ret = __vfprintf(&f, locale, fmt, ap);
|
H A D | vsscanf.c | 61 vsscanf_l(const char * __restrict str, locale_t locale, argument 65 FIX_LOCALE(locale); 71 return (__svfscanf(&f, locale, fmt, ap));
|
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
|
/barrelfish-master/lib/libc/locale/ |
H A D | wcsftime.c | 58 locale_t locale) 67 FIX_LOCALE(locale); 77 sflen = wcsrtombs_l(NULL, &formatp, 0, &mbs, locale); 83 wcsrtombs_l(sformat, &formatp, sflen + 1, &mbs, locale); 98 if (strftime_l(dst, maxsize, sformat, timeptr, locale) == 0) 102 n = mbsrtowcs_l(wcs, &dstp, maxsize, &mbs, locale); 56 wcsftime_l(wchar_t * __restrict wcs, size_t maxsize, const wchar_t * __restrict format, const struct tm * __restrict timeptr, locale_t locale) argument
|
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 | 44 #include <locale.h> 84 * Path to locale storage directory 101 setlocale(int category, const char *locale) argument 111 if (locale == NULL) 116 * Default to the current locale for everything. 122 * Now go fill up new_categories from the locale argument 124 if (!*locale) { 143 if (strlen(locale) > ENCODING_LEN) { 147 (void)strcpy(new_categories[category], locale); 149 if ((r = strchr(locale, '/')) [all...] |
/barrelfish-master/lib/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);
|
/barrelfish-master/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)
|
/barrelfish-master/lib/cxx/cxx/ |
H A D | ios.cpp | 91 // ios_base locale 134 // locale 136 locale 137 ios_base::imbue(const locale& newloc) 139 static_assert(sizeof(locale) == sizeof(__loc_), ""); 140 locale& loc_storage = *reinterpret_cast<locale*>(&__loc_); 141 locale oldloc = loc_storage; 147 locale 150 const locale [all...] |