Searched refs:IndirectRef (Results 1 – 12 of 12) sorted by relevance
/art/runtime/ |
D | indirect_reference_table.h | 108 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 …]
|
D | indirect_reference_table-inl.h | 33 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()
|
D | java_vm_ext.h | 135 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)
|
D | indirect_reference_table_test.cc | 70 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()
|
D | jni_env_ext-inl.h | 28 IndirectRef ref = locals.Add(local_ref_cookie, obj); in AddLocalReference()
|
D | java_vm_ext.cc | 527 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()
|
D | indirect_reference_table.cc | 105 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()
|
D | jni_env_ext.cc | 88 locals.Remove(local_ref_cookie, reinterpret_cast<IndirectRef>(obj)); in DeleteLocalRef()
|
D | reflection.cc | 888 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in UpdateReference()
|
D | thread.cc | 1882 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in DecodeJObject() 1924 IndirectRef ref = reinterpret_cast<IndirectRef>(obj); in IsJWeakCleared()
|
D | jni_internal.cc | 2311 IndirectRef ref = reinterpret_cast<IndirectRef>(java_object); in GetObjectRefType()
|
D | check_jni.cc | 769 IndirectRef ref = reinterpret_cast<IndirectRef>(java_object); in CheckInstance()
|