Searched defs:handler (Results 1 - 13 of 13) sorted by relevance

/dalvik/vm/mterp/cstubs/
H A Dentry.cpp39 * while in the portable interpreter it is part of the handler
46 Handler handler = (Handler) gDvmMterpHandlers[inst & 0xff]; local
48 LOGVV("handler %p %s",
49 handler, (const char*) gDvmMterpHandlerNames[inst & 0xff]);
50 (*handler)(self);
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DCatchHandlerList.java24 * Ordered list of (exception type, handler address) entries.
98 * handler.
101 * handler or {@code false} if not
119 * @param handler {@code >= 0;} exception handler address
121 public void set(int n, CstType exceptionType, int handler) { argument
122 set0(n, new Entry(exceptionType, handler));
171 /** {@code >= 0;} exception handler address */
172 private final int handler; field in class:CatchHandlerList.Entry
178 * @param handler {
180 Entry(CstType exceptionType, int handler) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DCatchHandlerList.java24 * Ordered list of (exception type, handler address) entries.
98 * handler.
101 * handler or {@code false} if not
119 * @param handler {@code >= 0;} exception handler address
121 public void set(int n, CstType exceptionType, int handler) { argument
122 set0(n, new Entry(exceptionType, handler));
171 /** {@code >= 0;} exception handler address */
172 private final int handler; field in class:CatchHandlerList.Entry
178 * @param handler {
180 Entry(CstType exceptionType, int handler) argument
[all...]
/dalvik/libdex/
H A DDexCatch.h28 * Catch handler entry, used while iterating over catch_handler_items.
32 u4 address; /* handler address */
35 /* Get the first handler offset for the given DexCode.
40 /* Get count of handler lists for the given DexCode. */
44 * Iterator over catch handler data. This structure should be treated as
51 DexCatchHandler handler; member in struct:DexCatchIterator
60 pIterator->handler.typeIdx = 0;
61 pIterator->handler.address = 0;
81 /* Initialize a DexCatchIterator to a particular handler offset. */
97 pIterator->handler
[all...]
/dalvik/vm/analysis/
H A DVfyBasicBlock.cpp31 * Returns the size of the catch handler list. If the return value
44 DexCatchHandler* handler = dexCatchIteratorNext(&iterator); local
45 if (handler == NULL)
49 addrBuf[idx] = handler->address;
407 * possibility of a local handler catching the exception.
H A DDexVerify.cpp187 DexCatchHandler* handler = dexCatchIteratorNext(&iterator); local
190 if (handler == NULL) {
194 addr = handler->address;
197 "VFY: exception handler starts at bad address (%d)",
708 * We don't expect code to jump directly into an exception handler, but
789 * - (earlier) for each exception handler, the "try" area must begin and
791 * - (earlier) for each exception handler, the handler must start at a valid
H A DCodeVerify.cpp2884 * of an exception handler.
2903 * exception handler address, determine the first common superclass of
2906 * at an exception-specific "catch", but in general the handler could be
2909 * Returns NULL if no matching exception handler can be found, or if the
2939 const DexCatchHandler* handler = dexCatchIteratorNext(&iterator); local
2941 if (handler == NULL) {
2945 if (handler->address == (u4) insnIdx) {
2948 if (handler->typeIdx == kDexNoIndex)
2951 clazz = dvmOptResolveClass(meth->clazz, handler->typeIdx,
2956 handler
5984 DexCatchHandler* handler = dexCatchIteratorNext(&iterator); local
[all...]
/dalvik/vm/reflect/
H A DProxy.cpp849 * do is stuff "handler" into "h".
855 Object* handler = (Object*) args[1]; local
857 dvmSetFieldObject(obj, gDvm.offJavaLangReflectProxy_h, handler);
876 Object* handler; local
882 * Retrieve handler object for this proxy instance. The field is
885 handler = dvmGetFieldObject(thisObj, gDvm.offJavaLangReflectProxy_h);
892 invoke = dvmFindVirtualMethodHierByDescriptor(handler->clazz, "invoke",
899 ALOGV("invoke: %s.%s, this=%p, handler=%s",
901 thisObj, handler->clazz->descriptor);
953 dvmCallMethod(self, invoke, handler,
[all...]
/dalvik/vm/
H A DException.cpp620 DexCatchHandler* handler = dexCatchIteratorNext(&iterator); local
622 if (handler == NULL) {
626 if (handler->typeIdx == kDexNoIndex) {
631 return handler->address;
635 dvmDexGetResolvedClass(pDvmDex, handler->typeIdx);
664 throwable = dvmResolveClass(method->clazz, handler->typeIdx,
676 handler->typeIdx,
691 return handler->address;
/dalvik/vm/compiler/
H A DFrontend.cpp878 DexCatchHandler* handler = dexCatchIteratorNext(&iterator); local
880 if (handler == NULL) {
888 findBlock(cUnit, handler->address,
1095 DexCatchHandler* handler = dexCatchIteratorNext(&iterator); local
1097 if (handler == NULL) {
1101 BasicBlock *catchBlock = findBlock(cUnit, handler->address,
1113 successorBlockInfo->key = handler->typeIdx;
/dalvik/vm/mterp/out/
H A DInterpC-allstubs.cpp320 * Use this to check for NULL when the instruction handler calls into
352 * Use this to check for NULL when the instruction handler doesn't do
428 * Opcode handler framing macros. Here, each opcode is a separate function
446 * before handler execution in mterp, so we don't do them here either.
1020 * Dalvik instruction space and making it less likely that handler code will
1539 * spec). Because we're jumping to an exception handler,
2780 * this by simply jumping to the handler.
2784 * common handler with INST_INST.
3062 * while in the portable interpreter it is part of the handler
3069 Handler handler local
[all...]
/dalvik/dexdump/
H A DDexDump.cpp592 DexCatchHandler* handler = dexCatchIteratorNext(&iterator); local
595 if (handler == NULL) {
599 descriptor = (handler->typeIdx == kDexNoIndex) ? "<any>" :
600 dexStringByTypeIdx(pDexFile, handler->typeIdx);
603 handler->address);
/dalvik/dx/etc/
H A Djasmin.jar ... .Label start jas.Label end jas.Label handler jas.CP cat public void " href="/4.4_r1 ...

Completed in 1320 milliseconds