Home
last modified time | relevance | path

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

123

/ndk/sources/cxx-stl/stlport/stlport/stl/
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_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_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_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_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_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_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_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.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_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_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_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_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_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_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_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_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 …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Diomanip64 template <class _CharT, class _Traits>
67 basic_istream<_CharT, _Traits>&
68 operator>>(basic_istream<_CharT, _Traits>& __is, const __iom_t1& __x)
74 template <class _CharT, class _Traits>
77 basic_ostream<_CharT, _Traits>&
78 operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t1& __x)
101 template <class _CharT, class _Traits>
104 basic_istream<_CharT, _Traits>&
105 operator>>(basic_istream<_CharT, _Traits>& __is, const __iom_t2& __x)
111 template <class _CharT, class _Traits>
[all …]
Dostream143 template <class _CharT, class _Traits>
145 : virtual public basic_ios<_CharT, _Traits>
150 typedef _Traits traits_type;
213 template <class _CharT, class _Traits>
214 class _LIBCPP_TYPE_VIS_ONLY basic_ostream<_CharT, _Traits>::sentry
217 basic_ostream<_CharT, _Traits>& __os_;
223 explicit sentry(basic_ostream<_CharT, _Traits>& __os);
231 template <class _CharT, class _Traits>
232 basic_ostream<_CharT, _Traits>::sentry::sentry(basic_ostream<_CharT, _Traits>& __os)
244 template <class _CharT, class _Traits>
[all …]
Dstreambuf121 template <class _CharT, class _Traits>
127 typedef _Traits traits_type;
217 template <class _CharT, class _Traits>
218 basic_streambuf<_CharT, _Traits>::~basic_streambuf()
222 template <class _CharT, class _Traits>
225 basic_streambuf<_CharT, _Traits>::pubimbue(const locale& __loc)
233 template <class _CharT, class _Traits>
236 basic_streambuf<_CharT, _Traits>::getloc() const
241 template <class _CharT, class _Traits>
243 basic_streambuf<_CharT, _Traits>*
[all …]
Distream166 template <class _CharT, class _Traits>
168 : virtual public basic_ios<_CharT, _Traits>
174 typedef _Traits traits_type;
246 template <class _CharT, class _Traits>
247 class _LIBCPP_TYPE_VIS_ONLY basic_istream<_CharT, _Traits>::sentry
255 explicit sentry(basic_istream<_CharT, _Traits>& __is, bool __noskipws = false);
263 template <class _CharT, class _Traits>
264 basic_istream<_CharT, _Traits>::sentry::sentry(basic_istream<_CharT, _Traits>& __is,
274 typedef istreambuf_iterator<_CharT, _Traits> _Ip;
290 template <class _CharT, class _Traits>
[all …]
Dsstream188 template <class _CharT, class _Traits, class _Allocator>
190 : public basic_streambuf<_CharT, _Traits>
194 typedef _Traits traits_type;
238 template <class _CharT, class _Traits, class _Allocator>
240 basic_stringbuf<_CharT, _Traits, _Allocator>::basic_stringbuf(ios_base::openmode __wch)
247 template <class _CharT, class _Traits, class _Allocator>
249 basic_stringbuf<_CharT, _Traits, _Allocator>::basic_stringbuf(const string_type& __s,
259 template <class _CharT, class _Traits, class _Allocator>
260 basic_stringbuf<_CharT, _Traits, _Allocator>::basic_stringbuf(basic_stringbuf&& __rhs)
300 template <class _CharT, class _Traits, class _Allocator>
[all …]
Dfstream182 template <class _CharT, class _Traits>
184 : public basic_streambuf<_CharT, _Traits>
188 typedef _Traits traits_type;
248 template <class _CharT, class _Traits>
249 basic_filebuf<_CharT, _Traits>::basic_filebuf()
276 template <class _CharT, class _Traits>
277 basic_filebuf<_CharT, _Traits>::basic_filebuf(basic_filebuf&& __rhs)
278 : basic_streambuf<_CharT, _Traits>(__rhs)
340 template <class _CharT, class _Traits>
342 basic_filebuf<_CharT, _Traits>&
[all …]

123