• Home
  • Raw
  • Download

Lines Matching refs:self

100     Thread* self);
265 Thread* self = dvmThreadSelf(); in dvmThrowChainedExceptionByClass() local
289 if (dvmCheckException(self)) in dvmThrowChainedExceptionByClass()
305 if (!initException(exception, msg, cause, self)) { in dvmThrowChainedExceptionByClass()
311 if (!dvmCheckException(self)) { in dvmThrowChainedExceptionByClass()
316 self->exception = gDvm.internalErrorObj; in dvmThrowChainedExceptionByClass()
322 self->exception = exception; in dvmThrowChainedExceptionByClass()
325 dvmReleaseTrackedAlloc(exception, self); in dvmThrowChainedExceptionByClass()
405 Thread* self) in initException() argument
420 assert(self != NULL); in initException()
421 assert(self->exception == NULL); in initException()
543 dvmCallMethod(self, initMethod, exception, &unused); in initException()
547 dvmCallMethod(self, initMethod, exception, &unused, msgStr); in initException()
552 dvmCallMethod(self, initMethod, exception, &unused, cause); in initException()
557 dvmCallMethod(self, initMethod, exception, &unused, msgStr, cause); in initException()
568 if (self->exception != NULL) { in initException()
570 self->exception->clazz->descriptor, exception->clazz->descriptor); in initException()
584 dvmCallMethod(self, initCause, exception, &unused, cause); in initException()
585 if (self->exception != NULL) { in initException()
591 self->exception->clazz->descriptor, in initException()
605 dvmReleaseTrackedAlloc((Object*) msgStr, self); // NULL is ok in initException()
620 void dvmClearOptException(Thread* self) in dvmClearOptException() argument
622 self->exception = NULL; in dvmClearOptException()
651 Thread* self = dvmThreadSelf(); in dvmWrapException() local
655 origExcep = dvmGetException(self); in dvmWrapException()
656 dvmAddTrackedAlloc(origExcep, self); // don't let the GC free it in dvmWrapException()
658 dvmClearException(self); // clear before class lookup in dvmWrapException()
670 dvmCallMethod(self, initMethod, iteExcep, &unused, in dvmWrapException()
674 if (!dvmCheckException(self)) in dvmWrapException()
675 dvmSetException(self, iteExcep); in dvmWrapException()
680 if (!dvmCheckException(self)) in dvmWrapException()
681 dvmSetException(self, origExcep); in dvmWrapException()
689 assert(dvmCheckException(self)); in dvmWrapException()
690 dvmReleaseTrackedAlloc(origExcep, self); in dvmWrapException()
727 Thread* self = dvmThreadSelf(); in dvmPrintExceptionStackTrace() local
731 exception = self->exception; in dvmPrintExceptionStackTrace()
735 self->exception = NULL; in dvmPrintExceptionStackTrace()
740 dvmCallMethod(self, printMethod, exception, &unused); in dvmPrintExceptionStackTrace()
746 if (self->exception != NULL) { in dvmPrintExceptionStackTrace()
748 self->exception->clazz->descriptor); in dvmPrintExceptionStackTrace()
751 self->exception = exception; in dvmPrintExceptionStackTrace()
759 static int findCatchInMethod(Thread* self, const Method* method, int relPc, in findCatchInMethod() argument
766 assert(!dvmCheckException(self)); in findCatchInMethod()
771 dvmComputeExactFrameDepth(self->curFrame)); in findCatchInMethod()
836 (self->exception != NULL) ? in findCatchInMethod()
837 self->exception->clazz->descriptor : "(none)"); in findCatchInMethod()
838 dvmClearException(self); in findCatchInMethod()
874 int dvmFindCatchBlock(Thread* self, int relPc, Object* exception, in dvmFindCatchBlock() argument
877 void* fp = self->curFrame; in dvmFindCatchBlock()
880 assert(!dvmCheckException(self)); in dvmFindCatchBlock()
884 catchAddr = findCatchInMethod(self, saveArea->method, relPc, in dvmFindCatchBlock()
897 TRACE_METHOD_UNROLL(self, saveArea->method); in dvmFindCatchBlock()
951 self->curFrame = fp; in dvmFindCatchBlock()
957 self->exception = NULL; in dvmFindCatchBlock()