Lines Matching refs:__l
660 __l(newlocale(LC_ALL_MASK, n, 0)) in collate_byname()
663 if (__l == 0) in collate_byname()
669 __l = __new_cloc(); in collate_byname()
677 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in collate_byname()
680 if (__l == 0) in collate_byname()
686 __l = __new_cloc(); in collate_byname()
694 freelocale(__l); in ~collate_byname()
703 int r = strcoll_l(lhs.c_str(), rhs.c_str(), __l); in do_compare()
715 string_type out(strxfrm_l(0, in.c_str(), 0, __l), char()); in do_transform()
716 strxfrm_l(const_cast<char*>(out.c_str()), in.c_str(), out.size()+1, __l); in do_transform()
724 __l(newlocale(LC_ALL_MASK, n, 0)) in collate_byname()
727 if (__l == 0) in collate_byname()
733 __l = __new_cloc(); in collate_byname()
741 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in collate_byname()
744 if (__l == 0) in collate_byname()
750 __l = __new_cloc(); in collate_byname()
758 freelocale(__l); in ~collate_byname()
767 int r = wcscoll_l(lhs.c_str(), rhs.c_str(), __l); in do_compare()
779 string_type out(wcsxfrm_l(0, in.c_str(), 0, __l), wchar_t()); in do_transform()
780 wcsxfrm_l(const_cast<wchar_t*>(out.c_str()), in.c_str(), out.size()+1, __l); in do_transform()
1144 __l(newlocale(LC_ALL_MASK, name, 0)) in ctype_byname()
1147 if (__l == 0) in ctype_byname()
1153 __l = __new_cloc(); in ctype_byname()
1161 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in ctype_byname()
1164 if (__l == 0) in ctype_byname()
1170 __l = __new_cloc(); in ctype_byname()
1178 freelocale(__l); in ~ctype_byname()
1184 return static_cast<char>(toupper_l(static_cast<unsigned char>(c), __l)); in do_toupper()
1191 *low = static_cast<char>(toupper_l(static_cast<unsigned char>(*low), __l)); in do_toupper()
1198 return static_cast<char>(tolower_l(static_cast<unsigned char>(c), __l)); in do_tolower()
1205 *low = static_cast<char>(tolower_l(static_cast<unsigned char>(*low), __l)); in do_tolower()
1213 __l(newlocale(LC_ALL_MASK, name, 0)) in ctype_byname()
1216 if (__l == 0) in ctype_byname()
1222 __l = __new_cloc(); in ctype_byname()
1230 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in ctype_byname()
1233 if (__l == 0) in ctype_byname()
1239 __l = __new_cloc(); in ctype_byname()
1247 freelocale(__l); in ~ctype_byname()
1254 return static_cast<bool>(iswctype_l(c, m, __l)); in do_is()
1258 if (m & space) result |= (iswspace_l(ch, __l) != 0); in do_is()
1259 if (m & print) result |= (iswprint_l(ch, __l) != 0); in do_is()
1260 if (m & cntrl) result |= (iswcntrl_l(ch, __l) != 0); in do_is()
1261 if (m & upper) result |= (iswupper_l(ch, __l) != 0); in do_is()
1262 if (m & lower) result |= (iswlower_l(ch, __l) != 0); in do_is()
1263 if (m & alpha) result |= (iswalpha_l(ch, __l) != 0); in do_is()
1264 if (m & digit) result |= (iswdigit_l(ch, __l) != 0); in do_is()
1265 if (m & punct) result |= (iswpunct_l(ch, __l) != 0); in do_is()
1266 if (m & xdigit) result |= (iswxdigit_l(ch, __l) != 0); in do_is()
1267 if (m & blank) result |= (iswblank_l(ch, __l) != 0); in do_is()
1283 if (iswspace_l(ch, __l)) in do_is()
1285 if (iswprint_l(ch, __l)) in do_is()
1287 if (iswcntrl_l(ch, __l)) in do_is()
1289 if (iswupper_l(ch, __l)) in do_is()
1291 if (iswlower_l(ch, __l)) in do_is()
1293 if (iswalpha_l(ch, __l)) in do_is()
1295 if (iswdigit_l(ch, __l)) in do_is()
1297 if (iswpunct_l(ch, __l)) in do_is()
1299 if (iswxdigit_l(ch, __l)) in do_is()
1312 if (iswctype_l(*low, m, __l)) in do_scan_is()
1316 if (m & space && iswspace_l(ch, __l)) break; in do_scan_is()
1317 if (m & print && iswprint_l(ch, __l)) break; in do_scan_is()
1318 if (m & cntrl && iswcntrl_l(ch, __l)) break; in do_scan_is()
1319 if (m & upper && iswupper_l(ch, __l)) break; in do_scan_is()
1320 if (m & lower && iswlower_l(ch, __l)) break; in do_scan_is()
1321 if (m & alpha && iswalpha_l(ch, __l)) break; in do_scan_is()
1322 if (m & digit && iswdigit_l(ch, __l)) break; in do_scan_is()
1323 if (m & punct && iswpunct_l(ch, __l)) break; in do_scan_is()
1324 if (m & xdigit && iswxdigit_l(ch, __l)) break; in do_scan_is()
1325 if (m & blank && iswblank_l(ch, __l)) break; in do_scan_is()
1337 if (!iswctype_l(*low, m, __l)) in do_scan_not()
1341 if (m & space && iswspace_l(ch, __l)) continue; in do_scan_not()
1342 if (m & print && iswprint_l(ch, __l)) continue; in do_scan_not()
1343 if (m & cntrl && iswcntrl_l(ch, __l)) continue; in do_scan_not()
1344 if (m & upper && iswupper_l(ch, __l)) continue; in do_scan_not()
1345 if (m & lower && iswlower_l(ch, __l)) continue; in do_scan_not()
1346 if (m & alpha && iswalpha_l(ch, __l)) continue; in do_scan_not()
1347 if (m & digit && iswdigit_l(ch, __l)) continue; in do_scan_not()
1348 if (m & punct && iswpunct_l(ch, __l)) continue; in do_scan_not()
1349 if (m & xdigit && iswxdigit_l(ch, __l)) continue; in do_scan_not()
1350 if (m & blank && iswblank_l(ch, __l)) continue; in do_scan_not()
1360 return towupper_l(c, __l); in do_toupper()
1367 *low = towupper_l(*low, __l); in do_toupper()
1374 return towlower_l(c, __l); in do_tolower()
1381 *low = towlower_l(*low, __l); in do_tolower()
1389 return btowc_l(c, __l); in do_widen()
1391 return __btowc_l(c, __l); in do_widen()
1400 *dest = btowc_l(*low, __l); in do_widen()
1402 *dest = __btowc_l(*low, __l); in do_widen()
1411 int r = wctob_l(c, __l); in do_narrow()
1413 int r = __wctob_l(c, __l); in do_narrow()
1424 int r = wctob_l(*low, __l); in do_narrow()
1426 int r = __wctob_l(*low, __l); in do_narrow()
1500 __l(0) in codecvt()
1506 __l(newlocale(LC_ALL_MASK, nm, 0)) in codecvt()
1509 if (__l == 0) in codecvt()
1515 __l = __new_cloc(); in codecvt()
1523 if (__l != _LIBCPP_GET_C_LOCALE) in ~codecvt()
1524 freelocale(__l); in ~codecvt()
1545 static_cast<size_t>(to_end-to), &st, __l); in do_out()
1547 size_t n = __wcsnrtombs_l(to, &frm_nxt, fend-frm, to_end-to, &st, __l); in do_out()
1555 n = wcrtomb_l(to_nxt, *frm, &save_state, __l); in do_out()
1557 n = __wcrtomb_l(to_nxt, *frm, &save_state, __l); in do_out()
1576 n = wcrtomb_l(tmp, intern_type(), &st, __l); in do_out()
1578 n = __wcrtomb_l(tmp, intern_type(), &st, __l); in do_out()
1614 static_cast<size_t>(to_end-to), &st, __l); in do_in()
1616 size_t n = __mbsnrtowcs_l(to, &frm_nxt, fend-frm, to_end-to, &st, __l); in do_in()
1625 &save_state, __l); in do_in()
1627 n = __mbrtowc_l(to_nxt, frm, fend-frm, &save_state, __l); in do_in()
1657 n = mbrtowc_l(to_nxt, frm_nxt, 1, &st, __l); in do_in()
1659 n = __mbrtowc_l(to_nxt, frm_nxt, 1, &st, __l); in do_in()
1681 size_t n = wcrtomb_l(tmp, intern_type(), &st, __l); in do_unshift()
1683 size_t n = __wcrtomb_l(tmp, intern_type(), &st, __l); in do_unshift()
1699 if (mbtowc_l(nullptr, nullptr, MB_LEN_MAX, __l) == 0) in do_encoding()
1701 if (__mbtowc_l(nullptr, nullptr, MB_LEN_MAX, __l) == 0) in do_encoding()
1706 if (__l == 0 || MB_CUR_MAX_L(__l) == 1) // there are no known constant length encodings in do_encoding()
1708 if (__l == 0 || __mb_cur_max_l(__l) == 1) // there are no known constant length encodings in do_encoding()
1730 size_t n = mbrlen_l(frm, static_cast<size_t>(frm_end-frm), &st, __l); in do_length()
1732 size_t n = __mbrlen_l(frm, frm_end-frm, &st, __l); in do_length()
1756 return __l == 0 ? 1 : static_cast<int>( MB_CUR_MAX_L(__l)); in do_max_length()
1758 return __l == 0 ? 1 : static_cast<int>(__mb_cur_max_l(__l)); in do_max_length()