Home
last modified time | relevance | path

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

12345678

/aosp14/system/core/libutils/include/utils/
H A DString8.h281 inline String8& String8::operator=(const String8& other)
287 inline String8& String8::operator=(const char* other)
293 inline String8& String8::operator+=(const String8& other)
306 inline String8& String8::operator+=(const char* other)
354 inline bool String8::operator<(const char* other) const
359 inline bool String8::operator<=(const char* other) const
364 inline bool String8::operator==(const char* other) const
369 inline bool String8::operator!=(const char* other) const
374 inline bool String8::operator>=(const char* other) const
379 inline bool String8::operator>(const char* other) const
[all …]
H A DString16.h215 static void* operator new(std::size_t) = delete;
247 inline String16& String16::operator=(const String16& other)
253 inline String16& String16::operator+=(const String16& other)
271 inline bool String16::operator<(const String16& other) const
276 inline bool String16::operator<=(const String16& other) const
281 inline bool String16::operator==(const String16& other) const
286 inline bool String16::operator!=(const String16& other) const
296 inline bool String16::operator>(const String16& other) const
301 inline bool String16::operator<(const char16_t* other) const
326 inline bool String16::operator>(const char16_t* other) const
[all …]
H A DStrongPointer.h67 sp& operator=(T* other); variable
69 sp& operator=(U* other); variable
88 sp& operator = (const sp<T>& other); variable
89 sp& operator=(sp<T>&& other) noexcept; variable
110 inline bool operator == (const wp<U>& o) const {
232 sp<T>& sp<T>::operator=(T* other) {
282 sp<T>& sp<T>::operator =(const sp<T>& other) {
294 sp<T>& sp<T>::operator=(sp<T>&& other) noexcept {
304 sp<T>& sp<T>::operator =(const sp<U>& other) {
315 sp<T>& sp<T>::operator =(sp<U>&& other) {
[all …]
H A DErrorsMacros.h42 operator status_t() const { return val_; } in status_t()
61 operator expected<T, ResultError<StatusT, false>>() const {
82 operator expected<T, ResultError<StatusT, true>>() const {
116 operator status_t() && { return val_; }
122 operator Result<T, StatusT>() && {
127 operator Result<T, StatusT, false>() && {
136 operator Result<type, StatusT>() && { return ResultError<StatusT>(std::move(val_)); }\
169 bool operator==(const base::ResultError<StatusT, include_message>& l, const status_t& r) {
173 bool operator==(const status_t& l, const base::ResultError<StatusT, include_message>& r) {
178 bool operator!=(const base::ResultError<StatusT, include_message>& l, const status_t& r) {
[all …]
H A DRefBase.h422 wp& operator=(T* other); variable
424 wp& operator=(U* other); variable
437 wp& operator = (const wp<T>& other); variable
438 wp& operator = (const sp<T>& other); variable
506 template<typename U> inline bool operator != (const wp<U>& o) const { return !operator == (o); }
507 template<typename U> inline bool operator <= (const wp<U>& o) const { return !operator > (o); }
508 template<typename U> inline bool operator >= (const wp<U>& o) const { return !operator < (o); }
568 wp<T>& wp<T>::operator=(T* other) {
578 wp<T>& wp<T>::operator=(U* other) {
627 wp<T>& wp<T>::operator = (const wp<T>& other)
[all …]
H A DList.h112 _Type& operator*() const { return mpNode->getRef(); }
118 inline bool operator==(const _Iter& right) const {
121 inline bool operator!=(const _Iter& right) const {
128 inline bool operator==(const OTHER& right) const {
132 inline bool operator!=(const OTHER& right) const {
138 inline _Iter& operator++() { // pre-increment
142 const _Iter operator++(int) { // post-increment
147 inline _Iter& operator--() { // pre-increment
151 const _Iter operator--(int) { // post-increment
180 List<T>& operator=(const List<T>& right); variable
[all …]
H A DBitSet.h139 inline bool operator== (const BitSet32& other) const { return value == other.value; }
140 inline bool operator!= (const BitSet32& other) const { return value != other.value; }
141 inline BitSet32 operator& (const BitSet32& other) const {
144 inline BitSet32& operator&= (const BitSet32& other) {
148 inline BitSet32 operator| (const BitSet32& other) const {
151 inline BitSet32& operator|= (const BitSet32& other) {
287 inline bool operator== (const BitSet64& other) const { return value == other.value; }
289 inline BitSet64 operator& (const BitSet64& other) const {
292 inline BitSet64& operator&= (const BitSet64& other) {
296 inline BitSet64 operator| (const BitSet64& other) const {
[all …]
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DConfigDescription.h96 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=(
175 inline ConfigDescription& ConfigDescription::operator=(
[all …]
H A 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 …]
H A 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;
H A DStringPool.h39 bool operator==(const Span& right) const {
85 Ref& operator=(const Ref& rhs); variable
86 bool operator==(const Ref& rhs) const;
87 bool operator!=(const Ref& rhs) const;
88 const std::string* operator->() const;
89 const std::string& operator*() const;
110 StyleRef& operator=(const StyleRef& rhs); variable
111 bool operator==(const StyleRef& rhs) const;
112 bool operator!=(const StyleRef& rhs) const;
113 const StyleEntry* operator->() const;
[all …]
/aosp14/frameworks/base/libs/hwui/
H A 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}; }
73 Vector2 operator/(float s) const { return (Vector2){x / s, y / s}; }
75 Vector2 operator*(float s) const { return (Vector2){x * s, y * s}; }
107 Vector3 operator/(float s) const { return (Vector3){x / s, y / s, z / s}; }
[all …]
/aosp14/frameworks/base/tools/aapt2/
H A DResource.h113 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) {
533 size_t operator()(const aapt::ResourceName& name) const {
[all …]
/aosp14/frameworks/base/tools/aapt/
H A 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; }
H A DStringPool.h59 inline bool operator<(const entry& o) const { return compare(o) < 0; }
60 inline bool operator<=(const entry& o) const { return compare(o) <= 0; }
61 inline bool operator==(const entry& o) const { return compare(o) == 0; }
62 inline bool operator!=(const entry& o) const { return compare(o) != 0; }
63 inline bool operator>=(const entry& o) const { return compare(o) >= 0; }
64 inline bool operator>(const entry& o) const { return compare(o) > 0; }
145 bool operator()(size_t l, size_t r);
/aosp14/frameworks/base/libs/hwui/jni/
H A 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);
/aosp14/frameworks/base/cmds/idmap2/include/idmap2/
H A DResult.h60 Result& operator=(const Result& rhs) = default; variable
63 explicit operator bool() const;
65 constexpr const T& operator*() const&;
66 T& operator*() &;
68 constexpr const T* operator->() const&;
69 T* operator->() &;
98 Result<T>::operator bool() const {
103 constexpr const T& Result<T>::operator*() const& {
109 T& Result<T>::operator*() & {
115 constexpr const T* Result<T>::operator->() const& {
[all …]
H A DXmlParser.h48 bool operator==(const Node& rhs) const;
49 bool operator!=(const Node& rhs) const;
73 inline iterator& operator=(const iterator& rhs) {
78 inline bool operator==(const iterator& rhs) const {
82 inline bool operator!=(const iterator& rhs) const {
86 inline iterator operator++() {
108 inline const Node operator*() {
112 inline const Node* operator->() {
/aosp14/frameworks/base/media/mca/filterpacks/native/base/
H A Dvec_types.h28 VecBase<T,dim>& operator = (const VecBase<T, dim> &x) {
32 T & operator [] (int i) {
36 const T & operator [] (int i) const {
52 Vec<T,dim>& operator = (const Vec<T, dim> &x) {
59 Vec<T, dim> operator + (const Vec<T,dim> &x, const Vec<T,dim> &y) {
99 Vec<T, dim> operator * (const Vec<T,dim> &x, T scale) {
107 Vec<T, dim> operator / (const Vec<T,dim> &x, T scale) {
115 Vec<T, dim> operator + (const Vec<T,dim> &x, T val) {
131 Vec<float, 2>& operator = (const Vec<float, 2> &x) {
147 Vec<float, 3>& operator = (const Vec<float, 3> &x) {
[all …]
/aosp14/frameworks/base/tools/split-select/
H A DSplitDescription.h35 inline bool operator<(const SplitDescription& rhs) const;
36 inline bool operator==(const SplitDescription& rhs) const;
37 inline bool operator!=(const SplitDescription& rhs) const;
50 bool SplitDescription::operator<(const SplitDescription& rhs) const {
54 bool SplitDescription::operator==(const SplitDescription& rhs) const {
58 bool SplitDescription::operator!=(const SplitDescription& rhs) const {
/aosp14/frameworks/base/tools/aapt2/test/
H A DCommon.h118 template std::ostream& operator<<<Item>(std::ostream&, const Item&);
119 template std::ostream& operator<<<Reference>(std::ostream&, const Reference&);
120 template std::ostream& operator<<<Id>(std::ostream&, const Id&);
121 template std::ostream& operator<<<RawString>(std::ostream&, const RawString&);
122 template std::ostream& operator<<<String>(std::ostream&, const String&);
126 template std::ostream& operator<<<Attribute>(std::ostream&, const Attribute&);
127 template std::ostream& operator<<<Style>(std::ostream&, const Style&);
128 template std::ostream& operator<<<Array>(std::ostream&, const Array&);
129 template std::ostream& operator<<<Plural>(std::ostream&, const Plural&);
182 operator ::testing::Matcher<T>() const { in Matcher()
[all …]
/aosp14/system/core/libstats/push_compat/include/
H A Dstats_event_list.h50 void operator=(const stats_event_list&) = delete; variable
67 operator android_log_context() const { return ctx; } in android_log_context()
87 stats_event_list& operator<<(int32_t value) {
95 stats_event_list& operator<<(uint32_t value) {
103 stats_event_list& operator<<(bool value) {
111 stats_event_list& operator<<(int64_t value) {
119 stats_event_list& operator<<(uint64_t value) {
127 stats_event_list& operator<<(const char* value) {
135 stats_event_list& operator<<(const std::string& value) {
143 stats_event_list& operator<<(float value) {
/aosp14/frameworks/base/libs/hwui/utils/
H A DAutoMalloc.h41 AutoTMalloc& operator=(AutoTMalloc&&) = default; variable
54 operator T*() { return fPtr.get(); }
56 operator const T*() const { return fPtr.get(); }
58 T& operator[](int index) { return fPtr.get()[index]; }
60 const T& operator[](int index) const { return fPtr.get()[index]; }
71 void operator()(uint8_t* p) { std::free(p); } in operator() function
/aosp14/system/core/fs_mgr/libstorage_literals/storage_literals/
H A Dstorage_literals.h30 constexpr operator uint64_t() const { return bytes(); } in uint64_t()
42 constexpr B operator""_B(unsigned long long v) { // NOLINT
46 constexpr KiB operator""_KiB(unsigned long long v) { // NOLINT
50 constexpr MiB operator""_MiB(unsigned long long v) { // NOLINT
54 constexpr GiB operator""_GiB(unsigned long long v) { // NOLINT
58 constexpr TiB operator""_TiB(unsigned long long v) { // NOLINT
/aosp14/system/core/init/
H A Dkeychords.h35 Keychords& operator=(const Keychords&) = delete; variable
36 Keychords& operator=(Keychords&&) = delete; variable
56 operator bool() const;
57 Mask operator&(const Mask& rval) const;
58 void operator|=(const Mask& rval);

12345678