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

/dalvik/vm/test/
H A DTestIndirectRefTable.cpp73 const u4 cookie = IRT_FIRST_SEGMENT; local
81 if (irt.remove(cookie, iref0)) {
90 iref0 = irt.add(cookie, obj0);
91 iref1 = irt.add(cookie, obj1);
92 iref2 = irt.add(cookie, obj2);
109 if (!irt.remove(cookie, iref0) ||
110 !irt.remove(cookie, iref1) ||
111 !irt.remove(cookie, iref2))
133 iref0 = irt.add(cookie, obj0);
134 iref1 = irt.add(cookie, obj
354 const u4 cookie = IRT_FIRST_SEGMENT; local
[all...]
/dalvik/vm/native/
H A Ddalvik_system_DexFile.cpp75 * Verify that the "cookie" is a DEX file we opened.
79 * If the cookie is invalid, we throw an exception and return "false".
81 static bool validateCookie(int cookie) argument
83 DexOrJar* pDexOrJar = (DexOrJar*) cookie;
85 LOGVV("+++ dex verifying cookie %p", pDexOrJar);
90 u4 hash = cookie;
96 dvmThrowRuntimeException("invalid DexFile cookie");
292 * private static void closeDexFile(int cookie)
299 int cookie = args[0]; local
300 DexOrJar* pDexOrJar = (DexOrJar*) cookie;
353 int cookie = args[2]; local
409 int cookie = args[0]; local
[all...]
/dalvik/vm/
H A DIndirectRefTable.cpp61 IndirectRef IndirectRefTable::add(u4 cookie, Object* obj) argument
64 prevState.all = cookie;
205 * specified by the cookie, we don't remove anything. This is the behavior
213 bool IndirectRefTable::remove(u4 cookie, IndirectRef iref) argument
216 prevState.all = cookie;
269 ALOGV("+++ checking for hole at %d (cookie=0x%08x) val=%p",
270 topIndex-1, cookie, table_[topIndex-1].obj);
H A DIndirectRefTable.h124 /* use as initial value for "cookie", and when table has only one segment */
160 * Instead of a "bottom" argument we take a "cookie", which includes the
164 * "cookie" externally, on the interpreted call stack, the VM can handle
274 IndirectRef add(u4 cookie, Object* obj);
292 * specified by the cookie, we don't remove anything. This is the behavior
297 bool remove(u4 cookie, IndirectRef iref);
H A DJni.cpp386 u4 cookie = SAVEAREA_FROM_FP(curFrame)->xtra.localRefCookie; local
387 jobject jobj = (jobject) pRefTable->add(cookie, obj);
418 u4 cookie = SAVEAREA_FROM_FP(curFrame)->xtra.localRefCookie; local
419 if (!pRefTable->remove(cookie, jobj)) {

Completed in 1288 milliseconds