Home | History | Annotate | Download | only in vm

Lines Matching full:slot

1377  * Eclipse appears to expect that the "this" reference is in slot zero.
1380 * all locals with nonzero slot numbers.
1382 * So, we remap the item in slot 0 to 1000, and remap "this" to zero. On
1385 static int tweakSlot(int slot, const char* name)
1387 int newSlot = slot;
1391 else if (slot == 0) // always remap slot 0
1394 LOGV("untweak: %d to %d\n", slot, newSlot);
1401 static int untweakSlot(int slot, const void* framePtr)
1403 int newSlot = slot;
1405 if (slot == kSlot0Sub) {
1407 } else if (slot == 0) {
1413 LOGV("untweak: %d to %d\n", slot, newSlot);
1425 LOGV(" %2d: %d(%d) '%s' '%s' slot=%d\n",
2346 void dvmDbgGetLocalValue(ObjectId threadId, FrameId frameId, int slot,
2356 slot = untweakSlot(slot, framePtr); // Eclipse workaround
2361 intVal = framePtr[slot];
2366 intVal = framePtr[slot];
2372 intVal = framePtr[slot];
2378 intVal = framePtr[slot];
2385 objVal = (Object*)framePtr[slot];
2387 LOGW("JDWP: slot %d expected to hold array, %p invalid\n",
2388 slot, objVal);
2400 objVal = (Object*)framePtr[slot];
2405 LOGW("JDWP: slot %d expected to hold object, %p invalid\n",
2406 slot, objVal);
2422 longVal = *(u8*)(&framePtr[slot]);
2437 void dvmDbgSetLocalValue(ObjectId threadId, FrameId frameId, int slot, u1 tag,
2444 slot = untweakSlot(slot, framePtr); // Eclipse workaround
2449 framePtr[slot] = (u4)value;
2453 framePtr[slot] = (u4)value;
2458 framePtr[slot] = (u4)value;
2463 framePtr[slot] = (u4)value;
2472 framePtr[slot] = (u4) objectIdToObject(value);
2477 *(u8*)(&framePtr[slot]) = value;