Home
last modified time | relevance | path

Searched refs:_Traits (Results 1 – 25 of 59) sorted by relevance

123

/external/stlport/stlport/stl/
D_string_operators.h27 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 …]
D_streambuf.c30 template <class _CharT, class _Traits>
31 basic_streambuf<_CharT, _Traits>::basic_streambuf() in basic_streambuf()
39 template <class _CharT, class _Traits>
40 basic_streambuf<_CharT, _Traits>::~basic_streambuf() in ~basic_streambuf()
43 template <class _CharT, class _Traits>
45 basic_streambuf<_CharT, _Traits>::pubimbue(const locale& __loc) { in pubimbue()
52 template <class _CharT, class _Traits>
54 basic_streambuf<_CharT, _Traits>::xsgetn(_CharT* __s, streamsize __n) { in xsgetn()
56 const int_type __eof = _Traits::eof(); in xsgetn()
62 _Traits::copy(__s, _M_gnext, __chunk); in xsgetn()
[all …]
D_ctraits_fns.h32 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, in operator()
38 const typename _Traits::char_type& __y) const in operator()
39 { return _Traits::eq(__x, __y); } in operator()
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) {} in _Eq_char_bound()
[all …]
D_istream.c39 # 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()) || in operator()
77 template <class _Traits>
79 typedef typename _Traits::char_type char_type;
[all …]
D_ostream.h38 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 …]
D_ostream.c36 template <class _CharT, class _Traits>
37 basic_ostream<_CharT, _Traits>::basic_ostream(basic_streambuf<_CharT, _Traits>* __buf) in basic_ostream()
38 : basic_ios<_CharT, _Traits>() { in basic_ostream()
42 template <class _CharT, class _Traits>
43 basic_ostream<_CharT, _Traits>::~basic_ostream() in ~basic_ostream()
47 template <class _CharT, class _Traits>
48 basic_ostream<_CharT, _Traits>&
49 basic_ostream<_CharT, _Traits>::operator<<(basic_streambuf<_CharT, _Traits>* __from) {
71 template <class _CharT, class _Traits>
72 bool basic_ostream<_CharT, _Traits>
[all …]
D_istream.h43 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);
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;
76 typedef typename _Traits::pos_type pos_type;
[all …]
D_sstream.h54 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());} in pbackfail()
[all …]
D_istreambuf_iterator.h37 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;
64 inline istreambuf_iterator(basic_istream<_CharT, _Traits>& __is);
[all …]
D_string_io.c14 template <class _CharT, class _Traits>
16 __stlp_string_fill(basic_ostream<_CharT, _Traits>& __os, in __stlp_string_fill()
17 basic_streambuf<_CharT, _Traits>* __buf, in __stlp_string_fill()
21 if (_Traits::eq_int_type(__buf->sputc(__f), _Traits::eof())) in __stlp_string_fill()
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;
33 typedef typename basic_string<_CharT, _Traits, _Alloc>::size_type size_type;
[all …]
D_sstream.c31 # define __BSB_int_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_stringbuf<_CharT, _Traits, _Alloc>::…
32 # define __BSB_pos_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_stringbuf<_CharT, _Traits, _Alloc>::…
43 template <class _CharT, class _Traits, class _Alloc>
44 basic_stringbuf<_CharT, _Traits, _Alloc>
46 : basic_streambuf<_CharT, _Traits>(), _M_mode(__mode), _M_str() in basic_stringbuf()
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) in basic_stringbuf() argument
52 : basic_streambuf<_CharT, _Traits>(), _M_mode(__mode), _M_str(__s) in basic_stringbuf()
57 template <class _CharT, class _Traits, class _Alloc>
[all …]
D_fstream.h140 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 …]
D_string_io.h33 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 …]
D_string.c50 # 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; in operator()
73 template <class _InputIter, class _CharT, class _Traits>
76 _Traits*, const __true_type& /* _STLportTraits */) in __str_find_first_of_aux() argument
79 template <class _InputIter, class _CharT, class _Traits>
82 _Traits*, const __false_type& /* _STLportTraits */) in __str_find_first_of_aux() argument
83 { return __find_first_of(__first1, __last1, __first2, __last2, _STLP_PRIV _Eq_traits<_Traits>()); } in __str_find_first_of_aux()
[all …]
D_ios.c38 template <class _CharT, class _Traits>
39 basic_ios<_CharT, _Traits>
40 ::basic_ios(basic_streambuf<_CharT, _Traits>* __streambuf) in basic_ios()
43 basic_ios<_CharT, _Traits>::init(__streambuf); in basic_ios()
46 template <class _CharT, class _Traits>
47 basic_streambuf<_CharT, _Traits>*
48 basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<_CharT, _Traits>* __buf) { in rdbuf()
49 basic_streambuf<_CharT, _Traits>* __tmp = _M_streambuf; in rdbuf()
55 template <class _CharT, class _Traits>
56 basic_ios<_CharT, _Traits>&
[all …]
D_fstream.c37 # 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() in basic_filebuf()
48 : basic_streambuf<_CharT, _Traits>(), _M_base(), in basic_filebuf()
66 template <class _CharT, class _Traits>
67 basic_filebuf<_CharT, _Traits>::~basic_filebuf() { in ~basic_filebuf()
73 template <class _CharT, class _Traits>
74 _STLP_TYPENAME_ON_RETURN_TYPE basic_filebuf<_CharT, _Traits>::int_type
[all …]
D_ostreambuf_iterator.h34 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; }
68 ostreambuf_iterator<_CharT, _Traits>& operator++() { return *this; }
[all …]
D_ios.h47 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 { in tie()
65 basic_ostream<_CharT, _Traits>*
72 basic_streambuf<_CharT, _Traits>* rdbuf() const in rdbuf()
75 basic_streambuf<_CharT, _Traits>*
[all …]
D_iomanip.h70 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 …]
D_string_sum.h62 template <class _CharT, class _Traits, class _Alloc>
65 typedef basic_string<_CharT, _Traits, _Alloc> _BString;
83 template <class _CharT, class _Traits, class _Alloc,
88 typedef basic_string<_CharT, _Traits, _Alloc> _BString;
94 typedef __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection> _Self;
123 …typedef __bstr_sum<_CharT, _Traits, _Alloc, _Self, __bstr_wrapper<_CharT, _Traits, _Alloc>, __on_l…
126 typedef __bstr_sum<_CharT, _Traits, _Alloc, _Self, __cstr_wrapper<_CharT>, __on_left> _CStrOnLeft;
129 typedef __bstr_sum<_CharT, _Traits, _Alloc, _Self, __char_wrapper<_CharT>, __on_left> _CharOnLeft;
138 const size_type __n = _Traits::length(__s); in append()
258 …_BString& _M_get_storage(__bstr_sum<_CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir> const& __re… in _M_get_storage() argument
[all …]
D_streambuf.h47 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) in pubsetbuf()
199 return ((_M_pnext < _M_pend) ? _Traits::to_int_type(*_M_pnext++ = __c) in sputc()
[all …]
D_bitset.c177 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)) {
196 typename _Traits::char_type __c2 = _Traits::to_char_type(__c1);
[all …]
D_hashtable.c116 # define __iterator__ _Ht_iterator<_Val, _STLP_HEADER_TYPENAME _Traits::_NonConstTraits, \
118 # define __const_iterator__ _Ht_iterator<_Val, _STLP_HEADER_TYPENAME _Traits::_ConstTraits, \
121 # define __size_type__ _STLP_TYPENAME_ON_RETURN_TYPE hashtable<_Val, _Key, _HF, _Traits, _Ex…
122 # define __reference__ _STLP_TYPENAME_ON_RETURN_TYPE hashtable<_Val, _Key, _HF, _Traits, _E…
123 # define __iterator__ _STLP_TYPENAME_ON_RETURN_TYPE hashtable<_Val, _Key, _HF, _Traits, _Ex…
124 # define __const_iterator__ _STLP_TYPENAME_ON_RETURN_TYPE hashtable<_Val, _Key, _HF, _Traits, _Ex…
145 class _Traits, class _ExK, class _EqK, class _All>
147 hashtable<_Val,_Key,_HF,_Traits,_ExK,_EqK,_All>
153 class _Traits, class _ExK, class _EqK, class _All>
155 hashtable<_Val,_Key,_HF,_Traits,_ExK,_EqK,_All>
[all …]
D_iosfwd.h29 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 …]
D_stream_iterator.h65 # 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; typedef
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; typedef
168 typedef ostream_iterator<_TpP, _CharT, _Traits> _Self;
172 typedef _Traits traits_type;
[all …]

123