Home
last modified time | relevance | path

Searched refs:IndirectRef (Results 1 – 12 of 12) sorted by relevance

/art/runtime/
Dindirect_reference_table.h108 typedef void* IndirectRef; typedef
126 static inline IndirectRefKind GetIndirectRefKind(IndirectRef iref) { in GetIndirectRefKind()
279 IndirectRef Add(uint32_t cookie, mirror::Object* obj)
288 mirror::Object* Get(IndirectRef iref) const SHARED_REQUIRES(Locks::mutator_lock_)
293 mirror::Object* SynchronizedGet(IndirectRef iref) const SHARED_REQUIRES(Locks::mutator_lock_) { in SynchronizedGet()
302 void Update(IndirectRef iref, mirror::Object* obj) SHARED_REQUIRES(Locks::mutator_lock_);
313 bool Remove(uint32_t cookie, IndirectRef iref);
359 static uint32_t ExtractIndex(IndirectRef iref) { in ExtractIndex()
368 IndirectRef ToIndirectRef(uint32_t tableIndex) const { in ToIndirectRef()
372 return reinterpret_cast<IndirectRef>(uref); in ToIndirectRef()
[all …]
Dindirect_reference_table-inl.h33 inline bool IndirectReferenceTable::GetChecked(IndirectRef iref) const { in GetChecked()
63 inline bool IndirectReferenceTable::CheckEntry(const char* what, IndirectRef iref, int idx) const { in CheckEntry()
64 IndirectRef checkRef = ToIndirectRef(idx); in CheckEntry()
76 inline mirror::Object* IndirectReferenceTable::Get(IndirectRef iref) const { in Get()
86 inline void IndirectReferenceTable::Update(IndirectRef iref, mirror::Object* obj) { in Update()
Djava_vm_ext.h135 mirror::Object* DecodeGlobal(IndirectRef ref)
138 void UpdateGlobal(Thread* self, IndirectRef ref, mirror::Object* result)
141 mirror::Object* DecodeWeakGlobal(Thread* self, IndirectRef ref)
145 mirror::Object* DecodeWeakGlobalLocked(Thread* self, IndirectRef ref)
151 mirror::Object* DecodeWeakGlobalDuringShutdown(Thread* self, IndirectRef ref)
156 bool IsWeakGlobalCleared(Thread* self, IndirectRef ref)
164 void UpdateWeakGlobal(Thread* self, IndirectRef ref, mirror::Object* result)
Dindirect_reference_table_test.cc70 IndirectRef iref0 = (IndirectRef) 0x11110; in TEST_F()
77 IndirectRef iref1 = irt.Add(cookie, obj1); in TEST_F()
80 IndirectRef iref2 = irt.Add(cookie, obj2); in TEST_F()
157 IndirectRef iref3 = irt.Add(cookie, obj3); in TEST_F()
232 IndirectRef manyRefs[kTableInitial]; in TEST_F()
Djni_env_ext-inl.h28 IndirectRef ref = locals.Add(local_ref_cookie, obj); in AddLocalReference()
Djava_vm_ext.cc527 IndirectRef ref = globals_.Add(IRT_FIRST_SEGMENT, obj); in AddGlobalRef()
539 IndirectRef ref = weak_globals_.Add(IRT_FIRST_SEGMENT, obj); in AddWeakGlobalRef()
629 mirror::Object* JavaVMExt::DecodeGlobal(IndirectRef ref) { in DecodeGlobal()
633 void JavaVMExt::UpdateGlobal(Thread* self, IndirectRef ref, mirror::Object* result) { in UpdateGlobal()
649 mirror::Object* JavaVMExt::DecodeWeakGlobal(Thread* self, IndirectRef ref) { in DecodeWeakGlobal()
664 mirror::Object* JavaVMExt::DecodeWeakGlobalLocked(Thread* self, IndirectRef ref) { in DecodeWeakGlobalLocked()
674 mirror::Object* JavaVMExt::DecodeWeakGlobalDuringShutdown(Thread* self, IndirectRef ref) { in DecodeWeakGlobalDuringShutdown()
687 bool JavaVMExt::IsWeakGlobalCleared(Thread* self, IndirectRef ref) { in IsWeakGlobalCleared()
700 void JavaVMExt::UpdateWeakGlobal(Thread* self, IndirectRef ref, mirror::Object* result) { in UpdateWeakGlobal()
Dindirect_reference_table.cc105 IndirectRef IndirectReferenceTable::Add(uint32_t cookie, mirror::Object* obj) { in Add()
124 IndirectRef result; in Add()
173 bool IndirectReferenceTable::Remove(uint32_t cookie, IndirectRef iref) { in Remove()
Djni_env_ext.cc88 locals.Remove(local_ref_cookie, reinterpret_cast<IndirectRef>(obj)); in DeleteLocalRef()
Dreflection.cc888 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in UpdateReference()
Dthread.cc1882 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in DecodeJObject()
1924 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in IsJWeakCleared()
Djni_internal.cc2311 IndirectRef ref = reinterpret_cast<IndirectRef>(java_object); in GetObjectRefType()
Dcheck_jni.cc769 IndirectRef ref = reinterpret_cast<IndirectRef>(java_object); in CheckInstance()