Lines Matching refs:__l
21 size_t __mb_cur_max(locale_t __l) {
22 FIX_LOCALE(__l);
23 return (__l->lc_ctype->cmapp->cm_mb_cur_max);
26 wint_t btowc_l(int __c, locale_t __l) {
27 FIX_LOCALE(__l);
28 return __l->lc_ctype->cmapp->core.user_api->btowc(__l->lc_ctype->cmapp, __c);
31 int wctob_l(wint_t __c, locale_t __l) {
32 FIX_LOCALE(__l);
33 return __l->lc_ctype->cmapp->core.user_api->wctob(__l->lc_ctype->cmapp, __c);
36 size_t wcrtomb_l(char *__s, wchar_t __wc, mbstate_t *__ps, locale_t __l) {
37 FIX_LOCALE(__l);
38 return __l->lc_ctype->cmapp->core.user_api->wcrtomb(__l->lc_ctype->cmapp,
43 mbstate_t *__ps, locale_t __l) {
44 FIX_LOCALE(__l);
45 return __l->lc_ctype->cmapp->core.user_api->mbrtowc(__l->lc_ctype->cmapp,
49 int mbtowc_l(wchar_t *__pwc, const char *__pmb, size_t __max, locale_t __l) {
50 FIX_LOCALE(__l);
51 return __l->lc_ctype->cmapp->core.user_api->mbtowc(__l->lc_ctype->cmapp,
55 size_t mbrlen_l(const char *__s, size_t __n, mbstate_t *__ps, locale_t __l) {
56 FIX_LOCALE(__l);
57 return __l->lc_ctype->cmapp->core.user_api->mbrlen(__l->lc_ctype->cmapp, __s,
61 struct lconv *localeconv_l(locale_t __l) {
62 FIX_LOCALE(__l);
63 return __l->core.user_api->localeconv(__l);
67 mbstate_t *__ps, locale_t __l) {
68 FIX_LOCALE(__l);
69 return __l->lc_ctype->cmapp->core.user_api->mbsrtowcs(__l->lc_ctype->cmapp,
73 int wcscoll_l(const wchar_t *__s1, const wchar_t *__s2, locale_t __l) {
74 FIX_LOCALE(__l);
75 return __l->lc_collate->core.user_api->wcscoll(__l->lc_collate,
79 int strcoll_l(const char *__s1, const char *__s2, locale_t __l) {
80 FIX_LOCALE(__l);
81 return __l->lc_collate->core.user_api->strcoll(__l->lc_collate,
85 size_t strxfrm_l(char *__s1, const char *__s2, size_t __n, locale_t __l) {
86 FIX_LOCALE(__l);
87 return __l->lc_collate->core.user_api->strxfrm(__l->lc_collate,
91 *__tm, locale_t __l) {
92 FIX_LOCALE(__l);
93 return __l->lc_time->core.user_api->strftime(__l->lc_time,
98 locale_t __l) {
99 FIX_LOCALE(__l);
100 return __l->lc_collate->core.user_api->wcsxfrm(__l->lc_collate,
105 int is##ctype##_l(int __c, locale_t __l) { \
107 FIX_LOCALE(__l);\
108 return __l->lc_ctype->mask[__c] & m;\
110 int isw##ctype##_l(wchar_t __c, locale_t __l) { \
111 FIX_LOCALE(__l);\
112 return __l->lc_ctype->core.user_api->iswctype(__l->lc_ctype, __c, m);\
128 int iswctype_l(wint_t __c, wctype_t __m, locale_t __l) {
129 FIX_LOCALE(__l);\
130 return __l->lc_ctype->core.user_api->iswctype(__l->lc_ctype, __c, __m);\
133 int toupper_l(int __c, locale_t __l) {
134 FIX_LOCALE(__l);
135 if ((__c < 0) || (__c > __l->lc_ctype->max_upper)) return __c;
136 return __l->lc_ctype->upper[__c];
138 int tolower_l(int __c, locale_t __l) {
139 FIX_LOCALE(__l);
140 if ((__c < 0) || (__c > __l->lc_ctype->max_lower)) return __c;
141 return __l->lc_ctype->lower[__c];
143 wint_t towupper_l(wint_t __c, locale_t __l) {
144 FIX_LOCALE(__l);
145 return __l->lc_ctype->core.user_api->towupper(__l->lc_ctype, __c);
147 wint_t towlower_l(wint_t __c, locale_t __l) {
148 FIX_LOCALE(__l);
149 return __l->lc_ctype->core.user_api->towlower(__l->lc_ctype, __c);
153 #define vsnprintf_l(__s, __n, __l, __format, __va) \
156 int sprintf_l(char *__s, locale_t __l, const char *__format, ...) {
159 int __res = vsnprintf_l(__s, SIZE_MAX, __l, __format, __va);
164 int snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...)
168 int __res = vsnprintf_l(__s, __n , __l, __format, __va);
173 int asprintf_l(char **__s, locale_t __l, const char *__format, ...) {
182 int sscanf_l(const char *__s, locale_t __l, const char *__format, ...) {