Searched defs:pc (Results 1 - 25 of 31) sorted by relevance

12

/dalvik/vm/interp/
H A DInterp.h26 INLINE void dvmExportPC(const u2* pc, const u4* fp) argument
28 SAVEAREA_FROM_FP(fp)->xtra.currentPc = pc;
H A DInterpState.h109 const u2* pc; // Dalvik PC member in struct:InterpSaveState
183 kSVSTraceSelect = 5, // Exiting compiled code and compile the next pc
193 /* Number of low dalvik pc address bits to include in 2nd level filter key */
H A DInterp.cpp623 dvmJitEndTraceSelect(self, self->interpSave.pc);
632 int offset = self->interpSave.pc - curMethod->insns;
665 dvmCheckJit(self->interpSave.pc, self);
702 dvmCheckJit(self->interpSave.pc, self);
731 static void updateDebugger(const Method* method, const u2* pc, const u4* fp, argument
743 dvmExportPC(pc, fp);
756 if (GET_OPCODE(*pc) == OP_BREAKPOINT) {
757 ALOGV("+++ breakpoint hit at %p", pc);
786 pCtrl->pAddressSet, pc - method->insns)) {
809 pc
1686 dvmCheckBefore(const u2 *pc, u4 *fp, Thread* self) argument
[all...]
H A DJit.cpp62 * pc (Dalvik PC)
69 void* dvmSelfVerificationSaveState(const u2* pc, u4* fp, argument
77 //ALOGD("### selfVerificationSaveState(%d) pc: %#x fp: %#x",
78 // self->threadId, (int)pc, (int)fp);
84 ALOGD("PC: %#x FP: %#x", (int)pc, (int)fp);
97 shadowSpace->startPC = pc;
132 void* dvmSelfVerificationRestoreState(const u2* pc, u4* fp, argument
137 shadowSpace->endPC = pc;
141 //ALOGD("### selfVerificationRestoreState(%d) pc: %#x fp: %#x endPC: %#x",
143 // (int)pc);
185 selfVerificationDumpState(const u2* pc, Thread* self) argument
218 selfVerificationDumpTrace(const u2* pc, Thread* self) argument
264 dvmCheckSelfVerification(const u2* pc, Thread* self) argument
779 dvmCheckJit(const u2* pc, Thread* self) argument
1001 dvmJitFindEntry(const u2* pc, bool isMethodEntry) argument
1029 const u2* pc = gDvmJit.pJitEntryTable[idx].dPC; local
[all...]
/dalvik/vm/mterp/cstubs/
H A Denddefs.cpp4 #undef pc macro
H A Dstubdefs.cpp26 #define pc self->interpSave.pc macro
41 * InterpSave's pc and fp must be valid when breaking out to a
74 dvmCheckJit(pc, self); \
/dalvik/tools/gdbjithelper/
H A Dgdbjithelper.c34 * #00 pc 463ba204
37 * code around pc:
80 void dumpCode(int *pc, int *lr) argument
85 printf("%p codePC[%d]: %#010x\n", pc + i, i, pc[i]);
/dalvik/vm/mterp/portable/
H A Dentry.cpp16 const u2* pc; // program counter local
31 pc = self->interpSave.pc;
37 LOGVV("threadid=%d: %s.%s pc=%#x fp=%p",
39 pc - curMethod->insns, fp);
/dalvik/dexgen/src/com/android/dexgen/rop/
H A DLineNumberList.java96 * @param startPc {@code >= 0;} start pc of this item
106 * @param pc {@code >= 0;} the address to look up
110 public int pcToLine(int pc) { argument
124 if ((onePc <= pc) && (onePc > bestPc)) {
127 if (bestPc == pc) {
141 /** {@code >= 0;} start pc of this item */
150 * @param startPc {@code >= 0;} start pc of this item
167 * Gets the start pc of this item.
169 * @return the start pc
H A DByteCatchList.java81 * @param startPc {@code >= 0;} the start pc (inclusive) of the handler's range
82 * @param endPc {@code >= startPc;} the end pc (exclusive) of the
84 * @param handlerPc {@code >= 0;} the pc of the exception handler
97 * @param pc which address
99 * {@code pc}
101 public ByteCatchList listFor(int pc) { argument
108 if (one.covers(pc) && typeNotFound(one, resultArr, resultSz)) {
224 /** {@code >= 0;} the start pc (inclusive) of the handler's range */
227 /** {@code >= startPc;} the end pc (exclusive) of the handler's range */
230 /** {@code >= 0;} the pc o
313 covers(int pc) argument
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DLineNumberList.java96 * @param startPc {@code >= 0;} start pc of this item
106 * @param pc {@code >= 0;} the address to look up
110 public int pcToLine(int pc) { argument
124 if ((onePc <= pc) && (onePc > bestPc)) {
127 if (bestPc == pc) {
141 /** {@code >= 0;} start pc of this item */
150 * @param startPc {@code >= 0;} start pc of this item
167 * Gets the start pc of this item.
169 * @return the start pc
H A DByteCatchList.java81 * @param startPc {@code >= 0;} the start pc (inclusive) of the handler's range
82 * @param endPc {@code >= startPc;} the end pc (exclusive) of the
84 * @param handlerPc {@code >= 0;} the pc of the exception handler
97 * @param pc which address
99 * {@code pc}
101 public ByteCatchList listFor(int pc) { argument
108 if (one.covers(pc) && typeNotFound(one, resultArr, resultSz)) {
224 /** {@code >= 0;} the start pc (inclusive) of the handler's range */
227 /** {@code >= startPc;} the end pc (exclusive) of the handler's range */
230 /** {@code >= 0;} the pc o
313 covers(int pc) argument
[all...]
H A DLocalVariableList.java137 * @param startPc {@code >= 0;} the start pc of this variable's scope
180 * @param pc {@code >= 0;} the address to look up
185 public Item pcAndIndexToLocal(int pc, int index) { argument
191 if ((one != null) && one.matchesPcAndIndex(pc, index)) {
203 /** {@code >= 0;} the start pc of this variable's scope */
227 * @param startPc {@code >= 0;} the start pc of this variable's scope
267 * Gets the start pc of this variable's scope.
269 * @return {@code >= 0;} the start pc of this variable's scope
347 * @param pc {@code >= 0;} the address in question
349 * @return {@code true} iff this instance matches {@code pc}
352 matchesPcAndIndex(int pc, int index) argument
[all...]
/dalvik/vm/compiler/
H A DCompiler.cpp66 void dvmCompilerForceWorkEnqueue(const u2 *pc, WorkOrderKind kind, void* info) argument
71 success = dvmCompilerWorkEnqueue(pc, kind, info);
95 bool dvmCompilerWorkEnqueue(const u2 *pc, WorkOrderKind kind, void* info) argument
118 if (gDvmJit.compilerWorkQueue[i++].pc == pc) {
129 newOrder->pc = pc;
500 * I/DEBUG ( 1638): ip 00000090 sp 4710dbc8 lr ad060e67 pc 46b90682
502 * I/DEBUG ( 1638): #00 pc 46b90682 /dev/ashmem/dalvik-jit-code-cache
503 * I/DEBUG ( 1638): #01 pc 0006
[all...]
H A DCompiler.h102 const u2* pc; member in struct:CompilerWorkOrder
198 void dvmCompilerForceWorkEnqueue(const u2* pc, WorkOrderKind kind, void* info);
199 bool dvmCompilerWorkEnqueue(const u2* pc, WorkOrderKind kind, void* info);
245 JitTraceDescription *dvmCopyTraceDescriptor(const u2 *pc,
/dalvik/vm/mterp/c/
H A Dheader.cpp84 # define EXPORT_EXTRA_PC() (self->currentPc2 = pc)
92 * Assumes the existence of "const u2* pc" and "const u2* curMethod->insns".
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); \
268 * Assumes existence of "const u2* pc".
270 #define FETCH(_offset) (pc[(_offse
348 checkForNullExportPC(Object* obj, u4* fp, const u2* pc) argument
[all...]
/dalvik/vm/
H A DAllocTracker.cpp60 int pc; /* current execution offset, in 16-bit units */ member in struct:AllocRecord::__anon15
161 pRec->stackElem[stackDepth].pc = 0;
166 pRec->stackElem[stackDepth].pc =
179 pRec->stackElem[stackDepth].pc = 0;
419 lineNum = dvmLineNumFromPC(method, pRec->stackElem[i].pc);
635 pRec->stackElem[i].pc);
H A DException.cpp702 * Find a matching "catch" block. "pc" is the relative PC within the
961 * "intVals" points to the first {method,pc} pair.
981 * "intVals" points to the first {method,pc} pair.
1002 int pc = *intVals++; local
1005 if (pc == -1) // broken top frame?
1008 lineNumber = dvmLineNumFromPC(meth, pc);
1050 int pc = *intVals++; local
1058 dvmLineNumFromPC(meth, pc));
/dalvik/vm/mterp/out/
H A DInterpC-armv5te-vfp.cpp91 # define EXPORT_EXTRA_PC() (self->currentPc2 = pc)
99 * Assumes the existence of "const u2* pc" and "const u2* curMethod->insns".
108 if (pc + myoff < curMethod->insns || \
109 pc + myoff >= curMethod->insns + dvmGetMethodInsnsSize(curMethod)) \
114 myoff, (int) (pc - curMethod->insns), \
119 pc += myoff; \
124 pc += _offset; \
140 self->threadId, (int)(pc - curMethod->insns), debugStrBuf); \
275 * Assumes existence of "const u2* pc".
277 #define FETCH(_offset) (pc[(_offse
355 checkForNullExportPC(Object* obj, u4* fp, const u2* pc) argument
404 #define pc macro
1169 #undef pc macro
[all...]
H A DInterpC-armv5te.cpp91 # define EXPORT_EXTRA_PC() (self->currentPc2 = pc)
99 * Assumes the existence of "const u2* pc" and "const u2* curMethod->insns".
108 if (pc + myoff < curMethod->insns || \
109 pc + myoff >= curMethod->insns + dvmGetMethodInsnsSize(curMethod)) \
114 myoff, (int) (pc - curMethod->insns), \
119 pc += myoff; \
124 pc += _offset; \
140 self->threadId, (int)(pc - curMethod->insns), debugStrBuf); \
275 * Assumes existence of "const u2* pc".
277 #define FETCH(_offset) (pc[(_offse
355 checkForNullExportPC(Object* obj, u4* fp, const u2* pc) argument
404 #define pc macro
1169 #undef pc macro
[all...]
H A DInterpC-armv7-a-neon.cpp91 # define EXPORT_EXTRA_PC() (self->currentPc2 = pc)
99 * Assumes the existence of "const u2* pc" and "const u2* curMethod->insns".
108 if (pc + myoff < curMethod->insns || \
109 pc + myoff >= curMethod->insns + dvmGetMethodInsnsSize(curMethod)) \
114 myoff, (int) (pc - curMethod->insns), \
119 pc += myoff; \
124 pc += _offset; \
140 self->threadId, (int)(pc - curMethod->insns), debugStrBuf); \
275 * Assumes existence of "const u2* pc".
277 #define FETCH(_offset) (pc[(_offse
355 checkForNullExportPC(Object* obj, u4* fp, const u2* pc) argument
404 #define pc macro
1169 #undef pc macro
[all...]
H A DInterpC-armv7-a.cpp91 # define EXPORT_EXTRA_PC() (self->currentPc2 = pc)
99 * Assumes the existence of "const u2* pc" and "const u2* curMethod->insns".
108 if (pc + myoff < curMethod->insns || \
109 pc + myoff >= curMethod->insns + dvmGetMethodInsnsSize(curMethod)) \
114 myoff, (int) (pc - curMethod->insns), \
119 pc += myoff; \
124 pc += _offset; \
140 self->threadId, (int)(pc - curMethod->insns), debugStrBuf); \
275 * Assumes existence of "const u2* pc".
277 #define FETCH(_offset) (pc[(_offse
355 checkForNullExportPC(Object* obj, u4* fp, const u2* pc) argument
404 #define pc macro
1169 #undef pc macro
[all...]
H A DInterpC-allstubs.cpp91 # define EXPORT_EXTRA_PC() (self->currentPc2 = pc)
99 * Assumes the existence of "const u2* pc" and "const u2* curMethod->insns".
108 if (pc + myoff < curMethod->insns || \
109 pc + myoff >= curMethod->insns + dvmGetMethodInsnsSize(curMethod)) \
114 myoff, (int) (pc - curMethod->insns), \
119 pc += myoff; \
124 pc += _offset; \
140 self->threadId, (int)(pc - curMethod->insns), debugStrBuf); \
275 * Assumes existence of "const u2* pc".
277 #define FETCH(_offset) (pc[(_offse
355 checkForNullExportPC(Object* obj, u4* fp, const u2* pc) argument
404 #define pc macro
4063 #undef pc macro
[all...]
H A DInterpC-mips.cpp91 # define EXPORT_EXTRA_PC() (self->currentPc2 = pc)
99 * Assumes the existence of "const u2* pc" and "const u2* curMethod->insns".
108 if (pc + myoff < curMethod->insns || \
109 pc + myoff >= curMethod->insns + dvmGetMethodInsnsSize(curMethod)) \
114 myoff, (int) (pc - curMethod->insns), \
119 pc += myoff; \
124 pc += _offset; \
140 self->threadId, (int)(pc - curMethod->insns), debugStrBuf); \
275 * Assumes existence of "const u2* pc".
277 #define FETCH(_offset) (pc[(_offse
355 checkForNullExportPC(Object* obj, u4* fp, const u2* pc) argument
404 #define pc macro
2168 #undef pc macro
[all...]
/dalvik/vm/compiler/codegen/x86/
H A DCodegenInterface.cpp164 JitTraceDescription *dvmCopyTraceDescriptor(const u2 *pc, argument

Completed in 4814 milliseconds

12