Searched refs:locale (Results 51 - 75 of 162) sorted by relevance

1234567

/barrelfish-master/lib/libc/stdio/
H A Dvasprintf.c45 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 Dvfwscanf.c141 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 Dvsprintf.c50 vsprintf_l(char * __restrict str, locale_t locale, argument
55 FIX_LOCALE(locale);
60 ret = __vfprintf(&f, locale, fmt, ap);
H A Dvsscanf.c61 vsscanf_l(const char * __restrict str, locale_t locale, argument
65 FIX_LOCALE(locale);
71 return (__svfscanf(&f, locale, fmt, ap));
H A Dasprintf.c57 asprintf_l(char ** __restrict s, locale_t locale, char const * __restrict fmt, argument
64 ret = vasprintf_l(s, locale, fmt, ap);
H A Dprintf.c60 printf_l(locale_t locale, char const * __restrict fmt, ...) argument
66 ret = vfprintf_l(stdout, locale, fmt, ap);
H A Dsscanf.c62 sscanf_l(const char * __restrict str, locale_t locale, argument
69 ret = vsscanf_l(str, locale, fmt, ap);
H A Dwprintf.c53 wprintf_l(locale_t locale, const wchar_t * __restrict fmt, ...) argument
59 ret = vfwprintf_l(stdout, locale, fmt, ap);
H A Dwscanf.c53 wscanf_l(locale_t locale, const wchar_t * __restrict fmt, ...) argument
59 r = vfwscanf_l(stdin, locale, fmt, ap);
H A Dvswscanf.c66 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 Dprintfcommon.h87 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 Dwcsftime.c58 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 Dc16rtomb.c41 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 Dwctrans.c47 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 DcXXrtomb_iconv.h56 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 Dwcstol.c50 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 Dwcstoll.c56 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 Dwcstoul.c50 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 Dwcstoull.c56 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 Dwcstoumax.c56 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 Dxlocale_private.h36 #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 Dsetlocale.c44 #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 Dstrtord.c73 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 Dstrxfrm.c52 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 Dios.cpp91 // 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...]

Completed in 166 milliseconds

1234567