Home
last modified time | relevance | path

Searched refs:operator (Results 1 – 25 of 130) sorted by relevance

123456

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_iterator.h66 _Self& operator = (const _Self& __x) { current = __x.base(); return *this; }
71 _Self& operator = (const reverse_iterator<_Iter>& __x) { current = __x.base(); return *this; }
75 reference operator*() const {
80 _Self& operator++() {
84 _Self operator++(int) {
89 _Self& operator--() {
93 _Self operator--(int) {
99 _Self operator+(difference_type __n) const { return _Self(current - __n); }
100 _Self& operator+=(difference_type __n) {
104 _Self operator-(difference_type __n) const { return _Self(current + __n); }
[all …]
D_ostream.h59 _Self& operator = (_Self const&); variable
78 _Self& operator<< (__ostream_fn __f) { return __f(*this); }
79 _Self & operator<< (__ios_base_fn __f) { __f(*this); return *this; }
80 _Self& operator<< (__ios_fn __ff) { __ff(*this); return *this; }
101 _Self& operator<<(basic_streambuf<_CharT, _Traits>* __buf);
104 _Self& operator<<(unsigned char __x) { _M_put_char(__x); return *this; }
106 _Self& operator<<(short __x);
107 _Self& operator<<(unsigned short __x);
108 _Self& operator<<(int __x);
110 _Self& operator<<(unsigned int __x);
[all …]
D_complex.h49 _Self& operator=(const _Self& __z) {
61 _Self& operator=(const complex<_Tp2>& __z) {
74 _Self& operator= (const value_type& __x) {
79 _Self& operator+= (const value_type& __x) {
83 _Self& operator-= (const value_type& __x) {
87 _Self& operator*= (const value_type& __x) {
92 _Self& operator/= (const value_type& __x) {
110 template <class _Tp2> _Self& operator+= (const complex<_Tp2>& __z) {
116 template <class _Tp2> _Self& operator-= (const complex<_Tp2>& __z) {
122 template <class _Tp2> _Self& operator*= (const complex<_Tp2>& __z) {
[all …]
D_hash_fun.h57 size_t operator()(const char* __s) const {
65 size_t operator()(const char* __s) const {
72 size_t operator()(char __x) const { return __x; }
75 size_t operator()(unsigned char __x) const { return __x; }
79 size_t operator()(unsigned char __x) const { return __x; }
83 size_t operator()(short __x) const { return __x; }
86 size_t operator()(unsigned short __x) const { return __x; }
89 size_t operator()(int __x) const { return __x; }
94 size_t operator()(unsigned int __x) const { return __x; }
104 size_t operator()(size_t __x) const { return __x; }
[all …]
D_iterator_old.h85 _Reference operator*() const {
92 _Self& operator++() {
96 _Self operator++(int) {
101 _Self& operator--() {
105 _Self operator--(int) {
132 inline bool _STLP_CALL operator==(
142 inline bool _STLP_CALL operator!=(
178 _Self& operator=(const _Self& __x) {__current = __x.base(); return *this; }
181 _Reference operator*() const { return *(__current - (difference_type)1); }
185 _Self& operator++() {
[all …]
D_istream.h69 _Self& operator = (_Self const&); variable
96 _Self& operator>> (__istream_fn __f) { return __f(*this); }
97 _Self& operator>> (__ios_fn __f) { __f(*this); return *this; }
98 _Self& operator>> (__ios_base_fn __f) { __f(*this); return *this; }
101 _Self& operator>> (short& __val);
102 _Self& operator>> (int& __val);
103 _Self& operator>> (unsigned short& __val);
104 _Self& operator>> (unsigned int& __val);
105 _Self& operator>> (long& __val);
106 _Self& operator>> (unsigned long& __val);
[all …]
D_valarray.h136 valarray<_Tp>& operator=(const valarray<_Tp>& __x) {
144 valarray<_Tp>& operator=(const value_type& __x) {
150 valarray<_Tp>& operator=(const slice_array<_Tp>&); variable
151 valarray<_Tp>& operator=(const gslice_array<_Tp>&); variable
152 valarray<_Tp>& operator=(const mask_array<_Tp>&); variable
153 valarray<_Tp>& operator=(const indirect_array<_Tp>&); variable
156 value_type operator[](size_t __n) const {
160 value_type& operator[](size_t __n) {
167 valarray<_Tp> operator[](slice) const;
168 slice_array<_Tp> operator[](slice);
[all …]
D_string_operators.h29 operator+(const basic_string<_CharT,_Traits,_Alloc>& __s,
46 operator+(const _CharT* __s,
64 operator+(_CharT __c,
80 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x,
98 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x,
125 operator+(const basic_string<_CharT,_Traits,_Alloc>& __lhs,
141 operator+(const basic_string<_CharT,_Traits,_Alloc>& __lhs,
153 operator+(const _STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir>& __lhs,
169 operator+(const basic_string<_CharT,_Traits,_Alloc>& __x,
188 operator+(const _CharT* __s,
[all …]
D_ptrs_specialize.h7 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
20 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(*(*this)); }
22 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { reference x = operator*(); r…
24 # define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
D_function_base.h66 bool operator()(const _Tp& __x, const _Tp& __y) const { return __x == __y; } in operator() function
79 bool operator()(const _Tp& __x, const _Tp& __y) const { return __x < __y; } in operator() function
115 _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x + __y; }
120 _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x - __y; }
135 _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x * __y; }
142 const typename _Pair::first_type& operator()(const _Pair& __x) const {
149 const typename _Pair::second_type& operator()(const _Pair& __x) const {
157 _Arg1 operator()(const _Arg1& __x, const _Arg2&) const { return __x; }
162 _Arg2 operator()(const _Arg1&, const _Arg2& __y) const { return __y; }
170 const _Whatever& operator () (const _Pair& __x) const { return __x.first; }
[all …]
D_auto_ptr.h44 _Self& operator = (_Self const&); variable
74 _Tp* operator->() const _STLP_NOTHROW {
79 _Tp& operator*() const _STLP_NOTHROW {
93 template<class _Tp1> auto_ptr<_Tp>& operator=(auto_ptr<_Tp1>& __r) _STLP_NOTHROW {
102 _Self& operator=(_Self& __r) _STLP_NOTHROW {
112 _Self& operator=(auto_ptr_ref<_Tp> __r) _STLP_NOTHROW {
118 template<class _Tp1> operator auto_ptr_ref<_Tp1>() _STLP_NOTHROW
120 template<class _Tp1> operator auto_ptr<_Tp1>() _STLP_NOTHROW
123 operator auto_ptr_ref<_Tp>() _STLP_NOTHROW
D_locale.h95 void operator=(const facet&); variable
143 const locale& operator=(const locale&) _STLP_NOTHROW; variable
166 bool operator==(const locale&) const;
167 bool operator!=(const locale&) const;
170 bool operator()(const string& __x, const string& __y) const;
172 bool operator()(const wstring& __x, const wstring& __y) const;
176 bool operator()(const basic_string<_CharT, _Traits, _Alloc>& __x, in operator() function
246 const locale& operator=(const locale& __loc) _STLP_NOTHROW {
247 _Locale::operator=(__loc);
261 bool operator==(const locale& __loc) const { return _Locale::operator==(__loc); }
[all …]
D_function_adaptors.h71 _Result operator ()(_Tp* __p) const { return (__p->*_M_f)(); } in operator() function
84 _Result operator ()(_Tp* __p, _Arg __x) const { return (__p->*_M_f)(__x); } in operator() function
97 _Result operator ()(const _Tp* __p) const { return (__p->*_M_f)(); } in operator() function
110 _Result operator ()(const _Tp* __p, _Arg __x) const { in operator() function
124 _Result operator ()(_Tp& __p) const { return (__p.*_M_f)(); } in operator() function
137 _Result operator ()(_Tp& __p, _Arg __x) const { return (__p.*_M_f)(__x); } in operator() function
150 _Result operator ()(const _Tp& __p) const { return (__p.*_M_f)(); } in operator() function
163 _Result operator ()(const _Tp& __p, _Arg __x) const { return (__p.*_M_f)(__x); } in operator() function
195 _Result operator()(_Arg __x) const { return _M_f(__x); } in operator() function
208 _Result operator()(_Arg1 __x, _Arg2 __y) const { return _M_f(__x, __y); } in operator() function
[all …]
D_rope.h124 rope<_CharT,_Alloc> operator() (const rope<_CharT,_Alloc>& __x,
161 virtual void operator()(size_t __start_pos, size_t __len,
234 _Self& operator= (_Self& __x) {
240 _Self& operator= (const _Self& __x) {
279 _Self& operator=(const value_type& __rhs) {
283 _Self& operator*() { return *this; }
284 _Self& operator++() { return *this; }
285 _Self& operator++(int) { return *this; }
296 virtual bool operator()(const _CharT* __buffer, size_t __len) = 0;
570 /* virtual */ void operator()(size_t __start_pos, size_t __req_len,
[all …]
D_bitset.h382 reference& operator=(bool __x) {
392 reference& operator=(const reference& __j) {
402 bool operator~() const { return (*(_M_wp) & _Bitset_base::_S_maskbit(_M_bpos)) == 0; }
405 operator bool() const { return (*(_M_wp) & _Bitset_base::_S_maskbit(_M_bpos)) != 0; }
450 bitset<_Nb>& operator&=(const bitset<_Nb>& __rhs) {
455 bitset<_Nb>& operator|=(const bitset<_Nb>& __rhs) {
460 bitset<_Nb>& operator^=(const bitset<_Nb>& __rhs) {
465 bitset<_Nb>& operator<<=(size_t __pos) {
471 bitset<_Nb>& operator>>=(size_t __pos) {
555 bitset<_Nb> operator~() const {
[all …]
D_function.h45 bool operator()(const _Tp& __x, const _Tp& __y) const { return __x != __y; } in operator() function
50 bool operator()(const _Tp& __x, const _Tp& __y) const { return __x > __y; } in operator() function
55 bool operator()(const _Tp& __x, const _Tp& __y) const { return __x >= __y; } in operator() function
60 bool operator()(const _Tp& __x, const _Tp& __y) const { return __x <= __y; } in operator() function
65 _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x / __y; } in operator() function
70 _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x % __y; } in operator() function
75 _Tp operator()(const _Tp& __x) const { return -__x; } in operator() function
80 bool operator()(const _Tp& __x, const _Tp& __y) const { return __x && __y; } in operator() function
85 bool operator()(const _Tp& __x, const _Tp& __y) const { return __x || __y; } in operator() function
90 bool operator()(const _Tp& __x) const { return !__x; } in operator() function
[all …]
D_stream_iterator.h111 reference operator*() const {
120 _Self& operator++() {
124 _Self operator++(int) {
180 _Self& operator=(const _TpP& __val) {
185 _Self& operator*() { return *this; }
186 _Self& operator++() { return *this; }
187 _Self& operator++(int) { return *this; }
212 operator==(const istream_iterator< __ISI_TMPL_ARGUMENTS >& __x,
219 operator!=(const istream_iterator< __ISI_TMPL_ARGUMENTS >& __x,
D_pair.h81 inline bool _STLP_CALL operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
85 inline bool _STLP_CALL operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
92 inline bool _STLP_CALL operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
96 inline bool _STLP_CALL operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
100 inline bool _STLP_CALL operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
104 inline bool _STLP_CALL operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
137 inline bool _STLP_CALL operator!=(const _Tp& __x, const _Tp& __y)
141 inline bool _STLP_CALL operator>(const _Tp& __x, const _Tp& __y)
145 inline bool _STLP_CALL operator<=(const _Tp& __x, const _Tp& __y)
149 inline bool _STLP_CALL operator>=(const _Tp& __x, const _Tp& __y)
D_iomanip.h41 void operator()(ios_base& __ios) const in operator() function
60 void operator()(ios_base& __ios) const { in operator() function
72 operator>>(basic_istream<_CharT, _Traits>& __istr,
80 operator<<(basic_ostream<_CharT, _Traits>& __os,
88 operator>>(basic_istream<_CharT, _Traits>& __istr,
96 operator<<(basic_ostream<_CharT, _Traits>& __os,
145 operator<<(basic_ostream<_CharT, _Traits>& __os,
153 operator>>(basic_istream<_CharT, _Traits>& __is,
/ndk/sources/cxx-stl/system/include/
Dnew14 void* operator new(std::size_t);
15 void* operator new[](std::size_t);
16 void operator delete(void*);
17 void operator delete[](void*);
18 void* operator new(std::size_t, const std::nothrow_t&);
19 void* operator new[](std::size_t, const std::nothrow_t&);
20 void operator delete(void*, const std::nothrow_t&);
21 void operator delete[](void*, const std::nothrow_t&);
23 inline void* operator new(std::size_t, void* p) { return p; }
24 inline void* operator new[](std::size_t, void* p) { return p; }
[all …]
Dstl_pair.h78 inline bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
84 inline bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
91 inline bool operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
96 inline bool operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
101 inline bool operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
106 inline bool operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
/ndk/sources/cxx-stl/gabi++/include/
Dnew43 void* operator new(std::size_t size) throw(/*std::bad_alloc*/);
44 void* operator new(std::size_t size, const std::nothrow_t&) throw();
45 void* operator new[](std::size_t size) throw(/*std::bad_alloc*/);
46 void* operator new[](std::size_t size, const std::nothrow_t&) throw();
48 void operator delete[](void* ptr) throw();
49 void operator delete[](void* const, std::nothrow_t&) throw();
50 void operator delete(void* ptr) throw();
51 void operator delete(void*, const std::nothrow_t&) throw();
53 inline void* operator new(std::size_t, void* p) throw() { return p; }
54 inline void* operator new[](std::size_t, void* p) throw() { return p; }
[all …]
Dstl_pair.h78 inline bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
84 inline bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
91 inline bool operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
96 inline bool operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
101 inline bool operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
106 inline bool operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_iterator.h175 ptrdiff_t operator-(const _DBG_iter_base<_Container>& __x,
236 _Self& operator=(const _Nonconst_mid& __rhs) {
241 _Self& operator=(const _Self& __rhs) {
246 reference operator*() const;
250 _Self& operator++() {
254 _Self operator++(int) {
259 _Self& operator--() {
263 _Self operator--(int) {
269 _Self& operator+=(difference_type __n) {
274 _Self& operator-=(difference_type __n) {
[all …]
/ndk/sources/cxx-stl/stlport/stlport/
Diostream.h58 istream_withassign& operator=(istream& __s) {
62 istream_withassign& operator=(streambuf* __s) {
73 ostream_withassign& operator=(ostream& __s) {
77 ostream_withassign& operator=(streambuf* __s) {
87 iostream_withassign & operator=(ios& __i) {
91 iostream_withassign & operator=(streambuf* __s) {

123456