Searched defs:fp (Results 1 - 25 of 35) 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;
80 extern "C" void dvmCheckBefore(const u2 *dPC, u4 *fp, Thread* self);
82 extern "C" void dvmReportPreNativeInvoke(const Method* methodToCall, Thread* self, u4* fp);
83 extern "C" void dvmReportPostNativeInvoke(const Method* methodToCall, Thread* self, u4* fp);
H A DStack.h82 e.g. register v2 is fp[2]. 64-bit quantities are stored in two adjacent
169 INLINE bool dvmIsBreakFrame(const u4* fp) argument
171 return SAVEAREA_FROM_FP(fp)->method == NULL;
234 int dvmComputeExactFrameDepth(const void* fp);
235 int dvmComputeVagueFrameDepth(Thread* thread, const void* fp);
248 * Get the caller's caller's class. Pass in the current fp.
256 * Get the caller's caller's caller's class. Pass in the current fp.
267 void dvmFillStackTraceArray(const void* fp, const Method** array, size_t length);
H A DJit.h44 u4* fp; /* starting fp of jitted region */ member in struct:ShadowSpace
52 void* shadowFP; /* pointer to fp in shadow space */
57 const void* endShadowFP; /* ending fp in shadow space */
68 void* dvmSelfVerificationSaveState(const u2* pc, u4* fp,
71 void* dvmSelfVerificationRestoreState(const u2* pc, u4* fp,
177 void dvmJitResumeTranslation(Thread* self, const u2* pc, const u4* fp);
H A DStack.cpp185 void* fp = FP_FROM_SAVEAREA(self->interpSave.curFrame); local
186 breakSaveBlock->prevSave = (StackSaveArea*)fp;
840 int dvmComputeExactFrameDepth(const void* fp) argument
844 for ( ; fp != NULL; fp = SAVEAREA_FROM_FP(fp)->prevFrame) {
845 if (!dvmIsBreakFrame((u4*)fp))
861 int dvmComputeVagueFrameDepth(Thread* thread, const void* fp) argument
865 assert((u1*) fp >= interpStackStart - thread->interpStackSize);
866 assert((u1*) fp < interpStackStar
976 dvmFillStackTraceArray(const void* fp, const Method** array, size_t length) argument
[all...]
/dalvik/tests/023-many-interfaces/
H A Diface-gen.c13 FILE* fp; local
20 fp = fopen(nameBuf, "w");
21 if (fp == NULL) {
26 fprintf(fp, "interface Interface%03d {\n", i);
28 fprintf(fp, " int func%03d();\n", i);
29 fprintf(fp, "}\n");
30 fclose(fp);
33 fp = fopen("func-decl", "w");
34 fprintf(fp, " implements\n");
36 fprintf(fp, " Interfac
[all...]
/dalvik/vm/mterp/cstubs/
H A Denddefs.cpp5 #undef fp macro
H A Dstubdefs.cpp27 #define fp self->interpSave.curFrame macro
41 * InterpSave's pc and fp must be valid when breaking out to a
/dalvik/vm/mterp/armv5te/
H A Ddebug.cpp44 void dvmDumpFp(void* fp, StackSaveArea* otherSaveArea) argument
46 StackSaveArea* saveArea = SAVEAREA_FROM_FP(fp);
47 printf("StackSaveArea for fp %p [%p/%p]:\n", fp, saveArea, otherSaveArea);
53 printf(" prevFrame=%p savedPc=%p meth=%p curPc=%p fp[0]=0x%08x\n",
56 *(u4*)fp);
/dalvik/vm/mterp/mips/
H A Ddebug.cpp54 void dvmDumpFp(void* fp, StackSaveArea* otherSaveArea) argument
56 StackSaveArea* saveArea = SAVEAREA_FROM_FP(fp);
57 printf("StackSaveArea for fp %p [%p/%p]:\n", fp, saveArea, otherSaveArea);
63 printf(" prevFrame=%p savedPc=%p meth=%p curPc=%p fp[0]=0x%08x\n",
66 *(u4*)fp);
/dalvik/vm/mterp/portable/
H A Dentry.cpp17 u4* fp; // frame pointer local
32 fp = self->interpSave.curFrame;
37 LOGVV("threadid=%d: %s.%s pc=%#x fp=%p",
39 pc - curMethod->insns, fp);
/dalvik/vm/native/
H A Ddalvik_system_VMStack.cpp76 void *fp = dvmThreadSelf()->interpSave.curFrame; local
77 size_t depth = dvmComputeExactFrameDepth(fp);
79 dvmFillStackTraceArray(fp, methods.get(), depth);
/dalvik/vm/
H A DMisc.h114 FILE* fp; member in struct:DebugOutputTarget::__anon30::__anon32
124 void dvmCreateFileOutputTarget(DebugOutputTarget* target, FILE* fp);
H A DSignalCatcher.cpp102 static void logThreadStacks(FILE* fp) argument
106 dvmCreateFileOutputTarget(&target, fp);
124 fprintf(fp, "----- end %d -----\n", pid);
H A DAllocTracker.cpp150 void* fp; local
152 fp = self->interpSave.curFrame;
154 while ((fp != NULL) && (stackDepth < kMaxAllocRecordStackDepth)) {
155 const StackSaveArea* saveArea = SAVEAREA_FROM_FP(fp);
158 if (!dvmIsBreakFrame((u4*) fp)) {
172 assert(fp != saveArea->prevFrame);
173 fp = saveArea->prevFrame;
H A DMisc.cpp151 void dvmCreateFileOutputTarget(DebugOutputTarget* target, FILE* fp) argument
154 assert(fp != NULL);
157 target->data.file.fp = fp;
184 vfprintf(target->data.file.fp, format, args);
H A DProfile.cpp287 static void dumpThreadList(FILE* fp) { argument
291 fprintf(fp, "%d\t%s\n", thread->threadId, threadName.c_str());
303 FILE* fp = (FILE*) vfp; local
314 fprintf(fp, "0x%08x\t%s\t%s\t%s\t%s\t%d\n", (int) meth,
327 fprintf(fp, "0x%08x\t%s\t%s\t%s\t%s\t%d\n", (int) meth,
344 static void dumpMethodList(FILE* fp) argument
347 dvmHashForeach(gDvm.loadedClasses, dumpMarkedMethods, (void*) fp);
H A DException.cpp718 u4* fp = self->interpSave.curFrame; local
724 StackSaveArea* saveArea = SAVEAREA_FROM_FP(fp);
761 fp = saveArea->prevFrame; // this is the break frame
762 saveArea = SAVEAREA_FROM_FP(fp);
763 fp = saveArea->prevFrame; // this may be a good one
764 while (fp != NULL) {
765 if (!dvmIsBreakFrame((u4*)fp)) {
766 saveArea = SAVEAREA_FROM_FP(fp);
771 fp = SAVEAREA_FROM_FP(fp)
827 void* fp; local
[all...]
/dalvik/vm/compiler/
H A DCompiler.cpp240 void *fp = thread->interpSave.curFrame; local
251 while (fp != NULL) {
252 saveArea = SAVEAREA_FROM_FP(fp);
255 if (dvmIsBreakFrame((u4*)fp)) {
271 assert(fp != saveArea->prevFrame);
272 fp = saveArea->prevFrame;
499 * I/DEBUG ( 1638): r8 ad010f40 r9 46a37a12 10 001116b0 fp 42a78208
/dalvik/vm/hprof/
H A DHprofOutput.cpp75 FILE* fp = open_memstream(&ctx->fileDataPtr, &ctx->fileDataSize); local
76 if (fp == NULL) {
84 ctx->memFp = fp;
101 fwrite(magic, 1, sizeof(magic), fp);
107 fwrite(buf, 1, sizeof(u4), fp);
120 fwrite(buf, 1, sizeof(u4), fp);
125 fwrite(buf, 1, sizeof(u4), fp); //xxx fix the time
129 int hprofFlushRecord(hprof_record_t *rec, FILE *fp) argument
139 nb = fwrite(headBuf, 1, sizeof(headBuf), fp);
143 nb = fwrite(rec->body, 1, rec->length, fp);
[all...]
/dalvik/vm/mterp/c/
H A Dheader.cpp215 * Assumes the existence of "u4* fp".
222 (fp[(_idx)]) : (assert(!"bad reg"),1969) )
225 (fp[(_idx)] = (u4)(_val)) : (assert(!"bad reg"),1969) )
232 getLongFromArray(fp, (_idx)) : (assert(!"bad reg"),1969) )
235 (void)putLongToArray(fp, (_idx), (_val)) : assert(!"bad reg") )
238 (*((float*) &fp[(_idx)])) : (assert(!"bad reg"),1969.0f) )
241 (*((float*) &fp[(_idx)]) = (_val)) : (assert(!"bad reg"),1969.0f) )
244 getDoubleFromArray(fp, (_idx)) : (assert(!"bad reg"),1969.0) )
247 (void)putDoubleToArray(fp, (_idx), (_val)) : assert(!"bad reg") )
249 # define GET_REGISTER(_idx) (fp[(_id
348 checkForNullExportPC(Object* obj, u4* fp, const u2* pc) argument
[all...]
/dalvik/tools/dmtracedump/
H A DCreateTestTrace.c326 void write2LE(FILE* fp, unsigned short val) argument
328 putc(val & 0xff, fp);
329 putc(val >> 8, fp);
332 void write4LE(FILE* fp, unsigned int val) argument
334 putc(val & 0xff, fp);
335 putc((val >> 8) & 0xff, fp);
336 putc((val >> 16) & 0xff, fp);
337 putc((val >> 24) & 0xff, fp);
340 void write8LE(FILE* fp, unsigned long long val) argument
342 putc(val & 0xff, fp);
436 FILE *fp = fopen(traceFileName, "w"); local
[all...]
/dalvik/vm/mterp/out/
H A DInterpC-armv5te-vfp.cpp222 * Assumes the existence of "u4* fp".
229 (fp[(_idx)]) : (assert(!"bad reg"),1969) )
232 (fp[(_idx)] = (u4)(_val)) : (assert(!"bad reg"),1969) )
239 getLongFromArray(fp, (_idx)) : (assert(!"bad reg"),1969) )
242 (void)putLongToArray(fp, (_idx), (_val)) : assert(!"bad reg") )
245 (*((float*) &fp[(_idx)])) : (assert(!"bad reg"),1969.0f) )
248 (*((float*) &fp[(_idx)]) = (_val)) : (assert(!"bad reg"),1969.0f) )
251 getDoubleFromArray(fp, (_idx)) : (assert(!"bad reg"),1969.0) )
254 (void)putDoubleToArray(fp, (_idx), (_val)) : assert(!"bad reg") )
256 # define GET_REGISTER(_idx) (fp[(_id
355 checkForNullExportPC(Object* obj, u4* fp, const u2* pc) argument
405 #define fp macro
1170 #undef fp macro
1220 dvmDumpFp(void* fp, StackSaveArea* otherSaveArea) argument
[all...]
H A DInterpC-armv5te.cpp222 * Assumes the existence of "u4* fp".
229 (fp[(_idx)]) : (assert(!"bad reg"),1969) )
232 (fp[(_idx)] = (u4)(_val)) : (assert(!"bad reg"),1969) )
239 getLongFromArray(fp, (_idx)) : (assert(!"bad reg"),1969) )
242 (void)putLongToArray(fp, (_idx), (_val)) : assert(!"bad reg") )
245 (*((float*) &fp[(_idx)])) : (assert(!"bad reg"),1969.0f) )
248 (*((float*) &fp[(_idx)]) = (_val)) : (assert(!"bad reg"),1969.0f) )
251 getDoubleFromArray(fp, (_idx)) : (assert(!"bad reg"),1969.0) )
254 (void)putDoubleToArray(fp, (_idx), (_val)) : assert(!"bad reg") )
256 # define GET_REGISTER(_idx) (fp[(_id
355 checkForNullExportPC(Object* obj, u4* fp, const u2* pc) argument
405 #define fp macro
1170 #undef fp macro
1220 dvmDumpFp(void* fp, StackSaveArea* otherSaveArea) argument
[all...]
H A DInterpC-armv7-a-neon.cpp222 * Assumes the existence of "u4* fp".
229 (fp[(_idx)]) : (assert(!"bad reg"),1969) )
232 (fp[(_idx)] = (u4)(_val)) : (assert(!"bad reg"),1969) )
239 getLongFromArray(fp, (_idx)) : (assert(!"bad reg"),1969) )
242 (void)putLongToArray(fp, (_idx), (_val)) : assert(!"bad reg") )
245 (*((float*) &fp[(_idx)])) : (assert(!"bad reg"),1969.0f) )
248 (*((float*) &fp[(_idx)]) = (_val)) : (assert(!"bad reg"),1969.0f) )
251 getDoubleFromArray(fp, (_idx)) : (assert(!"bad reg"),1969.0) )
254 (void)putDoubleToArray(fp, (_idx), (_val)) : assert(!"bad reg") )
256 # define GET_REGISTER(_idx) (fp[(_id
355 checkForNullExportPC(Object* obj, u4* fp, const u2* pc) argument
405 #define fp macro
1170 #undef fp macro
1220 dvmDumpFp(void* fp, StackSaveArea* otherSaveArea) argument
[all...]
H A DInterpC-armv7-a.cpp222 * Assumes the existence of "u4* fp".
229 (fp[(_idx)]) : (assert(!"bad reg"),1969) )
232 (fp[(_idx)] = (u4)(_val)) : (assert(!"bad reg"),1969) )
239 getLongFromArray(fp, (_idx)) : (assert(!"bad reg"),1969) )
242 (void)putLongToArray(fp, (_idx), (_val)) : assert(!"bad reg") )
245 (*((float*) &fp[(_idx)])) : (assert(!"bad reg"),1969.0f) )
248 (*((float*) &fp[(_idx)]) = (_val)) : (assert(!"bad reg"),1969.0f) )
251 getDoubleFromArray(fp, (_idx)) : (assert(!"bad reg"),1969.0) )
254 (void)putDoubleToArray(fp, (_idx), (_val)) : assert(!"bad reg") )
256 # define GET_REGISTER(_idx) (fp[(_id
355 checkForNullExportPC(Object* obj, u4* fp, const u2* pc) argument
405 #define fp macro
1170 #undef fp macro
1220 dvmDumpFp(void* fp, StackSaveArea* otherSaveArea) argument
[all...]

Completed in 366 milliseconds

12