Home
last modified time | relevance | path

Searched refs:traits_type (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/src/
H A Dstd_stream.h145 return traits_type::eof(); in __getchar()
148 return traits_type::eof(); in __getchar()
159 return traits_type::eof(); in __getchar()
175 return traits_type::eof(); in __getchar()
185 return traits_type::eof(); in __getchar()
203 if (traits_type::eq_int_type(__c, traits_type::eof())) { in pbackfail()
206 __last_consumed_is_next_ = !traits_type::eq_int_type(__last_consumed_, traits_type::eof()); in pbackfail()
212 return traits_type::eof(); in pbackfail()
227 return traits_type::eof(); in pbackfail()
311 if (!traits_type::eq_int_type(__c, traits_type::eof())) { in overflow()
[all …]
H A Dtz.cpp87 case istream::traits_type::eof(): in __parse_string()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dsstream306 typedef _Traits traits_type;
674 return traits_type::eof();
683 if (traits_type::eq_int_type(__c, traits_type::eof())) {
693 return traits_type::eof();
699 if (!traits_type::eq_int_type(__c, traits_type::eof())) {
703 return traits_type::eof();
717 return traits_type::eof();
728 return traits_type::not_eof(__c);
782 typedef _Traits traits_type;
888 typedef _Traits traits_type;
[all …]
H A Dstreambuf25 typedef traits traits_type;
132 typedef _Traits traits_type;
178 if (sbumpc() == traits_type::eof())
179 return traits_type::eof();
215 return traits_type::to_int_type(__c);
383 return traits_type::eof();
388 if (underflow() == traits_type::eof())
389 return traits_type::eof();
395 return traits_type::eof();
401 int_type __eof = traits_type::eof();
[all …]
H A Distream194 typedef _Traits traits_type;
230 operator>>(basic_ios<char_type, traits_type>& (*__pf)(basic_ios<char_type, traits_type>&)) {
620 … if (traits_type::eq_int_type(__sb->sputc(traits_type::to_char_type(__i)), traits_type::eof()))
658 if (traits_type::eq_int_type(__r, traits_type::eof()))
687 if (traits_type::eq_int_type(__i, traits_type::eof())) {
736 if (traits_type::eq_int_type(__i, traits_type::eof())) {
743 if (traits_type::eq_int_type(__sb.sputc(__ch), traits_type::eof()))
773 if (traits_type::eq_int_type(__i, traits_type::eof())) {
825 if (traits_type::eq_int_type(__i, traits_type::eof())) {
836 if (traits_type::eq_int_type(__i, traits_type::eof())) {
[all …]
H A Dfstream228 typedef _Traits traits_type;
713 return traits_type::eof();
769 if (traits_type::eq_int_type(__c, traits_type::eof())) {
779 return traits_type::eof();
785 return traits_type::eof();
790 if (!traits_type::eq_int_type(__c, traits_type::eof())) {
800 return traits_type::eof();
830 return traits_type::not_eof(__c);
1055 typedef _Traits traits_type;
1208 typedef _Traits traits_type;
[all …]
H A Dios120 typedef traits traits_type;
524 typedef _Traits traits_type;
526 typedef typename traits_type::int_type int_type;
527 typedef typename traits_type::pos_type pos_type;
528 typedef typename traits_type::off_type off_type;
559 …_LIBCPP_HIDE_FROM_ABI basic_ostream<char_type, traits_type>* tie(basic_ostream<char_type, traits_t…
562 …IBCPP_HIDE_FROM_ABI basic_streambuf<char_type, traits_type>* rdbuf(basic_streambuf<char_type, trai…
585 basic_ostream<char_type, traits_type>* __tie_;
601 __fill_ = traits_type::eof();
651 if (traits_type::eq_int_type(traits_type::eof(), __fill_))
[all …]
H A Dsyncstream43 using traits_type = traits;
86 using traits_type = traits;
244 using traits_type = _Traits;
328 if (traits_type::eq_int_type(__c, traits_type::eof()))
329 return traits_type::not_eof(__c);
345 return traits_type::eof();
350 return this->sputc(traits_type::to_char_type(__c));
434 using traits_type = _Traits;
435 using int_type = typename traits_type::int_type;
436 using pos_type = typename traits_type::pos_type;
[all …]
H A Dstring_view75 typedef traits traits_type;
275 using traits_type = _Traits;
297 "traits_type::char_type must be the same type as CharT");
504 return std::__str_find<value_type, size_type, traits_type, npos>(
505 data(), size(), __s, __pos, traits_type::length(__s));
529 return std::__str_rfind<value_type, size_type, traits_type, npos>(
530 data(), size(), __s, __pos, traits_type::length(__s));
556 data(), size(), __s, __pos, traits_type::length(__s));
582 data(), size(), __s, __pos, traits_type::length(__s));
609 data(), size(), __s, __pos, traits_type::length(__s));
[all …]
H A Dstring88 typedef traits traits_type;
716 typedef _Traits traits_type;
2374 traits_type::copy(
2415 traits_type::copy(
2472 traits_type::move(__p, __s, __n);
2500 traits_type::assign(__p, __n, __c);
2518 traits_type::assign(*__p, __c);
2662 traits_type::assign(*__p, *__first);
2703 … ? (__fits_in_sso(traits_type::length(__s)) ? __assign_short(__s, traits_type::length(__s))
2789 traits_type::assign(*__p, __c);
[all …]
H A Dostream23 typedef traits traits_type;
24 typedef typename traits_type::int_type int_type;
25 typedef typename traits_type::pos_type pos_type;
26 typedef typename traits_type::off_type off_type;
212 typedef _Traits traits_type;
213 typedef typename traits_type::int_type int_type;
214 typedef typename traits_type::pos_type pos_type;
215 typedef typename traits_type::off_type off_type;
230 basic_ios<char_type, traits_type>::swap(__rhs);
246 operator<<(basic_ios<char_type, traits_type>& (*__pf)(basic_ios<char_type, traits_type>&)) {
[all …]
H A Dlocale3329 typedef _Tr traits_type;
3425 return traits_type::eof();
3482 if (traits_type::eq_int_type(__c, traits_type::eof())) {
3486 if (traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1])) {
3492 return traits_type::eof();
3500 return traits_type::eof();
3505 if (!traits_type::eq_int_type(__c, traits_type::eof())) {
3515 return traits_type::eof();
3523 return traits_type::eof();
3537 return traits_type::eof();
[all …]
H A Diterator522 typedef traits traits_type;
558 typedef traits traits_type;
584 typedef traits traits_type;
624 typedef traits traits_type;
H A Dregex131 typedef traits traits_type;
2277 typedef _Traits traits_type;
/freebsd/contrib/kyua/utils/process/
H A Dsystembuf.cpp106 return traits_type::eof(); in underflow()
110 return traits_type::to_int_type(*gptr()); in underflow()
129 return traits_type::eof(); in overflow()
130 if (!traits_type::eq_int_type(c, traits_type::eof())) { in overflow()
131 traits_type::assign(*pptr(), c); in overflow()
134 return traits_type::not_eof(c); in overflow()
/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Dostreambuf_iterator.h45 typedef _Traits traits_type; typedef
56 if (__sbuf_ && traits_type::eq_int_type(__sbuf_->sputc(__c), traits_type::eof()))
H A Distreambuf_iterator.h42 typedef _Traits traits_type; typedef
61 if (__sbuf_ && traits_type::eq_int_type(__sbuf_->sgetc(), traits_type::eof())) in __test_for_eof()
H A Dostream_iterator.h47 typedef _Traits traits_type; typedef
H A Distream_iterator.h44 typedef _Traits traits_type; typedef
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Distream_view.h115 typename _UnCVRef::traits_type>>
118 … typename _UnCVRef::traits_type>(std::forward<_Up>(__u))))
120 … typename _UnCVRef::traits_type>(std::forward<_Up>(__u)))
122 … typename _UnCVRef::traits_type>(std::forward<_Up>(__u));
/freebsd/contrib/llvm-project/libcxx/include/experimental/
H A Diterator22 typedef traits traits_type;
78 typedef _Traits traits_type;
79 typedef basic_ostream<char_type, traits_type> ostream_type;
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wait_release.h112 typedef flag_traits<FlagType> traits_type;
144 typedef flag_traits<FlagType> traits_type;
168 return (traits_type::tcr(*(this->get())) & ~KMP_BARRIER_SLEEP_STATE) ==
171 return traits_type::tcr(*(this->get())) == checker;
182 return traits_type::tcr(*(this->get())) != checker;
187 (void)traits_type::test_then_add4((volatile PtrType *)this->get());
197 return traits_type::test_then_or((volatile PtrType *)this->get(),
208 traits_type::test_then_and((volatile PtrType *)this->get(),
239 typedef flag_traits<FlagType> traits_type;
/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformat_arg_store.h120 same_as<_Tp, basic_string_view<typename _Tp::value_type, typename _Tp::traits_type>>) in requires() argument
129 …same_as<_Tp, basic_string<typename _Tp::value_type, typename _Tp::traits_type, typename _Tp::alloc… in requires() argument