Searched defs:meth (Results 1 - 25 of 33) sorted by relevance

12

/dalvik/tests/085-old-style-inner-class/src/
H A DMain.java37 private static String nameOf(Method meth) { argument
38 return (meth == null) ? "(null)" : meth.toString();
/dalvik/dx/src/com/android/dx/ssa/
H A DDomFront.java37 private final SsaMethod meth; field in class:DomFront
60 * @param meth {@code non-null;} method to process
62 public DomFront(SsaMethod meth) { argument
63 this.meth = meth;
64 nodes = meth.getBlocks();
90 Dominators methDom = Dominators.make(meth, domInfos, false);
H A DDominators.java48 private final SsaMethod meth; field in class:Dominators
64 * @param meth {@code non-null;} method to process
68 private Dominators(SsaMethod meth, DomFront.DomInfo[] domInfos, argument
70 this.meth = meth;
73 this.blocks = meth.getBlocks();
82 * @param meth {@code non-null;} method to process
86 public static Dominators make(SsaMethod meth, DomFront.DomInfo[] domInfos, argument
88 Dominators result = new Dominators(meth, domInfos, postdom);
168 * @param meth {
[all...]
/dalvik/vm/native/
H A Djava_lang_reflect_Constructor.cpp44 Method* meth; local
65 meth = dvmSlotToMethod(declaringClass, slot);
66 assert(meth != NULL);
68 (void) dvmInvokeMethod(newObj, meth, argList, params, NULL, noAccessCheck);
H A Ddalvik_system_VMStack.cpp85 const Method* meth = methods[i]; local
87 if (dvmIsReflectionMethod(meth))
H A Djava_lang_reflect_Method.cpp35 Method* meth; local
37 meth = dvmSlotToMethod(declaringClass, slot);
38 RETURN_INT(dvmFixMethodFlags(meth->accessFlags));
58 const Method* meth; local
65 meth = dvmSlotToMethod(declaringClass, slot);
66 assert(meth != NULL);
68 if (dvmIsStaticMethod(meth)) {
89 meth = dvmGetVirtualizedMethod(methObj->clazz, meth);
90 if (meth
125 Method* meth; local
146 Method* meth = dvmSlotToMethod(clazz, slot); local
161 Method* meth = dvmSlotToMethod(clazz, slot); local
175 Method* meth; local
197 Method* meth; local
221 Method* meth; local
[all...]
/dalvik/vm/analysis/
H A DVerifySubs.cpp29 bool dvmWantVerboseVerification(const Method* meth) argument
36 return (strcmp(meth->clazz->descriptor, cd) == 0 &&
37 dvmCompareNameDescriptorAndMethod(mn, sg, meth) == 0);
45 void dvmLogVerifyFailure(const Method* meth, const char* format, ...) argument
59 if (meth != NULL) {
60 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype);
62 meth->clazz->descriptor, meth->name, desc);
75 const Method* meth)
82 std::string dotFromClass = dvmHumanReadableDescriptor(meth
74 dvmLogUnableToResolveClass(const char* missingClassDescr, const Method* meth) argument
92 dvmGetBranchOffset(const Method* meth, const InsnFlags* insnFlags, int curOffset, s4* pOffset, bool* pConditional) argument
[all...]
H A DLiveness.cpp70 const Method* meth = vdata->method; local
72 meth->clazz->descriptor, meth->name, meth->shorty);
322 const Method* meth = vdata->method; local
323 const u2* insns = meth->insns + insnIdx;
786 const Method* meth = vdata->method; local
788 dexDecodeDebugInfo(meth->clazz->pDvmDex->pDexFile, dvmGetMethodCode(meth),
789 meth
[all...]
H A DVfyBasicBlock.cpp162 const Method* meth = vdata->method; local
178 gotBranch = dvmGetBranchOffset(meth, insnFlags, curIdx,
189 const u2* curInsn = &meth->insns[curIdx];
207 if (dexOpcodeFromCodeUnit(meth->insns[curIdx]) == OP_PACKED_SWITCH) {
210 assert(dexOpcodeFromCodeUnit(meth->insns[curIdx]) ==
232 meth->clazz->descriptor, meth->name, meth->shorty);
298 const Method* meth = vdata->method; local
300 const DexCode* pCode = dvmGetMethodCode(meth);
[all...]
H A DDexVerify.cpp27 static bool verifyMethod(Method* meth);
85 const Method* meth = vdata->method; local
88 const u2* insns = meth->insns;
97 LOG_VFY_METH(meth, "VFY: invalid instruction (0x%04x)", *insns);
100 LOG_VFY_METH(meth,
115 LOG_VFY_METH(meth, "VFY: code did not end where expected (%d vs. %d)",
116 i, dvmGetMethodInsnsSize(meth));
137 static bool scanTryCatchBlocks(const Method* meth, InsnFlags* insnFlags) argument
139 u4 insnsSize = dvmGetMethodInsnsSize(meth);
140 const DexCode* pCode = dvmGetMethodCode(meth);
235 verifyMethod(Method* meth) argument
346 checkArrayData(const Method* meth, u4 curOffset) argument
515 checkRegisterIndex(const Method* meth, u4 idx) argument
528 checkWideRegisterIndex(const Method* meth, u4 idx) argument
549 checkVarargRegs(const Method* meth, const DecodedInstruction* pDecInsn) argument
578 checkVarargRangeRegs(const Method* meth, const DecodedInstruction* pDecInsn) argument
602 checkSwitchTargets(const Method* meth, InsnFlags* insnFlags, u4 curOffset) argument
717 checkBranchTarget(const Method* meth, InsnFlags* insnFlags, int curOffset, bool selfOkay) argument
796 const Method* meth = vdata->method; local
[all...]
H A DOptimize.cpp351 * Update a 16-bit code unit in "meth". The way in which the DEX data was
357 void dvmUpdateCodeUnit(const Method* meth, u2* ptr, u2 newVal) argument
359 DvmDex* pDvmDex = meth->clazz->pDvmDex;
377 static inline void updateOpcode(const Method* meth, u2* ptr, Opcode opcode) argument
382 dvmUpdateCodeUnit(meth, ptr, (u2) (opcode << 8) | 0x00ff);
386 dvmUpdateCodeUnit(meth, ptr, (ptr[0] & 0xff00) | (u2) opcode);
883 * op vAA, meth@BBBB, reg stuff @CCCC
H A DRegisterMap.cpp50 const Method* meth);
608 static bool writeMapForMethod(const Method* meth, u1** pPtr) argument
610 if (meth->registerMap == NULL) {
611 if (!dvmIsAbstractMethod(meth) && !dvmIsNativeMethod(meth)) {
613 meth->clazz->descriptor, meth->name);
621 size_t mapSize = computeRegisterMapSize(meth->registerMap);
622 memcpy(*pPtr, meth->registerMap, mapSize);
625 assert(**pPtr == meth
669 const Method* meth = &clazz->directMethods[i]; local
680 const Method* meth = &clazz->virtualMethods[i]; local
1442 compressMapDifferential(const RegisterMap* pMap, const Method* meth) argument
[all...]
/dalvik/dx/src/com/android/dx/command/dump/
H A DBlockDumper.java196 ConcreteMethod meth =
200 ropDump(meth);
202 regularDump(meth);
209 * @param meth {@code non-null;} method data to dump
211 private void regularDump(ConcreteMethod meth) { argument
212 BytecodeArray code = meth.getCode();
214 ByteBlockList list = BasicBlocker.identifyBlocks(meth);
284 * @param meth {@code non-null;} method data to dump
286 private void ropDump(ConcreteMethod meth) { argument
288 BytecodeArray code = meth
[all...]
H A DBaseDumper.java107 * @param meth method to process
110 static int computeParamWidth(ConcreteMethod meth, boolean isStatic) { argument
111 return meth.getEffectiveDescriptor().getParameterTypes().
/dalvik/dexlist/
H A DDexList.cpp268 char* meth = strrchr(gParms.argCopy, '.'); local
269 if (meth == NULL) {
274 *meth = '\0';
276 gParms.methodToFind = meth+1;
/dalvik/tests/046-reflect/src/
H A DMain.java18 void printMethodInfo(Method meth) { argument
22 System.out.println("Method name is " + meth.getName());
24 + meth.getDeclaringClass().getName());
25 params = meth.getParameterTypes();
28 exceptions = meth.getExceptionTypes();
31 System.out.println(" Return type is " + meth.getReturnType().getName());
33 + Integer.toHexString(meth.getModifiers()));
34 //System.out.println(" GenericStr is " + meth.toGenericString());
69 Method meth;
71 meth
[all...]
/dalvik/vm/oo/
H A DObject.cpp673 const Method* meth)
678 if (dvmIsDirectMethod(meth)) {
680 assert(!dvmIsStaticMethod(meth));
681 return meth;
691 if (dvmIsInterfaceClass(meth->clazz)) {
695 if (clazz->iftable[i].clazz == meth->clazz)
704 methodIndex = clazz->iftable[i].methodIndexArray[meth->methodIndex];
706 methodIndex = meth->methodIndex;
727 const char* dvmGetMethodSourceFile(const Method* meth) argument
734 return meth
672 dvmGetVirtualizedMethod(const ClassObject* clazz, const Method* meth) argument
[all...]
H A DObject.h485 * hit (e.g. "meth->insns" becomes "baseAddr + meth->insnsOffset") we
624 * Find the implementation of "meth" in "clazz".
629 const Method* meth);
634 extern "C" const char* dvmGetMethodSourceFile(const Method* meth);
781 INLINE const DexCode* dvmGetMethodCode(const Method* meth) { argument
782 if (dvmIsBytecodeMethod(meth)) {
789 (((const u1*) meth->insns) - offsetof(DexCode, insns));
799 INLINE u4 dvmGetMethodInsnsSize(const Method* meth) { argument
800 const DexCode* pCode = dvmGetMethodCode(meth);
[all...]
/dalvik/vm/
H A DNative.cpp512 Method* meth = &methods[count]; local
513 if (!dvmIsNativeMethod(meth))
515 if (dvmIsAbstractMethod(meth)) /* avoid abstract method stubs */
531 meth->clazz->descriptor, meth->name, meth->shorty);
532 dvmSetNativeFunc(meth, dvmResolveNativeMethod, NULL);
691 const Method* meth = (const Method*) vmethod; local
699 if (meth->clazz->classLoader != pLib->classLoader) {
701 pLib->pathName, meth
[all...]
H A DProfile.cpp304 Method* meth; local
311 meth = &clazz->virtualMethods[i];
312 if (meth->inProfile) {
313 name = dvmDescriptorToName(meth->clazz->descriptor);
314 fprintf(fp, "0x%08x\t%s\t%s\t%s\t%s\t%d\n", (int) meth,
315 name, meth->name,
316 dexProtoGetMethodDescriptor(&meth->prototype, &stringCache),
317 dvmGetMethodSourceFile(meth), dvmLineNumFromPC(meth, 0));
318 meth
[all...]
H A DException.cpp1001 Method* meth = (Method*) *intVals++; local
1008 lineNumber = dvmLineNumFromPC(meth, pc);
1010 std::string dotName(dvmHumanReadableDescriptor(meth->clazz->descriptor));
1013 StringObject* methodName = dvmCreateStringFromCstr(meth->name);
1015 const char* sourceFile = dvmGetMethodSourceFile(meth);
1049 Method* meth = (Method*) *intVals++; local
1052 std::string dotName(dvmHumanReadableDescriptor(meth->clazz->descriptor));
1053 if (dvmIsNativeMethod(meth)) {
1054 ALOGI("\tat %s.%s(Native Method)", dotName.c_str(), meth->name);
1057 dotName.c_str(), meth
[all...]
/dalvik/vm/reflect/
H A DProxy.cpp39 static void createConstructor(ClassObject* clazz, Method* meth);
735 static void createConstructor(ClassObject* clazz, Method* meth) argument
744 meth->clazz = clazz;
745 meth->accessFlags = ACC_PUBLIC | ACC_NATIVE;
746 meth->name = "<init>";
747 meth->prototype =
749 meth->shorty =
753 int argsSize = dvmComputeMethodArgsSize(meth) + 1;
754 meth->registersSize = meth
[all...]
H A DReflect.cpp346 static int methodToSlot(const Method* meth) argument
348 ClassObject* clazz = meth->clazz;
351 if (dvmIsDirectMethod(meth)) {
352 slot = meth - clazz->directMethods;
356 slot = meth - clazz->virtualMethods;
380 * "meth" to construct it.
388 static Object* createConstructorObject(Method* meth) argument
412 cp = dvmCopyDescriptorStringFromMethod(meth, &mangle);
413 params = convertSignatureToClassArray(&cp, meth->clazz);
423 exceptions = dvmGetMethodThrows(meth);
471 Method* meth = &clazz->directMethods[i]; local
492 Method* meth = &clazz->directMethods[i]; local
525 dvmCreateReflectMethodObject(const Method* meth) argument
623 Method* meth = clazz->virtualMethods; local
1156 dvmGetBoxedReturnType(const Method* meth) argument
[all...]
/dalvik/vm/alloc/
H A DMarkSweep.cpp767 Method *meth = gDvm.methJavaLangRefFinalizerReferenceAdd; local
768 assert(meth != NULL);
770 dvmCallMethod(self, meth, NULL, &unusedResult, obj);
832 Method *meth = gDvm.methJavaLangRefReferenceQueueAdd; local
833 assert(meth != NULL);
836 dvmCallMethod(self, meth, NULL, &unused, reference);
/dalvik/vm/compiler/
H A DFrontend.cpp844 const Method *meth = cUnit->method; local
845 const DexCode *pCode = dvmGetMethodCode(meth);

Completed in 451 milliseconds

12