Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A D__std_stream73 __last_consumed_(traits_type::eof()),
124 return traits_type::eof();
157 return traits_type::eof();
169 return traits_type::eof();
181 if (traits_type::eq_int_type(__c, traits_type::eof()))
208 return traits_type::eof();
212 return traits_type::eof();
266 if (!traits_type::eq_int_type(__c, traits_type::eof()))
272 return traits_type::eof();
309 return traits_type::not_eof(__c);
[all …]
H A Dsstream23 typedef typename traits_type::int_type int_type;
24 typedef typename traits_type::pos_type pos_type;
498 return traits_type::eof();
509 if (traits_type::eq_int_type(__c, traits_type::eof()))
512 return traits_type::not_eof(__c);
515 traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1]))
522 return traits_type::eof();
529 if (!traits_type::eq_int_type(__c, traits_type::eof()))
535 return traits_type::eof();
552 return traits_type::eof();
[all …]
H A Dstreambuf25 typedef traits traits_type;
26 typedef typename traits_type::int_type int_type;
180 if (sbumpc() == traits_type::eof())
181 return traits_type::eof();
224 return traits_type::to_int_type(__c);
435 return traits_type::eof();
442 if (underflow() == traits_type::eof())
443 return traits_type::eof();
451 return traits_type::eof();
459 int_type __eof = traits_type::eof();
[all …]
H A Dfstream23 typedef typename traits_type::int_type int_type;
24 typedef typename traits_type::pos_type pos_type;
714 return traits_type::eof();
720 int_type __c = traits_type::eof();
785 if (traits_type::eq_int_type(__c, traits_type::eof()))
791 traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1]))
798 return traits_type::eof();
806 return traits_type::eof();
811 if (!traits_type::eq_int_type(__c, traits_type::eof()))
824 return traits_type::eof();
[all …]
H A Distream252 if (__ch != traits_type::eof())
746 int_type __r = traits_type::eof();
755 if (traits_type::eq_int_type(__r, traits_type::eof()))
793 if (traits_type::eq_int_type(__i, traits_type::eof()))
853 if (traits_type::eq_int_type(__i, traits_type::eof()))
861 if (traits_type::eq_int_type(__sb.sputc(__ch), traits_type::eof()))
897 if (traits_type::eq_int_type(__i, traits_type::eof()))
961 if (traits_type::eq_int_type(__i, traits_type::eof()))
976 if (traits_type::eq_int_type(__i, traits_type::eof()))
1009 int_type __r = traits_type::eof();
[all …]
H A Dios119 typedef traits traits_type;
601 typedef _Traits traits_type;
603 typedef typename traits_type::int_type int_type;
604 typedef typename traits_type::pos_type pos_type;
605 typedef typename traits_type::off_type off_type;
639 basic_ostream<char_type, traits_type>* tie() const;
641 basic_ostream<char_type, traits_type>* tie(basic_ostream<char_type, traits_type>* __tiestr);
646 basic_streambuf<char_type, traits_type>* rdbuf(basic_streambuf<char_type, traits_type>* __sb);
679 basic_ostream<char_type, traits_type>* __tie_;
702 __fill_ = traits_type::eof();
[all …]
H A Dstring_view66 typedef traits traits_type;
234 typedef _Traits traits_type;
439 return __str_find<value_type, size_type, traits_type, npos>
446 return __str_find<value_type, size_type, traits_type, npos>
454 return __str_find<value_type, size_type, traits_type, npos>
462 return __str_find<value_type, size_type, traits_type, npos>
463 (data(), size(), __s, __pos, traits_type::length(__s));
495 (data(), size(), __s, __pos, traits_type::length(__s));
524 (data(), size(), __s, __pos, traits_type::length(__s));
553 (data(), size(), __s, __pos, traits_type::length(__s));
[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;
157 typedef _Traits traits_type;
158 typedef typename traits_type::int_type int_type;
159 typedef typename traits_type::pos_type pos_type;
160 typedef typename traits_type::off_type off_type;
164 explicit basic_ostream(basic_streambuf<char_type, traits_type>* __sb)
177 { basic_ios<char_type, traits_type>::swap(__rhs); }
[all …]
H A Dstring81 typedef traits traits_type;
839 __init(__s, traits_type::length(__s));
1903 __init(__s, traits_type::length(__s));
2194 traits_type::assign(*__p, *__first);
2195 traits_type::assign(*__p, value_type());
2360 traits_type::move(__p, __s, __n);
2392 traits_type::assign(__p, __n, __c);
2414 traits_type::assign(*__p, __c);
2415 traits_type::assign(*++__p, value_type());
2681 traits_type::assign(*__p, __c);
[all …]
H A Dlocale4034 return traits_type::eof();
4040 int_type __c = traits_type::eof();
4103 if (traits_type::eq_int_type(__c, traits_type::eof()))
4106 return traits_type::not_eof(__c);
4108 if (traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1]))
4115 return traits_type::eof();
4123 return traits_type::eof();
4128 if (!traits_type::eq_int_type(__c, traits_type::eof()))
4141 return traits_type::eof();
4153 return traits_type::eof();
[all …]
H A Diterator425 typedef traits traits_type;
459 typedef traits traits_type;
485 typedef traits traits_type;
523 typedef traits traits_type;
H A Dregex130 typedef traits traits_type;
2557 typedef _Traits traits_type;
/freebsd-13.1/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-13.1/contrib/llvm-project/libcxx/include/__iterator/
H A Dostreambuf_iterator.h46 typedef _Traits traits_type; typedef
59 if (__sbuf_ && traits_type::eq_int_type(__sbuf_->sputc(__c), traits_type::eof()))
H A Distreambuf_iterator.h44 typedef _Traits traits_type; typedef
65 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-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wait_release.h662 typedef flag_traits<FlagType> traits_type;
677 : kmp_flag_native<FlagType>(p, traits_type::t), checker(c),
705 return (traits_type::tcr(*(this->get())) & ~KMP_BARRIER_SLEEP_STATE) ==
708 return traits_type::tcr(*(this->get())) == checker;
728 (void)traits_type::test_then_add4((volatile FlagType *)this->get());
736 return traits_type::test_then_or((volatile FlagType *)this->get(),
745 return traits_type::test_then_and((volatile FlagType *)this->get(),
766 typedef flag_traits<FlagType> traits_type;
775 : kmp_flag<FlagType>(p, traits_type::t), num_waiting_threads(0) {}
777 : kmp_flag<FlagType>(p, traits_type::t), num_waiting_threads(1) {
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/include/experimental/
H A Diterator22 typedef traits traits_type;
71 typedef _Traits traits_type;
72 typedef basic_ostream<char_type,traits_type> ostream_type;