Home
last modified time | relevance | path

Searched refs:ALWAYS_INLINE (Results 1 – 25 of 122) sorted by relevance

12345

/art/runtime/gc/accounting/
Dbitmap.h47 static ALWAYS_INLINE constexpr size_t BitIndexToWordIndex(uintptr_t offset) { in BitIndexToWordIndex()
52 static ALWAYS_INLINE constexpr T WordIndexToBitIndex(T word_index) { in WordIndexToBitIndex()
56 static ALWAYS_INLINE constexpr uintptr_t BitIndexToMask(uintptr_t bit_index) { in BitIndexToMask()
60 ALWAYS_INLINE bool SetBit(size_t bit_index) { in SetBit()
64 ALWAYS_INLINE bool ClearBit(size_t bit_index) { in ClearBit()
68 ALWAYS_INLINE bool TestBit(size_t bit_index) const;
71 ALWAYS_INLINE bool AtomicTestAndSetBit(size_t bit_index);
94 ALWAYS_INLINE void CheckValidBitIndex(size_t bit_index) const { in CheckValidBitIndex()
110 ALWAYS_INLINE bool ModifyBit(uintptr_t bit_index);
135 ALWAYS_INLINE uintptr_t CoverBegin() const { in CoverBegin()
[all …]
Dcard_table.h59 ALWAYS_INLINE void MarkCard(const void *addr) { in MarkCard()
138 void* AddrFromCard(const uint8_t *card_addr) const ALWAYS_INLINE;
141 uint8_t* CardFromAddr(const void *addr) const ALWAYS_INLINE;
149 bool IsValidCard(const uint8_t* card_addr) const ALWAYS_INLINE;
151 void CheckCardValid(uint8_t* card) const ALWAYS_INLINE;
/art/runtime/
Dhandle_scope.h52 ALWAYS_INLINE uint32_t NumberOfReferences() const;
54 ALWAYS_INLINE bool Contains(StackReference<mirror::Object>* handle_scope_entry) const;
57 ALWAYS_INLINE void VisitRoots(Visitor& visitor) REQUIRES_SHARED(Locks::mutator_lock_);
64 ALWAYS_INLINE VariableSizedHandleScope* AsVariableSized();
65 ALWAYS_INLINE HandleScope* AsHandleScope();
66 ALWAYS_INLINE const VariableSizedHandleScope* AsVariableSized() const;
67 ALWAYS_INLINE const HandleScope* AsHandleScope() const;
108 ALWAYS_INLINE mirror::Object* GetReference(size_t i) const
111 ALWAYS_INLINE Handle<mirror::Object> GetHandle(size_t i);
113 ALWAYS_INLINE MutableHandle<mirror::Object> GetMutableHandle(size_t i)
[all …]
Dscoped_thread_state_change.h44 ALWAYS_INLINE ScopedThreadStateChange(Thread* self, ThreadState new_thread_state)
47 ALWAYS_INLINE ~ScopedThreadStateChange() REQUIRES(!Locks::thread_suspend_count_lock_);
49 ALWAYS_INLINE Thread* Self() const { in Self()
101 ALWAYS_INLINE bool IsRunnable() const;
104 ALWAYS_INLINE explicit ScopedObjectAccessAlreadyRunnable(JNIEnv* env)
107 ALWAYS_INLINE explicit ScopedObjectAccessAlreadyRunnable(Thread* self)
118 ALWAYS_INLINE ~ScopedObjectAccessAlreadyRunnable() {} in ~ScopedObjectAccessAlreadyRunnable()
147 ALWAYS_INLINE explicit ScopedObjectAccessUnchecked(JNIEnv* env)
150 ALWAYS_INLINE explicit ScopedObjectAccessUnchecked(Thread* self)
153 ALWAYS_INLINE ~ScopedObjectAccessUnchecked() REQUIRES(!Locks::thread_suspend_count_lock_) {} in ~ScopedObjectAccessUnchecked()
[all …]
Dhandle.h46 ALWAYS_INLINE Handle(const Handle<T>& handle) = default;
48 ALWAYS_INLINE Handle<T>& operator=(const Handle<T>& handle) = default;
50 ALWAYS_INLINE explicit Handle(StackReference<T>* reference) : reference_(reference) { in Handle()
53 ALWAYS_INLINE T& operator*() const REQUIRES_SHARED(Locks::mutator_lock_) { in REQUIRES_SHARED()
57 ALWAYS_INLINE T* operator->() const REQUIRES_SHARED(Locks::mutator_lock_) {
61 ALWAYS_INLINE T* Get() const REQUIRES_SHARED(Locks::mutator_lock_) { in Get()
65 ALWAYS_INLINE bool IsNull() const { in IsNull()
70 ALWAYS_INLINE jobject ToJObject() const REQUIRES_SHARED(Locks::mutator_lock_) { in ToJObject()
78 ALWAYS_INLINE StackReference<mirror::Object>* GetReference() { in GetReference()
82 ALWAYS_INLINE const StackReference<mirror::Object>* GetReference() const { in GetReference()
[all …]
Dwrite_barrier.h40 ALWAYS_INLINE static void ForFieldWrite(ObjPtr<mirror::Object> dst,
47 ALWAYS_INLINE static void ForArrayWrite(ObjPtr<mirror::Object> dst,
53 ALWAYS_INLINE static void ForEveryFieldWrite(ObjPtr<mirror::Object> obj)
57 ALWAYS_INLINE static gc::accounting::CardTable* GetCardTable();
Dart_method.h91 ALWAYS_INLINE ObjPtr<mirror::Class> GetDeclaringClass() REQUIRES_SHARED(Locks::mutator_lock_);
94 ALWAYS_INLINE ObjPtr<mirror::Class> GetDeclaringClassUnchecked()
178 ALWAYS_INLINE void SetIntrinsic(uint32_t intrinsic) REQUIRES_SHARED(Locks::mutator_lock_);
390 ALWAYS_INLINE uint32_t GetDexMethodIndex() { in GetDexMethodIndex()
427 ALWAYS_INLINE const void* GetEntryPointFromQuickCompiledCodePtrSize(PointerSize pointer_size) { in GetEntryPointFromQuickCompiledCodePtrSize()
436 ALWAYS_INLINE void SetEntryPointFromQuickCompiledCodePtrSize( in SetEntryPointFromQuickCompiledCodePtrSize()
472 ALWAYS_INLINE void SetImtConflictTable(ImtConflictTable* table, PointerSize pointer_size) { in SetImtConflictTable()
484 ALWAYS_INLINE void SetProfilingInfo(ProfilingInfo* info) { in SetProfilingInfo()
488 ALWAYS_INLINE void SetProfilingInfoPtrSize(ProfilingInfo* info, PointerSize pointer_size) { in SetProfilingInfoPtrSize()
498 ALWAYS_INLINE bool HasSingleImplementation() REQUIRES_SHARED(Locks::mutator_lock_);
[all …]
Dread_barrier.h56 ALWAYS_INLINE static MirrorType* Barrier(
63 ALWAYS_INLINE static MirrorType* BarrierForRoot(MirrorType** root,
70 ALWAYS_INLINE static MirrorType* BarrierForRoot(mirror::CompressedReference<MirrorType>* root,
76 ALWAYS_INLINE static MirrorType* IsMarked(MirrorType* ref)
116 ALWAYS_INLINE static bool IsGray(mirror::Object* obj, uintptr_t* fake_address_dependency)
121 ALWAYS_INLINE static bool IsGray(mirror::Object* obj)
Dgc_root.h111 ALWAYS_INLINE void VisitRoot(mirror::Object** root, const RootInfo& info) in VisitRoot()
117 ALWAYS_INLINE void VisitRootIfNonNull(mirror::Object** root, const RootInfo& info) in VisitRootIfNonNull()
189 ALWAYS_INLINE MirrorType* Read(GcRootSource* gc_root_source = nullptr) const
207 ALWAYS_INLINE mirror::CompressedReference<mirror::Object>* AddressWithoutBarrier() { in AddressWithoutBarrier()
211 ALWAYS_INLINE bool IsNull() const { in IsNull()
216 ALWAYS_INLINE GcRoot() {} in GcRoot()
217 explicit ALWAYS_INLINE GcRoot(MirrorType* ref)
219 explicit ALWAYS_INLINE GcRoot(ObjPtr<MirrorType> ref)
246 ALWAYS_INLINE void VisitRootIfNonNull(GcRoot<MirrorType>& root) in VisitRootIfNonNull()
254 ALWAYS_INLINE void VisitRootIfNonNull(mirror::CompressedReference<MirrorType>* root) in VisitRootIfNonNull()
[all …]
/art/libdexfile/dex/
Dcode_item_accessors.h42 ALWAYS_INLINE CodeItemInstructionAccessor(const DexFile& dex_file,
45 ALWAYS_INLINE explicit CodeItemInstructionAccessor(ArtMethod* method);
47 ALWAYS_INLINE DexInstructionIterator begin() const;
49 ALWAYS_INLINE DexInstructionIterator end() const;
80 ALWAYS_INLINE void Init(uint32_t insns_size_in_code_units, const uint16_t* insns);
81 ALWAYS_INLINE void Init(const DexFile& dex_file, const dex::CodeItem* code_item);
84 ALWAYS_INLINE void Init(const DexFileCodeItemType& code_item);
98 ALWAYS_INLINE CodeItemDataAccessor(const DexFile& dex_file, const dex::CodeItem* code_item);
127 ALWAYS_INLINE void Init(const DexFile& dex_file, const dex::CodeItem* code_item);
130 ALWAYS_INLINE void Init(const DexFileCodeItemType& code_item);
[all …]
Ddex_instruction_iterator.h31 ALWAYS_INLINE const Instruction& Inst() const { in Inst()
35 ALWAYS_INLINE const Instruction* operator->() const {
39 ALWAYS_INLINE uint32_t DexPc() const { in DexPc()
43 ALWAYS_INLINE const uint16_t* Instructions() const { in Instructions()
74 ALWAYS_INLINE uint32_t DexPc() const { in DexPc()
79 ALWAYS_INLINE const uint16_t* Instructions() const { in Instructions()
87 static ALWAYS_INLINE inline bool operator==(const DexInstructionIteratorBase& lhs,
152 ALWAYS_INLINE uint32_t DexPc() const { in DexPc()
206 ALWAYS_INLINE const Instruction& Inst() const { in Inst()
221 ALWAYS_INLINE void AssertValid() const { in AssertValid()
[all …]
/art/libelffile/dwarf/
Ddebug_frame_opcode_writer.h47 void ALWAYS_INLINE AdvancePC(int absolute_pc) { in AdvancePC()
73 void ALWAYS_INLINE RelOffset(Reg reg, int offset) { in RelOffset()
78 void ALWAYS_INLINE AdjustCFAOffset(int delta) { in AdjustCFAOffset()
83 void ALWAYS_INLINE RelOffsetForMany(Reg reg_base, int offset, in RelOffsetForMany()
99 void ALWAYS_INLINE RestoreMany(Reg reg_base, uint32_t reg_mask) { in RestoreMany()
111 void ALWAYS_INLINE Nop() { in Nop()
117 void ALWAYS_INLINE Offset(Reg reg, int offset) { in Offset()
139 void ALWAYS_INLINE Restore(Reg reg) { in Restore()
151 void ALWAYS_INLINE Undefined(Reg reg) { in Undefined()
159 void ALWAYS_INLINE SameValue(Reg reg) { in SameValue()
[all …]
/art/libartbase/base/
Dbit_memory_region.h38 ALWAYS_INLINE BitMemoryRegion(uint8_t* data, ssize_t bit_start, size_t bit_size) { in BitMemoryRegion()
46 ALWAYS_INLINE explicit BitMemoryRegion(MemoryRegion region) in BitMemoryRegion()
49 ALWAYS_INLINE BitMemoryRegion(MemoryRegion region, size_t bit_offset, size_t bit_length) in BitMemoryRegion()
54 ALWAYS_INLINE bool IsValid() const { return data_ != nullptr; } in IsValid()
69 ALWAYS_INLINE BitMemoryRegion Subregion(size_t bit_offset, size_t bit_length) const { in Subregion()
78 ALWAYS_INLINE BitMemoryRegion Subregion(size_t bit_offset) const { in Subregion()
88 ALWAYS_INLINE bool LoadBit(size_t bit_offset) const { in LoadBit()
96 ALWAYS_INLINE void StoreBit(size_t bit_offset, bool value) { in StoreBit()
109 ALWAYS_INLINE uint32_t LoadBits(size_t bit_offset, size_t bit_length) const { in LoadBits()
130 ALWAYS_INLINE void StoreBits(size_t bit_offset, uint32_t value, size_t bit_length) { in StoreBits()
[all …]
Dmacros.h39 NO_RETURN ALWAYS_INLINE void operator delete(void*, size_t) { UNREACHABLE(); } \
40 ALWAYS_INLINE void* operator new(size_t, void* ptr) noexcept { return ptr; } \
41 ALWAYS_INLINE void operator delete(void*, void*) noexcept { } \
71 #define ALWAYS_INLINE macro
73 #define ALWAYS_INLINE __attribute__ ((always_inline)) macro
Dmemory_region.h62 ALWAYS_INLINE T Load(uintptr_t offset) const { in Load()
72 ALWAYS_INLINE void Store(uintptr_t offset, T value) const { in Store()
81 ALWAYS_INLINE T LoadUnaligned(uintptr_t offset) const { in LoadUnaligned()
96 ALWAYS_INLINE void StoreUnaligned(uintptr_t offset, T value) const { in StoreUnaligned()
108 ALWAYS_INLINE T* PointerTo(uintptr_t offset) const { in PointerTo()
122 ALWAYS_INLINE MemoryRegion Subregion(uintptr_t offset, uintptr_t size_in) const { in Subregion()
129 ALWAYS_INLINE void Extend(const MemoryRegion& region, uintptr_t extra) { in Extend()
136 ALWAYS_INLINE T* ComputeInternalPointer(size_t offset) const { in ComputeInternalPointer()
144 ALWAYS_INLINE uint8_t* ComputeBitPointer(uintptr_t bit_offset, uint8_t* bit_mask) const { in ComputeBitPointer()
/art/runtime/mirror/
Dobject.h95 ALWAYS_INLINE Class* GetClass() REQUIRES_SHARED(Locks::mutator_lock_);
102 ALWAYS_INLINE uint32_t GetReadBarrierState(uintptr_t* fake_address_dependency)
105 ALWAYS_INLINE uint32_t GetReadBarrierState() REQUIRES_SHARED(Locks::mutator_lock_);
107 ALWAYS_INLINE uint32_t GetReadBarrierStateAcquire() REQUIRES_SHARED(Locks::mutator_lock_);
109 ALWAYS_INLINE void SetReadBarrierState(uint32_t rb_state) REQUIRES_SHARED(Locks::mutator_lock_);
112 ALWAYS_INLINE bool AtomicSetReadBarrierState(uint32_t expected_rb_state, uint32_t rb_state)
115 ALWAYS_INLINE uint32_t GetMarkBit() REQUIRES_SHARED(Locks::mutator_lock_);
117 ALWAYS_INLINE bool AtomicSetMarkBit(uint32_t expected_mark_bit, uint32_t mark_bit)
121 ALWAYS_INLINE void AssertReadBarrierState() const REQUIRES_SHARED(Locks::mutator_lock_);
128 ALWAYS_INLINE bool InstanceOf(ObjPtr<Class> klass) REQUIRES_SHARED(Locks::mutator_lock_);
[all …]
Ddex_cache.h274 String* GetResolvedString(dex::StringIndex string_idx) ALWAYS_INLINE
277 void SetResolvedString(dex::StringIndex string_idx, ObjPtr<mirror::String> resolved) ALWAYS_INLINE
282 ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_);
286 ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_);
299 ALWAYS_INLINE ArtMethod* GetResolvedMethod(uint32_t method_idx, PointerSize ptr_size)
302 ALWAYS_INLINE void SetResolvedMethod(uint32_t method_idx,
306 ALWAYS_INLINE void ClearResolvedMethod(uint32_t method_idx, PointerSize ptr_size)
310 ALWAYS_INLINE ArtField* GetResolvedField(uint32_t idx, PointerSize ptr_size)
314 ALWAYS_INLINE void SetResolvedField(uint32_t idx, ArtField* field, PointerSize ptr_size)
316 ALWAYS_INLINE void ClearResolvedField(uint32_t idx, PointerSize ptr_size)
[all …]
Dclass.h178 ALWAYS_INLINE uint32_t GetAccessFlags() REQUIRES_SHARED(Locks::mutator_lock_) { in GetAccessFlags()
190 ALWAYS_INLINE uint32_t GetClassFlags() REQUIRES_SHARED(Locks::mutator_lock_) { in GetClassFlags()
198 ALWAYS_INLINE bool IsEnum() REQUIRES_SHARED(Locks::mutator_lock_) { in IsEnum()
204 ALWAYS_INLINE bool IsInterface() REQUIRES_SHARED(Locks::mutator_lock_) { in IsInterface()
209 ALWAYS_INLINE bool IsPublic() REQUIRES_SHARED(Locks::mutator_lock_) { in IsPublic()
214 ALWAYS_INLINE bool IsFinal() REQUIRES_SHARED(Locks::mutator_lock_) { in IsFinal()
218 ALWAYS_INLINE bool IsFinalizable() REQUIRES_SHARED(Locks::mutator_lock_) { in IsFinalizable()
222 ALWAYS_INLINE bool ShouldSkipHiddenApiChecks() REQUIRES_SHARED(Locks::mutator_lock_) { in ShouldSkipHiddenApiChecks()
226 ALWAYS_INLINE void SetSkipHiddenApiChecks() REQUIRES_SHARED(Locks::mutator_lock_) { in SetSkipHiddenApiChecks()
231 ALWAYS_INLINE void SetRecursivelyInitialized() REQUIRES_SHARED(Locks::mutator_lock_);
[all …]
Dobject_array.h47 ALWAYS_INLINE ObjPtr<T> Get(int32_t i) REQUIRES_SHARED(Locks::mutator_lock_);
55 ALWAYS_INLINE void Set(int32_t i, ObjPtr<T> object) REQUIRES_SHARED(Locks::mutator_lock_);
59 ALWAYS_INLINE void Set(int32_t i, ObjPtr<T> object) NO_THREAD_SAFETY_ANALYSIS;
67 ALWAYS_INLINE void SetWithoutChecks(int32_t i, ObjPtr<T> object) NO_THREAD_SAFETY_ANALYSIS;
72 ALWAYS_INLINE void SetWithoutChecksAndWriteBarrier(int32_t i, ObjPtr<T> object)
77 ALWAYS_INLINE ObjPtr<T> GetWithoutChecks(int32_t i) REQUIRES_SHARED(Locks::mutator_lock_);
Dobject_reference-inl.h33 ALWAYS_INLINE
39 ALWAYS_INLINE
47 ALWAYS_INLINE
/art/openjdkjvmti/
Djvmti_weak_table.h63 ALWAYS_INLINE bool Remove(art::ObjPtr<art::mirror::Object> obj, /* out */ T* tag)
66 ALWAYS_INLINE bool RemoveLocked(art::ObjPtr<art::mirror::Object> obj, /* out */ T* tag)
72 ALWAYS_INLINE virtual bool Set(art::ObjPtr<art::mirror::Object> obj, T tag)
75 ALWAYS_INLINE virtual bool SetLocked(art::ObjPtr<art::mirror::Object> obj, T tag)
101 ALWAYS_INLINE void Sweep(art::IsMarkedVisitor* visitor)
106 ALWAYS_INLINE
117 ALWAYS_INLINE void Lock() ACQUIRE(allow_disallow_lock_);
118 ALWAYS_INLINE void Unlock() RELEASE(allow_disallow_lock_);
119 ALWAYS_INLINE void AssertLocked() ASSERT_CAPABILITY(allow_disallow_lock_);
121 ALWAYS_INLINE art::ObjPtr<art::mirror::Object> Find(T tag)
[all …]
Devents.h105 ALWAYS_INLINE static inline ArtJvmtiEvent GetArtJvmtiEvent(ArtJvmTiEnv* env, jvmtiEvent e);
210 ALWAYS_INLINE
221 ALWAYS_INLINE
228 ALWAYS_INLINE
236 ALWAYS_INLINE
245 ALWAYS_INLINE
256 ALWAYS_INLINE
262 ALWAYS_INLINE
266 ALWAYS_INLINE
273 ALWAYS_INLINE
[all …]
/art/runtime/jni/
Djni_internal.h44 ALWAYS_INLINE
49 ALWAYS_INLINE
54 ALWAYS_INLINE
59 ALWAYS_INLINE
/art/runtime/base/
Dmutex.h182 ALWAYS_INLINE bool IsExclusiveHeld(const Thread* self) const;
185 ALWAYS_INLINE void AssertExclusiveHeld(const Thread* self) const ASSERT_CAPABILITY(this);
186 ALWAYS_INLINE void AssertHeld(const Thread* self) const ASSERT_CAPABILITY(this);
296 void SharedLock(Thread* self) ACQUIRE_SHARED() ALWAYS_INLINE;
303 void SharedUnlock(Thread* self) RELEASE_SHARED() ALWAYS_INLINE;
307 ALWAYS_INLINE bool IsExclusiveHeld(const Thread* self) const;
310 ALWAYS_INLINE void AssertExclusiveHeld(const Thread* self) const ASSERT_CAPABILITY(this);
311 ALWAYS_INLINE void AssertWriterHeld(const Thread* self) const ASSERT_CAPABILITY(this);
327 ALWAYS_INLINE void AssertSharedHeld(const Thread* self) ASSERT_SHARED_CAPABILITY(this) { in AssertSharedHeld()
333 ALWAYS_INLINE void AssertReaderHeld(const Thread* self) ASSERT_SHARED_CAPABILITY(this) { in AssertReaderHeld()
[all …]
/art/runtime/interpreter/
Dinterpreter_cache.h65 ALWAYS_INLINE bool Get(const void* key, /* out */ size_t* value) { in Get()
75 ALWAYS_INLINE void Set(const void* key, size_t value) { in Set()
83 static ALWAYS_INLINE size_t IndexOf(const void* key) { in IndexOf()

12345