Home
last modified time | relevance | path

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

1234567891011

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/
Dmin_allocator.h33 explicit operator bool() const {return ptr_ != nullptr;}
35 friend bool operator==(min_pointer x, min_pointer y) {return x.ptr_ == y.ptr_;}
36 friend bool operator!=(min_pointer x, min_pointer y) {return !(x == y);}
55 explicit operator bool() const {return ptr_ != nullptr;}
57 friend bool operator==(min_pointer x, min_pointer y) {return x.ptr_ == y.ptr_;}
58 friend bool operator!=(min_pointer x, min_pointer y) {return !(x == y);}
73 explicit operator bool() const {return ptr_ != nullptr;}
81 reference operator*() const {return *ptr_;}
82 pointer operator->() const {return ptr_;}
84 min_pointer& operator++() {++ptr_; return *this;}
[all …]
Dtest_iterators.h35 reference operator*() const {return *it_;}
37 output_iterator& operator++() {++it_; return *this;}
38 output_iterator operator++(int)
62 reference operator*() const {return *it_;}
63 pointer operator->() const {return it_;}
65 input_iterator& operator++() {++it_; return *this;}
66 input_iterator operator++(int)
69 friend bool operator==(const input_iterator& x, const input_iterator& y)
71 friend bool operator!=(const input_iterator& x, const input_iterator& y)
78 operator==(const input_iterator<T>& x, const input_iterator<U>& y)
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/
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.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_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_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_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_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 …]
/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 …]
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest-message.h55 void operator<<(const testing::internal::Secret&, int);
108 inline Message& operator <<(const T& value) {
115 inline Message& operator <<(const T& val) {
130 using ::operator <<;
149 inline Message& operator <<(T* const& pointer) { // NOLINT
165 Message& operator <<(BasicNarrowIoManip val) {
171 Message& operator <<(bool b) {
177 Message& operator <<(const wchar_t* wide_c_str);
178 Message& operator <<(wchar_t* wide_c_str);
183 Message& operator <<(const ::std::wstring& wstr);
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dnew26 bad_alloc& operator=(const bad_alloc&) noexcept;
50 void* operator new(std::size_t size); // replaceable
51 void* operator new(std::size_t size, const std::nothrow_t&) noexcept; // replaceable
52 void operator delete(void* ptr) noexcept; // replaceable
53 void operator delete(void* ptr, const std::nothrow_t&) noexcept; // replaceable
55 void* operator new[](std::size_t size); // replaceable
56 void* operator new[](std::size_t size, const std::nothrow_t&) noexcept; // replaceable
57 void operator delete[](void* ptr) noexcept; // replaceable
58 void operator delete[](void* ptr, const std::nothrow_t&) noexcept; // replaceable
60 void* operator new (std::size_t size, void* ptr) noexcept;
[all …]
Dtypeindex26 bool operator==(const type_index& rhs) const noexcept;
27 bool operator!=(const type_index& rhs) const noexcept;
28 bool operator< (const type_index& rhs) const noexcept;
29 bool operator<=(const type_index& rhs) const noexcept;
30 bool operator> (const type_index& rhs) const noexcept;
31 bool operator>=(const type_index& rhs) const noexcept;
41 size_t operator()(type_index index) const noexcept;
66 bool operator==(const type_index& __y) const _NOEXCEPT
69 bool operator!=(const type_index& __y) const _NOEXCEPT
72 bool operator< (const type_index& __y) const _NOEXCEPT
[all …]
Diterator96 reference operator*() const;
97 pointer operator->() const;
98 reverse_iterator& operator++();
99 reverse_iterator operator++(int);
100 reverse_iterator& operator--();
101 reverse_iterator operator--(int);
102 reverse_iterator operator+ (difference_type n) const;
103 reverse_iterator& operator+=(difference_type n);
104 reverse_iterator operator- (difference_type n) const;
105 reverse_iterator& operator-=(difference_type n);
[all …]
Dvalarray41 valarray& operator=(const valarray& v);
42 valarray& operator=(valarray&& v) noexcept;
43 valarray& operator=(initializer_list<value_type> il);
44 valarray& operator=(const value_type& x);
45 valarray& operator=(const slice_array<value_type>& sa);
46 valarray& operator=(const gslice_array<value_type>& ga);
47 valarray& operator=(const mask_array<value_type>& ma);
48 valarray& operator=(const indirect_array<value_type>& ia);
51 const value_type& operator[](size_t i) const;
52 value_type& operator[](size_t i);
[all …]
Dostream35 basic_ostream& operator=(const basic_ostream& rhs) = delete; // C++14
36 basic_ostream& operator=(basic_ostream&& rhs);
43 basic_ostream& operator<<(basic_ostream& (*pf)(basic_ostream&));
44 basic_ostream& operator<<(basic_ios<charT, traits>& (*pf)(basic_ios<charT,traits>&));
45 basic_ostream& operator<<(ios_base& (*pf)(ios_base&));
46 basic_ostream& operator<<(bool n);
47 basic_ostream& operator<<(short n);
48 basic_ostream& operator<<(unsigned short n);
49 basic_ostream& operator<<(int n);
50 basic_ostream& operator<<(unsigned int n);
[all …]
Dchrono75 constexpr duration operator+() const;
76 constexpr duration operator-() const;
77 duration& operator++();
78 duration operator++(int);
79 duration& operator--();
80 duration operator--(int);
82 duration& operator+=(const duration& d);
83 duration& operator-=(const duration& d);
85 duration& operator*=(const rep& rhs);
86 duration& operator/=(const rep& rhs);
[all …]
Dcomplex36 complex<T>& operator= (const T&);
37 complex<T>& operator+=(const T&);
38 complex<T>& operator-=(const T&);
39 complex<T>& operator*=(const T&);
40 complex<T>& operator/=(const T&);
42 complex& operator=(const complex&);
43 template<class X> complex<T>& operator= (const complex<X>&);
44 template<class X> complex<T>& operator+=(const complex<X>&);
45 template<class X> complex<T>& operator-=(const complex<X>&);
46 template<class X> complex<T>& operator*=(const complex<X>&);
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/
Dinput_iterator.h29 reference operator*() const {return *it_;}
30 pointer operator->() const {return it_;}
32 input_iterator& operator++() {++it_; return *this;}
33 input_iterator operator++(int) {input_iterator tmp(*this); ++(*this); return tmp;}
35 friend bool operator==(const input_iterator& x, const input_iterator& y)
37 friend bool operator!=(const input_iterator& x, const input_iterator& y)
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/
Ddeleter.h29 Deleter& operator=(const Deleter&); variable
32 Deleter& operator=(Deleter&); variable
38 Deleter& operator=(Deleter&& r)
45 operator std::__rv<Deleter>() {return std::__rv<Deleter>(*this);}
47 Deleter& operator=(std::__rv<Deleter> r)
79 void operator()(T* p) {delete p;} in operator() function
89 Deleter& operator=(const Deleter&); variable
92 Deleter& operator=(Deleter&); variable
98 Deleter& operator=(Deleter&& r)
105 operator std::__rv<Deleter>() {return std::__rv<Deleter>(*this);}
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ext/
D__hash28 size_t operator()(const char *__c) const _NOEXCEPT
38 size_t operator()(char *__c) const _NOEXCEPT
48 size_t operator()(char __c) const _NOEXCEPT
58 size_t operator()(signed char __c) const _NOEXCEPT
68 size_t operator()(unsigned char __c) const _NOEXCEPT
78 size_t operator()(short __c) const _NOEXCEPT
88 size_t operator()(unsigned short __c) const _NOEXCEPT
98 size_t operator()(int __c) const _NOEXCEPT
108 size_t operator()(unsigned int __c) const _NOEXCEPT
118 size_t operator()(long __c) const _NOEXCEPT
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/
DMoveOnly.h21 MoveOnly& operator=(const MoveOnly&); variable
28 MoveOnly& operator=(MoveOnly&& x)
33 bool operator==(const MoveOnly& x) const {return data_ == x.data_;}
34 bool operator< (const MoveOnly& x) const {return data_ < x.data_;}
43 std::size_t operator()(const MoveOnly& x) const {return x.get();}
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/
DMoveOnly.h21 MoveOnly& operator=(const MoveOnly&); variable
28 MoveOnly& operator=(MoveOnly&& x)
33 bool operator==(const MoveOnly& x) const {return data_ == x.data_;}
34 bool operator< (const MoveOnly& x) const {return data_ < x.data_;}
43 std::size_t operator()(const MoveOnly& x) const {return x.get();}
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-linked_ptr.h153 template <typename U> linked_ptr& operator=(linked_ptr<U> const& ptr) {
159 linked_ptr& operator=(linked_ptr const& ptr) {
173 T* operator->() const { return value_; }
174 T& operator*() const { return *value_; }
176 bool operator==(T* p) const { return value_ == p; }
177 bool operator!=(T* p) const { return value_ != p; }
179 bool operator==(linked_ptr<U> const& ptr) const {
183 bool operator!=(linked_ptr<U> const& ptr) const {
213 bool operator==(T* ptr, const linked_ptr<T>& x) {
218 bool operator!=(T* ptr, const linked_ptr<T>& x) {

1234567891011