Home
last modified time | relevance | path

Searched refs:HandleScope (Results 1 – 15 of 15) sorted by relevance

/art/runtime/
Dhandle_scope-inl.h35 : HandleScope(link, kNumReferences) { in FixedSizeHandleScope()
64 inline size_t HandleScope::SizeOf(uint32_t num_references) { in SizeOf()
65 size_t header_size = sizeof(HandleScope); in SizeOf()
70 inline size_t HandleScope::SizeOf(PointerSize pointer_size, uint32_t num_references) { in SizeOf()
77 inline ObjPtr<mirror::Object> HandleScope::GetReference(size_t i) const { in GetReference()
85 inline Handle<mirror::Object> HandleScope::GetHandle(size_t i) { in GetHandle()
90 inline MutableHandle<mirror::Object> HandleScope::GetMutableHandle(size_t i) { in GetMutableHandle()
95 inline void HandleScope::SetReference(size_t i, ObjPtr<mirror::Object> object) { in SetReference()
103 inline bool HandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) const { in Contains()
113 inline void HandleScope::VisitRoots(Visitor& visitor) { in VisitRoots()
[all …]
Dhandle_scope.h32 class HandleScope; variable
65 ALWAYS_INLINE HandleScope* AsHandleScope();
67 ALWAYS_INLINE const HandleScope* AsHandleScope() const;
94 class PACKED(4) HandleScope : public BaseHandleScope {
96 ~HandleScope() {} in ~HandleScope()
137 static HandleScope* Create(void* storage, BaseHandleScope* link, uint32_t num_references) in Create()
139 return new (storage) HandleScope(link, num_references); in Create()
158 explicit HandleScope(size_t number_of_references) : HandleScope(nullptr, number_of_references) {} in HandleScope() function
161 HandleScope(BaseHandleScope* link, uint32_t num_references) in HandleScope() function
168 DISALLOW_COPY_AND_ASSIGN(HandleScope);
[all …]
Dhandle_scope_test.cc61 HandleScope::LinkOffset(kRuntimePointerSize)); in TEST_F()
67 HandleScope::NumberOfReferencesOffset(kRuntimePointerSize)); in TEST_F()
73 HandleScope::ReferencesOffset(kRuntimePointerSize)); in TEST_F()
Dstack.h38 class HandleScope; variable
285 HandleScope* GetCurrentHandleScope(size_t pointer_size) const { in GetCurrentHandleScope()
288 return reinterpret_cast<HandleScope*>(reinterpret_cast<uintptr_t>(sp) + pointer_size); in GetCurrentHandleScope()
Dhandle.h138 friend class HandleScope; variable
188 friend class HandleScope; variable
Dstack.cc153 HandleScope* hs; in GetThisObject()
155 hs = reinterpret_cast<HandleScope*>( in GetThisObject()
/art/compiler/jni/quick/
Dcalling_convention.h359 HandleScope::LinkOffset(frame_pointer_size_)); in HandleScopeLinkOffset()
364 HandleScope::NumberOfReferencesOffset(frame_pointer_size_)); in HandleScopeNumRefsOffset()
369 HandleScope::ReferencesOffset(frame_pointer_size_)); in HandleReferencesOffset()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc234 HandleScope* handle_scope = down_cast<HandleScope*>(self->GetTopHandleScope()); in GenericJniMethodEnd()
Dquick_trampoline_entrypoints.cc1818 HandleScope** handle_scope) REQUIRES_SHARED(Locks::mutator_lock_) { in ComputeLayout()
1827 HandleScope::Create(storage, self->GetTopHandleScope(), num_handle_scope_references_); in ComputeLayout()
1831 HandleScope::SizeOf(num_handle_scope_references_) + kJniCookieSize); in ComputeLayout()
2005 HandleScope* handle_scope, bool critical_native) in FillJniCall()
2013 void Reset(uintptr_t* gpr_regs, uint32_t* fpr_regs, uintptr_t* stack_args, HandleScope* scope) { in Reset()
2037 HandleScope* handle_scope_;
2042 HandleScope* handle_scope_;
/art/runtime/entrypoints/
Dentrypoint_utils.h45 class HandleScope; variable
219 inline HandleScope* GetGenericJniHandleScope(ArtMethod** managed_sp,
Dentrypoint_utils-inl.h762 inline HandleScope* GetGenericJniHandleScope(ArtMethod** managed_sp, in GetGenericJniHandleScope()
766 RoundUp(HandleScope::SizeOf(num_handle_scope_references) + kJniCookieSize, sizeof(uintptr_t)); in GetGenericJniHandleScope()
767 return reinterpret_cast<HandleScope*>(reinterpret_cast<uint8_t*>(managed_sp) - offset); in GetGenericJniHandleScope()
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.cc214 total_size += HandleScope::SizeOf(kX86_64PointerSize, ReferenceCount()); in FrameSize()
/art/compiler/jni/quick/x86_64/
Dcalling_convention_x86_64.cc202 total_size += HandleScope::SizeOf(kX86_64PointerSize, ReferenceCount()); in FrameSize()
/art/compiler/jni/quick/arm64/
Dcalling_convention_arm64.cc259 total_size += HandleScope::SizeOf(kArm64PointerSize, ReferenceCount()); in FrameSize()
/art/compiler/jni/quick/arm/
Dcalling_convention_arm.cc414 total_size += HandleScope::SizeOf(kArmPointerSize, ReferenceCount()); in FrameSize()