Home
last modified time | relevance | path

Searched refs:pc (Results 1 – 25 of 84) sorted by relevance

1234

/dalvik/dx/tests/079-dex-local-variable-renumbering/
Dexpected.txt49 0002: advance pc
51 0006: advance pc
53 000a: advance pc
55 000e: advance pc
57 0012: advance pc
59 0016: advance pc
61 001a: advance pc
63 001e: advance pc
65 0022: advance pc
67 0026: advance pc
[all …]
/dalvik/dx/tests/078-dex-local-variable-table/
Dexpected.txt13 0001: advance pc
29 0002: advance pc
31 0007: advance pc
47 0001: advance pc
49 0003: advance pc
51 0005: advance pc
71 0001: advance pc
73 0003: advance pc
75 000b: advance pc
99 0001: advance pc
[all …]
/dalvik/vm/mterp/portable/
Dstubdefs.cpp23 self->interpSave.pc = pc; \
25 #define PC_TO_SELF() self->interpSave.pc = pc;
41 dvmCheckBefore(pc, fp, self); \
Dentry.cpp16 const u2* pc; // program counter local
31 pc = self->interpSave.pc;
39 pc - curMethod->insns, fp);
/dalvik/vm/mterp/armv5te/
DOP_FLOAT_TO_INT.S22 ldmnefd sp!, {r4, pc}
29 ldmnefd sp!, {r4, pc}
35 ldmeqfd sp!, {r4, pc} @ return zero for NaN
39 ldmfd sp!, {r4, pc}
DOP_FLOAT_TO_LONG.S21 ldmnefd sp!, {r4, pc}
29 ldmnefd sp!, {r4, pc}
36 ldmeqfd sp!, {r4, pc}
40 ldmfd sp!, {r4, pc}
Dheader.S171 #define GOTO_OPCODE(_reg) add pc, rIBASE, _reg, lsl #${handler_size_bits}
172 #define GOTO_OPCODE_BASE(_base,_reg) add pc, _base, _reg, lsl #${handler_size_bits}
173 #define GOTO_OPCODE_IFEQ(_reg) addeq pc, rIBASE, _reg, lsl #${handler_size_bits}
174 #define GOTO_OPCODE_IFNE(_reg) addne pc, rIBASE, _reg, lsl #${handler_size_bits}
DOP_EXECUTE_INLINE_RANGE.S43 add pc, pc, r0, lsl #3 @ computed goto, 2 instrs each
55 5: add r9, pc
56 ldr pc, [r9, r10, lsl #4] @ sizeof=16, "func" is first entry
/dalvik/vm/mterp/armv6t2/
DOP_FLOAT_TO_LONG.S21 ldmnefd sp!, {r4, pc}
29 ldmnefd sp!, {r4, pc}
36 ldmeqfd sp!, {r4, pc}
40 ldmfd sp!, {r4, pc}
DOP_FLOAT_TO_INT.S22 ldmnefd sp!, {r4, pc}
29 ldmnefd sp!, {r4, pc}
35 ldmeqfd sp!, {r4, pc} @ return zero for NaN
39 ldmfd sp!, {r4, pc}
/dalvik/tools/gdbjithelper/
Dgdbjithelper.c80 void dumpCode(int *pc, int *lr) in dumpCode() argument
85 printf("%p codePC[%d]: %#010x\n", pc + i, i, pc[i]); in dumpCode()
/dalvik/vm/interp/
DJit.h68 void* dvmSelfVerificationSaveState(const u2* pc, u4* fp,
71 void* dvmSelfVerificationRestoreState(const u2* pc, u4* fp,
74 void dvmCheckSelfVerification(const u2* pc, Thread* self);
149 void dvmCheckJit(const u2* pc, Thread* self);
164 JitEntry *dvmJitFindEntry(const u2* pc, bool isMethodEntry);
177 void dvmJitResumeTranslation(Thread* self, const u2* pc, const u4* fp);
DJit.cpp69 void* dvmSelfVerificationSaveState(const u2* pc, u4* fp, in dvmSelfVerificationSaveState() argument
84 ALOGD("PC: %#x FP: %#x", (int)pc, (int)fp); in dvmSelfVerificationSaveState()
97 shadowSpace->startPC = pc; in dvmSelfVerificationSaveState()
132 void* dvmSelfVerificationRestoreState(const u2* pc, u4* fp, in dvmSelfVerificationRestoreState() argument
137 shadowSpace->endPC = pc; in dvmSelfVerificationRestoreState()
157 if (exitState == kSVSPunt && pc == shadowSpace->startPC) { in dvmSelfVerificationRestoreState()
164 self->interpSave.pc = shadowSpace->startPC; in dvmSelfVerificationRestoreState()
185 static void selfVerificationDumpState(const u2* pc, Thread* self) in selfVerificationDumpState() argument
201 ALOGD("CurrentPC: %#x, Offset: 0x%04x", (int)pc, in selfVerificationDumpState()
202 (int)(pc - stackSave->method->insns)); in selfVerificationDumpState()
[all …]
DInterp.cpp623 dvmJitEndTraceSelect(self, self->interpSave.pc); in dvmReportExceptionThrow()
632 int offset = self->interpSave.pc - curMethod->insns; in dvmReportExceptionThrow()
665 dvmCheckJit(self->interpSave.pc, self); in dvmReportPreNativeInvoke()
702 dvmCheckJit(self->interpSave.pc, self); in dvmReportReturn()
731 static void updateDebugger(const Method* method, const u2* pc, const u4* fp, in updateDebugger() argument
743 dvmExportPC(pc, fp); in updateDebugger()
756 if (GET_OPCODE(*pc) == OP_BREAKPOINT) { in updateDebugger()
757 ALOGV("+++ breakpoint hit at %p", pc); in updateDebugger()
786 pCtrl->pAddressSet, pc - method->insns)) { in updateDebugger()
809 pc - method->insns)) { in updateDebugger()
[all …]
/dalvik/vm/mterp/c/
Dheader.cpp84 # define EXPORT_EXTRA_PC() (self->currentPc2 = pc)
101 if (pc + myoff < curMethod->insns || \
102 pc + myoff >= curMethod->insns + dvmGetMethodInsnsSize(curMethod)) \
107 myoff, (int) (pc - curMethod->insns), \
112 pc += myoff; \
117 pc += _offset; \
133 self->threadId, (int)(pc - curMethod->insns), debugStrBuf); \
270 #define FETCH(_offset) (pc[(_offset)])
305 #define EXPORT_PC() (SAVEAREA_FROM_FP(fp)->xtra.currentPc = pc)
348 static inline bool checkForNullExportPC(Object* obj, u4* fp, const u2* pc) in checkForNullExportPC() argument
DOP_BREAKPOINT.cpp18 u1 originalOpcode = dvmGetOriginalOpcode(pc); in HANDLE_OPCODE()
/dalvik/dexgen/src/com/android/dexgen/rop/
DByteCatchList.java101 public ByteCatchList listFor(int pc) { in listFor() argument
108 if (one.covers(pc) && typeNotFound(one, resultArr, resultSz)) { in listFor()
313 public boolean covers(int pc) { in covers() argument
314 return (pc >= startPc) && (pc < endPc); in covers()
DLineNumberList.java110 public int pcToLine(int pc) { in pcToLine() argument
124 if ((onePc <= pc) && (onePc > bestPc)) { in pcToLine()
127 if (bestPc == pc) { in pcToLine()
/dalvik/dx/src/com/android/dx/cf/code/
DByteCatchList.java101 public ByteCatchList listFor(int pc) { in listFor() argument
108 if (one.covers(pc) && typeNotFound(one, resultArr, resultSz)) { in listFor()
313 public boolean covers(int pc) { in covers() argument
314 return (pc >= startPc) && (pc < endPc); in covers()
DLineNumberList.java110 public int pcToLine(int pc) { in pcToLine() argument
124 if ((onePc <= pc) && (onePc > bestPc)) { in pcToLine()
127 if (bestPc == pc) { in pcToLine()
DLocalVariableList.java185 public Item pcAndIndexToLocal(int pc, int index) { in pcAndIndexToLocal() argument
191 if ((one != null) && one.matchesPcAndIndex(pc, index)) { in pcAndIndexToLocal()
352 public boolean matchesPcAndIndex(int pc, int index) { in matchesPcAndIndex() argument
354 (pc >= startPc) && in matchesPcAndIndex()
355 (pc < (startPc + length)); in matchesPcAndIndex()
/dalvik/vm/compiler/codegen/x86/
DNcgHelper.h25 extern "C" void dvmNcgInvokeInterpreter(int pc); //interpreter to execute at pc
26 extern "C" void dvmNcgInvokeNcg(int pc);
/dalvik/vm/mterp/cstubs/
Dentry.cpp36 u2 inst = /*self->interpSave.*/pc[0]; in DEFINE_GOTO_TABLE()
44 dvmCheckBefore(pc, fp, self); in DEFINE_GOTO_TABLE()
Dstubdefs.cpp26 #define pc self->interpSave.pc macro
74 dvmCheckJit(pc, self); \
Denddefs.cpp4 #undef pc

1234