Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 6 of 6) sorted by relevance

/art/runtime/
Dindirect_reference_table_test.cc77 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 …]
Dthread.h1005 void SetCorePlatformApiCookie(uint32_t cookie) { in SetCorePlatformApiCookie() argument
1006 core_platform_api_cookie_ = cookie; in SetCorePlatformApiCookie()
/art/openjdkjvmti/
Dti_class_loader.cc78 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()
Dti_redefine.cc1305 void SetNewDexFileCookie(jint klass_index, art::ObjPtr<art::mirror::LongArray> cookie) in SetNewDexFileCookie() argument
1307 SetSlot(klass_index, kSlotNewDexFileCookie, cookie); in SetNewDexFileCookie()
1545 void SetNewDexFileCookie(art::ObjPtr<art::mirror::LongArray> cookie) in SetNewDexFileCookie() argument
1547 holder_.SetNewDexFileCookie(idx_, cookie); in SetNewDexFileCookie()
/art/runtime/native/
Ddalvik_system_DexFile.cc346 jobject cookie, in DexFile_verifyInBackgroundNative() argument
349 CHECK(cookie != nullptr); in DexFile_verifyInBackgroundNative()
355 if (!ConvertJavaArrayToDexFiles(env, cookie, dex_files, oat_file)) { in DexFile_verifyInBackgroundNative()
374 static jboolean DexFile_closeDexFile(JNIEnv* env, jclass, jobject cookie) { in DexFile_closeDexFile() argument
377 if (!ConvertJavaArrayToDexFiles(env, cookie, dex_files, oat_file)) { in DexFile_closeDexFile()
388 ObjPtr<mirror::Object> dex_files_object = soa.Decode<mirror::Object>(cookie); in DexFile_closeDexFile()
424 jobject cookie, in DexFile_defineClassNative() argument
428 if (!ConvertJavaArrayToDexFiles(env, cookie, /*out*/ dex_files, /*out*/ oat_file)) { in DexFile_defineClassNative()
486 static jobjectArray DexFile_getClassNameList(JNIEnv* env, jclass, jobject cookie) { in DexFile_getClassNameList() argument
489 if (!ConvertJavaArrayToDexFiles(env, cookie, /*out */ dex_files, /* out */ oat_file)) { in DexFile_getClassNameList()
[all …]
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc2187 uint32_t cookie; in artQuickGenericJniTrampoline() local
2194 cookie = JniMethodStartSynchronized(visitor.GetFirstHandleScopeJObject(), self); in artQuickGenericJniTrampoline()
2201 cookie = JniMethodFastStart(self); in artQuickGenericJniTrampoline()
2204 cookie = JniMethodStart(self); in artQuickGenericJniTrampoline()
2208 *(sp32 - 1) = cookie; in artQuickGenericJniTrampoline()
2248 uint32_t cookie = *(sp32 - 1); in artQuickGenericJniEndTrampoline() local
2257 return GenericJniMethodEnd(self, cookie, result, result_f, called); in artQuickGenericJniEndTrampoline()