| /llvm-project-15.0.7/libcxx/include/ |
| H A D | __std_stream | 73 __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 D | sstream | 23 typedef typename traits_type::int_type int_type; 24 typedef typename traits_type::pos_type pos_type; 501 return traits_type::eof(); 512 if (traits_type::eq_int_type(__c, traits_type::eof())) 515 return traits_type::not_eof(__c); 518 traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1])) 525 return traits_type::eof(); 532 if (!traits_type::eq_int_type(__c, traits_type::eof())) 538 return traits_type::eof(); 555 return traits_type::eof(); [all …]
|
| H A D | streambuf | 25 typedef traits traits_type; 26 typedef typename traits_type::int_type int_type; 183 if (sbumpc() == traits_type::eof()) 184 return traits_type::eof(); 227 return traits_type::to_int_type(__c); 438 return traits_type::eof(); 445 if (underflow() == traits_type::eof()) 446 return traits_type::eof(); 454 return traits_type::eof(); 462 int_type __eof = traits_type::eof(); [all …]
|
| H A D | fstream | 23 typedef typename traits_type::int_type int_type; 24 typedef typename traits_type::pos_type pos_type; 729 return traits_type::eof(); 735 int_type __c = traits_type::eof(); 800 if (traits_type::eq_int_type(__c, traits_type::eof())) 806 traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1])) 813 return traits_type::eof(); 821 return traits_type::eof(); 826 if (!traits_type::eq_int_type(__c, traits_type::eof())) 839 return traits_type::eof(); [all …]
|
| H A D | istream | 254 if (__ch != traits_type::eof()) 748 int_type __r = traits_type::eof(); 757 if (traits_type::eq_int_type(__r, traits_type::eof())) 795 if (traits_type::eq_int_type(__i, traits_type::eof())) 855 if (traits_type::eq_int_type(__i, traits_type::eof())) 863 if (traits_type::eq_int_type(__sb.sputc(__ch), traits_type::eof())) 899 if (traits_type::eq_int_type(__i, traits_type::eof())) 963 if (traits_type::eq_int_type(__i, traits_type::eof())) 978 if (traits_type::eq_int_type(__i, traits_type::eof())) 1011 int_type __r = traits_type::eof(); [all …]
|
| H A D | ios | 119 typedef traits traits_type; 610 typedef _Traits traits_type; 612 typedef typename traits_type::int_type int_type; 613 typedef typename traits_type::pos_type pos_type; 614 typedef typename traits_type::off_type off_type; 650 basic_ostream<char_type, traits_type>* tie(basic_ostream<char_type, traits_type>* __tiestr); 655 basic_streambuf<char_type, traits_type>* rdbuf(basic_streambuf<char_type, traits_type>* __sb); 688 basic_ostream<char_type, traits_type>* __tie_; 711 __fill_ = traits_type::eof(); 783 if (traits_type::eq_int_type(traits_type::eof(), __fill_)) [all …]
|
| H A D | string_view | 67 typedef traits traits_type; 270 typedef _Traits traits_type; 331 typename remove_reference_t<_Range>::traits_type; 504 return __str_find<value_type, size_type, traits_type, npos> 511 return __str_find<value_type, size_type, traits_type, npos> 519 return __str_find<value_type, size_type, traits_type, npos> 527 return __str_find<value_type, size_type, traits_type, npos> 528 (data(), size(), __s, __pos, traits_type::length(__s)); 560 (data(), size(), __s, __pos, traits_type::length(__s)); 589 (data(), size(), __s, __pos, traits_type::length(__s)); [all …]
|
| H A D | ostream | 23 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; 191 typedef _Traits traits_type; 192 typedef typename traits_type::int_type int_type; 193 typedef typename traits_type::pos_type pos_type; 194 typedef typename traits_type::off_type off_type; 198 explicit basic_ostream(basic_streambuf<char_type, traits_type>* __sb) 211 { basic_ios<char_type, traits_type>::swap(__rhs); } [all …]
|
| H A D | string | 81 typedef traits traits_type; 843 __init(__s, traits_type::length(__s)); 1983 __init(__s, traits_type::length(__s)); 2270 traits_type::assign(*__p, *__first); 2271 traits_type::assign(*__p, value_type()); 2434 traits_type::move(__p, __s, __n); 2466 traits_type::assign(__p, __n, __c); 2486 traits_type::assign(*__p, __c); 2487 traits_type::assign(*++__p, value_type()); 2767 traits_type::assign(*__p, __c); [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ |
| H A D | pbackfail.pass.cpp | 36 typedef base::traits_type traits_type; typedef 45 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} in pbackfail() 55 assert(f.pbackfail(L'a') == test_buf::traits_type::eof()); in main() 62 assert(f.pbackfail(L'a') == test_buf::traits_type::eof()); in main()
|
| H A D | underflow.pass.cpp | 36 typedef base::traits_type traits_type; typedef 89 assert(f.sbumpc() == test_buf::traits_type::eof()); in main()
|
| H A D | overflow.pass.cpp | 34 typedef base::traits_type traits_type; typedef 43 virtual int_type overflow(int_type c = traits_type::eof()) {return base::overflow(c);} in overflow()
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.cons/ |
| H A D | string_view_deduction.pass.cpp | 52 static_assert(std::is_same_v<S::traits_type, std::char_traits<char>>, ""); in test() 63 static_assert(std::is_same_v<S::traits_type, std::char_traits<char>>, ""); in test() 74 static_assert(std::is_same_v<S::traits_type, std::char_traits<wchar_t>>, ""); in test() 86 static_assert(std::is_same_v<S::traits_type, std::char_traits<char8_t>>, ""); in test() 97 static_assert(std::is_same_v<S::traits_type, std::char_traits<char16_t>>, ""); in test() 107 static_assert(std::is_same_v<S::traits_type, std::char_traits<char32_t>>, ""); in test()
|
| H A D | string_view_size_size_deduction.pass.cpp | 56 static_assert(std::is_same_v<S::traits_type, std::char_traits<char>>, ""); in test() 67 static_assert(std::is_same_v<S::traits_type, std::char_traits<char>>, ""); in test() 78 static_assert(std::is_same_v<S::traits_type, std::char_traits<wchar_t>>, ""); in test() 90 static_assert(std::is_same_v<S::traits_type, std::char_traits<char8_t>>, ""); in test() 101 static_assert(std::is_same_v<S::traits_type, std::char_traits<char16_t>>, ""); in test() 111 static_assert(std::is_same_v<S::traits_type, std::char_traits<char32_t>>, ""); in test()
|
| H A D | iter_alloc_deduction.pass.cpp | 58 static_assert(std::is_same_v<S::traits_type, std::char_traits<char>>, ""); in test() 68 static_assert(std::is_same_v<S::traits_type, std::char_traits<char>>, ""); in test() 78 static_assert(std::is_same_v<S::traits_type, std::char_traits<wchar_t>>, ""); in test() 88 static_assert(std::is_same_v<S::traits_type, std::char_traits<char16_t>>, ""); in test() 98 static_assert(std::is_same_v<S::traits_type, std::char_traits<char32_t>>, ""); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.nonmembers/string.io/ |
| H A D | stream_insert.pass.cpp | 60 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; in main() 68 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; in main() 78 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; in main() 86 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/ |
| H A D | types.pass.cpp | 52 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), ""); in main() 53 static_assert((std::is_same<I1::int_type, I1::traits_type::int_type>::value), ""); in main() 74 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), ""); in main() 75 static_assert((std::is_same<I2::int_type, I2::traits_type::int_type>::value), ""); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/ |
| H A D | pbackfail.pass.cpp | 27 typedef typename base::traits_type traits_type; typedef 34 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} in pbackfail()
|
| /llvm-project-15.0.7/libcxx/include/__iterator/ |
| H A D | ostreambuf_iterator.h | 44 typedef _Traits traits_type; typedef 57 if (__sbuf_ && traits_type::eq_int_type(__sbuf_->sputc(__c), traits_type::eof()))
|
| H A D | istreambuf_iterator.h | 42 typedef _Traits traits_type; typedef 64 if (__sbuf_ && traits_type::eq_int_type(__sbuf_->sgetc(), traits_type::eof())) in __test_for_eof()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ |
| H A D | ostream.pass.cpp | 39 overflow(typename base::int_type ch = base::traits_type::eof()) in overflow() 41 if (ch != base::traits_type::eof()) in overflow()
|
| H A D | ios_base.pass.cpp | 38 overflow(typename base::int_type ch = base::traits_type::eof()) in overflow() 40 if (ch != base::traits_type::eof()) in overflow()
|
| H A D | basic_ios.pass.cpp | 39 overflow(typename base::int_type ch = base::traits_type::eof()) in overflow() 41 if (ch != base::traits_type::eof()) in overflow()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/stream.buffers/streambuf/ |
| H A D | types.pass.cpp | 30 static_assert((std::is_same<std::streambuf::traits_type, std::char_traits<char> >::value), ""); in main() 37 …static_assert((std::is_same<std::wstreambuf::traits_type, std::char_traits<wchar_t> >::value), ""); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/re/re.regex/ |
| H A D | types.pass.cpp | 29 …static_assert((std::is_same<std::basic_regex<char>::traits_type, std::regex_traits<char> >::value)… in main() 36 …static_assert((std::is_same<std::basic_regex<wchar_t>::traits_type, std::regex_traits<wchar_t> >::… in main()
|