Home
last modified time | relevance | path

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

12345678910

/system/core/libutils/include/utils/
DString16.h85 inline String16& operator=(const String16& other); variable
87 inline String16& operator+=(const String16& other);
88 inline String16 operator+(const String16& other) const;
111 inline bool operator<(const String16& other) const;
112 inline bool operator<=(const String16& other) const;
113 inline bool operator==(const String16& other) const;
114 inline bool operator!=(const String16& other) const;
115 inline bool operator>=(const String16& other) const;
116 inline bool operator>(const String16& other) const;
118 inline bool operator<(const char16_t* other) const;
[all …]
DString8.h105 inline String8& operator=(const String8& other); variable
106 inline String8& operator=(const char* other); variable
108 inline String8& operator+=(const String8& other);
109 inline String8 operator+(const String8& other) const;
111 inline String8& operator+=(const char* other);
112 inline String8 operator+(const char* other) const;
116 inline bool operator<(const String8& other) const;
117 inline bool operator<=(const String8& other) const;
118 inline bool operator==(const String8& other) const;
119 inline bool operator!=(const String8& other) const;
[all …]
DRefBase.h195 inline bool operator _op_ (const sp<T>& o) const { \
198 inline bool operator _op_ (const T* o) const { \
202 inline bool operator _op_ (const sp<U>& o) const { \
206 inline bool operator _op_ (const U* o) const { \
228 virtual void operator()(size_t i) const = 0;
333 RefBase& operator=(const RefBase& o); variable
370 wp& operator = (T* other); variable
371 wp& operator = (const wp<T>& other); variable
372 wp& operator = (const sp<T>& other); variable
374 template<typename U> wp& operator = (U* other); variable
[all …]
DStrongPointer.h28 inline bool operator _op_ (const sp<T>& o) const { \
31 inline bool operator _op_ (const T* o) const { \
35 inline bool operator _op_ (const sp<U>& o) const { \
39 inline bool operator _op_ (const U* o) const { \
42 inline bool operator _op_ (const wp<T>& o) const { \
46 inline bool operator _op_ (const wp<U>& o) const { \
68 sp& operator = (T* other); variable
69 sp& operator = (const sp<T>& other); variable
70 sp& operator = (sp<T>&& other); variable
72 template<typename U> sp& operator = (const sp<U>& other); variable
[all …]
/system/security/keystore/include/keystore/
Dkeystore_return_types.h49 inline KeyStoreServiceReturnCode& operator=(const ErrorCode& errorCode) {
53 inline KeyStoreServiceReturnCode& operator=(const ResponseCode& errorCode) {
57 inline KeyStoreServiceReturnCode& operator=(const KeyStoreServiceReturnCode& errorCode) {
65 inline operator int32_t() const { in int32_t()
69 inline bool operator==(const ResponseCode& rhs) const {
74 inline bool operator==(const ErrorCode& rhs) const {
79 inline bool operator!=(const ResponseCode& rhs) const { return !(*this == rhs); }
80 inline bool operator!=(const ErrorCode& rhs) const { return !(*this == rhs); }
86 inline bool operator==(const ResponseCode& lhs, const KeyStoreServiceReturnCode& rhs) {
89 inline bool operator==(const ErrorCode& lhs, const KeyStoreServiceReturnCode& rhs) {
[all …]
Dutils.h40 SharedNullableIterator& operator++() {
44 SharedNullableIterator operator++(int) {
49 T& operator*() const { return **cur_; }
51 T* operator->() const { return &**cur_; }
53 bool operator==(const SharedNullableIterator& other) const {
56 bool operator!=(const SharedNullableIterator& other) const { return !(*this == other); }
58 SharedNullableIterator& operator=(const SharedNullableIterator&) = default; variable
59 SharedNullableIterator& operator=(SharedNullableIterator&&) = default; variable
/system/core/liblog/include/log/
Dlog_time.h82 bool operator==(const timespec& T) const {
86 bool operator!=(const timespec& T) const {
89 bool operator<(const timespec& T) const {
94 bool operator>=(const timespec& T) const {
97 bool operator>(const timespec& T) const {
102 bool operator<=(const timespec& T) const {
107 log_time operator-=(const timespec& T);
108 log_time operator-(const timespec& T) const {
112 log_time operator+=(const timespec& T);
113 log_time operator+(const timespec& T) const {
[all …]
/system/tools/hidl/utils/include/hidl-util/
DFormatter.h111 Formatter &operator<<(const std::string &out);
113 Formatter &operator<<(char c);
114 Formatter &operator<<(signed char c);
115 Formatter &operator<<(unsigned char c);
117 Formatter &operator<<(short c);
118 Formatter &operator<<(unsigned short c);
119 Formatter &operator<<(int c);
120 Formatter &operator<<(unsigned int c);
121 Formatter &operator<<(long c);
122 Formatter &operator<<(unsigned long c);
[all …]
/system/bt/vendor_libs/test_vendor_lib/include/
Dbt_address.h44 inline bool operator==(const BtAddress& right) {
47 inline bool operator!=(const BtAddress& right) {
50 inline bool operator<(const BtAddress& right) {
53 inline bool operator>(const BtAddress& right) {
56 inline bool operator<=(const BtAddress& right) {
59 inline bool operator>=(const BtAddress& right) {
63 inline void operator=(const BtAddress& right) { address_ = right.address_; }
64 inline void operator|=(const BtAddress& right) { address_ |= right.address_; }
65 inline void operator&=(const BtAddress& right) { address_ &= right.address_; }
/system/libvintf/include/vintf/
Dparse_string.h31 std::ostream &operator<<(std::ostream &os, HalFormat hf);
32 std::ostream &operator<<(std::ostream &os, Transport tr);
33 std::ostream &operator<<(std::ostream &os, Arch ar);
34 std::ostream &operator<<(std::ostream &os, KernelConfigType il);
35 std::ostream &operator<<(std::ostream &os, Tristate tr);
36 std::ostream &operator<<(std::ostream &os, SchemaType ksv);
37 std::ostream& operator<<(std::ostream& os, XmlSchemaFormat f);
38 std::ostream &operator<<(std::ostream &os, const ManifestHal &hal);
39 std::ostream &operator<<(std::ostream &os, const Version &ver);
40 std::ostream &operator<<(std::ostream &os, const VersionRange &vr);
[all …]
DVersion.h36 inline bool operator==(const Version &other) const {
39 inline bool operator!=(const Version &other) const {
42 inline bool operator<(const Version &other) const {
49 inline bool operator>(const Version &other) const {
52 inline bool operator<=(const Version &other) const {
55 inline bool operator>=(const Version &other) const {
77 inline bool operator==(const KernelVersion &other) const {
82 inline bool operator!=(const KernelVersion &other) const {
DMapValueIterator.h52 inline IteratorImpl &operator++() {
56 inline IteratorImpl operator++(int) {
61 inline IteratorImpl &operator--() {
65 inline IteratorImpl operator--(int) {
70 inline ref_type operator*() const { return mIter->second; }
71 inline ptr_type operator->() const { return &(mIter->second); }
72 inline bool operator==(const IteratorImpl &rhs) const { return mIter == rhs.mIter; }
73 inline bool operator!=(const IteratorImpl &rhs) const { return mIter != rhs.mIter; }
/system/chre/util/include/chre/util/
Doptional.h81 Optional<ObjectType>& operator=(ObjectType&& other); variable
91 Optional<ObjectType>& operator=(Optional<ObjectType>&& other); variable
100 Optional<ObjectType>& operator=(const ObjectType& other); variable
108 Optional<ObjectType>& operator=(const Optional<ObjectType>& other); variable
117 ObjectType& operator*();
126 const ObjectType& operator*() const;
135 ObjectType *operator->();
144 const ObjectType *operator->() const;
Dtime.h98 constexpr bool operator==(const Milliseconds& millis) const;
183 constexpr bool operator==(const Nanoseconds& nanos) const;
190 constexpr bool operator!=(const Nanoseconds& nanos) const;
203 constexpr Nanoseconds operator+(const Seconds& secs, const Nanoseconds& nanos);
212 constexpr Nanoseconds operator+(const Nanoseconds& nanos_a,
222 constexpr Nanoseconds operator-(const Nanoseconds& nanos_a,
232 constexpr bool operator>=(const Nanoseconds& nanos_a,
242 constexpr bool operator<(const Nanoseconds& nanos_a,
252 constexpr bool operator>(const Nanoseconds& nanos_a,
Darray_queue.h86 ElementType& operator[](size_t index);
97 const ElementType& operator[](size_t index) const;
149 bool operator==(const ArrayQueueIterator& right) {
153 bool operator!=(const ArrayQueueIterator& right) {
157 ValueType& operator*() {
161 ValueType *operator->() {
165 ArrayQueueIterator& operator++() {
178 ArrayQueueIterator operator++(int) {
180 operator++();
Dtime_impl.h57 constexpr bool Milliseconds::operator==(const Milliseconds& millis) const {
99 constexpr bool Nanoseconds::operator==(const Nanoseconds& nanos) const {
103 constexpr bool Nanoseconds::operator!=(const Nanoseconds& nanos) const {
107 constexpr Nanoseconds operator+(const Seconds& secs, const Nanoseconds& nanos) {
111 constexpr Nanoseconds operator+(const Nanoseconds& nanos_a,
116 constexpr Nanoseconds operator-(const Nanoseconds& nanos_a,
121 constexpr bool operator>=(const Nanoseconds& nanos_a,
126 constexpr bool operator<(const Nanoseconds& nanos_a,
131 constexpr bool operator>(const Nanoseconds& nanos_a,
Doptional_impl.h63 Optional<ObjectType>& Optional<ObjectType>::operator=(ObjectType&& other) {
75 Optional<ObjectType>& Optional<ObjectType>::operator=(
92 Optional<ObjectType>& Optional<ObjectType>::operator=(const ObjectType& other) {
104 Optional<ObjectType>& Optional<ObjectType>::operator=(
121 ObjectType& Optional<ObjectType>::operator*() {
126 const ObjectType& Optional<ObjectType>::operator*() const {
131 ObjectType *Optional<ObjectType>::operator->() {
136 const ObjectType *Optional<ObjectType>::operator->() const {
/system/libhidl/base/include/hidl/
DHidlSupport.h100 hidl_handle &operator=(const hidl_handle &other); member
102 hidl_handle &operator=(const native_handle_t *native_handle); member
104 hidl_handle &operator=(hidl_handle &&other) noexcept; member
108 const native_handle_t* operator->() const;
111 operator const native_handle_t *() const;
143 hidl_string &operator=(const hidl_string &); member
145 hidl_string &operator=(const char *s); member
147 hidl_string &operator=(const std::string &); member
149 hidl_string &operator=(hidl_string &&other) noexcept; member
151 operator std::string() const;
[all …]
DHidlInternal.h52 hidl_pointer &operator=(const hidl_pointer<T>& other) {
56 hidl_pointer &operator=(hidl_pointer<T>&& other) {
61 hidl_pointer &operator=(T* ptr) {
66 operator T*() const {
69 explicit operator void*() const { // requires explicit cast to avoid ambiguity
72 T& operator*() const {
75 T* operator->() const {
78 T &operator[](size_t index) {
81 const T &operator[](size_t index) const {
/system/core/libpixelflinger/codeflinger/tinyutils/
Dsmartpointer.h31 inline bool operator _op_ (const sp<T>& o) const { \
34 inline bool operator _op_ (const T* o) const { \
38 inline bool operator _op_ (const sp<U>& o) const { \
42 inline bool operator _op_ (const U* o) const { \
63 sp& operator = (T* other); variable
64 sp& operator = (const sp<T>& other); variable
66 template<typename U> sp& operator = (const sp<U>& other); variable
67 template<typename U> sp& operator = (U* other); variable
74 inline T& operator* () const { return *m_ptr; }
75 inline T* operator-> () const { return m_ptr; }
[all …]
/system/bt/types/
Draw_address.h33 bool operator<(const RawAddress& rhs) const {
36 bool operator==(const RawAddress& rhs) const {
39 bool operator>(const RawAddress& rhs) const { return (rhs < *this); }
40 bool operator<=(const RawAddress& rhs) const { return !(*this > rhs); }
41 bool operator>=(const RawAddress& rhs) const { return !(*this < rhs); }
42 bool operator!=(const RawAddress& rhs) const { return !(*this == rhs); }
59 inline std::ostream& operator<<(std::ostream& os, const RawAddress& a) {
/system/gatekeeper/include/gatekeeper/
DUniquePtr.h29 void operator()(T* p) const { in operator() function
38 void operator()(T* p) const {
63 T& operator*() const { return *mPtr; }
64 T* operator->() const { return mPtr; }
90 template <typename T2> bool operator==(const UniquePtr<T2>& p) const;
91 template <typename T2> bool operator!=(const UniquePtr<T2>& p) const;
95 void operator=(const UniquePtr&);
110 T& operator[](size_t i) const {
133 void operator=(const UniquePtr&);
/system/netd/libnetdutils/include/netdutils/
DNetlink.h48 bool operator==(const sockaddr_nl& lhs, const sockaddr_nl& rhs);
49 bool operator!=(const sockaddr_nl& lhs, const sockaddr_nl& rhs);
51 std::ostream& operator<<(std::ostream& os, const nlmsghdr& hdr);
52 std::ostream& operator<<(std::ostream& os, const nlattr& attr);
53 std::ostream& operator<<(std::ostream& os, const sockaddr_nl& addr);
/system/keymaster/include/keymaster/
DUniquePtr.h29 void operator()(T* p) const { in operator() function
38 void operator()(T* p) const {
63 T& operator*() const { return *mPtr; }
64 T* operator->() const { return mPtr; }
90 template <typename T2> bool operator==(const UniquePtr<T2>& p) const;
91 template <typename T2> bool operator!=(const UniquePtr<T2>& p) const;
94 UniquePtr & operator=(const UniquePtr&) = delete;
109 T& operator[](size_t i) const {
131 UniquePtr & operator=(const UniquePtr&) = delete;
158 void operator()(int* p) {
/system/core/libunwindstack/
DElfInterfaceArm.h40 iterator& operator++() { index_++; return *this; }
41 iterator& operator++(int increment) { index_ += increment; return *this; }
42 iterator& operator--() { index_--; return *this; }
43 iterator& operator--(int decrement) { index_ -= decrement; return *this; }
45 bool operator==(const iterator& rhs) { return this->index_ == rhs.index_; }
46 bool operator!=(const iterator& rhs) { return this->index_ != rhs.index_; }
48 uint32_t operator*() {

12345678910