Lines Matching refs:__last
297 __to_chars_itoa(char* __first, char* __last, _Tp __value, true_type)
300 if (__value < 0 && __first != __last)
306 return __to_chars_itoa(__first, __last, __x, false_type());
311 __to_chars_itoa(char* __first, char* __last, _Tp __value, false_type)
314 auto __diff = __last - __first;
320 return {__last, errc::value_too_large};
335 return {__last, errc::value_too_large};
342 __to_chars_integral(char* __first, char* __last, _Tp __value, int __base,
346 if (__value < 0 && __first != __last)
352 return __to_chars_integral(__first, __last, __x, __base, false_type());
357 __to_chars_integral(char* __first, char* __last, _Tp __value, int __base,
361 return __to_chars_itoa(__first, __last, __value, false_type());
363 auto __p = __last;
373 auto __len = __last - __p;
375 return {__last, errc::value_too_large};
385 to_chars(char* __first, char* __last, _Tp __value)
387 return __to_chars_itoa(__first, __last, __value, is_signed<_Tp>());
392 to_chars(char* __first, char* __last, _Tp __value, int __base)
395 return __to_chars_integral(__first, __last, __value, __base,
401 __sign_combinator(_It __first, _It __last, _Tp& __value, _Fn __f, _Ts... __args)
406 bool __neg = (__first != __last && *__first == '-');
407 auto __r = __f(__neg ? __first + 1 : __first, __last, __x, __args...);
470 __subject_seq_combinator(_It __first, _It __last, _Tp& __value, _Fn __f,
473 auto __find_non_zero = [](_It __first, _It __last) {
474 for (; __first != __last; ++__first)
480 auto __p = __find_non_zero(__first, __last);
481 if (__p == __last || !__in_pattern(*__p, __args...))
492 auto __r = __f(__p, __last, __value, __args...);
495 for (; __r.ptr != __last; ++__r.ptr)
507 __from_chars_atoi(const char* __first, const char* __last, _Tp& __value)
513 __first, __last, __value,
514 [](const char* __first, const char* __last,
517 auto __p = __tx::__read(__first, __last, __a, __b);
518 if (__p == __last || !__in_pattern(*__p))
533 __from_chars_atoi(const char* __first, const char* __last, _Tp& __value)
536 return __sign_combinator(__first, __last, __value, __from_chars_atoi<__t>);
541 __from_chars_integral(const char* __first, const char* __last, _Tp& __value,
545 return __from_chars_atoi(__first, __last, __value);
548 __first, __last, __value,
549 [](const char* __p, const char* __last, _Tp& __value,
555 for (int __i = 1; __p != __last; ++__i, ++__p)
573 if (__p == __last || !__in_pattern(*__p, __base))
588 __from_chars_integral(const char* __first, const char* __last, _Tp& __value,
592 return __sign_combinator(__first, __last, __value,
598 from_chars(const char* __first, const char* __last, _Tp& __value)
600 return __from_chars_atoi(__first, __last, __value);
605 from_chars(const char* __first, const char* __last, _Tp& __value, int __base)
608 return __from_chars_integral(__first, __last, __value, __base);