Searched defs:cookie (Results 1 - 5 of 5) sorted by relevance
/art/runtime/ |
H A D | indirect_reference_table_test.cc | 61 const uint32_t cookie = IRT_FIRST_SEGMENT; local 66 EXPECT_FALSE(irt.Remove(cookie, iref0)) << "unexpectedly successful removal"; 69 iref0 = irt.Add(cookie, obj0); 72 IndirectRef iref1 = irt.Add(cookie, obj1); 75 IndirectRef iref2 = irt.Add(cookie, obj2); 83 EXPECT_TRUE(irt.Remove(cookie, iref0)); 85 EXPECT_TRUE(irt.Remove(cookie, iref1)); 87 EXPECT_TRUE(irt.Remove(cookie, iref2)); 97 iref0 = irt.Add(cookie, obj0); 99 iref1 = irt.Add(cookie, obj [all...] |
H A D | scoped_thread_state_change.h | 174 uint32_t cookie = Env()->local_ref_cookie; local 175 IndirectRef ref = locals.Add(cookie, obj);
|
H A D | indirect_reference_table.cc | 78 IndirectRef IndirectReferenceTable::Add(uint32_t cookie, const mirror::Object* obj) { argument 80 prevState.all = cookie; 213 // specified by the cookie, we don't remove anything. This is the behavior 218 bool IndirectReferenceTable::Remove(uint32_t cookie, IndirectRef iref) { argument 220 prevState.all = cookie; 271 << " (cookie=" << cookie << ") val=" << table_[topIndex - 1];
|
H A D | jni_internal.cc | 890 uint32_t cookie = reinterpret_cast<JNIEnvExt*>(env)->local_ref_cookie; local 891 if (!locals.Remove(cookie, obj)) {
|
/art/runtime/native/ |
H A D | dalvik_system_DexFile.cc | 134 static void DexFile_closeDexFile(JNIEnv* env, jclass, jint cookie) { argument 138 dex_file = toDexFile(cookie); 150 jint cookie) { 152 const DexFile* dex_file = toDexFile(cookie); 177 static jobjectArray DexFile_getClassNameList(JNIEnv* env, jclass, jint cookie) { argument 181 dex_file = toDexFile(cookie); 149 DexFile_defineClassNative(JNIEnv* env, jclass, jstring javaName, jobject javaLoader, jint cookie) argument
|
Completed in 1054 milliseconds