/art/runtime/ |
D | indirect_reference_table_test.cc | 77 const IRTSegmentState cookie = kIRTFirstSegment; in TEST_F() local 82 EXPECT_FALSE(irt.Remove(cookie, iref0)) << "unexpectedly successful removal"; in TEST_F() 85 iref0 = irt.Add(cookie, obj0.Get(), &error_msg); in TEST_F() 88 IndirectRef iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F() 91 IndirectRef iref2 = irt.Add(cookie, obj2.Get(), &error_msg); in TEST_F() 99 EXPECT_TRUE(irt.Remove(cookie, iref0)); in TEST_F() 101 EXPECT_TRUE(irt.Remove(cookie, iref1)); in TEST_F() 103 EXPECT_TRUE(irt.Remove(cookie, iref2)); in TEST_F() 113 iref0 = irt.Add(cookie, obj0.Get(), &error_msg); in TEST_F() 115 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F() [all …]
|
/art/openjdkjvmti/ |
D | ti_class_loader.cc | 78 art::Handle<art::mirror::LongArray> cookie(hs.NewHandle( in AddToClassLoader() local 80 if (cookie.IsNull()) { in AddToClassLoader() 84 UpdateJavaDexFile(java_dex_file_obj.Get(), cookie.Get()); in AddToClassLoader() 117 art::Handle<art::mirror::LongArray> cookie, in AllocateNewDexFileCookie() argument 120 CHECK(cookie != nullptr); in AllocateNewDexFileCookie() 121 CHECK_GE(cookie->GetLength(), 1); in AllocateNewDexFileCookie() 123 hs.NewHandle(art::mirror::LongArray::Alloc(self, cookie->GetLength() + 1))); in AllocateNewDexFileCookie() 129 new_cookie->SetWithoutChecks<false>(0, cookie->GetWithoutChecks(0)); in AllocateNewDexFileCookie() 133 new_cookie->Memcpy(2, cookie.Get(), 1, cookie->GetLength() - 1); in AllocateNewDexFileCookie()
|
D | ti_redefine.cc | 970 void SetNewDexFileCookie(jint klass_index, art::ObjPtr<art::mirror::LongArray> cookie) in SetNewDexFileCookie() argument 972 SetSlot(klass_index, kSlotNewDexFileCookie, cookie); in SetNewDexFileCookie() 1133 void SetNewDexFileCookie(art::ObjPtr<art::mirror::LongArray> cookie) in SetNewDexFileCookie() argument 1135 holder_.SetNewDexFileCookie(idx_, cookie); in SetNewDexFileCookie()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 345 jobject cookie, in DexFile_verifyInBackgroundNative() argument 348 CHECK(cookie != nullptr); in DexFile_verifyInBackgroundNative() 354 if (!ConvertJavaArrayToDexFiles(env, cookie, dex_files, oat_file)) { in DexFile_verifyInBackgroundNative() 373 static jboolean DexFile_closeDexFile(JNIEnv* env, jclass, jobject cookie) { in DexFile_closeDexFile() argument 376 if (!ConvertJavaArrayToDexFiles(env, cookie, dex_files, oat_file)) { in DexFile_closeDexFile() 387 ObjPtr<mirror::Object> dex_files_object = soa.Decode<mirror::Object>(cookie); in DexFile_closeDexFile() 423 jobject cookie, in DexFile_defineClassNative() argument 427 if (!ConvertJavaArrayToDexFiles(env, cookie, /*out*/ dex_files, /*out*/ oat_file)) { in DexFile_defineClassNative() 485 static jobjectArray DexFile_getClassNameList(JNIEnv* env, jclass, jobject cookie) { in DexFile_getClassNameList() argument 488 if (!ConvertJavaArrayToDexFiles(env, cookie, /*out */ dex_files, /* out */ oat_file)) { in DexFile_getClassNameList() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 2312 uint32_t cookie, in artQuickGenericJniEndJNIRef() argument 2318 return reinterpret_cast<uint64_t>(JniMethodEndWithReferenceSynchronized(l, cookie, lock, self)); in artQuickGenericJniEndJNIRef() 2320 return reinterpret_cast<uint64_t>(JniMethodEndWithReference(l, cookie, self)); in artQuickGenericJniEndJNIRef() 2325 uint32_t cookie, in artQuickGenericJniEndJNINonRef() argument 2329 JniMethodEndSynchronized(cookie, lock, self); in artQuickGenericJniEndJNINonRef() 2333 JniMethodFastEnd(cookie, self); in artQuickGenericJniEndJNINonRef() 2335 JniMethodEnd(cookie, self); in artQuickGenericJniEndJNINonRef() 2389 uint32_t cookie; in artQuickGenericJniTrampoline() local 2396 cookie = JniMethodStartSynchronized(visitor.GetFirstHandleScopeJObject(), self); in artQuickGenericJniTrampoline() 2404 cookie = JniMethodFastStart(self); in artQuickGenericJniTrampoline() [all …]
|