Lines Matching refs:__l
626 __l(newlocale(LC_ALL_MASK, n, 0)) in collate_byname()
629 if (__l == 0) in collate_byname()
637 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in collate_byname()
640 if (__l == 0) in collate_byname()
648 freelocale(__l); in ~collate_byname()
657 int r = strcoll_l(lhs.c_str(), rhs.c_str(), __l); in do_compare()
669 string_type out(strxfrm_l(0, in.c_str(), 0, __l), char()); in do_transform()
670 strxfrm_l(const_cast<char*>(out.c_str()), in.c_str(), out.size()+1, __l); in do_transform()
678 __l(newlocale(LC_ALL_MASK, n, 0)) in collate_byname()
681 if (__l == 0) in collate_byname()
689 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in collate_byname()
692 if (__l == 0) in collate_byname()
700 freelocale(__l); in ~collate_byname()
709 int r = wcscoll_l(lhs.c_str(), rhs.c_str(), __l); in do_compare()
721 string_type out(wcsxfrm_l(0, in.c_str(), 0, __l), wchar_t()); in do_transform()
722 wcsxfrm_l(const_cast<wchar_t*>(out.c_str()), in.c_str(), out.size()+1, __l); in do_transform()
1019 __l(newlocale(LC_ALL_MASK, name, 0)) in ctype_byname()
1022 if (__l == 0) in ctype_byname()
1030 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in ctype_byname()
1033 if (__l == 0) in ctype_byname()
1041 freelocale(__l); in ~ctype_byname()
1047 return static_cast<char>(toupper_l(c, __l)); in do_toupper()
1054 *low = static_cast<char>(toupper_l(*low, __l)); in do_toupper()
1061 return static_cast<char>(tolower_l(c, __l)); in do_tolower()
1068 *low = static_cast<char>(tolower_l(*low, __l)); in do_tolower()
1076 __l(newlocale(LC_ALL_MASK, name, 0)) in ctype_byname()
1079 if (__l == 0) in ctype_byname()
1087 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in ctype_byname()
1090 if (__l == 0) in ctype_byname()
1098 freelocale(__l); in ~ctype_byname()
1105 return static_cast<bool>(iswctype_l(c, m, __l)); in do_is()
1108 if (m & space) result |= (iswspace_l(c, __l) != 0); in do_is()
1109 if (m & print) result |= (iswprint_l(c, __l) != 0); in do_is()
1110 if (m & cntrl) result |= (iswcntrl_l(c, __l) != 0); in do_is()
1111 if (m & upper) result |= (iswupper_l(c, __l) != 0); in do_is()
1112 if (m & lower) result |= (iswlower_l(c, __l) != 0); in do_is()
1113 if (m & alpha) result |= (iswalpha_l(c, __l) != 0); in do_is()
1114 if (m & digit) result |= (iswdigit_l(c, __l) != 0); in do_is()
1115 if (m & punct) result |= (iswpunct_l(c, __l) != 0); in do_is()
1116 if (m & xdigit) result |= (iswxdigit_l(c, __l) != 0); in do_is()
1117 if (m & blank) result |= (iswblank_l(c, __l) != 0); in do_is()
1132 if (iswspace_l(*low, __l)) in do_is()
1134 if (iswprint_l(*low, __l)) in do_is()
1136 if (iswcntrl_l(*low, __l)) in do_is()
1138 if (iswupper_l(*low, __l)) in do_is()
1140 if (iswlower_l(*low, __l)) in do_is()
1142 if (iswalpha_l(*low, __l)) in do_is()
1144 if (iswdigit_l(*low, __l)) in do_is()
1146 if (iswpunct_l(*low, __l)) in do_is()
1148 if (iswxdigit_l(*low, __l)) in do_is()
1161 if (iswctype_l(*low, m, __l)) in do_scan_is()
1164 if (m & space && iswspace_l(*low, __l)) break; in do_scan_is()
1165 if (m & print && iswprint_l(*low, __l)) break; in do_scan_is()
1166 if (m & cntrl && iswcntrl_l(*low, __l)) break; in do_scan_is()
1167 if (m & upper && iswupper_l(*low, __l)) break; in do_scan_is()
1168 if (m & lower && iswlower_l(*low, __l)) break; in do_scan_is()
1169 if (m & alpha && iswalpha_l(*low, __l)) break; in do_scan_is()
1170 if (m & digit && iswdigit_l(*low, __l)) break; in do_scan_is()
1171 if (m & punct && iswpunct_l(*low, __l)) break; in do_scan_is()
1172 if (m & xdigit && iswxdigit_l(*low, __l)) break; in do_scan_is()
1173 if (m & blank && iswblank_l(*low, __l)) break; in do_scan_is()
1185 if (!iswctype_l(*low, m, __l)) in do_scan_not()
1188 if (m & space && iswspace_l(*low, __l)) continue; in do_scan_not()
1189 if (m & print && iswprint_l(*low, __l)) continue; in do_scan_not()
1190 if (m & cntrl && iswcntrl_l(*low, __l)) continue; in do_scan_not()
1191 if (m & upper && iswupper_l(*low, __l)) continue; in do_scan_not()
1192 if (m & lower && iswlower_l(*low, __l)) continue; in do_scan_not()
1193 if (m & alpha && iswalpha_l(*low, __l)) continue; in do_scan_not()
1194 if (m & digit && iswdigit_l(*low, __l)) continue; in do_scan_not()
1195 if (m & punct && iswpunct_l(*low, __l)) continue; in do_scan_not()
1196 if (m & xdigit && iswxdigit_l(*low, __l)) continue; in do_scan_not()
1197 if (m & blank && iswblank_l(*low, __l)) continue; in do_scan_not()
1207 return towupper_l(c, __l); in do_toupper()
1214 *low = towupper_l(*low, __l); in do_toupper()
1221 return towlower_l(c, __l); in do_tolower()
1228 *low = towlower_l(*low, __l); in do_tolower()
1236 return btowc_l(c, __l); in do_widen()
1238 return __btowc_l(c, __l); in do_widen()
1247 *dest = btowc_l(*low, __l); in do_widen()
1249 *dest = __btowc_l(*low, __l); in do_widen()
1258 int r = wctob_l(c, __l); in do_narrow()
1260 int r = __wctob_l(c, __l); in do_narrow()
1271 int r = wctob_l(*low, __l); in do_narrow()
1273 int r = __wctob_l(*low, __l); in do_narrow()
1347 __l(0) in codecvt()
1353 __l(newlocale(LC_ALL_MASK, nm, 0)) in codecvt()
1356 if (__l == 0) in codecvt()
1364 if (__l != 0) in ~codecvt()
1365 freelocale(__l); in ~codecvt()
1386 static_cast<size_t>(to_end-to), &st, __l); in do_out()
1388 size_t n = __wcsnrtombs_l(to, &frm_nxt, fend-frm, to_end-to, &st, __l); in do_out()
1396 n = wcrtomb_l(to_nxt, *frm, &save_state, __l); in do_out()
1398 n = __wcrtomb_l(to_nxt, *frm, &save_state, __l); in do_out()
1417 n = wcrtomb_l(tmp, intern_type(), &st, __l); in do_out()
1419 n = __wcrtomb_l(tmp, intern_type(), &st, __l); in do_out()
1455 static_cast<size_t>(to_end-to), &st, __l); in do_in()
1457 size_t n = __mbsnrtowcs_l(to, &frm_nxt, fend-frm, to_end-to, &st, __l); in do_in()
1466 &save_state, __l); in do_in()
1468 n = __mbrtowc_l(to_nxt, frm, fend-frm, &save_state, __l); in do_in()
1498 n = mbrtowc_l(to_nxt, frm_nxt, 1, &st, __l); in do_in()
1500 n = __mbrtowc_l(to_nxt, frm_nxt, 1, &st, __l); in do_in()
1522 size_t n = wcrtomb_l(tmp, intern_type(), &st, __l); in do_unshift()
1524 size_t n = __wcrtomb_l(tmp, intern_type(), &st, __l); in do_unshift()
1540 if (mbtowc_l((wchar_t*) 0, (const char*) 0, MB_LEN_MAX, __l) == 0) in do_encoding()
1542 if (__mbtowc_l((wchar_t*) 0, (const char*) 0, MB_LEN_MAX, __l) == 0) in do_encoding()
1547 if (__l == 0 || MB_CUR_MAX_L(__l) == 1) // there are no known constant length encodings in do_encoding()
1549 if (__l == 0 || __mb_cur_max_l(__l) == 1) // there are no known constant length encodings in do_encoding()
1571 size_t n = mbrlen_l(frm, static_cast<size_t>(frm_end-frm), &st, __l); in do_length()
1573 size_t n = __mbrlen_l(frm, frm_end-frm, &st, __l); in do_length()
1597 return __l == 0 ? 1 : MB_CUR_MAX_L(__l); in do_max_length()
1599 return __l == 0 ? 1 : __mb_cur_max_l(__l); in do_max_length()