/external/libcxx/include/ |
D | __std_stream | 40 typedef char_traits<char_type> traits_type; 41 typedef typename traits_type::int_type int_type; 42 typedef typename traits_type::pos_type pos_type; 43 typedef typename traits_type::off_type off_type; 44 typedef typename traits_type::state_type state_type; 51 virtual int_type pbackfail(int_type __c = traits_type::eof()); 74 __last_consumed_(traits_type::eof()), 114 __last_consumed_ = traits_type::eof(); 125 return traits_type::eof(); 148 return traits_type::eof(); [all …]
|
D | sstream | 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; 31 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& str, 40 basic_string<char_type, traits_type, allocator_type> str() const; 41 void str(const basic_string<char_type, traits_type, allocator_type>& s); 46 virtual int_type pbackfail(int_type c = traits_type::eof()); 47 virtual int_type overflow (int_type c = traits_type::eof()); 48 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type*, streamsize); [all …]
|
D | streambuf | 26 typedef traits traits_type; 27 typedef typename traits_type::int_type int_type; 28 typedef typename traits_type::pos_type pos_type; 29 typedef typename traits_type::off_type off_type; 100 virtual int_type pbackfail(int_type c = traits_type::eof()); 104 virtual int_type overflow (int_type c = traits_type::eof()); 130 typedef _Traits traits_type; 131 typedef typename traits_type::int_type int_type; 132 typedef typename traits_type::pos_type pos_type; 133 typedef typename traits_type::off_type off_type; [all …]
|
D | fstream | 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; 49 virtual int_type pbackfail(int_type c = traits_type::eof()); 50 virtual int_type overflow (int_type c = traits_type::eof()); 51 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* s, streamsize n); 73 typedef traits traits_type; 74 typedef typename traits_type::int_type int_type; 75 typedef typename traits_type::pos_type pos_type; [all …]
|
D | istream | 24 typedef traits traits_type; 25 typedef typename traits_type::int_type int_type; 26 typedef typename traits_type::pos_type pos_type; 27 typedef typename traits_type::off_type off_type; 30 explicit basic_istream(basic_streambuf<char_type, traits_type>* sb); 43 basic_istream& operator>>(basic_ios<char_type, traits_type>& 44 (*pf)(basic_ios<char_type, traits_type>&)); 46 basic_istream& operator>>(basic_streambuf<char_type, traits_type>* sb); 67 basic_istream& get(basic_streambuf<char_type,traits_type>& sb); 68 basic_istream& get(basic_streambuf<char_type,traits_type>& sb, char_type delim); [all …]
|
D | ios | 120 typedef traits traits_type; 589 typedef _Traits traits_type; 591 typedef typename traits_type::int_type int_type; 592 typedef typename traits_type::pos_type pos_type; 593 typedef typename traits_type::off_type off_type; 595 static_assert((is_same<_CharT, typename traits_type::char_type>::value), 596 "traits_type::char_type must be the same type as CharT"); 625 explicit basic_ios(basic_streambuf<char_type,traits_type>* __sb); 630 basic_ostream<char_type, traits_type>* tie() const; 632 basic_ostream<char_type, traits_type>* tie(basic_ostream<char_type, traits_type>* __tiestr); [all …]
|
D | string_view | 60 typedef traits traits_type; 198 typedef _Traits traits_type; 215 static_assert((is_same<_CharT, typename traits_type::char_type>::value), 216 "traits_type::char_type must be the same type as CharT"); 397 return __str_find<value_type, size_type, traits_type, npos> 404 return __str_find<value_type, size_type, traits_type, npos> 412 return __str_find<value_type, size_type, traits_type, npos> 420 return __str_find<value_type, size_type, traits_type, npos> 421 (data(), size(), __s, __pos, traits_type::length(__s)); 429 return __str_rfind<value_type, size_type, traits_type, npos> [all …]
|
D | ostream | 24 typedef traits traits_type; 25 typedef typename traits_type::int_type int_type; 26 typedef typename traits_type::pos_type pos_type; 27 typedef typename traits_type::off_type off_type; 158 typedef _Traits traits_type; 159 typedef typename traits_type::int_type int_type; 160 typedef typename traits_type::pos_type pos_type; 161 typedef typename traits_type::off_type off_type; 165 explicit basic_ostream(basic_streambuf<char_type, traits_type>* __sb) 179 { basic_ios<char_type, traits_type>::swap(__rhs); } [all …]
|
D | string | 79 typedef traits traits_type; 80 typedef typename traits_type::char_type value_type; 673 typedef _Traits traits_type; 687 static_assert(( is_same<_CharT, typename traits_type::char_type>::value), 688 "traits_type::char_type must be the same type as CharT"); 822 __init(__s, traits_type::length(__s)); 1775 traits_type::copy(_VSTD::__to_raw_pointer(__p), __s, __sz); 1776 traits_type::assign(__p[__sz], value_type()); 1799 traits_type::copy(_VSTD::__to_raw_pointer(__p), __s, __sz); 1800 traits_type::assign(__p[__sz], value_type()); [all …]
|
/external/zlib/src/contrib/iostream3/ |
D | zfstream.cc | 189 return traits_type::to_int_type(*(this->gptr())); in underflow() 193 return traits_type::eof(); in underflow() 203 return traits_type::eof(); in underflow() 209 return traits_type::to_int_type(*(this->gptr())); in underflow() 221 return traits_type::eof(); in overflow() 223 if (!traits_type::eq_int_type(c, traits_type::eof())) in overflow() 225 *(this->pptr()) = traits_type::to_char_type(c); in overflow() 235 return traits_type::eof(); in overflow() 238 return traits_type::eof(); in overflow() 244 else if (!traits_type::eq_int_type(c, traits_type::eof())) in overflow() [all …]
|
/external/libchrome/base/ |
D | scoped_generic.h | 71 typedef Traits traits_type; typedef 73 ScopedGeneric() : data_(traits_type::InvalidValue()) {} in ScopedGeneric() 80 ScopedGeneric(const element_type& value, const traits_type& traits) in ScopedGeneric() 102 void reset(const element_type& value = traits_type::InvalidValue()) { 103 if (data_.generic != traits_type::InvalidValue() && data_.generic == value) 123 data_.generic = traits_type::InvalidValue(); in release() 138 bool is_valid() const { return data_.generic != traits_type::InvalidValue(); } in is_valid() 152 if (data_.generic != traits_type::InvalidValue()) { in FreeIfNecessary() 154 data_.generic = traits_type::InvalidValue(); in FreeIfNecessary()
|
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ |
D | pbackfail.pass.cpp | 29 typedef base::traits_type traits_type; typedef 38 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} in pbackfail() 48 assert(f.pbackfail(L'a') == test_buf::traits_type::eof()); in main() 55 assert(f.pbackfail(L'a') == test_buf::traits_type::eof()); in main()
|
D | underflow.pass.cpp | 29 typedef base::traits_type traits_type; typedef 82 assert(f.sbumpc() == test_buf::traits_type::eof()); in main()
|
D | overflow.pass.cpp | 29 typedef base::traits_type traits_type; typedef 38 virtual int_type overflow(int_type c = traits_type::eof()) {return base::overflow(c);} in overflow()
|
/external/libcxx/test/std/strings/basic.string/string.cons/ |
D | string_view_size_size_deduction.pass.cpp | 53 static_assert(std::is_same_v<S::traits_type, std::char_traits<char>>, ""); in main() 64 static_assert(std::is_same_v<S::traits_type, std::char_traits<char>>, ""); in main() 74 static_assert(std::is_same_v<S::traits_type, std::char_traits<wchar_t>>, ""); in main() 85 static_assert(std::is_same_v<S::traits_type, std::char_traits<char8_t>>, ""); in main() 96 static_assert(std::is_same_v<S::traits_type, std::char_traits<char16_t>>, ""); in main() 106 static_assert(std::is_same_v<S::traits_type, std::char_traits<char32_t>>, ""); in main()
|
D | string_view_deduction.pass.cpp | 49 static_assert(std::is_same_v<S::traits_type, std::char_traits<char>>, ""); in main() 60 static_assert(std::is_same_v<S::traits_type, std::char_traits<char>>, ""); in main() 70 static_assert(std::is_same_v<S::traits_type, std::char_traits<wchar_t>>, ""); in main() 81 static_assert(std::is_same_v<S::traits_type, std::char_traits<char8_t>>, ""); in main() 92 static_assert(std::is_same_v<S::traits_type, std::char_traits<char16_t>>, ""); in main() 102 static_assert(std::is_same_v<S::traits_type, std::char_traits<char32_t>>, ""); in main()
|
D | iter_alloc_deduction.pass.cpp | 47 static_assert(std::is_same_v<S::traits_type, std::char_traits<char>>, ""); in main() 58 static_assert(std::is_same_v<S::traits_type, std::char_traits<char>>, ""); in main() 68 static_assert(std::is_same_v<S::traits_type, std::char_traits<wchar_t>>, ""); in main() 78 static_assert(std::is_same_v<S::traits_type, std::char_traits<char16_t>>, ""); in main() 88 static_assert(std::is_same_v<S::traits_type, std::char_traits<char32_t>>, ""); in main()
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/ |
D | rx-group_by.hpp | 95 …_traits<T, Observable, KeySelector, MarbleSelector, BinaryPredicate, DurationSelector> traits_type; typedef 96 typedef typename traits_type::key_selector_type key_selector_type; 97 typedef typename traits_type::marble_selector_type marble_selector_type; 98 typedef typename traits_type::marble_type marble_type; 99 typedef typename traits_type::predicate_type predicate_type; 100 typedef typename traits_type::duration_selector_type duration_selector_type; 101 typedef typename traits_type::subject_type subject_type; 102 typedef typename traits_type::key_type key_type; 104 typedef typename traits_type::key_subscriber_map_type group_map_type; 184 typedef typename traits_type::grouped_observable_type value_type; [all …]
|
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string.io/ |
D | stream_insert.pass.cpp | 58 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; in main() 66 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; in main() 75 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; in main() 83 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; in main()
|
/external/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/ |
D | types.pass.cpp | 47 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), ""); in main() 48 static_assert((std::is_same<I1::int_type, I1::traits_type::int_type>::value), ""); in main() 62 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), ""); in main() 63 static_assert((std::is_same<I2::int_type, I2::traits_type::int_type>::value), ""); in main()
|
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/ |
D | pbackfail.pass.cpp | 26 typedef typename base::traits_type traits_type; typedef 33 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} in pbackfail()
|
/external/clang/test/SemaTemplate/ |
D | alias-templates.cpp | 44 typedef traits<thing<inner>> traits_type; typedef 48 thing(traits_type &traits) : traits(traits), val(traits.alloc()) {} in thing() 51 traits_type &traits; 66 itt::thing::traits_type itr;
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.rvalue/ |
D | CharT_pointer.pass.cpp | 42 overflow(typename base::int_type ch = base::traits_type::eof()) in overflow() 44 if (ch != base::traits_type::eof()) in overflow()
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ |
D | ios_base.pass.cpp | 37 overflow(typename base::int_type ch = base::traits_type::eof()) in overflow() 39 if (ch != base::traits_type::eof()) in overflow()
|
D | ostream.pass.cpp | 38 overflow(typename base::int_type ch = base::traits_type::eof()) in overflow() 40 if (ch != base::traits_type::eof()) in overflow()
|