Lines Matching refs:__l

659       __l(newlocale(LC_ALL_MASK, n, 0))  in collate_byname()
662 if (__l == 0) in collate_byname()
670 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in collate_byname()
673 if (__l == 0) in collate_byname()
681 freelocale(__l); in ~collate_byname()
690 int r = strcoll_l(lhs.c_str(), rhs.c_str(), __l); in do_compare()
702 string_type out(strxfrm_l(0, in.c_str(), 0, __l), char()); in do_transform()
703 strxfrm_l(const_cast<char*>(out.c_str()), in.c_str(), out.size()+1, __l); in do_transform()
711 __l(newlocale(LC_ALL_MASK, n, 0)) in collate_byname()
714 if (__l == 0) in collate_byname()
722 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in collate_byname()
725 if (__l == 0) in collate_byname()
733 freelocale(__l); in ~collate_byname()
742 int r = wcscoll_l(lhs.c_str(), rhs.c_str(), __l); in do_compare()
754 string_type out(wcsxfrm_l(0, in.c_str(), 0, __l), wchar_t()); in do_transform()
755 wcsxfrm_l(const_cast<wchar_t*>(out.c_str()), in.c_str(), out.size()+1, __l); in do_transform()
1181 __l(newlocale(LC_ALL_MASK, name, 0)) in ctype_byname()
1184 if (__l == 0) in ctype_byname()
1192 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in ctype_byname()
1195 if (__l == 0) in ctype_byname()
1203 freelocale(__l); in ~ctype_byname()
1209 return static_cast<char>(toupper_l(static_cast<unsigned char>(c), __l)); in do_toupper()
1216 *low = static_cast<char>(toupper_l(static_cast<unsigned char>(*low), __l)); in do_toupper()
1223 return static_cast<char>(tolower_l(static_cast<unsigned char>(c), __l)); in do_tolower()
1230 *low = static_cast<char>(tolower_l(static_cast<unsigned char>(*low), __l)); in do_tolower()
1238 __l(newlocale(LC_ALL_MASK, name, 0)) in ctype_byname()
1241 if (__l == 0) in ctype_byname()
1249 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in ctype_byname()
1252 if (__l == 0) in ctype_byname()
1260 freelocale(__l); in ~ctype_byname()
1267 return static_cast<bool>(iswctype_l(c, m, __l)); in do_is()
1271 if ((m & space) == space) result |= (iswspace_l(ch, __l) != 0); in do_is()
1272 if ((m & print) == print) result |= (iswprint_l(ch, __l) != 0); in do_is()
1273 if ((m & cntrl) == cntrl) result |= (iswcntrl_l(ch, __l) != 0); in do_is()
1274 if ((m & upper) == upper) result |= (iswupper_l(ch, __l) != 0); in do_is()
1275 if ((m & lower) == lower) result |= (iswlower_l(ch, __l) != 0); in do_is()
1276 if ((m & alpha) == alpha) result |= (iswalpha_l(ch, __l) != 0); in do_is()
1277 if ((m & digit) == digit) result |= (iswdigit_l(ch, __l) != 0); in do_is()
1278 if ((m & punct) == punct) result |= (iswpunct_l(ch, __l) != 0); in do_is()
1279 if ((m & xdigit) == xdigit) result |= (iswxdigit_l(ch, __l) != 0); in do_is()
1280 if ((m & blank) == blank) result |= (iswblank_l(ch, __l) != 0); in do_is()
1296 if (iswspace_l(ch, __l)) in do_is()
1299 if (iswprint_l(ch, __l)) in do_is()
1302 if (iswcntrl_l(ch, __l)) in do_is()
1304 if (iswupper_l(ch, __l)) in do_is()
1306 if (iswlower_l(ch, __l)) in do_is()
1309 if (iswalpha_l(ch, __l)) in do_is()
1312 if (iswdigit_l(ch, __l)) in do_is()
1314 if (iswpunct_l(ch, __l)) in do_is()
1317 if (iswxdigit_l(ch, __l)) in do_is()
1321 if (iswblank_l(ch, __l)) in do_is()
1335 if (iswctype_l(*low, m, __l)) in do_scan_is()
1339 if ((m & space) == space && iswspace_l(ch, __l)) break; in do_scan_is()
1340 if ((m & print) == print && iswprint_l(ch, __l)) break; in do_scan_is()
1341 if ((m & cntrl) == cntrl && iswcntrl_l(ch, __l)) break; in do_scan_is()
1342 if ((m & upper) == upper && iswupper_l(ch, __l)) break; in do_scan_is()
1343 if ((m & lower) == lower && iswlower_l(ch, __l)) break; in do_scan_is()
1344 if ((m & alpha) == alpha && iswalpha_l(ch, __l)) break; in do_scan_is()
1345 if ((m & digit) == digit && iswdigit_l(ch, __l)) break; in do_scan_is()
1346 if ((m & punct) == punct && iswpunct_l(ch, __l)) break; in do_scan_is()
1347 if ((m & xdigit) == xdigit && iswxdigit_l(ch, __l)) break; in do_scan_is()
1348 if ((m & blank) == blank && iswblank_l(ch, __l)) break; in do_scan_is()
1360 if (!iswctype_l(*low, m, __l)) in do_scan_not()
1364 if ((m & space) == space && iswspace_l(ch, __l)) continue; in do_scan_not()
1365 if ((m & print) == print && iswprint_l(ch, __l)) continue; in do_scan_not()
1366 if ((m & cntrl) == cntrl && iswcntrl_l(ch, __l)) continue; in do_scan_not()
1367 if ((m & upper) == upper && iswupper_l(ch, __l)) continue; in do_scan_not()
1368 if ((m & lower) == lower && iswlower_l(ch, __l)) continue; in do_scan_not()
1369 if ((m & alpha) == alpha && iswalpha_l(ch, __l)) continue; in do_scan_not()
1370 if ((m & digit) == digit && iswdigit_l(ch, __l)) continue; in do_scan_not()
1371 if ((m & punct) == punct && iswpunct_l(ch, __l)) continue; in do_scan_not()
1372 if ((m & xdigit) == xdigit && iswxdigit_l(ch, __l)) continue; in do_scan_not()
1373 if ((m & blank) == blank && iswblank_l(ch, __l)) continue; in do_scan_not()
1383 return towupper_l(c, __l); in do_toupper()
1390 *low = towupper_l(*low, __l); in do_toupper()
1397 return towlower_l(c, __l); in do_tolower()
1404 *low = towlower_l(*low, __l); in do_tolower()
1412 return btowc_l(c, __l); in do_widen()
1414 return __btowc_l(c, __l); in do_widen()
1423 *dest = btowc_l(*low, __l); in do_widen()
1425 *dest = __btowc_l(*low, __l); in do_widen()
1434 int r = wctob_l(c, __l); in do_narrow()
1436 int r = __wctob_l(c, __l); in do_narrow()
1447 int r = wctob_l(*low, __l); in do_narrow()
1449 int r = __wctob_l(*low, __l); in do_narrow()
1523 __l(_LIBCPP_GET_C_LOCALE) in codecvt()
1529 __l(newlocale(LC_ALL_MASK, nm, 0)) in codecvt()
1532 if (__l == 0) in codecvt()
1540 if (__l != _LIBCPP_GET_C_LOCALE) in ~codecvt()
1541 freelocale(__l); in ~codecvt()
1562 static_cast<size_t>(to_end-to), &st, __l); in do_out()
1564 size_t n = __wcsnrtombs_l(to, &frm_nxt, fend-frm, to_end-to, &st, __l); in do_out()
1572 n = wcrtomb_l(to_nxt, *frm, &save_state, __l); in do_out()
1574 n = __wcrtomb_l(to_nxt, *frm, &save_state, __l); in do_out()
1593 n = wcrtomb_l(tmp, intern_type(), &st, __l); in do_out()
1595 n = __wcrtomb_l(tmp, intern_type(), &st, __l); in do_out()
1631 static_cast<size_t>(to_end-to), &st, __l); in do_in()
1633 size_t n = __mbsnrtowcs_l(to, &frm_nxt, fend-frm, to_end-to, &st, __l); in do_in()
1642 &save_state, __l); in do_in()
1644 n = __mbrtowc_l(to_nxt, frm, fend-frm, &save_state, __l); in do_in()
1674 n = mbrtowc_l(to_nxt, frm_nxt, 1, &st, __l); in do_in()
1676 n = __mbrtowc_l(to_nxt, frm_nxt, 1, &st, __l); in do_in()
1698 size_t n = wcrtomb_l(tmp, intern_type(), &st, __l); in do_unshift()
1700 size_t n = __wcrtomb_l(tmp, intern_type(), &st, __l); in do_unshift()
1717 if (mbtowc_l(nullptr, nullptr, MB_LEN_MAX, __l) != 0) in do_encoding()
1719 if (__mbtowc_l(nullptr, nullptr, MB_LEN_MAX, __l) != 0) in do_encoding()
1726 if (__l == 0 || MB_CUR_MAX_L(__l) == 1) // there are no known constant length encodings in do_encoding()
1728 if (__l == 0 || __mb_cur_max_l(__l) == 1) // there are no known constant length encodings in do_encoding()
1748 size_t n = mbrlen_l(frm, static_cast<size_t>(frm_end-frm), &st, __l); in do_length()
1750 size_t n = __mbrlen_l(frm, frm_end-frm, &st, __l); in do_length()
1774 return __l == 0 ? 1 : static_cast<int>( MB_CUR_MAX_L(__l)); in do_max_length()
1776 return __l == 0 ? 1 : static_cast<int>(__mb_cur_max_l(__l)); in do_max_length()