Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/src/
H A Dstd_stream.h36 typedef char_traits<char_type> traits_type;
37 typedef typename traits_type::int_type int_type;
38 typedef typename traits_type::pos_type pos_type;
39 typedef typename traits_type::off_type off_type; typedef
40 typedef typename traits_type::state_type state_type;
47 virtual int_type pbackfail(int_type __c = traits_type::eof());
73 : __file_(__fp), __st_(__st), __last_consumed_(traits_type::eof()), __last_consumed_is_next_(false) {
137 __last_consumed_ = traits_type::eof(); in __do_ungetc()
145 return traits_type::eof();
147 if (!__do_ungetc(traits_type
281 typedef char_traits<char_type> traits_type; global() typedef
[all...]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dsstream25 typedef traits traits_type;
26 typedef typename traits_type::int_type int_type;
27 typedef typename traits_type::pos_type pos_type;
28 typedef typename traits_type::off_type off_type;
35 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& s,
40 explicit basic_stringbuf(basic_string<char_type, traits_type, allocator_type>&& s,
43 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s, const allocator_type& a)
46 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s,
49 explicit basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s,
69 … basic_string<char_type, traits_type, allocator_type> str() const; // before C++20
[all …]
H A Dstreambuf25 typedef traits traits_type;
26 typedef typename traits_type::int_type int_type;
27 typedef typename traits_type::pos_type pos_type;
28 typedef typename traits_type::off_type off_type;
99 virtual int_type pbackfail(int_type c = traits_type::eof());
103 virtual int_type overflow (int_type c = traits_type::eof());
135 typedef _Traits traits_type;
136 typedef typename traits_type::int_type int_type;
137 typedef typename traits_type::pos_type pos_type;
138 typedef typename traits_type::off_type off_type;
[all …]
H A Distream23 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;
29 explicit basic_istream(basic_streambuf<char_type, traits_type>* sb);
42 basic_istream& operator>>(basic_ios<char_type, traits_type>&
43 (*pf)(basic_ios<char_type, traits_type>&));
45 basic_istream& operator>>(basic_streambuf<char_type, traits_type>* sb);
66 basic_istream& get(basic_streambuf<char_type,traits_type>& sb);
67 basic_istream& get(basic_streambuf<char_type,traits_type>& sb, char_type delim);
[all …]
H A Dfstream22 typedef traits traits_type;
23 typedef typename traits_type::int_type int_type;
24 typedef typename traits_type::pos_type pos_type;
25 typedef typename traits_type::off_type off_type;
48 virtual int_type pbackfail(int_type c = traits_type::eof());
49 virtual int_type overflow (int_type c = traits_type::eof());
50 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* s, streamsize n);
72 typedef traits traits_type;
73 typedef typename traits_type::int_type int_type;
74 typedef typename traits_type::pos_type pos_type;
[all …]
H A Dsyncstream43 using traits_type = traits;
86 using traits_type = traits;
246 using traits_type = _Traits;
247 using int_type = typename traits_type::int_type;
248 using pos_type = typename traits_type::pos_type;
249 using off_type = typename traits_type::off_type;
329 int_type overflow(int_type __c = traits_type::eof()) override {
330 if (traits_type::eq_int_type(__c, traits_type::eof()))
331 return traits_type::not_eof(__c);
347 return traits_type::eof();
[all …]
H A Dios120 typedef traits traits_type;
559 typedef _Traits traits_type;
561 typedef typename traits_type::int_type int_type;
562 typedef typename traits_type::pos_type pos_type;
563 typedef typename traits_type::off_type off_type;
565 static_assert(is_same<_CharT, typename traits_type::char_type>::value,
566 "traits_type::char_type must be the same type as CharT");
589 _LIBCPP_HIDE_FROM_ABI explicit basic_ios(basic_streambuf<char_type, traits_type>* __sb);
593 _LIBCPP_HIDE_FROM_ABI basic_ostream<char_type, traits_type>* tie() const;
594 …_LIBCPP_HIDE_FROM_ABI basic_ostream<char_type, traits_type>* tie(basic_ostream<char_type, traits_t…
[all …]
H A Dstring_view75 typedef traits traits_type;
277 using traits_type = _Traits;
300 static_assert(is_same<_CharT, typename traits_type::char_type>::value,
301 "traits_type::char_type must be the same type as CharT");
491 …return std::__str_find<value_type, size_type, traits_type, npos>(data(), size(), __s.data(), __pos…
495 return std::__str_find<value_type, size_type, traits_type, npos>(data(), size(), __c, __pos);
501 … return std::__str_find<value_type, size_type, traits_type, npos>(data(), size(), __s, __pos, __n);
507 return std::__str_find<value_type, size_type, traits_type, npos>(
508 data(), size(), __s, __pos, traits_type::length(__s));
515 …return std::__str_rfind<value_type, size_type, traits_type, npos>(data(), size(), __s.data(), __po…
[all …]
H A Dstring88 typedef traits traits_type;
89 typedef typename traits_type::char_type value_type;
759 typedef _Traits traits_type;
820 static_assert(is_same<_CharT, typename traits_type::char_type>::value,
821 "traits_type::char_type must be the same type as CharT");
1061 __init(__s, traits_type::length(__s));
1068 __init(__s, traits_type::length(__s));
1911 traits_type::copy(__dest, std::__to_address(__first), __last - __first);
1917 traits_type::assign(*__dest++, *__first);
1932 traits_type::move(__p + __ip + __n, __p + __ip, __n_move);
[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;
H A Dlocale93 typedef typename wide_string::traits_type::int_type int_type;
3150 typedef typename wide_string::traits_type::int_type int_type;
3360 typedef _Tr traits_type;
3361 typedef typename traits_type::int_type int_type;
3362 typedef typename traits_type::pos_type pos_type;
3363 typedef typename traits_type::off_type off_type;
3408 _LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual int_type pbackfail(int_type __c = traits_type::eof());
3409 _LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual int_type overflow(int_type __c = traits_type::eof());
3410 …_LIBCPP_HIDE_FROM_ABI_VIRTUAL virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* _…
3456 return traits_type::eof();
[all …]
H A Diterator527 typedef traits traits_type;
563 typedef traits traits_type;
589 typedef traits traits_type;
629 typedef traits traits_type;
H A Dregex131 typedef traits traits_type;
2275 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/__ostream/
H A Dbasic_ostream.h44 typedef _Traits traits_type; typedef
45 typedef typename traits_type::int_type int_type;
46 typedef typename traits_type::pos_type pos_type;
47 typedef typename traits_type::off_type off_type;
50 …BCPP_HIDE_FROM_ABI_AFTER_V1 explicit basic_ostream(basic_streambuf<char_type, traits_type>* __sb) { in basic_ostream()
65 basic_ios<char_type, traits_type>::swap(__rhs); in swap()
78 operator<<(basic_ios<char_type, traits_type>& (*__pf)(basic_ios<char_type, traits_type>&)) {
108 basic_ostream& operator<<(basic_streambuf<char_type, traits_type>* __sb);
184 basic_ostream<_CharT, _Traits>::operator<<(basic_streambuf<char_type, traits_type>* __sb) {
230 typedef num_put<char_type, ostreambuf_iterator<char_type, traits_type> > _Fp;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Dostreambuf_iterator.h45 typedef _Traits traits_type;
56 if (__sbuf_ && traits_type::eq_int_type(__sbuf_->sputc(__c), traits_type::eof()))
44 typedef _Traits traits_type; global() typedef
H A Distreambuf_iterator.h42 typedef _Traits traits_type; typedef
61 if (__sbuf_ && traits_type::eq_int_type(__sbuf_->sgetc(), traits_type::eof()))
H A Dostream_iterator.h47 typedef _Traits traits_type;
45 typedef _Traits traits_type; global() typedef
H A Distream_iterator.h44 typedef _Traits traits_type;
43 typedef _Traits traits_type; global() 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;
77 typedef _Traits traits_type;
78 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
/freebsd/contrib/llvm-project/libcxx/src/experimental/
H A Dtzdb.cpp117 case istream::traits_type::eof(): in __parse_string()
591 case istream::traits_type::eof(): in __parse_tzdata()
637 case istream::traits_type::eof(): in __parse_leap_seconds()