Home
last modified time | relevance | path

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

123456789

/art/libartbase/base/
Dstride_iterator.h37 StrideIterator& operator=(const StrideIterator&) = default; variable
38 StrideIterator& operator=(StrideIterator&&) noexcept = default; variable
44 bool operator==(const StrideIterator& other) const {
49 bool operator!=(const StrideIterator& other) const {
53 StrideIterator& operator++() { // Value after modification.
58 StrideIterator operator++(int) {
64 StrideIterator& operator--() { // Value after modification.
69 StrideIterator operator--(int) {
75 StrideIterator& operator+=(difference_type delta) {
80 StrideIterator operator+(difference_type delta) const {
[all …]
Darena_object.h33 void* operator new(size_t size, ArenaAllocator* allocator) {
37 static void* operator new(size_t size, ScopedArenaAllocator* allocator) {
41 void operator delete(void*, size_t) {
47 ALWAYS_INLINE void* operator new(size_t, void* ptr) noexcept { return ptr; }
48 ALWAYS_INLINE void operator delete(void*, void*) noexcept { }
57 void* operator new(size_t size, ArenaAllocator* allocator) {
61 static void* operator new(size_t size, ScopedArenaAllocator* allocator) {
65 void operator delete(void*, size_t) {
Dbit_string.h28 inline std::ostream& operator<<(std::ostream& os, const BitStringChar& bc);
65 explicit operator StorageType() const { in StorageType()
69 bool operator==(StorageType storage) const {
73 bool operator!=(StorageType storage) const {
78 bool operator==(const BitStringChar& other) const {
83 bool operator!=(const BitStringChar& other) const {
89 BitStringChar operator+(StorageType storage) const {
108 inline std::ostream& operator<<(std::ostream& os, const BitStringChar& bc) {
182 BitStringChar operator[](size_t idx) const {
226 explicit operator StorageType() const { in StorageType()
[all …]
Dstl_util.h85 void operator()(const void* ptr) const { in operator() function
138 size_t operator()(const Vector& vector) const { in operator() function
168 ZipLeftIter<IterLeft, IterRight>& operator++() {
173 ZipLeftIter<IterLeft, IterRight> operator++(int) {
178 bool operator==(const ZipLeftIter<IterLeft, IterRight>& other) const {
181 bool operator!=(const ZipLeftIter<IterLeft, IterRight>& other) const {
184 std::pair<typename IterLeft::value_type, typename IterRight::value_type> operator*() const {
203 CountIter& operator++() {
207 CountIter operator++(int) {
212 bool operator==(const CountIter& other) const {
[all …]
Dbit_struct.h117 operator T() const { in T()
124 explicit operator StorageType() const { in StorageType()
128 BitStructField& operator=(T value) {
136 BitStructField& operator=(const BitStructField& other) {
190 BitStructNumber& operator=(T value) {
194 /*implicit*/ operator T() const { in T()
198 explicit operator bool() const {
202 BitStructNumber& operator++() {
207 StorageType operator++(int) {
211 BitStructNumber& operator--() {
[all …]
Dtransform_iterator.h69 TransformIterator& operator++() {
74 TransformIterator operator++(int) {
80 TransformIterator& operator--() {
88 TransformIterator operator--(int) {
94 reference operator*() const {
98 reference operator[](difference_type n) const {
105 TransformIterator operator+(difference_type n) const {
112 TransformIterator operator-(difference_type n) const {
119 difference_type operator-(const TransformIterator& other) const {
149 bool operator==(const TransformIterator<BaseIterator1, Function>& lhs,
[all …]
Ddchecked_vector.h85 dchecked_vector& operator=(const dchecked_vector& src) {
86 Base::operator=(src);
89 dchecked_vector& operator=(dchecked_vector&& src) noexcept {
90 Base::operator=(std::move(src));
93 dchecked_vector& operator=(std::initializer_list<value_type> il) {
94 Base::operator=(il);
122 reference operator[](size_type n) {
124 return Base::operator[](n);
126 const_reference operator[](size_type n) const {
128 return Base::operator[](n);
[all …]
Dbit_table.h165 const_iterator operator+(difference_type n) { return const_iterator(table_, row_ + n); }
166 const_iterator operator-(difference_type n) { return const_iterator(table_, row_ - n); }
167 difference_type operator-(const const_iterator& other) { return row_ - other.row_; }
168 void operator+=(difference_type rows) { row_ += rows; }
169 void operator-=(difference_type rows) { row_ -= rows; }
170 const_iterator operator++() { return const_iterator(table_, ++row_); }
171 const_iterator operator--() { return const_iterator(table_, --row_); }
172 const_iterator operator++(int) { return const_iterator(table_, row_++); }
173 const_iterator operator--(int) { return const_iterator(table_, row_--); }
174 bool operator==(const_iterator i) const { DCHECK(table_ == i.table_); return row_ == i.row_; }
[all …]
Dbit_utils_iterator.h51 Iter& operator++() {
58 Iter& operator++(int) {
68 friend bool operator==(const BitIteratorBase<U, I>& lhs, const BitIteratorBase<U, I>& rhs);
72 bool operator==(const BitIteratorBase<T, Iter>& lhs, const BitIteratorBase<T, Iter>& rhs) {
77 bool operator!=(const BitIteratorBase<T, Iter>& lhs, const BitIteratorBase<T, Iter>& rhs) {
86 uint32_t operator*() const {
97 uint32_t operator*() const {
/art/runtime/
Doffsets.h41 Offset& operator+=(const size_t rhs) {
45 constexpr bool operator==(Offset o) const {
48 constexpr bool operator!=(Offset o) const {
51 constexpr bool operator<(Offset o) const {
54 constexpr bool operator<=(Offset o) const {
57 constexpr bool operator>(Offset o) const {
60 constexpr bool operator>=(Offset o) const {
67 std::ostream& operator<<(std::ostream& os, const Offset& offs);
73 bool operator>(FrameOffset other) const { return val_ > other.val_; }
74 bool operator<(FrameOffset other) const { return val_ < other.val_; }
Dreflective_reference.h37 ReflectiveReference<ReflectiveType>& operator=(const ReflectiveReference<ReflectiveType>& t) = variable
52 bool operator==(const ReflectiveReference<ReflectiveType>& rr) const {
55 bool operator!=(const ReflectiveReference<ReflectiveType>& rr) const {
56 return !operator==(rr);
58 bool operator==(std::nullptr_t) const {
61 bool operator!=(std::nullptr_t) const {
Dobj_ptr.h72 OBJPTR_INLINE ObjPtr& operator=(const ObjPtr<Type>& other) REQUIRES_SHARED(Locks::mutator_lock_);
74 OBJPTR_INLINE ObjPtr& operator=(MirrorType* ptr) REQUIRES_SHARED(Locks::mutator_lock_);
78 OBJPTR_INLINE MirrorType* operator->() const REQUIRES_SHARED(Locks::mutator_lock_);
131 size_t operator()(const ObjPtr<MirrorType>& ptr) const NO_THREAD_SAFETY_ANALYSIS;
137 operator==(ObjPtr<MirrorType1> lhs, ObjPtr<MirrorType2> rhs)
143 operator==(const MirrorType1* lhs, ObjPtr<MirrorType2> rhs)
149 operator==(ObjPtr<MirrorType1> lhs, const MirrorType2* rhs)
153 OBJPTR_INLINE bool operator==(ObjPtr<MirrorType> ptr, std::nullptr_t) {
158 OBJPTR_INLINE bool operator==(std::nullptr_t, ObjPtr<MirrorType> ptr) {
165 operator!=(ObjPtr<MirrorType1> lhs, ObjPtr<MirrorType2> rhs)
[all …]
Dwell_known_classes-inl.h35 mirror::Class* ClassFromMember<MemberType, kMember>::operator->() const {
40 inline bool operator==(const ClassFromMember<MemberType, kMember> lhs, ObjPtr<mirror::Class> rhs) {
45 inline bool operator==(ObjPtr<mirror::Class> lhs, const ClassFromMember<MemberType, kMember> rhs) {
50 bool operator!=(const ClassFromMember<MemberType, kMember> lhs, ObjPtr<mirror::Class> rhs) {
55 bool operator!=(ObjPtr<mirror::Class> lhs, const ClassFromMember<MemberType, kMember> rhs) {
Dobj_ptr-inl.h86 inline ObjPtr<MirrorType>& ObjPtr<MirrorType>::operator=(const ObjPtr<Type>& other) {
95 OBJPTR_INLINE ObjPtr<MirrorType>& ObjPtr<MirrorType>::operator=(MirrorType* ptr) {
106 inline MirrorType* ObjPtr<MirrorType>::operator->() const {
133 size_t HashObjPtr::operator()(const ObjPtr<MirrorType>& ptr) const { in operator() function
140 operator==(ObjPtr<MirrorType1> lhs, ObjPtr<MirrorType2> rhs) {
147 operator==(const MirrorType1* lhs, ObjPtr<MirrorType2> rhs) {
154 operator==(ObjPtr<MirrorType1> lhs, const MirrorType2* rhs) {
161 operator!=(ObjPtr<MirrorType1> lhs, ObjPtr<MirrorType2> rhs) {
168 operator!=(const MirrorType1* lhs, ObjPtr<MirrorType2> rhs) {
175 operator!=(ObjPtr<MirrorType1> lhs, const MirrorType2* rhs) {
[all …]
Dreflective_handle.h40 ALWAYS_INLINE ReflectiveHandle<T>& operator=(const ReflectiveHandle<T>& handle) = default; variable
45 ALWAYS_INLINE T& operator*() const REQUIRES_SHARED(Locks::mutator_lock_) { in REQUIRES_SHARED()
49 ALWAYS_INLINE T* operator->() const REQUIRES_SHARED(Locks::mutator_lock_) {
62 ALWAYS_INLINE bool operator!=(std::nullptr_t) const REQUIRES_SHARED(Locks::mutator_lock_) {
66 ALWAYS_INLINE bool operator==(std::nullptr_t) const REQUIRES_SHARED(Locks::mutator_lock_) {
87 ALWAYS_INLINE MutableReflectiveHandle<T>& operator=(const MutableReflectiveHandle<T>& handle) variable
/art/libdexfile/dex/
Dclass_iterator.h56 ClassIterator& operator++() {
62 ClassIterator operator++(int) {
68 const value_type& operator*() const {
72 bool operator==(const ClassIterator& rhs) const {
77 bool operator!=(const ClassIterator& rhs) const {
81 bool operator<(const ClassIterator& rhs) const {
86 bool operator>(const ClassIterator& rhs) const {
90 bool operator<=(const ClassIterator& rhs) const {
94 bool operator>=(const ClassIterator& rhs) const {
Ddex_instruction_iterator.h35 ALWAYS_INLINE const Instruction* operator->() const {
89 static ALWAYS_INLINE inline bool operator==(const DexInstructionIteratorBase& lhs,
95 static inline bool operator!=(const DexInstructionIteratorBase& lhs,
100 static inline bool operator<(const DexInstructionIteratorBase& lhs,
106 static inline bool operator>(const DexInstructionIteratorBase& lhs,
111 static inline bool operator<=(const DexInstructionIteratorBase& lhs,
116 static inline bool operator>=(const DexInstructionIteratorBase& lhs,
133 DexInstructionIterator& operator++() {
139 DexInstructionIterator operator++(int) {
145 const value_type& operator*() const {
[all …]
Ddex_file_types.h44 bool operator==(const DexIndex& other) const {
47 bool operator!=(const DexIndex& other) const {
50 bool operator<(const DexIndex& other) const {
53 bool operator<=(const DexIndex& other) const {
56 bool operator>(const DexIndex& other) const {
59 bool operator>=(const DexIndex& other) const {
72 std::ostream& operator<<(std::ostream& os, const ProtoIndex& index);
82 std::ostream& operator<<(std::ostream& os, const StringIndex& index);
92 std::ostream& operator<<(std::ostream& os, const TypeIndex& index);
100 size_t operator()(const art::dex::ProtoIndex& index) const {
[all …]
Ddex_file_reference.h35 bool operator()(const DexFileReference& a, const DexFileReference& b) const { in operator() function
45 inline bool operator<(const DexFileReference& a, const DexFileReference& b) {
48 inline bool operator==(const DexFileReference& a, const DexFileReference& b) {
51 inline bool operator!=(const DexFileReference& a, const DexFileReference& b) {
61 size_t operator()(const art::DexFileReference& ref) const {
Dsignature.h47 bool operator==(const Signature& rhs) const;
48 bool operator!=(const Signature& rhs) const {
52 bool operator==(std::string_view rhs) const;
72 std::ostream& operator<<(std::ostream& os, const Signature& sig);
/art/openjdkjvmti/
Djvmti_allocator.h66 JvmtiAllocator& operator=(const JvmtiAllocator& other) = default; variable
76 friend bool operator==(const JvmtiAllocator<U>& lhs, const JvmtiAllocator<U>& rhs);
103 JvmtiAllocator& operator=(const JvmtiAllocator& other) = default; variable
146 inline bool operator==(JvmtiAllocator const& other) {
149 inline bool operator!=(JvmtiAllocator const& other) {
150 return !operator==(other);
160 friend bool operator==(const JvmtiAllocator<U>& lhs, const JvmtiAllocator<U>& rhs);
164 inline bool operator==(const JvmtiAllocator<T>& lhs, const JvmtiAllocator<T>& rhs) {
169 inline bool operator!=(const JvmtiAllocator<T>& lhs, const JvmtiAllocator<T>& rhs) {
/art/dex2oat/utils/
Dswap_space.h65 bool operator()(const SpaceChunk& a, const SpaceChunk& b) const { in operator() function
83 bool operator()(const FreeBySizeEntry& lhs, const FreeBySizeEntry& rhs) const { in operator() function
133 SwapAllocator& operator=(const SwapAllocator& other) = default; variable
143 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs);
169 SwapAllocator& operator=(const SwapAllocator& other) = default; variable
208 inline bool operator==(SwapAllocator const& other) {
211 inline bool operator!=(SwapAllocator const& other) {
212 return !operator==(other);
222 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs);
226 inline bool operator==(const SwapAllocator<T>& lhs, const SwapAllocator<T>& rhs) {
[all …]
/art/runtime/ti/
Dagent.h84 friend std::ostream& operator<<(std::ostream &os, AgentSpec const& m);
87 std::ostream& operator<<(std::ostream &os, AgentSpec const& m);
112 Agent& operator=(Agent&& other) noexcept; variable
136 friend std::ostream& operator<<(std::ostream &os, Agent const& m);
141 std::ostream& operator<<(std::ostream &os, Agent const& m);
142 std::ostream& operator<<(std::ostream &os, const Agent* m);
/art/odrefresh/
Dodr_compilation_log.h42 std::istream& operator>>(std::istream& is, OdrCompilationLogEntry& entry);
45 std::ostream& operator<<(std::ostream& os, const OdrCompilationLogEntry& entry);
48 bool operator==(const OdrCompilationLogEntry& lhs, const OdrCompilationLogEntry& rhs);
49 bool operator!=(const OdrCompilationLogEntry& lhs, const OdrCompilationLogEntry& rhs);
/art/compiler/utils/x86_64/
Dconstants_x86_64.h38 bool operator==(const CpuRegister& other) const {
50 std::ostream& operator<<(std::ostream& os, const CpuRegister& reg);
65 bool operator==(const XmmRegister& other) const {
71 std::ostream& operator<<(std::ostream& os, const XmmRegister& reg);
85 std::ostream& operator<<(std::ostream& os, const X87Register& reg);

123456789