Home
last modified time | relevance | path

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

/art/runtime/
Dindirect_reference_table_test.cc66 const uint32_t cookie = IRT_FIRST_SEGMENT; in TEST_F() local
71 EXPECT_FALSE(irt.Remove(cookie, iref0)) << "unexpectedly successful removal"; in TEST_F()
74 iref0 = irt.Add(cookie, obj0); in TEST_F()
77 IndirectRef iref1 = irt.Add(cookie, obj1); in TEST_F()
80 IndirectRef iref2 = irt.Add(cookie, obj2); in TEST_F()
88 EXPECT_TRUE(irt.Remove(cookie, iref0)); in TEST_F()
90 EXPECT_TRUE(irt.Remove(cookie, iref1)); in TEST_F()
92 EXPECT_TRUE(irt.Remove(cookie, iref2)); in TEST_F()
102 iref0 = irt.Add(cookie, obj0); in TEST_F()
104 iref1 = irt.Add(cookie, obj1); in TEST_F()
[all …]
Dindirect_reference_table.cc105 IndirectRef IndirectReferenceTable::Add(uint32_t cookie, mirror::Object* obj) { in Add() argument
107 prevState.all = cookie; in Add()
173 bool IndirectReferenceTable::Remove(uint32_t cookie, IndirectRef iref) { in Remove() argument
175 prevState.all = cookie; in Remove()
224 << " (cookie=" << cookie << ") val=" in Remove()
Dindirect_reference_table.h279 IndirectRef Add(uint32_t cookie, mirror::Object* obj)
313 bool Remove(uint32_t cookie, IndirectRef iref);
/art/runtime/native/
Ddalvik_system_DexFile.cc210 static jboolean DexFile_closeDexFile(JNIEnv* env, jclass, jobject cookie) { in DexFile_closeDexFile() argument
213 if (!ConvertJavaArrayToDexFiles(env, cookie, dex_files, oat_file)) { in DexFile_closeDexFile()
221 mirror::Object* dex_files_object = soa.Decode<mirror::Object*>(cookie); in DexFile_closeDexFile()
256 jobject cookie, in DexFile_defineClassNative() argument
260 if (!ConvertJavaArrayToDexFiles(env, cookie, /*out*/ dex_files, /*out*/ oat_file)) { in DexFile_defineClassNative()
311 static jobjectArray DexFile_getClassNameList(JNIEnv* env, jclass, jobject cookie) { in DexFile_getClassNameList() argument
314 if (!ConvertJavaArrayToDexFiles(env, cookie, /*out */ dex_files, /* out */ oat_file)) { in DexFile_getClassNameList()
547 static jboolean DexFile_isBackedByOatFile(JNIEnv* env, jclass, jobject cookie) { in DexFile_isBackedByOatFile() argument
550 if (!ConvertJavaArrayToDexFiles(env, cookie, /*out */ dex_files, /* out */ oat_file)) { in DexFile_isBackedByOatFile()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc1915 uint64_t artQuickGenericJniEndJNIRef(Thread* self, uint32_t cookie, jobject l, jobject lock) { in artQuickGenericJniEndJNIRef() argument
1917 return reinterpret_cast<uint64_t>(JniMethodEndWithReferenceSynchronized(l, cookie, lock, self)); in artQuickGenericJniEndJNIRef()
1919 return reinterpret_cast<uint64_t>(JniMethodEndWithReference(l, cookie, self)); in artQuickGenericJniEndJNIRef()
1923 void artQuickGenericJniEndJNINonRef(Thread* self, uint32_t cookie, jobject lock) { in artQuickGenericJniEndJNINonRef() argument
1925 JniMethodEndSynchronized(cookie, lock, self); in artQuickGenericJniEndJNINonRef()
1927 JniMethodEnd(cookie, self); in artQuickGenericJniEndJNINonRef()
1961 uint32_t cookie; in artQuickGenericJniTrampoline() local
1963 cookie = JniMethodStartSynchronized(visitor.GetFirstHandleScopeJObject(), self); in artQuickGenericJniTrampoline()
1970 cookie = JniMethodStart(self); in artQuickGenericJniTrampoline()
1973 *(sp32 - 1) = cookie; in artQuickGenericJniTrampoline()
[all …]