Home
last modified time | relevance | path

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

12345

/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
D__std_stream38 typedef char_traits<char_type> traits_type;
39 typedef typename traits_type::int_type int_type;
40 typedef typename traits_type::pos_type pos_type;
41 typedef typename traits_type::off_type off_type;
42 typedef typename traits_type::state_type state_type;
49 virtual int_type pbackfail(int_type __c = traits_type::eof());
72 __last_consumed_(traits_type::eof()),
112 __last_consumed_ = traits_type::eof();
123 return traits_type::eof();
146 return traits_type::eof();
[all …]
Dsstream23 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 …]
Dfstream23 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;
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 …]
Distream24 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 …]
Dstreambuf26 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());
127 typedef _Traits traits_type;
128 typedef typename traits_type::int_type int_type;
129 typedef typename traits_type::pos_type pos_type;
130 typedef typename traits_type::off_type off_type;
[all …]
Dios120 typedef traits traits_type;
569 typedef _Traits traits_type;
571 typedef typename traits_type::int_type int_type;
572 typedef typename traits_type::pos_type pos_type;
573 typedef typename traits_type::off_type off_type;
592 explicit basic_ios(basic_streambuf<char_type,traits_type>* __sb);
597 basic_ostream<char_type, traits_type>* tie() const;
599 basic_ostream<char_type, traits_type>* tie(basic_ostream<char_type, traits_type>* __tiestr);
602 basic_streambuf<char_type, traits_type>* rdbuf() const;
604 basic_streambuf<char_type, traits_type>* rdbuf(basic_streambuf<char_type, traits_type>* __sb);
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dstdio_streambuf.cpp168 return traits_type::eof(); in underflow()
177 return c != EOF ? c : traits_type::eof(); in uflow()
181 if (c != traits_type::eof()) { in pbackfail()
183 return result != EOF ? result : traits_type::eof(); in pbackfail()
188 return traits_type::not_eof(c); in pbackfail()
191 return traits_type::eof(); in pbackfail()
205 if (c == traits_type::eof()) { in overflow()
212 return traits_type::not_eof(c); in overflow()
214 return traits_type::eof(); in overflow()
219 return traits_type::not_eof(c); in overflow()
[all …]
Dfstream.cpp39 typedef char_traits<char> traits_type; in _M_doit() typedef
40 typedef traits_type::int_type int_type; in _M_doit()
44 return traits_type::eof(); in _M_doit()
49 int_type __c = traits_type::to_int_type(*__this->gptr()); in _M_doit()
81 return traits_type::to_int_type(*__this->gptr()); in _M_doit()
Dstrstream.cpp117 if (c == traits_type::eof()) in overflow()
118 return traits_type::not_eof(c); in overflow()
148 *pptr() = traits_type::to_char_type(c); in overflow()
153 return traits_type::eof(); in overflow()
158 if (c == traits_type::eof()) { in pbackfail()
160 return traits_type::not_eof(c); in pbackfail()
168 *gptr() = traits_type::to_char_type(c); in pbackfail()
173 return traits_type::eof(); in pbackfail()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_fstream.c85 __ok = __ok && !_Traits::eq_int_type(this->overflow(traits_type::eof()), in close()
86 traits_type::eof()); in close()
158 const int_type __eof = traits_type::eof(); in pbackfail()
167 (traits_type::eq_int_type(__c, __eof) || in pbackfail()
168 traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1]) || in pbackfail()
171 if (traits_type::eq_int_type(__c, __eof) || in pbackfail()
172 traits_type::eq(traits_type::to_char_type(__c), *this->gptr())) in pbackfail()
173 return traits_type::to_int_type(*this->gptr()); in pbackfail()
175 else if (!traits_type::eq_int_type(__c, __eof)) { in pbackfail()
197 *this->gptr() = traits_type::to_char_type(__c); in pbackfail()
[all …]
D_ostreambuf_iterator.h45 typedef _Traits traits_type; typedef
62 _M_ok = _M_ok && !traits_type::eq_int_type(_M_buf->sputc(__c),
63 traits_type::eof());
D_ios.h55 typedef _Traits traits_type; typedef
66 tie(basic_ostream<char_type, traits_type>* __new_tied_ostream) { in tie()
67 basic_ostream<char_type, traits_type>* __tmp = _M_tied_ostream; in tie()
76 rdbuf(basic_streambuf<char_type, traits_type>*);
D_istreambuf_iterator.h50 typedef _Traits traits_type; typedef
93 _STLP_MUTABLE(_Self, _M_c) = traits_type::to_char_type(__c); in _M_getc()
94 _STLP_MUTABLE(_Self, _M_eof) = traits_type::eq_int_type(__c, traits_type::eof()); in _M_getc()
/ndk/tests/device/test-gnustl-full/unit/
Dfull_streambuf.h16 typedef _Base::traits_type traits_type; typedef
33 return traits_type::eof(); in overflow()
36 _buf += traits_type::to_char_type(c); in overflow()
/ndk/tests/device/test-stlport/unit/
Dfull_streambuf.h16 typedef _Base::traits_type traits_type; typedef
33 return traits_type::eof(); in overflow()
36 _buf += traits_type::to_char_type(c); in overflow()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/
Dpbackfail.pass.cpp29 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()
Dunderflow.pass.cpp29 typedef base::traits_type traits_type; typedef
82 assert(f.sbumpc() == test_buf::traits_type::eof()); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/stream.iterators/istreambuf.iterator/
Dtypes.pass.cpp37 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), ""); in main()
38 static_assert((std::is_same<I1::int_type, I1::traits_type::int_type>::value), ""); in main()
47 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), ""); in main()
48 static_assert((std::is_same<I2::int_type, I2::traits_type::int_type>::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/
Dpbackfail.pass.cpp26 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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.nonmembers/string.io/
Dstream_insert.pass.cpp58 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()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/basic_cstring/
Dcompare.hpp101 typedef typename boost::unit_test::basic_cstring<CharT>::traits_type traits_type; in operator <() typedef
104 : traits_type::compare( x.begin(), y.begin(), x.size() ) < 0; in operator <()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.cons/
Dsize_char_alloc.pass.cpp27 typedef typename S::traits_type T; in test()
43 typedef typename S::traits_type T; in test()
59 typedef typename S::traits_type T; in test()
76 typedef typename S::traits_type T; in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/stream.iterators/ostream.iterator/
Dtypes.pass.cpp32 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), ""); in main()
38 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/stream.iterators/istream.iterator/
Dtypes.pass.cpp33 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), ""); in main()
40 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.rvalue/
DCharT_pointer.pass.cpp41 overflow(typename base::int_type __c = base::traits_type::eof()) in overflow()
43 if (__c != base::traits_type::eof()) in overflow()

12345