Home
last modified time | relevance | path

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

12345678

/art/libartbase/base/
Dstride_iterator.h34 StrideIterator& operator=(const StrideIterator&) = default; variable
35 StrideIterator& operator=(StrideIterator&&) = default; variable
41 bool operator==(const StrideIterator& other) const {
46 bool operator!=(const StrideIterator& other) const {
50 StrideIterator& operator++() { // Value after modification.
55 StrideIterator operator++(int) {
61 StrideIterator& operator--() { // Value after modification.
66 StrideIterator operator--(int) {
72 StrideIterator& operator+=(difference_type delta) {
77 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 …]
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) {
191 BitStructNumber& operator=(T value) {
195 /*implicit*/ operator T() const { in T()
199 explicit operator bool() const {
203 BitStructNumber& operator++() {
208 StorageType operator++(int) {
212 BitStructNumber& operator--() {
[all …]
Dtransform_iterator.h69 TransformIterator& operator++() {
74 TransformIterator operator++(int) {
80 TransformIterator& operator--() {
89 TransformIterator operator--(int) {
95 reference operator*() const {
99 reference operator[](difference_type n) const {
107 TransformIterator operator+(difference_type n) const {
115 TransformIterator operator-(difference_type n) const {
123 difference_type operator-(const TransformIterator& other) const {
154 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) {
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 …]
Dstl_util.h84 void operator()(const void* ptr) const { in operator() function
132 size_t operator()(const Vector& vector) const { in operator() function
158 ZipLeftIter<IterLeft, IterRight>& operator++() {
163 ZipLeftIter<IterLeft, IterRight> operator++(int) {
168 bool operator==(const ZipLeftIter<IterLeft, IterRight>& other) const {
171 bool operator!=(const ZipLeftIter<IterLeft, IterRight>& other) const {
174 std::pair<typename IterLeft::value_type, typename IterRight::value_type> operator*() const {
187 CountIter& operator++() {
191 CountIter operator++(int) {
196 bool operator==(const CountIter& other) const {
[all …]
Dbit_utils_iterator.h46 Iter& operator++() {
53 Iter& operator++(int) {
63 friend bool operator==(const BitIteratorBase<U, I>& lhs, const BitIteratorBase<U, I>& rhs);
67 bool operator==(const BitIteratorBase<T, Iter>& lhs, const BitIteratorBase<T, Iter>& rhs) {
72 bool operator!=(const BitIteratorBase<T, Iter>& lhs, const BitIteratorBase<T, Iter>& rhs) {
81 uint32_t operator*() const {
92 uint32_t operator*() const {
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 …]
/art/runtime/
Dexperimental_flags.h36 constexpr operator decltype(kNone)() const { in decltype()
40 constexpr explicit operator bool() const {
44 constexpr ExperimentalFlags operator|(const decltype(kNone)& b) const {
47 constexpr ExperimentalFlags operator|(const ExperimentalFlags& b) const {
51 constexpr ExperimentalFlags operator&(const ExperimentalFlags& b) const {
54 constexpr ExperimentalFlags operator&(const decltype(kNone)& b) const { in decltype()
58 constexpr bool operator==(const ExperimentalFlags& b) const {
66 inline std::ostream& operator<<(std::ostream& stream, const ExperimentalFlags& e) {
78 inline std::ostream& operator<<(std::ostream& stream, const decltype(ExperimentalFlags::kNone)& e) {
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.h71 OBJPTR_INLINE ObjPtr& operator=(const ObjPtr<Type>& other) REQUIRES_SHARED(Locks::mutator_lock_);
73 OBJPTR_INLINE ObjPtr& operator=(MirrorType* ptr) REQUIRES_SHARED(Locks::mutator_lock_);
77 OBJPTR_INLINE MirrorType* operator->() const REQUIRES_SHARED(Locks::mutator_lock_);
130 size_t operator()(const ObjPtr<MirrorType>& ptr) const NO_THREAD_SAFETY_ANALYSIS;
136 operator==(ObjPtr<MirrorType1> lhs, ObjPtr<MirrorType2> rhs)
142 operator==(const MirrorType1* lhs, ObjPtr<MirrorType2> rhs)
148 operator==(ObjPtr<MirrorType1> lhs, const MirrorType2* rhs)
152 OBJPTR_INLINE bool operator==(ObjPtr<MirrorType> ptr, std::nullptr_t) {
157 OBJPTR_INLINE bool operator==(std::nullptr_t, ObjPtr<MirrorType> ptr) {
164 operator!=(ObjPtr<MirrorType1> lhs, ObjPtr<MirrorType2> rhs)
[all …]
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.h39 ALWAYS_INLINE ReflectiveHandle<T>& operator=(const ReflectiveHandle<T>& handle) = default; variable
44 ALWAYS_INLINE T& operator*() const REQUIRES_SHARED(Locks::mutator_lock_) { in REQUIRES_SHARED()
48 ALWAYS_INLINE T* operator->() const REQUIRES_SHARED(Locks::mutator_lock_) {
61 ALWAYS_INLINE bool operator!=(std::nullptr_t) const REQUIRES_SHARED(Locks::mutator_lock_) {
65 ALWAYS_INLINE bool operator==(std::nullptr_t) const REQUIRES_SHARED(Locks::mutator_lock_) {
87 ALWAYS_INLINE MutableReflectiveHandle<T>& operator=(const MutableReflectiveHandle<T>& handle)
Doffsets.h40 constexpr bool operator==(Offset o) const {
47 std::ostream& operator<<(std::ostream& os, const Offset& offs);
53 bool operator>(FrameOffset other) const { return val_ > other.val_; }
54 bool operator<(FrameOffset other) const { return val_ < other.val_; }
Ddex_register_location.h53 bool operator==(DexRegisterLocation other) const {
57 bool operator!=(DexRegisterLocation other) const {
88 std::ostream& operator<<(std::ostream& stream, DexRegisterLocation::Kind kind);
89 std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg);
/art/libdexfile/dex/
Dclass_iterator.h53 ClassIterator& operator++() {
59 ClassIterator operator++(int) {
65 const value_type& operator*() const {
69 bool operator==(const ClassIterator& rhs) const {
74 bool operator!=(const ClassIterator& rhs) const {
78 bool operator<(const ClassIterator& rhs) const {
83 bool operator>(const ClassIterator& rhs) const {
87 bool operator<=(const ClassIterator& rhs) const {
91 bool operator>=(const ClassIterator& rhs) const {
Ddex_instruction_iterator.h35 ALWAYS_INLINE const Instruction* operator->() const {
87 static ALWAYS_INLINE inline bool operator==(const DexInstructionIteratorBase& lhs,
93 static inline bool operator!=(const DexInstructionIteratorBase& lhs,
98 static inline bool operator<(const DexInstructionIteratorBase& lhs,
104 static inline bool operator>(const DexInstructionIteratorBase& lhs,
109 static inline bool operator<=(const DexInstructionIteratorBase& lhs,
114 static inline bool operator>=(const DexInstructionIteratorBase& lhs,
131 DexInstructionIterator& operator++() {
137 DexInstructionIterator operator++(int) {
143 const value_type& operator*() const {
[all …]
Ddex_file_types.h43 bool operator==(const DexIndex& other) const {
46 bool operator!=(const DexIndex& other) const {
49 bool operator<(const DexIndex& other) const {
52 bool operator<=(const DexIndex& other) const {
55 bool operator>(const DexIndex& other) const {
58 bool operator>=(const DexIndex& other) const {
71 std::ostream& operator<<(std::ostream& os, const ProtoIndex& index);
81 std::ostream& operator<<(std::ostream& os, const StringIndex& index);
91 std::ostream& operator<<(std::ostream& os, const TypeIndex& index);
99 size_t operator()(const art::dex::ProtoIndex& index) const {
[all …]
Dsignature.h47 bool operator==(const Signature& rhs) const;
48 bool operator!=(const Signature& rhs) const {
52 bool operator==(std::string_view rhs) const;
65 std::ostream& operator<<(std::ostream& os, const Signature& sig);
Ddex_file_layout.h48 std::ostream& operator<<(std::ostream& os, const LayoutType& collector_type);
63 std::ostream& operator<<(std::ostream& os, const MadviseState& collector_type);
121 std::ostream& operator<<(std::ostream& os, const DexLayoutSections::SectionType& collector_type);
122 std::ostream& operator<<(std::ostream& os, const DexLayoutSection& section);
123 std::ostream& operator<<(std::ostream& os, const DexLayoutSections& sections);
Ddex_file_reference.h33 bool operator()(const DexFileReference& a, const DexFileReference& b) const { in operator() function
43 inline bool operator<(const DexFileReference& a, const DexFileReference& b) {
46 inline bool operator==(const DexFileReference& a, const DexFileReference& b) {
/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/compiler/utils/
Dswap_space.h64 bool operator()(const SpaceChunk& a, const SpaceChunk& b) const { in operator() function
82 bool operator()(const FreeBySizeEntry& lhs, const FreeBySizeEntry& rhs) const { in operator() function
132 SwapAllocator& operator=(const SwapAllocator& other) = default; variable
142 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs);
168 SwapAllocator& operator=(const SwapAllocator& other) = default; variable
207 inline bool operator==(SwapAllocator const& other) {
210 inline bool operator!=(SwapAllocator const& other) {
211 return !operator==(other);
221 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs);
225 inline bool operator==(const SwapAllocator<T>& lhs, const SwapAllocator<T>& rhs) {
[all …]
/art/runtime/ti/
Dagent.h82 friend std::ostream& operator<<(std::ostream &os, AgentSpec const& m);
85 std::ostream& operator<<(std::ostream &os, AgentSpec const& m);
110 Agent& operator=(Agent&& other) noexcept; variable
134 friend std::ostream& operator<<(std::ostream &os, Agent const& m);
139 std::ostream& operator<<(std::ostream &os, Agent const& m);
140 std::ostream& operator<<(std::ostream &os, const Agent* m);

12345678