Home
last modified time | relevance | path

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

12345678910>>...30

/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/native/services/surfaceflinger/tests/unittests/
DFpsOps.h25 inline bool operator==(Fps lhs, Fps rhs) {
26 return fps_approx_ops::operator==(lhs, rhs);
29 inline bool operator<(Fps lhs, Fps rhs) {
30 return fps_approx_ops::operator<(lhs, rhs);
33 inline bool operator!=(Fps lhs, Fps rhs) {
34 return fps_approx_ops::operator!=(lhs, rhs);
37 inline bool operator>(Fps lhs, Fps rhs) {
38 return fps_approx_ops::operator>(lhs, rhs);
41 inline bool operator<=(Fps lhs, Fps rhs) {
42 return fps_approx_ops::operator<=(lhs, rhs);
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DConfigDescription.h95 ConfigDescription& operator=(const android::ResTable_config& o); member
96 ConfigDescription& operator=(const ConfigDescription& o); member
97 ConfigDescription& operator=(ConfigDescription&& o) noexcept; member
142 bool operator<(const ConfigDescription& o) const;
143 bool operator<=(const ConfigDescription& o) const;
144 bool operator==(const ConfigDescription& o) const;
145 bool operator!=(const ConfigDescription& o) const;
146 bool operator>=(const ConfigDescription& o) const;
147 bool operator>(const ConfigDescription& o) const;
168 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/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/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(); }
190 ScopedAResource& operator=(const ScopedAResource&) = delete; variable
196 ScopedAResource& operator=(ScopedAResource&& other) noexcept {
219 ScopedAParcel& operator=(ScopedAParcel&&) = default; variable
[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/libs/binary_translation/intrinsics/include/berberis/intrinsics/
Dintrinsics_float.h58 WrappedFloatType& operator=(const WrappedFloatType& other) = default; variable
59 WrappedFloatType& operator=(WrappedFloatType&& other) noexcept = default; variable
61 explicit constexpr operator int16_t() const { return value_; } in int16_t()
62 explicit constexpr operator uint16_t() const { return value_; } in uint16_t()
63 explicit constexpr operator int32_t() const { return value_; } in int32_t()
64 explicit constexpr operator uint32_t() const { return value_; } in uint32_t()
65 explicit constexpr operator int64_t() const { return value_; } in int64_t()
66 explicit constexpr operator uint64_t() const { return value_; } in uint64_t()
67 explicit constexpr operator WrappedFloatType<float>() const {
70 explicit constexpr operator WrappedFloatType<double>() const {
[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 …]
/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/native/services/surfaceflinger/Scheduler/include/scheduler/
DFps.h86 constexpr Fps operator""_Hz(unsigned long long frequency) {
90 constexpr Fps operator""_Hz(long double frequency) {
111 inline bool operator==(Fps lhs, Fps rhs) {
115 inline bool operator<(Fps lhs, Fps rhs) {
119 inline bool operator!=(Fps lhs, Fps rhs) {
123 inline bool operator>(Fps lhs, Fps rhs) {
127 inline bool operator<=(Fps lhs, Fps rhs) {
131 inline bool operator>=(Fps lhs, Fps rhs) {
135 inline bool operator==(FpsRange lhs, FpsRange rhs) {
139 inline bool operator!=(FpsRange lhs, FpsRange rhs) {
[all …]
/frameworks/native/include/ftl/
Dmixins.h71 explicit constexpr operator const T&() const { return value_; }
95 constexpr bool operator==(const Self& other) const {
99 constexpr bool operator!=(const Self& other) const { return !(*this == other); }
105 constexpr bool operator<(const Self& other) const {
109 constexpr bool operator>(const Self& other) const { return other < this->self(); }
110 constexpr bool operator>=(const Self& other) const { return !(*this < other); }
111 constexpr bool operator<=(const Self& other) const { return !(*this > other); }
117 constexpr Self& operator++() {
122 constexpr Self operator++(int) {
124 operator++();
[all …]
Dflags.h66 Iterator& operator++() {
79 Iterator operator++(int) {
85 bool operator==(Iterator other) const {
89 bool operator!=(Iterator other) const { return !(*this == other); }
91 F operator*() const { return F{mCurrFlag}; }
128 constexpr Flags<F> operator|(Flags<F> rhs) const { return static_cast<F>(mFlags | rhs.mFlags); }
129 Flags<F>& operator|=(Flags<F> rhs) {
134 Flags<F> operator&(Flags<F> rhs) const { return static_cast<F>(mFlags & rhs.mFlags); }
135 Flags<F>& operator&=(Flags<F> rhs) {
140 Flags<F> operator^(Flags<F> rhs) const { return static_cast<F>(mFlags ^ rhs.mFlags); }
[all …]
/frameworks/base/tools/aapt2/
DResource.h112 ResourceNamedTypeRef& operator=(const ResourceNamedTypeRef& rhs) = default; member
113 ResourceNamedTypeRef& operator=(ResourceNamedTypeRef&& rhs) = default; member
114 ResourceNamedTypeRef& operator=(const ResourceNamedType& rhs); member
161 ResourceNameRef& operator=(const ResourceNameRef& rhs) = default; member
162 ResourceNameRef& operator=(ResourceNameRef&& rhs) = default; member
163 ResourceNameRef& operator=(const ResourceName& rhs); member
244 bool operator<(const ResourceKey& a, const ResourceKey& b);
265 bool operator<(const ResourceKeyRef& a, const ResourceKeyRef& b);
298 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) {
302 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) {
[all …]
/frameworks/native/libs/ui/include/ui/
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 {
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 …]
/frameworks/native/include/ui/
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 {
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 …]
/frameworks/native/libs/ui/include_vndk/ui/
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 {
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 …]
/frameworks/libs/net/common/netd/libnetdutils/include/netdutils/
DInternetAddresses.h47 friend bool operator==(const compact_ipdata& a, const compact_ipdata& b) {
73 friend bool operator!=(const compact_ipdata& a, const compact_ipdata& b) { return !(a == b); }
77 friend bool operator<(const compact_ipdata& a, const compact_ipdata& b) {
108 void operator()(struct addrinfo* p) const { in operator() function
152 IPAddress& operator=(const IPAddress&) = default; variable
153 IPAddress& operator=(IPAddress&&) = default; variable
160 friend std::ostream& operator<<(std::ostream& os, const IPAddress& ip) {
164 friend bool operator==(const IPAddress& a, const IPAddress& b) { return (a.mData == b.mData); }
165 friend bool operator!=(const IPAddress& a, const IPAddress& b) { return (a.mData != b.mData); }
166 friend bool operator<(const IPAddress& a, const IPAddress& b) { return (a.mData < b.mData); }
[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 …]
/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/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);

12345678910>>...30