HomeSort by relevance Sort by last modified time
    Searched refs:_Traits (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/stlport/stlport/stl/
_ctraits_fns.h 32 template <class _Traits>
34 : public binary_function<typename _Traits::char_type,
35 typename _Traits::char_type,
37 bool operator()(const typename _Traits::char_type& __x,
38 const typename _Traits::char_type& __y) const
39 { return _Traits::eq(__x, __y); }
42 template <class _Traits>
44 : public unary_function<typename _Traits::char_type, bool> {
45 typename _Traits::char_type __val;
46 _Eq_char_bound(typename _Traits::char_type __c) : __val(__c) {
    [all...]
_string_io.h 33 template <class _CharT, class _Traits, class _Alloc>
34 basic_ostream<_CharT, _Traits>& _STLP_CALL
35 operator<<(basic_ostream<_CharT, _Traits>& __os,
36 const basic_string<_CharT,_Traits,_Alloc>& __s);
40 template <class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDir>
41 basic_ostream<_CharT, _Traits>& _STLP_CALL
42 operator<<(basic_ostream<_CharT, _Traits>& __os,
43 const _STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir>& __sum) {
44 basic_string<_CharT, _Traits, _Alloc> __tmp(__sum);
50 template <class _CharT, class _Traits, class _Alloc
    [all...]
_ostreambuf_iterator.h 34 template<class _CharT, class _Traits>
35 extern basic_streambuf<_CharT, _Traits>* _STLP_CALL __get_ostreambuf(basic_ostream<_CharT, _Traits>&);
40 template <class _CharT, class _Traits>
45 typedef _Traits traits_type;
46 typedef typename _Traits::int_type int_type;
47 typedef basic_streambuf<_CharT, _Traits> streambuf_type;
48 typedef basic_ostream<_CharT, _Traits> ostream_type;
61 ostreambuf_iterator<_CharT, _Traits>& operator=(char_type __c) {
67 ostreambuf_iterator<_CharT, _Traits>& operator*() { return *this;
    [all...]
_streambuf.c 30 template <class _CharT, class _Traits>
31 basic_streambuf<_CharT, _Traits>::basic_streambuf()
39 template <class _CharT, class _Traits>
40 basic_streambuf<_CharT, _Traits>::~basic_streambuf()
43 template <class _CharT, class _Traits>
45 basic_streambuf<_CharT, _Traits>::pubimbue(const locale& __loc) {
52 template <class _CharT, class _Traits>
54 basic_streambuf<_CharT, _Traits>::xsgetn(_CharT* __s, streamsize __n) {
56 const int_type __eof = _Traits::eof();
62 _Traits::copy(__s, _M_gnext, __chunk)
    [all...]
_string_operators.h 27 template <class _CharT, class _Traits, class _Alloc>
28 inline basic_string<_CharT,_Traits,_Alloc> _STLP_CALL
29 operator+(const basic_string<_CharT,_Traits,_Alloc>& __s,
30 const basic_string<_CharT,_Traits,_Alloc>& __y) {
31 typedef basic_string<_CharT,_Traits,_Alloc> _Str;
44 template <class _CharT, class _Traits, class _Alloc>
45 inline basic_string<_CharT,_Traits,_Alloc> _STLP_CALL
47 const basic_string<_CharT,_Traits,_Alloc>& __y) {
49 typedef basic_string<_CharT,_Traits,_Alloc> _Str;
51 const size_t __n = _Traits::length(__s)
    [all...]
_sstream.h 54 template <class _CharT, class _Traits, class _Alloc>
55 class basic_stringbuf : public basic_streambuf<_CharT, _Traits> {
58 typedef typename _Traits::int_type int_type;
59 typedef typename _Traits::pos_type pos_type;
60 typedef typename _Traits::off_type off_type;
61 typedef _Traits traits_type;
63 typedef basic_streambuf<_CharT, _Traits> _Base;
64 typedef basic_stringbuf<_CharT, _Traits, _Alloc> _Self;
65 typedef basic_string<_CharT, _Traits, _Alloc> _String;
83 int_type pbackfail() {return pbackfail(_Traits::eof());
    [all...]
_ostream.h 38 template <class _CharT, class _Traits>
44 template <class _CharT, class _Traits>
45 bool __init_bostr(basic_ostream<_CharT, _Traits>& __str);
52 template <class _CharT, class _Traits>
53 class basic_ostream : virtual public basic_ios<_CharT, _Traits> {
54 typedef basic_ostream<_CharT, _Traits> _Self;
64 typedef typename _Traits::int_type int_type;
65 typedef typename _Traits::pos_type pos_type;
66 typedef typename _Traits::off_type off_type;
67 typedef _Traits traits_type
    [all...]
_istreambuf_iterator.h 37 template <class _CharT, class _Traits>
38 extern basic_streambuf<_CharT, _Traits>* _STLP_CALL _M_get_istreambuf(basic_istream<_CharT, _Traits>& ) ;
44 template<class _CharT, class _Traits>
46 public iterator<input_iterator_tag, _CharT, typename _Traits::off_type, _CharT*, _CharT&>
50 typedef _Traits traits_type;
51 typedef typename _Traits::int_type int_type;
52 typedef basic_streambuf<_CharT, _Traits> streambuf_type;
53 typedef basic_istream<_CharT, _Traits> istream_type;
57 typedef typename _Traits::off_type difference_type
    [all...]
_ios.c 38 template <class _CharT, class _Traits>
39 basic_ios<_CharT, _Traits>
40 ::basic_ios(basic_streambuf<_CharT, _Traits>* __streambuf)
43 basic_ios<_CharT, _Traits>::init(__streambuf);
46 template <class _CharT, class _Traits>
47 basic_streambuf<_CharT, _Traits>*
48 basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<_CharT, _Traits>* __buf) {
49 basic_streambuf<_CharT, _Traits>* __tmp = _M_streambuf;
55 template <class _CharT, class _Traits>
    [all...]
_ostream.c 36 template <class _CharT, class _Traits>
37 basic_ostream<_CharT, _Traits>::basic_ostream(basic_streambuf<_CharT, _Traits>* __buf)
38 : basic_ios<_CharT, _Traits>() {
42 template <class _CharT, class _Traits>
43 basic_ostream<_CharT, _Traits>::~basic_ostream()
47 template <class _CharT, class _Traits>
48 basic_ostream<_CharT, _Traits>&
49 basic_ostream<_CharT, _Traits>::operator<<(basic_streambuf<_CharT, _Traits>* __from)
    [all...]
_ios.h 43 // The second template parameter, _Traits, defaults to char_traits<_CharT>.
47 template <class _CharT, class _Traits>
52 typedef typename _Traits::int_type int_type;
53 typedef typename _Traits::pos_type pos_type;
54 typedef typename _Traits::off_type off_type;
55 typedef _Traits traits_type;
58 explicit basic_ios(basic_streambuf<_CharT, _Traits>* __streambuf);
62 basic_ostream<_CharT, _Traits>* tie() const {
65 basic_ostream<_CharT, _Traits>*
72 basic_streambuf<_CharT, _Traits>* rdbuf() cons
    [all...]
_sstream.c 31 # define __BSB_int_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_stringbuf<_CharT, _Traits, _Alloc>::int_type
32 # define __BSB_pos_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_stringbuf<_CharT, _Traits, _Alloc>::pos_type
43 template <class _CharT, class _Traits, class _Alloc>
44 basic_stringbuf<_CharT, _Traits, _Alloc>
46 : basic_streambuf<_CharT, _Traits>(), _M_mode(__mode), _M_str()
49 template <class _CharT, class _Traits, class _Alloc>
50 basic_stringbuf<_CharT, _Traits, _Alloc>
51 ::basic_stringbuf(const basic_string<_CharT, _Traits, _Alloc>& __s, ios_base::openmode __mode)
52 : basic_streambuf<_CharT, _Traits>(), _M_mode(__mode), _M_str(__s)
57 template <class _CharT, class _Traits, class _Alloc
    [all...]
_istream.h 43 template <class _CharT, class _Traits>
49 template <class _CharT, class _Traits>
50 bool _M_init_skip(basic_istream<_CharT, _Traits>& __istr);
51 template <class _CharT, class _Traits>
52 bool _M_init_noskip(basic_istream<_CharT, _Traits>& __istr);
58 // The second template parameter, _Traits, defaults to char_traits<_CharT>.
62 template <class _CharT, class _Traits>
63 class basic_istream : virtual public basic_ios<_CharT, _Traits> {
64 typedef basic_istream<_CharT, _Traits> _Self;
75 typedef typename _Traits::int_type int_type
    [all...]
_istream.c 39 # define __BIS_int_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_istream<_CharT, _Traits>::int_type
40 # define __BIS_pos_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_istream<_CharT, _Traits>::pos_type
41 # define __BIS_off_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_istream<_CharT, _Traits>::off_type
51 template <class _Traits>
53 typedef typename _Traits::char_type argument_type;
63 template <class _Traits>
65 typedef typename _Traits::char_type argument_type;
72 return _Traits::eq(__c, argument_type()) ||
77 template <class _Traits>
79 typedef typename _Traits::char_type char_type
    [all...]
_string_io.c 14 template <class _CharT, class _Traits>
16 __stlp_string_fill(basic_ostream<_CharT, _Traits>& __os,
17 basic_streambuf<_CharT, _Traits>* __buf,
21 if (_Traits::eq_int_type(__buf->sputc(__f), _Traits::eof()))
28 template <class _CharT, class _Traits, class _Alloc>
29 basic_ostream<_CharT, _Traits>& _STLP_CALL
30 operator << (basic_ostream<_CharT, _Traits>& __os,
31 const basic_string<_CharT,_Traits,_Alloc>& __s) {
32 typedef basic_ostream<_CharT, _Traits> __ostream
    [all...]
_fstream.h 140 template <class _Traits> class _Noconv_input;
141 template <class _Traits> class _Noconv_output;
145 template <class _CharT, class _Traits>
148 template <class _CharT, class _Traits>
149 class basic_filebuf : public basic_streambuf<_CharT, _Traits> {
152 typedef typename _Traits::int_type int_type;
153 typedef typename _Traits::pos_type pos_type;
154 typedef typename _Traits::off_type off_type;
155 typedef _Traits traits_type;
157 typedef typename _Traits::state_type _State_type
    [all...]
_string.c 50 # define __size_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_string<_CharT,_Traits,_Alloc>::size_type
58 template <class _Traits>
59 struct _Not_within_traits : public unary_function<typename _Traits::char_type, bool> {
60 typedef typename _Traits::char_type _CharT;
69 _STLP_PRIV _Eq_char_bound<_Traits>(__x)) == _M_last;
73 template <class _InputIter, class _CharT, class _Traits>
76 _Traits*, const __true_type& /* _STLportTraits */)
79 template <class _InputIter, class _CharT, class _Traits>
82 _Traits*, const __false_type& /* _STLportTraits */)
83 { return __find_first_of(__first1, __last1, __first2, __last2, _STLP_PRIV _Eq_traits<_Traits>()); }
    [all...]
_iomanip.h 70 template <class _CharT, class _Traits, class _Arg>
71 inline basic_istream<_CharT, _Traits>& _STLP_CALL
72 operator>>(basic_istream<_CharT, _Traits>& __istr,
78 template <class _CharT, class _Traits, class _Arg>
79 inline basic_ostream<_CharT, _Traits>& _STLP_CALL
80 operator<<(basic_ostream<_CharT, _Traits>& __os,
86 template <class _CharT, class _Traits>
87 inline basic_istream<_CharT, _Traits>& _STLP_CALL
88 operator>>(basic_istream<_CharT, _Traits>& __istr,
94 template <class _CharT, class _Traits>
    [all...]
_string_fwd.h 30 class _Traits = char_traits<_CharT>,
35 class _Traits,
_fstream.c 37 # define __BF_int_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_filebuf<_CharT, _Traits>::int_type
38 # define __BF_pos_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_filebuf<_CharT, _Traits>::pos_type
39 # define __BF_off_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_filebuf<_CharT, _Traits>::off_type
46 template <class _CharT, class _Traits>
47 basic_filebuf<_CharT, _Traits>::basic_filebuf()
48 : basic_streambuf<_CharT, _Traits>(), _M_base(),
66 template <class _CharT, class _Traits>
67 basic_filebuf<_CharT, _Traits>::~basic_filebuf() {
73 template <class _CharT, class _Traits>
74 _STLP_TYPENAME_ON_RETURN_TYPE basic_filebuf<_CharT, _Traits>::int_typ
    [all...]
_iosfwd.h 29 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
32 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
35 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
38 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
41 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
44 template <class _CharT, _STLP_DFL_TMPL_PARAM( _Traits , char_traits<_CharT>),
48 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>),
52 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>),
56 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>),
60 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>)
    [all...]
_stream_iterator.h 65 # define __ISI_TMPL_HEADER_ARGUMENTS class _Tp, class _CharT, class _Traits, class _Dist
66 # define __ISI_TMPL_ARGUMENTS _Tp, _CharT, _Traits, _Dist
68 class _CharT = char, class _Traits = char_traits<_CharT>,
90 typedef char_traits<char> _Traits;
99 typedef _Traits traits_type;
100 typedef basic_istream<_CharT, _Traits> istream_type;
158 class _CharT = char, class _Traits = char_traits<_CharT> >
165 typedef char_traits<char> _Traits;
168 typedef ostream_iterator<_TpP, _CharT, _Traits> _Self;
172 typedef _Traits traits_type
    [all...]
_string_hash.h 32 template <class _CharT, class _Traits, class _Alloc>
34 __stl_string_hash(const basic_string<_CharT,_Traits,_Alloc>& __s) {
45 template <class _CharT, class _Traits, class _Alloc>
46 struct hash<basic_string<_CharT,_Traits,_Alloc> > {
47 size_t operator()(const basic_string<_CharT,_Traits,_Alloc>& __s) const
_streambuf.h 43 // The second template parameter, _Traits, defaults to char_traits<_CharT>.
47 template <class _CharT, class _Traits>
49 friend class basic_istream<_CharT, _Traits>;
50 friend class basic_ostream<_CharT, _Traits>;
54 typedef typename _Traits::int_type int_type;
55 typedef typename _Traits::pos_type pos_type;
56 typedef typename _Traits::off_type off_type;
57 typedef _Traits traits_type;
124 virtual basic_streambuf<_CharT, _Traits>* setbuf(char_type*, streamsize);
142 basic_streambuf<_CharT, _Traits>* pubsetbuf(char_type* __s, streamsize __n
    [all...]
_bitset.c 177 template <class _CharT, class _Traits, size_t _Nb>
178 basic_istream<_CharT, _Traits>& _STLP_CALL
179 operator>>(basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x) {
180 basic_string<_CharT, _Traits> __tmp;
184 typename basic_istream<_CharT, _Traits>::sentry __sentry(__is);
186 basic_streambuf<_CharT, _Traits>* __buf = __is.rdbuf();
188 static typename _Traits::int_type __eof = _Traits::eof();
190 typename _Traits::int_type __c1 = __buf->sbumpc();
191 if (_Traits::eq_int_type(__c1, __eof))
    [all...]

Completed in 394 milliseconds

1 2 3