Searched refs:_Traits (Results 1 - 25 of 58) sorted by relevance

123

/external/stlport/stlport/stl/
H A 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,
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
[all...]
H A 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, clas
[all...]
H A D_streambuf.c30 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
[all...]
H A 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>
[all...]
H A 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
[all...]
H A D_ios.c38 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...]
H A 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);
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
[all...]
H A 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
[all...]
H A 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
[all...]
H A 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_typ
[all...]
H A D_string_io.c14 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> variable
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> __ostrea
33 typedef typename basic_string<_CharT, _Traits, _Alloc>::size_type size_type; typedef
67 template <class _CharT, class _Traits, class _Alloc> variable
72 typedef typename basic_string<_CharT, _Traits, _Alloc>::size_type size_type; typedef
131 template <class _CharT, class _Traits, class _Alloc> variable
137 typedef typename basic_string<_CharT, _Traits, _Alloc>::size_type size_type; typedef
[all...]
H A 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
[all...]
H A D_ostream.c36 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>* __fro
192 template <class _CharT, class _Traits, class _Number> variable
[all...]
H A D_ios.h43 // 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>* rdbu
[all...]
H A 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()) ||
77 template <class _Traits>
79 typedef typename _Traits
[all...]
H A D_sstream.c31 # 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> variable
44 basic_stringbuf<_CharT, _Traits, _Alloc> variable
46 : basic_streambuf<_CharT, _Traits>(), _M_mode(__mode), _M_str()
49 template <class _CharT, class _Traits, class _Alloc> variable
50 basic_stringbuf<_CharT, _Traits, _Alloc> variable
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, clas variable
58 basic_stringbuf<_CharT, _Traits, _Alloc>::~basic_stringbuf() variable
62 template <class _CharT, class _Traits, class _Alloc> variable
64 basic_stringbuf<_CharT, _Traits, _Alloc>::str(const basic_string<_CharT, _Traits, _Alloc>& __s) variable
70 template <class _CharT, class _Traits, class _Alloc> variable
72 basic_stringbuf<_CharT, _Traits, _Alloc>::_M_set_ptrs() variable
94 template <class _CharT, class _Traits, class _Alloc> variable
96 basic_stringbuf<_CharT, _Traits, _Alloc>::underflow() { variable
103 template <class _CharT, class _Traits, class _Alloc> variable
105 basic_stringbuf<_CharT, _Traits, _Alloc>::uflow() { variable
115 template <class _CharT, class _Traits, class _Alloc> variable
117 basic_stringbuf<_CharT, _Traits, _Alloc>::pbackfail(int_type __c) { variable
141 template <class _CharT, class _Traits, class _Alloc> variable
142 __BSB_int_type__ basic_stringbuf<_CharT, _Traits, _Alloc>::overflow(int_type __c) variable
168 template <class _CharT, class _Traits, class _Alloc> variable
170 basic_stringbuf<_CharT, _Traits, _Alloc>::xsputn(const char_type* __s, variable
211 template <class _CharT, class _Traits, class _Alloc> variable
213 basic_stringbuf<_CharT, _Traits, _Alloc>::_M_xsputnc(char_type __c, variable
260 template <class _CharT, class _Traits, class _Alloc> variable
262 basic_stringbuf<_CharT, _Traits, _Alloc>::setbuf(_CharT*, streamsize __n) { variable
297 template <class _CharT, class _Traits, class _Alloc> variable
299 basic_stringbuf<_CharT, _Traits, _Alloc> variable
355 template <class _CharT, class _Traits, class _Alloc> variable
357 basic_stringbuf<_CharT, _Traits, _Alloc> variable
392 template <class _CharT, class _Traits, class _Alloc> variable
393 basic_istringstream<_CharT, _Traits, _Alloc> variable
400 template <class _CharT, class _Traits, class _Alloc> variable
401 basic_istringstream<_CharT, _Traits, _Alloc> variable
408 template <class _CharT, class _Traits, class _Alloc> variable
409 basic_istringstream<_CharT, _Traits, _Alloc>::~basic_istringstream() variable
415 template <class _CharT, class _Traits, class _Alloc> variable
416 basic_ostringstream<_CharT, _Traits, _Alloc> variable
423 template <class _CharT, class _Traits, class _Alloc> variable
424 basic_ostringstream<_CharT, _Traits, _Alloc> variable
431 template <class _CharT, class _Traits, class _Alloc> variable
432 basic_ostringstream<_CharT, _Traits, _Alloc>::~basic_ostringstream() variable
438 template <class _CharT, class _Traits, class _Alloc> variable
439 basic_stringstream<_CharT, _Traits, _Alloc> variable
445 template <class _CharT, class _Traits, class _Alloc> variable
446 basic_stringstream<_CharT, _Traits, _Alloc> variable
452 template <class _CharT, class _Traits, class _Alloc> variable
453 basic_stringstream<_CharT, _Traits, _Alloc>::~basic_stringstream() variable
[all...]
H A 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;
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>()); }
157 template <class _CharT, class _Traits, class _Alloc> variable
158 void basic_string<_CharT,_Traits,_Alloc>::reserve(size_type __res_arg) { variable
169 template <class _CharT, class _Traits, class _Alloc> variable
170 void basic_string<_CharT,_Traits,_Alloc>::_M_reserve(size_type __n) { variable
178 template <class _CharT, class _Traits, class _Alloc> variable
179 basic_string<_CharT,_Traits,_Alloc>& variable
180 basic_string<_CharT,_Traits,_Alloc>::append(size_type __n, _CharT __c) { variable
194 template <class _CharT, class _Traits, class _Alloc> variable
195 basic_string<_CharT, _Traits, _Alloc>& variable
196 basic_string<_CharT, _Traits, _Alloc>::_M_append(const _CharT* __first, const _CharT* __last) { variable
220 template <class _CharT, class _Traits, class _Alloc> variable
221 basic_string<_CharT,_Traits,_Alloc>& variable
222 basic_string<_CharT,_Traits,_Alloc>::assign(size_type __n, _CharT __c) { variable
240 template <class _CharT, class _Traits, class _Alloc> variable
241 basic_string<_CharT,_Traits,_Alloc>& variable
242 basic_string<_CharT,_Traits,_Alloc>::_M_assign(const _CharT* __f, const _CharT* __l) { variable
255 template <class _CharT, class _Traits, class _Alloc> variable
256 _CharT* basic_string<_CharT,_Traits,_Alloc> ::_M_insert_aux(_CharT* __p, variable
279 template <class _CharT, class _Traits, class _Alloc> variable
280 void basic_string<_CharT,_Traits,_Alloc>::insert(iterator __pos, variable
313 template <class _CharT, class _Traits, class _Alloc> variable
314 void basic_string<_CharT,_Traits,_Alloc>::_M_insert(iterator __pos, variable
370 template <class _CharT, class _Traits, class _Alloc> variable
371 basic_string<_CharT,_Traits,_Alloc>& variable
372 basic_string<_CharT,_Traits,_Alloc> ::replace(iterator __first, iterator __last, variable
387 template <class _CharT, class _Traits, class _Alloc> variable
388 basic_string<_CharT,_Traits,_Alloc>& variable
389 basic_string<_CharT,_Traits,_Alloc> ::_M_replace(iterator __first, iterator __last, variable
419 template <class _CharT, class _Traits, class _Alloc> variable
420 __size_type__ basic_string<_CharT,_Traits,_Alloc>::find( const _CharT* __s, size_type __pos, variable
437 template <class _CharT, class _Traits, class _Alloc> variable
438 __size_type__ basic_string<_CharT,_Traits,_Alloc>::find(_CharT __c, size_type __pos) const variable
450 template <class _CharT, class _Traits, class _Alloc> variable
451 __size_type__ basic_string<_CharT,_Traits,_Alloc>::rfind(const _CharT* __s, size_type __pos, variable
467 template <class _CharT, class _Traits, class _Alloc> variable
468 __size_type__ basic_string<_CharT,_Traits,_Alloc>::rfind(_CharT __c, size_type __pos) const variable
481 template <class _CharT, class _Traits, class _Alloc> __size_type__ variable
482 basic_string<_CharT,_Traits,_Alloc> ::find_first_of(const _CharT* __s, size_type __pos, variable
494 template <class _CharT, class _Traits, class _Alloc> variable
496 basic_string<_CharT,_Traits,_Alloc> ::find_last_of(const _CharT* __s, size_type __pos, variable
512 template <class _CharT, class _Traits, class _Alloc> __size_type__ variable
513 basic_string<_CharT,_Traits,_Alloc> ::find_first_not_of(const _CharT* __s, size_type __pos, variable
527 template <class _CharT, class _Traits, class _Alloc> __size_type__ variable
528 basic_string<_CharT,_Traits,_Alloc> ::find_first_not_of(_CharT __c, size_type __pos) const { variable
538 template <class _CharT, class _Traits, class _Alloc> variable
540 basic_string<_CharT,_Traits,_Alloc>::find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const variable
557 template <class _CharT, class _Traits, class _Alloc> variable
559 basic_string<_CharT, _Traits, _Alloc>::find_last_not_of(_CharT __c, size_type __pos) const variable
577 template <class _CharT, class _Traits, class _Alloc> variable
630 template <class _CharT, class _Traits, class _Alloc> variable
631 basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT* __s) variable
638 template <class _CharT, class _Traits, class _Alloc> variable
639 basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT* __s, variable
646 template <class _CharT, class _Traits, class _Alloc> variable
647 basic_string<_CharT, _Traits, _Alloc>::basic_string(const basic_string<_CharT, _Traits, _Alloc> & __s) variable
657 template <class _CharT, class _Traits, class _Alloc> variable
658 const size_t basic_string<_CharT, _Traits, _Alloc>::npos; variable
[all...]
H A 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...]
H A 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()
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>
[all...]
H A D_string_hash.h32 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
H A D_streambuf.h43 // 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>* pubsetbu
[all...]
H A D_string_fwd.h30 class _Traits = char_traits<_CharT>,
35 class _Traits,
/external/clang/test/CXX/except/except.spec/
H A Dcanonical.cpp17 template<class, class _Traits, class _Allocator>
21 typedef typename _Traits::char_type value_type;
47 template<class T, class _Traits, class _Allocator>
48 basic_string<T, _Traits, _Allocator>::basic_string() noexcept(__is_nothrow_constructible<allocator_type>::value) {}
/external/clang/test/Parser/
H A Dcxx-member-crash.cpp9 template<typename _CharT, typename _Traits = char_traits<_CharT> > class basic_ios;
10 template<typename _CharT, typename _Traits = char_traits<_CharT> > class ostreambuf_iterator;
12 template<typename _CharT, typename _Traits> class basic_ostream : virtual public basic_ios<_CharT, _Traits> {
/external/clang/test/SemaCXX/
H A DPR9461.cpp24 template<typename _CharT,typename _Traits,typename _Alloc>
25 basic_string<_CharT,_Traits,_Alloc>::basic_string(const _CharT*,const _Alloc&)

Completed in 1367 milliseconds

123