Searched refs:cookie (Results 1 - 7 of 7) sorted by relevance

/art/runtime/
H A Dindirect_reference_table_test.cc61 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 Dindirect_reference_table.cc78 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 Dindirect_reference_table.h136 /* use as initial value for "cookie", and when table has only one segment */
171 * Instead of a "bottom" argument we take a "cookie", which includes the
261 IndirectRef Add(uint32_t cookie, const mirror::Object* obj)
283 * specified by the cookie, we don't remove anything. This is the behavior
288 bool Remove(uint32_t cookie, IndirectRef iref);
H A Dscoped_thread_state_change.h174 uint32_t cookie = Env()->local_ref_cookie; local
175 IndirectRef ref = locals.Add(cookie, obj);
H A Djni_internal.cc887 uint32_t cookie = reinterpret_cast<JNIEnvExt*>(env)->local_ref_cookie; local
888 if (!locals.Remove(cookie, obj)) {
/art/runtime/entrypoints/quick/
H A Dquick_entrypoints.h80 void (*pJniMethodEnd)(uint32_t cookie, Thread* self);
81 void (*pJniMethodEndSynchronized)(uint32_t cookie, jobject locked, Thread* self);
82 mirror::Object* (*pJniMethodEndWithReference)(jobject result, uint32_t cookie, Thread* self);
83 mirror::Object* (*pJniMethodEndWithReferenceSynchronized)(jobject result, uint32_t cookie,
/art/runtime/native/
H A Ddalvik_system_DexFile.cc134 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 578 milliseconds