Lines Matching refs:__l
691 __l(newlocale(LC_ALL_MASK, n, 0)) in collate_byname()
693 if (__l == 0) in collate_byname()
700 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in collate_byname()
702 if (__l == 0) in collate_byname()
709 freelocale(__l); in ~collate_byname()
718 int r = strcoll_l(lhs.c_str(), rhs.c_str(), __l); in do_compare()
730 string_type out(strxfrm_l(0, in.c_str(), 0, __l), char()); in do_transform()
731 strxfrm_l(const_cast<char*>(out.c_str()), in.c_str(), out.size()+1, __l); in do_transform()
739 __l(newlocale(LC_ALL_MASK, n, 0)) in collate_byname()
741 if (__l == 0) in collate_byname()
748 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in collate_byname()
750 if (__l == 0) in collate_byname()
757 freelocale(__l); in ~collate_byname()
766 int r = wcscoll_l(lhs.c_str(), rhs.c_str(), __l); in do_compare()
778 string_type out(wcsxfrm_l(0, in.c_str(), 0, __l), wchar_t()); in do_transform()
779 wcsxfrm_l(const_cast<wchar_t*>(out.c_str()), in.c_str(), out.size()+1, __l); in do_transform()
1207 __l(newlocale(LC_ALL_MASK, name, 0)) in ctype_byname()
1209 if (__l == 0) in ctype_byname()
1216 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in ctype_byname()
1218 if (__l == 0) in ctype_byname()
1225 freelocale(__l); in ~ctype_byname()
1231 return static_cast<char>(toupper_l(static_cast<unsigned char>(c), __l)); in do_toupper()
1238 *low = static_cast<char>(toupper_l(static_cast<unsigned char>(*low), __l)); in do_toupper()
1245 return static_cast<char>(tolower_l(static_cast<unsigned char>(c), __l)); in do_tolower()
1252 *low = static_cast<char>(tolower_l(static_cast<unsigned char>(*low), __l)); in do_tolower()
1260 __l(newlocale(LC_ALL_MASK, name, 0)) in ctype_byname()
1262 if (__l == 0) in ctype_byname()
1269 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in ctype_byname()
1271 if (__l == 0) in ctype_byname()
1278 freelocale(__l); in ~ctype_byname()
1285 return static_cast<bool>(iswctype_l(c, m, __l)); in do_is()
1289 if ((m & space) == space) result |= (iswspace_l(ch, __l) != 0); in do_is()
1290 if ((m & print) == print) result |= (iswprint_l(ch, __l) != 0); in do_is()
1291 if ((m & cntrl) == cntrl) result |= (iswcntrl_l(ch, __l) != 0); in do_is()
1292 if ((m & upper) == upper) result |= (iswupper_l(ch, __l) != 0); in do_is()
1293 if ((m & lower) == lower) result |= (iswlower_l(ch, __l) != 0); in do_is()
1294 if ((m & alpha) == alpha) result |= (iswalpha_l(ch, __l) != 0); in do_is()
1295 if ((m & digit) == digit) result |= (iswdigit_l(ch, __l) != 0); in do_is()
1296 if ((m & punct) == punct) result |= (iswpunct_l(ch, __l) != 0); in do_is()
1297 if ((m & xdigit) == xdigit) result |= (iswxdigit_l(ch, __l) != 0); in do_is()
1298 if ((m & blank) == blank) result |= (iswblank_l(ch, __l) != 0); in do_is()
1314 if (iswspace_l(ch, __l)) in do_is()
1317 if (iswprint_l(ch, __l)) in do_is()
1320 if (iswcntrl_l(ch, __l)) in do_is()
1322 if (iswupper_l(ch, __l)) in do_is()
1324 if (iswlower_l(ch, __l)) in do_is()
1327 if (iswalpha_l(ch, __l)) in do_is()
1330 if (iswdigit_l(ch, __l)) in do_is()
1332 if (iswpunct_l(ch, __l)) in do_is()
1335 if (iswxdigit_l(ch, __l)) in do_is()
1339 if (iswblank_l(ch, __l)) in do_is()
1353 if (iswctype_l(*low, m, __l)) in do_scan_is()
1357 if ((m & space) == space && iswspace_l(ch, __l)) break; in do_scan_is()
1358 if ((m & print) == print && iswprint_l(ch, __l)) break; in do_scan_is()
1359 if ((m & cntrl) == cntrl && iswcntrl_l(ch, __l)) break; in do_scan_is()
1360 if ((m & upper) == upper && iswupper_l(ch, __l)) break; in do_scan_is()
1361 if ((m & lower) == lower && iswlower_l(ch, __l)) break; in do_scan_is()
1362 if ((m & alpha) == alpha && iswalpha_l(ch, __l)) break; in do_scan_is()
1363 if ((m & digit) == digit && iswdigit_l(ch, __l)) break; in do_scan_is()
1364 if ((m & punct) == punct && iswpunct_l(ch, __l)) break; in do_scan_is()
1365 if ((m & xdigit) == xdigit && iswxdigit_l(ch, __l)) break; in do_scan_is()
1366 if ((m & blank) == blank && iswblank_l(ch, __l)) break; in do_scan_is()
1378 if (!iswctype_l(*low, m, __l)) in do_scan_not()
1382 if ((m & space) == space && iswspace_l(ch, __l)) continue; in do_scan_not()
1383 if ((m & print) == print && iswprint_l(ch, __l)) continue; in do_scan_not()
1384 if ((m & cntrl) == cntrl && iswcntrl_l(ch, __l)) continue; in do_scan_not()
1385 if ((m & upper) == upper && iswupper_l(ch, __l)) continue; in do_scan_not()
1386 if ((m & lower) == lower && iswlower_l(ch, __l)) continue; in do_scan_not()
1387 if ((m & alpha) == alpha && iswalpha_l(ch, __l)) continue; in do_scan_not()
1388 if ((m & digit) == digit && iswdigit_l(ch, __l)) continue; in do_scan_not()
1389 if ((m & punct) == punct && iswpunct_l(ch, __l)) continue; in do_scan_not()
1390 if ((m & xdigit) == xdigit && iswxdigit_l(ch, __l)) continue; in do_scan_not()
1391 if ((m & blank) == blank && iswblank_l(ch, __l)) continue; in do_scan_not()
1401 return towupper_l(c, __l); in do_toupper()
1408 *low = towupper_l(*low, __l); in do_toupper()
1415 return towlower_l(c, __l); in do_tolower()
1422 *low = towlower_l(*low, __l); in do_tolower()
1429 return __libcpp_btowc_l(c, __l); in do_widen()
1436 *dest = __libcpp_btowc_l(*low, __l); in do_widen()
1443 int r = __libcpp_wctob_l(c, __l); in do_narrow()
1452 int r = __libcpp_wctob_l(*low, __l); in do_narrow()
1525 __l(_LIBCPP_GET_C_LOCALE) in codecvt()
1531 __l(newlocale(LC_ALL_MASK, nm, 0)) in codecvt()
1533 if (__l == 0) in codecvt()
1540 if (__l != _LIBCPP_GET_C_LOCALE) in ~codecvt()
1541 freelocale(__l); in ~codecvt()
1561 static_cast<size_t>(to_end-to), &st, __l); in do_out()
1567 n = __libcpp_wcrtomb_l(to_nxt, *frm, &save_state, __l); in do_out()
1584 n = __libcpp_wcrtomb_l(tmp, intern_type(), &st, __l); in do_out()
1618 static_cast<size_t>(to_end-to), &st, __l); in do_in()
1625 &save_state, __l); in do_in()
1653 n = __libcpp_mbrtowc_l(to_nxt, frm_nxt, 1, &st, __l); in do_in()
1673 size_t n = __libcpp_wcrtomb_l(tmp, intern_type(), &st, __l); in do_unshift()
1687 if (__libcpp_mbtowc_l(nullptr, nullptr, MB_LEN_MAX, __l) != 0) in do_encoding()
1691 … if (__l == 0 || __libcpp_mb_cur_max_l(__l) == 1) // there are no known constant length encodings in do_encoding()
1709 size_t n = __libcpp_mbrlen_l(frm, static_cast<size_t>(frm_end-frm), &st, __l); in do_length()
1731 return __l == 0 ? 1 : static_cast<int>(__libcpp_mb_cur_max_l(__l)); in do_max_length()