/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() 114 iref0 = irt.Add(cookie, obj0.Get(), &error_msg); in TEST_F() 116 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F() [all …]
|
D | thread.h | 1058 void SetCorePlatformApiCookie(uint32_t cookie) { in SetCorePlatformApiCookie() argument 1059 core_platform_api_cookie_ = cookie; in SetCorePlatformApiCookie()
|
/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 | 1309 void SetNewDexFileCookie(jint klass_index, art::ObjPtr<art::mirror::LongArray> cookie) in SetNewDexFileCookie() argument 1311 SetSlot(klass_index, kSlotNewDexFileCookie, cookie); in SetNewDexFileCookie() 1549 void SetNewDexFileCookie(art::ObjPtr<art::mirror::LongArray> cookie) in SetNewDexFileCookie() argument 1551 holder_.SetNewDexFileCookie(idx_, cookie); in SetNewDexFileCookie()
|
/art/odrefresh/ |
D | odr_common.cc | 88 [](const prop_info* pi, void* cookie) { in SystemPropertyForeach() argument 91 [](void* cookie, const char* name, const char* value, unsigned) { in SystemPropertyForeach() argument 94 cookie); in SystemPropertyForeach() 97 cookie); in SystemPropertyForeach()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 332 jobject cookie, in DexFile_verifyInBackgroundNative() argument 334 CHECK(cookie != nullptr); in DexFile_verifyInBackgroundNative() 340 if (!ConvertJavaArrayToDexFiles(env, cookie, dex_files, oat_file)) { in DexFile_verifyInBackgroundNative() 352 static jboolean DexFile_closeDexFile(JNIEnv* env, jclass, jobject cookie) { in DexFile_closeDexFile() argument 355 if (!ConvertJavaArrayToDexFiles(env, cookie, dex_files, oat_file)) { in DexFile_closeDexFile() 366 ObjPtr<mirror::Object> dex_files_object = soa.Decode<mirror::Object>(cookie); in DexFile_closeDexFile() 403 jobject cookie, in DexFile_defineClassNative() argument 407 if (!ConvertJavaArrayToDexFiles(env, cookie, /*out*/ dex_files, /*out*/ oat_file)) { in DexFile_defineClassNative() 465 static jobjectArray DexFile_getClassNameList(JNIEnv* env, jclass, jobject cookie) { in DexFile_getClassNameList() argument 468 if (!ConvertJavaArrayToDexFiles(env, cookie, /*out */ dex_files, /* out */ oat_file)) { in DexFile_getClassNameList() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 2146 uint32_t cookie = bit_cast<uint32_t>(env->GetLocalRefCookie()); in artQuickGenericJniTrampoline() local 2151 *(sp32 - 1) = cookie; in artQuickGenericJniTrampoline() 2191 uint32_t cookie = *(sp32 - 1); in artQuickGenericJniEndTrampoline() local 2192 return GenericJniMethodEnd(self, cookie, result, result_f, called); in artQuickGenericJniEndTrampoline()
|