Searched refs:cookie (Results 1 - 5 of 5) sorted by relevance
/dalvik/vm/test/ |
H A D | TestIndirectRefTable.cpp | 73 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 D | dalvik_system_DexFile.cpp | 75 * 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"); 293 * private static void closeDexFile(int cookie) 300 int cookie = args[0]; local 301 DexOrJar* pDexOrJar = (DexOrJar*) cookie; 354 int cookie = args[2]; local 410 int cookie = args[0]; local [all...] |
/dalvik/vm/ |
H A D | IndirectRefTable.cpp | 61 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 D | IndirectRefTable.h | 124 /* 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 D | Jni.cpp | 392 u4 cookie = SAVEAREA_FROM_FP(curFrame)->xtra.localRefCookie; local 393 jobject jobj = (jobject) pRefTable->add(cookie, obj); 425 u4 cookie = SAVEAREA_FROM_FP(curFrame)->xtra.localRefCookie; local 426 if (!pRefTable->remove(cookie, jobj)) {
|
Completed in 91 milliseconds