/frameworks/compile/mclinker/include/mcld/ADT/ |
D | Flags.h | 26 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/ |
D | FpsOps.h | 25 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/native/include/ftl/ |
D | non_null.h | 69 constexpr NonNull& operator=(const NonNull&) = default; variable 72 [[nodiscard]] constexpr explicit operator const Pointer&() const { return get(); } 77 constexpr NonNull& operator=(NonNull&&) = default; variable 80 [[nodiscard]] constexpr explicit operator Pointer() && { return take(); } in Pointer() 83 [[nodiscard]] constexpr decltype(auto) operator*() const { return *get(); } in decltype() 84 [[nodiscard]] constexpr decltype(auto) operator->() const { return get(); } 86 [[nodiscard]] constexpr explicit operator bool() const { return !(pointer_ == nullptr); } 111 constexpr bool operator==(const NonNull<P>& lhs, const NonNull<Q>& rhs) { 116 constexpr bool operator!=(const NonNull<P>& lhs, const NonNull<Q>& rhs) { 117 return !operator==(lhs, rhs); [all …]
|
D | mixins.h | 71 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 …]
|
D | flags.h | 66 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/libs/androidfw/include/androidfw/ |
D | ConfigDescription.h | 95 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 …]
|
D | Locale.h | 65 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 …]
|
D | TypeWrappers.h | 30 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/ |
D | Vector.h | 39 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/libs/binary_translation/guest_abi/include/berberis/guest_abi/ |
D | guest_type.h | 54 constexpr GuestType& operator=(const GuestType& data) = default; variable 55 constexpr GuestType& operator=(GuestType&& data) = default; variable 57 constexpr operator StructType() const { return value_; } in StructType() 73 constexpr GuestType& operator=(const GuestType& data) = default; variable 74 constexpr GuestType& operator=(GuestType&& data) = default; variable 76 constexpr operator IntegerType() const { return value_; } in IntegerType() 80 constexpr explicit operator AnotherIntegerType() const { in AnotherIntegerType() 86 constexpr explicit operator GuestType<AnotherIntegerType>() const { 90 constexpr GuestType& operator x(const GuestType& data) { \ 94 constexpr GuestType& operator x(GuestType&& data) { \ [all …]
|
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/common/ |
D | intrinsics_float.h | 58 WrappedFloatType& operator=(const WrappedFloatType& other) = default; variable 59 WrappedFloatType& operator=(WrappedFloatType&& other) noexcept = default; variable 64 [[nodiscard]] constexpr operator Raw<IntType>() const { 70 explicit constexpr operator int16_t() const { return value_; } in int16_t() 71 explicit constexpr operator uint16_t() const { return value_; } in uint16_t() 72 explicit constexpr operator int32_t() const { return value_; } in int32_t() 73 explicit constexpr operator uint32_t() const { return value_; } in uint32_t() 74 explicit constexpr operator int64_t() const { return value_; } in int64_t() 75 explicit constexpr operator uint64_t() const { return value_; } in uint64_t() 76 explicit constexpr operator WrappedFloatType<float>() const { [all …]
|
/frameworks/native/services/sensorservice/ |
D | RingBuffer.h | 51 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/av/media/libmedia/include/media/ |
D | RingBuffer.h | 51 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/libs/binder/ndk/include_cpp/android/ |
D | binder_auto_utils.h | 78 SpAIBinder& operator=(const SpAIBinder& other) { 124 static inline bool operator _op_(const SpAIBinder& lhs, const SpAIBinder& rhs) { \ 127 static inline bool operator _op_(const SpAIBinder& lhs, const AIBinder* rhs) { \ 130 static inline bool operator _op_(const AIBinder* lhs, const SpAIBinder& rhs) { \ 203 ScopedAResource& operator=(const ScopedAResource&) = delete; variable 209 ScopedAResource& operator=(ScopedAResource&& other) noexcept { 232 ScopedAParcel& operator=(ScopedAParcel&&) = default; variable 234 bool operator!=(const ScopedAParcel& rhs) const { return get() != rhs.get(); } 235 bool operator<(const ScopedAParcel& rhs) const { return get() < rhs.get(); } 236 bool operator<=(const ScopedAParcel& rhs) const { return get() <= rhs.get(); } [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
D | Fps.h | 99 constexpr Fps operator""_Hz(unsigned long long frequency) { 103 constexpr Fps operator""_Hz(long double frequency) { 124 inline bool operator==(Fps lhs, Fps rhs) { 128 inline bool operator<(Fps lhs, Fps rhs) { 132 inline bool operator!=(Fps lhs, Fps rhs) { 136 inline bool operator>(Fps lhs, Fps rhs) { 140 inline bool operator<=(Fps lhs, Fps rhs) { 144 inline bool operator>=(Fps lhs, Fps rhs) { 148 inline bool operator==(FpsRange lhs, FpsRange rhs) { 152 inline bool operator!=(FpsRange lhs, FpsRange rhs) { [all …]
|
/frameworks/base/tools/aapt2/ |
D | Resource.h | 112 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/include/ui/ |
D | Point.h | 40 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 {
|
D | Region.h | 49 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/ui/ |
D | Point.h | 40 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 {
|
D | Region.h | 49 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/ |
D | Point.h | 40 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 {
|
D | Region.h | 49 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/rs/cpp/util/ |
D | StrongPointer.h | 39 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/ |
D | ConfigDescription.h | 41 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/ |
D | android_nio_utils.h | 72 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);
|