Searched refs:traits_type (Results 1 - 20 of 20) sorted by relevance

/freebsd-11-stable/contrib/libstdc++/src/
H A Dstreambuf.cc43 typedef basic_streambuf<char>::traits_type traits_type; typedef
46 traits_type::int_type __c = __sbin->sgetc();
47 while (!traits_type::eq_int_type(__c, traits_type::eof()))
64 __c = __sbout->sputc(traits_type::to_char_type(__c));
65 if (traits_type::eq_int_type(__c, traits_type::eof()))
83 typedef basic_streambuf<wchar_t>::traits_type traits_type; typedef
[all...]
H A Distream.cc50 const int_type __idelim = traits_type::to_int_type(__delim);
51 const int_type __eof = traits_type::eof();
56 && !traits_type::eq_int_type(__c, __eof)
57 && !traits_type::eq_int_type(__c, __idelim))
65 const char_type* __p = traits_type::find(__sb->gptr(),
70 traits_type::copy(__s, __sb->gptr(), __size);
78 *__s++ = traits_type::to_char_type(__c);
84 if (traits_type::eq_int_type(__c, __eof))
86 else if (traits_type::eq_int_type(__c, __idelim))
113 if (traits_type
[all...]
H A Dcompatibility.cc73 const int_type __eof = traits_type::eof();
82 && !traits_type::eq_int_type(__c, __eof))
100 && !traits_type::eq_int_type(__c, __eof))
112 if (traits_type::eq_int_type(__c, __eof))
139 const int_type __eof = traits_type::eof();
147 && !traits_type::eq_int_type(__c, __eof))
165 && !traits_type::eq_int_type(__c, __eof))
177 if (traits_type::eq_int_type(__c, __eof))
H A Dstrstream.cc144 if (c == traits_type::eof())
145 return traits_type::not_eof(c);
184 return traits_type::eof();
/freebsd-11-stable/contrib/libstdc++/include/ext/
H A Dstdio_sync_filebuf.h56 typedef _Traits traits_type; typedef in class:stdio_sync_filebuf
57 typedef typename traits_type::int_type int_type;
58 typedef typename traits_type::pos_type pos_type;
59 typedef typename traits_type::off_type off_type;
72 : _M_file(__f), _M_unget_buf(traits_type::eof())
111 pbackfail(int_type __c = traits_type::eof()) argument
114 const int_type __eof = traits_type::eof();
117 if (traits_type::eq_int_type(__c, __eof)) // unget
119 if (!traits_type::eq_int_type(_M_unget_buf, __eof))
136 overflow(int_type __c = traits_type argument
[all...]
H A Dvstring_util.h56 typedef _Traits traits_type; typedef in struct:__vstring_utility
110 // traits_type::copy/move/assign.
115 traits_type::assign(*__d, *__s);
117 traits_type::copy(__d, __s, __n);
124 traits_type::assign(*__d, *__s);
126 traits_type::move(__d, __s, __n);
133 traits_type::assign(*__d, __c);
135 traits_type::assign(__d, __n, __c);
145 traits_type::assign(*__p, *__k1); // These types are off.
H A Dstdio_filebuf.h57 typedef _Traits traits_type; typedef in class:stdio_filebuf
58 typedef typename traits_type::int_type int_type;
59 typedef typename traits_type::pos_type pos_type;
60 typedef typename traits_type::off_type off_type;
H A Dsso_string_base.h46 typedef _Traits traits_type; typedef in class:__sso_string_base
174 traits_type::assign(_M_data()[__n], _CharT());
243 traits_type::copy(__tmp_data, __rcs._M_local_data,
245 traits_type::copy(__rcs._M_local_data, _M_local_data,
247 traits_type::copy(_M_local_data, __tmp_data,
252 traits_type::copy(_M_local_data, __rcs._M_local_data,
260 traits_type::copy(__rcs._M_local_data, _M_local_data,
270 traits_type::copy(__rcs._M_local_data, _M_local_data,
281 traits_type::copy(_M_local_data, __rcs._M_local_data,
H A Dvstring.h61 typedef _Traits traits_type; typedef in class:__versa_string
197 : __vstring_base(__s, __s ? __s + traits_type::length(__s) :
577 const size_type __n = traits_type::length(__s);
617 traits_type::assign(this->_M_data()[__size], __c);
682 traits_type::length(__s));
824 traits_type::length(__s));
1024 return this->replace(__pos, __n1, __s, traits_type::length(__s));
1104 return this->replace(__i1, __i2, __s, traits_type::length(__s));
1319 return this->find(__s, __pos, traits_type::length(__s));
1377 return this->rfind(__s, __pos, traits_type
[all...]
H A Drc_string_base.h91 typedef _Traits traits_type; typedef in class:__rc_string_base
148 traits_type::assign(_M_refdata()[__n], _CharT());
/freebsd-11-stable/contrib/libstdc++/include/bits/
H A Dstreambuf_iterator.h58 typedef _Traits traits_type; typedef in class:istreambuf_iterator
86 // returns traits_type::eof()), the iterator becomes equal to
96 : _M_sbuf(0), _M_c(traits_type::eof()) { }
100 : _M_sbuf(__s.rdbuf()), _M_c(traits_type::eof()) { }
104 : _M_sbuf(__s), _M_c(traits_type::eof()) { }
119 return traits_type::to_char_type(_M_get());
132 _M_c = traits_type::eof();
149 _M_c = traits_type::eof();
170 const int_type __eof = traits_type::eof();
174 if (!traits_type
215 typedef _Traits traits_type; typedef in class:ostreambuf_iterator
329 typedef typename __is_iterator_type::traits_type traits_type; typedef
364 typedef typename __is_iterator_type::traits_type traits_type; typedef
[all...]
H A Dbasic_string.h117 typedef _Traits traits_type; typedef in class:basic_string
210 traits_type::assign(this->_M_refdata()[__n], _S_terminal);
339 // traits_type::copy/move/assign.
344 traits_type::assign(*__d, *__s);
346 traits_type::copy(__d, __s, __n);
353 traits_type::assign(*__d, *__s);
355 traits_type::move(__d, __s, __n);
362 traits_type::assign(*__d, __c);
364 traits_type::assign(__d, __n, __c);
374 traits_type
[all...]
H A Dstream_iterator.h52 typedef _Traits traits_type; typedef in class:istream_iterator
159 typedef _Traits traits_type; typedef in class:ostream_iterator
H A Dbasic_ios.h69 typedef _Traits traits_type; typedef in class:basic_ios
/freebsd-11-stable/contrib/libstdc++/include/std/
H A Dstd_streambuf.h134 typedef _Traits traits_type; typedef in class:basic_streambuf
135 typedef typename traits_type::int_type int_type;
136 typedef typename traits_type::pos_type pos_type;
137 typedef typename traits_type::off_type off_type;
146 typedef basic_streambuf<char_type, traits_type> __streambuf_type;
149 friend class basic_ios<char_type, traits_type>;
150 friend class basic_istream<char_type, traits_type>;
151 friend class basic_ostream<char_type, traits_type>;
152 friend class istreambuf_iterator<char_type, traits_type>;
153 friend class ostreambuf_iterator<char_type, traits_type>;
720 pbackfail(int_type = traits_type::eof()) argument
763 overflow(int_type = traits_type::eof()) argument
[all...]
H A Dstd_fstream.h63 // Requirements on traits_type, specific to this class:
64 // traits_type::pos_type must be fpos<traits_type::state_type>
65 // traits_type::off_type must be streamoff
66 // traits_type::state_type must be Assignable and DefaultConstructable,
67 // and traits_type::state_type() must be the initial state for codecvt.
74 typedef _Traits traits_type; typedef in class:basic_filebuf
75 typedef typename traits_type::int_type int_type;
76 typedef typename traits_type::pos_type pos_type;
77 typedef typename traits_type
429 typedef _Traits traits_type; typedef in class:basic_ifstream
557 typedef _Traits traits_type; typedef in class:basic_ofstream
688 typedef _Traits traits_type; typedef in class:basic_fstream
[all...]
H A Dstd_sstream.h67 typedef _Traits traits_type; typedef in class:basic_stringbuf
71 typedef typename traits_type::int_type int_type;
72 typedef typename traits_type::pos_type pos_type;
73 typedef typename traits_type::off_type off_type;
75 typedef basic_streambuf<char_type, traits_type> __streambuf_type;
187 pbackfail(int_type __c = traits_type::eof());
190 overflow(int_type __c = traits_type::eof());
268 typedef _Traits traits_type; typedef in class:basic_istringstream
272 typedef typename traits_type::int_type int_type;
273 typedef typename traits_type
381 typedef _Traits traits_type; typedef in class:basic_ostringstream
494 typedef _Traits traits_type; typedef in class:basic_stringstream
[all...]
H A Dstd_istream.h66 typedef _Traits traits_type; typedef in class:basic_istream
650 typedef _Traits traits_type; typedef in class:basic_istream::sentry
788 typedef _Traits traits_type; typedef in class:basic_iostream
H A Dstd_ostream.h67 typedef _Traits traits_type; typedef in class:basic_ostream
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wait_release.h550 typedef flag_traits<FlagType> traits_type; typedef in class:kmp_basic_flag_native
559 : kmp_flag_native<FlagType>(p, traits_type::t), num_waiting_threads(0) {}
561 : kmp_flag_native<FlagType>(p, traits_type::t), num_waiting_threads(1) {
565 : kmp_flag_native<FlagType>(p, traits_type::t), checker(c),
591 bool done_check() { return traits_type::tcr(*(this->get())) == checker; }
604 bool notdone_check() { return traits_type::tcr(*(this->get())) != checker; }
610 (void)traits_type::test_then_add4((volatile FlagType *)this->get());
618 return traits_type::test_then_or((volatile FlagType *)this->get(),
627 return traits_type::test_then_and((volatile FlagType *)this->get(),
647 typedef flag_traits<FlagType> traits_type; typedef in class:kmp_basic_flag
[all...]

Completed in 108 milliseconds