Home
last modified time | relevance | path

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

12345678910>>...26

/frameworks/compile/mclinker/include/mcld/ADT/
DFlags.h26 operator unsigned int() const { return m_Data; }
28 bool operator!() const { return (m_Data == 0x0); }
30 Flags operator&(int pMask) const { return Flags(m_Data & pMask); }
32 Flags operator&(unsigned int pMask) const { return Flags(m_Data & pMask); }
34 Flags operator&(Enum pMask) const { return Flags(m_Data & pMask); }
36 Flags& operator&=(unsigned int pMask) {
41 Flags& operator=(Flags pOther) {
46 Flags operator^(Flags pOther) const { return Flags(m_Data ^ pOther.m_Data); }
48 Flags operator^(Enum pOther) const { return Flags(m_Data ^ pOther); }
50 Flags& operator^=(Flags pOther) {
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DConfigDescription.h89 ConfigDescription& operator=(const android::ResTable_config& o); member
90 ConfigDescription& operator=(const ConfigDescription& o); member
91 ConfigDescription& operator=(ConfigDescription&& o) noexcept; member
136 bool operator<(const ConfigDescription& o) const;
137 bool operator<=(const ConfigDescription& o) const;
138 bool operator==(const ConfigDescription& o) const;
139 bool operator!=(const ConfigDescription& o) const;
140 bool operator>=(const ConfigDescription& o) const;
141 bool operator>(const ConfigDescription& o) const;
162 inline ConfigDescription& ConfigDescription::operator=(
[all …]
DLocale.h65 inline bool operator<(const LocaleValue& o) const;
66 inline bool operator<=(const LocaleValue& o) const;
67 inline bool operator==(const LocaleValue& o) const;
68 inline bool operator!=(const LocaleValue& o) const;
69 inline bool operator>=(const LocaleValue& o) const;
70 inline bool operator>(const LocaleValue& o) const;
91 bool LocaleValue::operator<(const LocaleValue& o) const {
95 bool LocaleValue::operator<=(const LocaleValue& o) const {
99 bool LocaleValue::operator==(const LocaleValue& o) const {
103 bool LocaleValue::operator!=(const LocaleValue& o) const {
[all …]
DTypeWrappers.h30 iterator& operator=(const iterator& rhs) {
36 bool operator==(const iterator& rhs) const {
40 bool operator!=(const iterator& rhs) const {
44 iterator operator++(int) {
46 operator++();
50 const ResTable_entry* operator->() const {
51 return operator*();
58 iterator& operator++();
59 const ResTable_entry* operator*() const;
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_auto_utils.h77 SpAIBinder& operator=(const SpAIBinder& other) {
118 bool operator!=(const SpAIBinder& rhs) const { return get() != rhs.get(); }
119 bool operator<(const SpAIBinder& rhs) const { return get() < rhs.get(); }
120 bool operator<=(const SpAIBinder& rhs) const { return get() <= rhs.get(); }
121 bool operator==(const SpAIBinder& rhs) const { return get() == rhs.get(); }
122 bool operator>(const SpAIBinder& rhs) const { return get() > rhs.get(); }
123 bool operator>=(const SpAIBinder& rhs) const { return get() >= rhs.get(); }
181 ScopedAResource& operator=(const ScopedAResource&) = delete; variable
187 ScopedAResource& operator=(ScopedAResource&& other) noexcept {
210 ScopedAParcel& operator=(ScopedAParcel&&) = default; variable
[all …]
/frameworks/base/libs/hwui/
DVector.h39 void operator+=(const Vector2& v) {
44 void operator-=(const Vector2& v) {
49 void operator+=(const float v) {
54 void operator-=(const float v) {
59 void operator/=(float s) {
64 void operator*=(float s) {
69 Vector2 operator+(const Vector2& v) const { return (Vector2){x + v.x, y + v.y}; }
71 Vector2 operator-(const Vector2& v) const { return (Vector2){x - v.x, y - v.y}; }
73 Vector2 operator/(float s) const { return (Vector2){x / s, y / s}; }
75 Vector2 operator*(float s) const { return (Vector2){x * s, y * s}; }
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DStrongTyping.h28 inline T operator+(T const& other) const { return T(this->base().value() + other.value()); }
29 inline T& operator++() {
33 inline T operator++(int) {
35 operator++();
38 inline T& operator+=(T const& other) {
46 inline bool operator==(T const& other) const { return this->base().value() == other.value(); };
47 inline bool operator<(T const& other) const { return this->base().value() < other.value(); }
48 inline bool operator<=(T const& other) const { return (*this < other) || (*this == other); }
49 inline bool operator!=(T const& other) const { return !(*this == other); }
50 inline bool operator>=(T const& other) const { return !(*this < other); }
[all …]
/frameworks/av/media/libmedia/include/media/
DRingBuffer.h51 iterator& operator++();
53 iterator operator++(int);
55 bool operator==(const iterator& rhs);
57 bool operator!=(const iterator& rhs);
59 T& operator*();
61 T* operator->();
77 const_iterator& operator++();
79 const_iterator operator++(int);
81 bool operator==(const const_iterator& rhs);
83 bool operator!=(const const_iterator& rhs);
[all …]
DModulo.h102 Modulo<T> operator +=(const Modulo<S> &other) {
110 Modulo<T> operator -=(const Modulo<S> &other) {
120 const Modulo<T> operator +(const Modulo<S> &other) const {
127 const Modulo<T> operator -(const Modulo<S> &other) const {
139 bool operator >(const Modulo<S> &other) const {
146 bool operator >=(const Modulo<S> &other) const {
153 bool operator ==(const Modulo<S> &other) const {
160 bool operator <=(const Modulo<S> &other) const {
167 bool operator <(const Modulo<S> &other) const {
177 Modulo<T> operator +=(const S &other) {
[all …]
/frameworks/native/services/sensorservice/
DRingBuffer.h51 iterator& operator++();
53 iterator operator++(int);
55 bool operator==(const iterator& rhs);
57 bool operator!=(const iterator& rhs);
59 T& operator*();
61 T* operator->();
77 const_iterator& operator++();
79 const_iterator operator++(int);
81 bool operator==(const const_iterator& rhs);
83 bool operator!=(const const_iterator& rhs);
[all …]
/frameworks/rs/cpp/util/
DStrongPointer.h39 inline bool operator _op_ (const sp<T>& o) const { \
42 inline bool operator _op_ (const T* o) const { \
46 inline bool operator _op_ (const sp<U>& o) const { \
50 inline bool operator _op_ (const U* o) const { \
53 inline bool operator _op_ (const wp<T>& o) const { \
57 inline bool operator _op_ (const wp<U>& o) const { \
78 sp& operator = (T* other); variable
79 sp& operator = (const sp<T>& other); variable
81 template<typename U> sp& operator = (const sp<U>& other); variable
82 template<typename U> sp& operator = (U* other); variable
[all …]
DRefBase.h40 inline bool operator _op_ (const sp<T>& o) const { \
43 inline bool operator _op_ (const T* o) const { \
47 inline bool operator _op_ (const sp<U>& o) const { \
51 inline bool operator _op_ (const U* o) const { \
157 RefBase& operator=(const RefBase& o); variable
217 wp& operator = (T* other); variable
218 wp& operator = (const wp<T>& other); variable
219 wp& operator = (const sp<T>& other); variable
221 template<typename U> wp& operator = (U* other); variable
222 template<typename U> wp& operator = (const wp<U>& other); variable
[all …]
/frameworks/native/libs/ui/include_vndk/ui/
DRegion.h49 Region& operator = (const Region& rhs); variable
108 inline const Region operator | (const Region& rhs) const;
109 inline const Region operator ^ (const Region& rhs) const;
110 inline const Region operator & (const Region& rhs) const;
111 inline const Region operator - (const Region& rhs) const;
112 inline const Region operator + (const Point& pt) const;
114 inline Region& operator |= (const Region& rhs);
115 inline Region& operator ^= (const Region& rhs);
116 inline Region& operator &= (const Region& rhs);
117 inline Region& operator -= (const Region& rhs);
[all …]
DPoint.h40 inline bool operator == (const Point& rhs) const {
43 inline bool operator != (const Point& rhs) const {
44 return !operator == (rhs);
53 bool operator < (const Point& rhs) const {
57 inline Point& operator - () {
63 inline Point& operator += (const Point& rhs) {
68 inline Point& operator -= (const Point& rhs) {
74 const Point operator + (const Point& rhs) const {
78 const Point operator - (const Point& rhs) const {
/frameworks/native/include/ui/
DRegion.h49 Region& operator = (const Region& rhs); variable
108 inline const Region operator | (const Region& rhs) const;
109 inline const Region operator ^ (const Region& rhs) const;
110 inline const Region operator & (const Region& rhs) const;
111 inline const Region operator - (const Region& rhs) const;
112 inline const Region operator + (const Point& pt) const;
114 inline Region& operator |= (const Region& rhs);
115 inline Region& operator ^= (const Region& rhs);
116 inline Region& operator &= (const Region& rhs);
117 inline Region& operator -= (const Region& rhs);
[all …]
DPoint.h40 inline bool operator == (const Point& rhs) const {
43 inline bool operator != (const Point& rhs) const {
44 return !operator == (rhs);
53 bool operator < (const Point& rhs) const {
57 inline Point& operator - () {
63 inline Point& operator += (const Point& rhs) {
68 inline Point& operator -= (const Point& rhs) {
74 const Point operator + (const Point& rhs) const {
78 const Point operator - (const Point& rhs) const {
/frameworks/native/libs/ui/include/ui/
DRegion.h49 Region& operator = (const Region& rhs); variable
108 inline const Region operator | (const Region& rhs) const;
109 inline const Region operator ^ (const Region& rhs) const;
110 inline const Region operator & (const Region& rhs) const;
111 inline const Region operator - (const Region& rhs) const;
112 inline const Region operator + (const Point& pt) const;
114 inline Region& operator |= (const Region& rhs);
115 inline Region& operator ^= (const Region& rhs);
116 inline Region& operator &= (const Region& rhs);
117 inline Region& operator -= (const Region& rhs);
[all …]
DPoint.h40 inline bool operator == (const Point& rhs) const {
43 inline bool operator != (const Point& rhs) const {
44 return !operator == (rhs);
53 bool operator < (const Point& rhs) const {
57 inline Point& operator - () {
63 inline Point& operator += (const Point& rhs) {
68 inline Point& operator -= (const Point& rhs) {
74 const Point operator + (const Point& rhs) const {
78 const Point operator - (const Point& rhs) const {
/frameworks/av/media/codec2/core/include/
DC2.h145 type& operator=(const type &) = delete; \
149 type& operator=(type &&) = default; \
161 inline bool operator!=(const type &other) const { return !(*this == other); } \
162 … inline bool operator<=(const type &other) const { return (*this == other) || (*this < other); } \
163 inline bool operator>=(const type &other) const { return !(*this < other); } \
164 inline bool operator>(const type &other) const { return !(*this < other) && !(*this == other); }
167 inline bool operator<(const type &other) const { return field < other.field; } \
168 inline bool operator==(const type &other) const { return field == other.field; } \
172 inline bool operator<(const type &other) const { \
175 inline bool operator==(const type &other) const { \
[all …]
/frameworks/base/tools/aapt/
DConfigDescription.h41 ConfigDescription& operator=(const android::ResTable_config& o) {
47 ConfigDescription& operator=(const ConfigDescription& o) {
52 inline bool operator<(const ConfigDescription& o) const { return compare(o) < 0; }
53 inline bool operator<=(const ConfigDescription& o) const { return compare(o) <= 0; }
54 inline bool operator==(const ConfigDescription& o) const { return compare(o) == 0; }
55 inline bool operator!=(const ConfigDescription& o) const { return compare(o) != 0; }
56 inline bool operator>=(const ConfigDescription& o) const { return compare(o) >= 0; }
57 inline bool operator>(const ConfigDescription& o) const { return compare(o) > 0; }
/frameworks/compile/mclinker/include/mcld/LD/
DMsgHandler.h46 inline const MsgHandler& operator<<(const MsgHandler& pHandler,
52 inline const MsgHandler& operator<<(const MsgHandler& pHandler,
58 inline const MsgHandler& operator<<(const MsgHandler& pHandler,
64 inline const MsgHandler& operator<<(const MsgHandler& pHandler,
71 inline const MsgHandler& operator<<(const MsgHandler& pHandler, int pValue) {
76 inline const MsgHandler& operator<<(const MsgHandler& pHandler,
82 inline const MsgHandler& operator<<(const MsgHandler& pHandler, long pValue) {
87 inline const MsgHandler& operator<<(const MsgHandler& pHandler,
93 inline const MsgHandler& operator<<(const MsgHandler& pHandler,
99 inline const MsgHandler& operator<<(const MsgHandler& pHandler, bool pValue) {
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_deleter.h46 void operator()(DvrBuffer* p) { dvrBufferDestroy(p); } in operator() function
47 void operator()(DvrReadBuffer* p) { dvrReadBufferDestroy(p); } in operator() function
48 void operator()(DvrWriteBuffer* p) { dvrWriteBufferDestroy(p); } in operator() function
49 void operator()(DvrReadBufferQueue* p) { dvrReadBufferQueueDestroy(p); } in operator() function
50 void operator()(DvrWriteBufferQueue* p) { dvrWriteBufferQueueDestroy(p); } in operator() function
51 void operator()(DvrDisplayManager* p) { dvrDisplayManagerDestroy(p); } in operator() function
52 void operator()(DvrSurfaceState* p) { dvrSurfaceStateDestroy(p); } in operator() function
53 void operator()(DvrSurface* p) { dvrSurfaceDestroy(p); } in operator() function
54 void operator()(DvrHwcClient* p) { dvrHwcClientDestroy(p); } in operator() function
55 void operator()(DvrHwcFrame* p) { dvrHwcFrameDestroy(p); } in operator() function
/frameworks/base/libs/hwui/jni/
Dandroid_nio_utils.h72 AutoBufferPointer& operator=(AutoBufferPointer&) = delete; variable
73 static void* operator new(size_t);
74 static void* operator new[](size_t);
75 static void* operator new(size_t, void*);
76 static void* operator new[](size_t, void*);
77 static void operator delete(void*, size_t);
78 static void operator delete[](void*, size_t);
/frameworks/base/tools/aapt2/
DResource.h114 ResourceNameRef& operator=(const ResourceNameRef& rhs) = default; member
115 ResourceNameRef& operator=(ResourceNameRef&& rhs) = default; member
116 ResourceNameRef& operator=(const ResourceName& rhs); member
197 bool operator<(const ResourceKey& a, const ResourceKey& b);
218 bool operator<(const ResourceKeyRef& a, const ResourceKeyRef& b);
251 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) {
255 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) {
259 inline bool operator==(const ResourceId& lhs, const ResourceId& rhs) {
263 inline bool operator!=(const ResourceId& lhs, const ResourceId& rhs) {
267 inline ::std::ostream& operator<<(::std::ostream& out, const ResourceId& res_id) {
[all …]
/frameworks/native/libs/math/include/math/
Dquat.h76 inline constexpr T const& operator[](size_t i) const {
84 inline T& operator[](size_t i) {
93 TQuaternion& operator = (const TQuaternion&) = default; variable
127 constexpr TQuaternion operator~() const {
147 constexpr inline quat operator"" _i(long double v) {
150 constexpr inline quat operator"" _j(long double v) {
153 constexpr inline quat operator"" _k(long double v) {
157 constexpr inline quat operator"" _i(unsigned long long v) { // NOLINT
160 constexpr inline quat operator"" _j(unsigned long long v) { // NOLINT
163 constexpr inline quat operator"" _k(unsigned long long v) { // NOLINT
[all …]

12345678910>>...26