Lines Matching refs:__l

678       __l(newlocale(LC_ALL_MASK, n, 0))  in collate_byname()
680 if (__l == 0) in collate_byname()
687 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in collate_byname()
689 if (__l == 0) in collate_byname()
696 freelocale(__l); in ~collate_byname()
705 int r = strcoll_l(lhs.c_str(), rhs.c_str(), __l); in do_compare()
717 string_type out(strxfrm_l(0, in.c_str(), 0, __l), char()); in do_transform()
718 strxfrm_l(const_cast<char*>(out.c_str()), in.c_str(), out.size()+1, __l); in do_transform()
726 __l(newlocale(LC_ALL_MASK, n, 0)) in collate_byname()
728 if (__l == 0) in collate_byname()
735 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in collate_byname()
737 if (__l == 0) in collate_byname()
744 freelocale(__l); in ~collate_byname()
753 int r = wcscoll_l(lhs.c_str(), rhs.c_str(), __l); in do_compare()
765 string_type out(wcsxfrm_l(0, in.c_str(), 0, __l), wchar_t()); in do_transform()
766 wcsxfrm_l(const_cast<wchar_t*>(out.c_str()), in.c_str(), out.size()+1, __l); in do_transform()
1194 __l(newlocale(LC_ALL_MASK, name, 0)) in ctype_byname()
1196 if (__l == 0) in ctype_byname()
1203 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in ctype_byname()
1205 if (__l == 0) in ctype_byname()
1212 freelocale(__l); in ~ctype_byname()
1218 return static_cast<char>(toupper_l(static_cast<unsigned char>(c), __l)); in do_toupper()
1225 *low = static_cast<char>(toupper_l(static_cast<unsigned char>(*low), __l)); in do_toupper()
1232 return static_cast<char>(tolower_l(static_cast<unsigned char>(c), __l)); in do_tolower()
1239 *low = static_cast<char>(tolower_l(static_cast<unsigned char>(*low), __l)); in do_tolower()
1247 __l(newlocale(LC_ALL_MASK, name, 0)) in ctype_byname()
1249 if (__l == 0) in ctype_byname()
1256 __l(newlocale(LC_ALL_MASK, name.c_str(), 0)) in ctype_byname()
1258 if (__l == 0) in ctype_byname()
1265 freelocale(__l); in ~ctype_byname()
1272 return static_cast<bool>(iswctype_l(c, m, __l)); in do_is()
1276 if ((m & space) == space) result |= (iswspace_l(ch, __l) != 0); in do_is()
1277 if ((m & print) == print) result |= (iswprint_l(ch, __l) != 0); in do_is()
1278 if ((m & cntrl) == cntrl) result |= (iswcntrl_l(ch, __l) != 0); in do_is()
1279 if ((m & upper) == upper) result |= (iswupper_l(ch, __l) != 0); in do_is()
1280 if ((m & lower) == lower) result |= (iswlower_l(ch, __l) != 0); in do_is()
1281 if ((m & alpha) == alpha) result |= (iswalpha_l(ch, __l) != 0); in do_is()
1282 if ((m & digit) == digit) result |= (iswdigit_l(ch, __l) != 0); in do_is()
1283 if ((m & punct) == punct) result |= (iswpunct_l(ch, __l) != 0); in do_is()
1284 if ((m & xdigit) == xdigit) result |= (iswxdigit_l(ch, __l) != 0); in do_is()
1285 if ((m & blank) == blank) result |= (iswblank_l(ch, __l) != 0); in do_is()
1301 if (iswspace_l(ch, __l)) in do_is()
1304 if (iswprint_l(ch, __l)) in do_is()
1307 if (iswcntrl_l(ch, __l)) in do_is()
1309 if (iswupper_l(ch, __l)) in do_is()
1311 if (iswlower_l(ch, __l)) in do_is()
1314 if (iswalpha_l(ch, __l)) in do_is()
1317 if (iswdigit_l(ch, __l)) in do_is()
1319 if (iswpunct_l(ch, __l)) in do_is()
1322 if (iswxdigit_l(ch, __l)) in do_is()
1326 if (iswblank_l(ch, __l)) in do_is()
1340 if (iswctype_l(*low, m, __l)) in do_scan_is()
1344 if ((m & space) == space && iswspace_l(ch, __l)) break; in do_scan_is()
1345 if ((m & print) == print && iswprint_l(ch, __l)) break; in do_scan_is()
1346 if ((m & cntrl) == cntrl && iswcntrl_l(ch, __l)) break; in do_scan_is()
1347 if ((m & upper) == upper && iswupper_l(ch, __l)) break; in do_scan_is()
1348 if ((m & lower) == lower && iswlower_l(ch, __l)) break; in do_scan_is()
1349 if ((m & alpha) == alpha && iswalpha_l(ch, __l)) break; in do_scan_is()
1350 if ((m & digit) == digit && iswdigit_l(ch, __l)) break; in do_scan_is()
1351 if ((m & punct) == punct && iswpunct_l(ch, __l)) break; in do_scan_is()
1352 if ((m & xdigit) == xdigit && iswxdigit_l(ch, __l)) break; in do_scan_is()
1353 if ((m & blank) == blank && iswblank_l(ch, __l)) break; in do_scan_is()
1365 if (!iswctype_l(*low, m, __l)) in do_scan_not()
1369 if ((m & space) == space && iswspace_l(ch, __l)) continue; in do_scan_not()
1370 if ((m & print) == print && iswprint_l(ch, __l)) continue; in do_scan_not()
1371 if ((m & cntrl) == cntrl && iswcntrl_l(ch, __l)) continue; in do_scan_not()
1372 if ((m & upper) == upper && iswupper_l(ch, __l)) continue; in do_scan_not()
1373 if ((m & lower) == lower && iswlower_l(ch, __l)) continue; in do_scan_not()
1374 if ((m & alpha) == alpha && iswalpha_l(ch, __l)) continue; in do_scan_not()
1375 if ((m & digit) == digit && iswdigit_l(ch, __l)) continue; in do_scan_not()
1376 if ((m & punct) == punct && iswpunct_l(ch, __l)) continue; in do_scan_not()
1377 if ((m & xdigit) == xdigit && iswxdigit_l(ch, __l)) continue; in do_scan_not()
1378 if ((m & blank) == blank && iswblank_l(ch, __l)) continue; in do_scan_not()
1388 return towupper_l(c, __l); in do_toupper()
1395 *low = towupper_l(*low, __l); in do_toupper()
1402 return towlower_l(c, __l); in do_tolower()
1409 *low = towlower_l(*low, __l); in do_tolower()
1416 return __libcpp_btowc_l(c, __l); in do_widen()
1423 *dest = __libcpp_btowc_l(*low, __l); in do_widen()
1430 int r = __libcpp_wctob_l(c, __l); in do_narrow()
1439 int r = __libcpp_wctob_l(*low, __l); in do_narrow()
1512 __l(_LIBCPP_GET_C_LOCALE) in codecvt()
1518 __l(newlocale(LC_ALL_MASK, nm, 0)) in codecvt()
1520 if (__l == 0) in codecvt()
1527 if (__l != _LIBCPP_GET_C_LOCALE) in ~codecvt()
1528 freelocale(__l); in ~codecvt()
1548 static_cast<size_t>(to_end-to), &st, __l); in do_out()
1554 n = __libcpp_wcrtomb_l(to_nxt, *frm, &save_state, __l); in do_out()
1571 n = __libcpp_wcrtomb_l(tmp, intern_type(), &st, __l); in do_out()
1605 static_cast<size_t>(to_end-to), &st, __l); in do_in()
1612 &save_state, __l); in do_in()
1640 n = __libcpp_mbrtowc_l(to_nxt, frm_nxt, 1, &st, __l); in do_in()
1660 size_t n = __libcpp_wcrtomb_l(tmp, intern_type(), &st, __l); in do_unshift()
1674 if (__libcpp_mbtowc_l(nullptr, nullptr, MB_LEN_MAX, __l) != 0) in do_encoding()
1678 … if (__l == 0 || __libcpp_mb_cur_max_l(__l) == 1) // there are no known constant length encodings in do_encoding()
1696 size_t n = __libcpp_mbrlen_l(frm, static_cast<size_t>(frm_end-frm), &st, __l); in do_length()
1718 return __l == 0 ? 1 : static_cast<int>(__libcpp_mb_cur_max_l(__l)); in do_max_length()