Searched defs:traits_type (Results 1 - 25 of 25) sorted by path

/external/chromium_org/base/mac/
H A Dscoped_mach_port.h43 explicit ScopedMachSendRight(mach_port_t port = traits_type::InvalidValue()) argument
57 mach_port_t port = traits_type::InvalidValue()) : ScopedGeneric(port) {}
56 ScopedMachReceiveRight( mach_port_t port = traits_type::InvalidValue()) argument
/external/chromium_org/base/
H A Dscoped_generic.h73 typedef Traits traits_type; typedef in class:base::ScopedGeneric
75 ScopedGeneric() : data_(traits_type::InvalidValue()) {}
82 ScopedGeneric(const element_type& value, const traits_type& traits)
98 void reset(const element_type& value = traits_type::InvalidValue()) { argument
99 if (data_.generic != traits_type::InvalidValue() && data_.generic == value)
119 data_.generic = traits_type::InvalidValue();
127 bool is_valid() const { return data_.generic != traits_type::InvalidValue(); }
141 if (data_.generic != traits_type::InvalidValue()) {
143 data_.generic = traits_type::InvalidValue();
/external/clang/test/SemaTemplate/
H A Dalias-templates.cpp44 typedef traits<thing<inner>> traits_type; typedef in struct:X::thing
48 thing(traits_type &traits) : traits(traits), val(traits.alloc()) {}
51 traits_type &traits;
66 itt::thing::traits_type itr;
/external/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/
H A Doverflow.pass.cpp28 typedef typename base::traits_type traits_type; typedef in struct:test_buf
35 virtual int_type overflow(int_type c = traits_type::eof()) {return base::overflow(c);} argument
H A Dpbackfail.pass.cpp26 typedef typename base::traits_type traits_type; typedef in struct:test_buf
33 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} argument
/external/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.pback/
H A Dsputbackc.pass.cpp35 int_type pbackfail(int_type c = traits_type::eof()) argument
H A Dsungetc.pass.cpp35 int_type pbackfail(int_type c = traits_type::eof()) argument
/external/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.put/
H A Dsputc.pass.cpp39 int_type overflow(int_type c = traits_type::eof()) argument
/external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/
H A Doverflow.pass.cpp29 typedef base::traits_type traits_type; typedef in struct:test_buf
38 virtual int_type overflow(int_type c = traits_type::eof()) {return base::overflow(c);} argument
H A Dpbackfail.pass.cpp29 typedef base::traits_type traits_type; typedef in struct:test_buf
38 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} argument
48 assert(f.pbackfail(L'a') == test_buf::traits_type::eof());
55 assert(f.pbackfail(L'a') == test_buf::traits_type::eof());
H A Dunderflow.pass.cpp29 typedef base::traits_type traits_type; typedef in struct:test_buf
82 assert(f.sbumpc() == test_buf::traits_type::eof());
/external/stlport/src/
H A Dfstream.cpp39 typedef char_traits<char> traits_type; typedef
40 typedef traits_type::int_type int_type;
44 return traits_type::eof();
49 int_type __c = traits_type::to_int_type(*__this->gptr());
81 return traits_type::to_int_type(*__this->gptr());
/external/stlport/stlport/stl/
H A D_fstream.h155 typedef _Traits traits_type; typedef in class:basic_filebuf
203 virtual int_type pbackfail(int_type = traits_type::eof());
204 virtual int_type overflow(int_type = traits_type::eof());
329 return traits_type::to_int_type(*_M_ext_buf);
403 typedef _Traits traits_type; typedef in class:_Underflow
410 return traits_type::eof();
415 int_type __c = traits_type::to_int_type(*__this->gptr());
431 typedef char_traits<char> traits_type; typedef in class:_Underflow
432 static int_type _STLP_CALL _M_doit(basic_filebuf<char, traits_type >* __this);
449 typedef _Traits traits_type; typedef in class:basic_ifstream
530 typedef _Traits traits_type; typedef in class:basic_ofstream
609 typedef _Traits traits_type; typedef in class:basic_fstream
[all...]
H A D_ios.h55 typedef _Traits traits_type; typedef in class:basic_ios
66 tie(basic_ostream<char_type, traits_type>* __new_tied_ostream) {
67 basic_ostream<char_type, traits_type>* __tmp = _M_tied_ostream;
76 rdbuf(basic_streambuf<char_type, traits_type>*);
H A D_istream.h78 typedef _Traits traits_type; typedef in class:basic_istream
196 typedef _Traits traits_type; typedef in class:_Isentry::sentry
H A D_istreambuf_iterator.h50 typedef _Traits traits_type; typedef in class:istreambuf_iterator
93 _STLP_MUTABLE(_Self, _M_c) = traits_type::to_char_type(__c);
94 _STLP_MUTABLE(_Self, _M_eof) = traits_type::eq_int_type(__c, traits_type::eof());
H A D_ostream.h67 typedef _Traits traits_type; typedef in class:basic_ostream
H A D_ostreambuf_iterator.h45 typedef _Traits traits_type; typedef in class:ostreambuf_iterator
62 _M_ok = _M_ok && !traits_type::eq_int_type(_M_buf->sputc(__c),
63 traits_type::eof());
H A D_sstream.h61 typedef _Traits traits_type; typedef in class:basic_stringbuf
123 typedef _Traits traits_type; typedef in class:basic_istringstream
166 typedef _Traits traits_type; typedef in class:basic_ostringstream
210 typedef _Traits traits_type; typedef in class:basic_stringstream
H A D_stream_iterator.h99 typedef _Traits traits_type; typedef in class:istream_iterator
172 typedef _Traits traits_type; typedef in class:ostream_iterator
H A D_streambuf.h57 typedef _Traits traits_type; typedef in class:basic_streambuf
179 virtual int_type pbackfail(int_type = traits_type::eof());
194 virtual int_type overflow(int_type = traits_type::eof());
H A D_string.h132 typedef _Traits traits_type; typedef in class:basic_string
355 return _M_assign(__s, __s + traits_type::length(__s));
530 { _STLP_FIX_LITERAL_BUG(__s) return _M_append(__s, __s + traits_type::length(__s)); }
805 traits_type::move(__first, __last, (this->_M_Finish() - __last) + 1);
H A D_string_workaround.h42 typedef typename _Base::traits_type traits_type; typedef in class:basic_string
/external/stlport/stlport/stl/debug/
H A D_string.h61 typedef typename _Base::traits_type traits_type; typedef in class:basic_string
/external/stlport/test/unit/
H A Dfull_streambuf.h16 typedef _Base::traits_type traits_type; typedef in class:full_streambuf
33 return traits_type::eof();
36 _buf += traits_type::to_char_type(c);

Completed in 3366 milliseconds