• Home
  • Raw
  • Download

Lines Matching refs:meth

467 static int methodToSlot(const Method* meth)  in methodToSlot()  argument
469 ClassObject* clazz = meth->clazz; in methodToSlot()
472 if (dvmIsDirectMethod(meth)) { in methodToSlot()
473 slot = meth - clazz->directMethods; in methodToSlot()
477 slot = meth - clazz->virtualMethods; in methodToSlot()
509 static Object* createConstructorObject(Method* meth) in createConstructorObject() argument
533 cp = dvmCopyDescriptorStringFromMethod(meth, &mangle); in createConstructorObject()
534 params = convertSignatureToClassArray(&cp, meth->clazz); in createConstructorObject()
544 exceptions = dvmGetMethodThrows(meth); in createConstructorObject()
548 slot = methodToSlot(meth); in createConstructorObject()
552 consObj, &unused, meth->clazz, params, exceptions, slot); in createConstructorObject()
579 Method* meth; in dvmGetDeclaredConstructors() local
596 meth = clazz->directMethods; in dvmGetDeclaredConstructors()
597 for (i = 0; i < clazz->directMethodCount; i++, meth++) { in dvmGetDeclaredConstructors()
598 if ((!publicOnly || dvmIsPublicMethod(meth)) && in dvmGetDeclaredConstructors()
599 dvmIsConstructorMethod(meth) && !dvmIsStaticMethod(meth)) in dvmGetDeclaredConstructors()
618 meth = clazz->directMethods; in dvmGetDeclaredConstructors()
619 for (i = 0; i < clazz->directMethodCount; i++, meth++) { in dvmGetDeclaredConstructors()
620 if ((!publicOnly || dvmIsPublicMethod(meth)) && in dvmGetDeclaredConstructors()
621 dvmIsConstructorMethod(meth) && !dvmIsStaticMethod(meth)) in dvmGetDeclaredConstructors()
623 Object* consObj = createConstructorObject(meth); in dvmGetDeclaredConstructors()
653 Object* dvmCreateReflectMethodObject(const Method* meth) in dvmCreateReflectMethodObject() argument
684 cp = dvmCopyDescriptorStringFromMethod(meth, &mangle); in dvmCreateReflectMethodObject()
685 params = convertSignatureToClassArray(&cp, meth->clazz); in dvmCreateReflectMethodObject()
690 returnType = convertSignaturePartToClass(&cp, meth->clazz); in dvmCreateReflectMethodObject()
698 exceptions = dvmGetMethodThrows(meth); in dvmCreateReflectMethodObject()
703 nameObj = dvmCreateStringFromCstr(meth->name, ALLOC_DEFAULT); in dvmCreateReflectMethodObject()
707 slot = methodToSlot(meth); in dvmCreateReflectMethodObject()
711 methObj, &unused, meth->clazz, params, exceptions, returnType, in dvmCreateReflectMethodObject()
744 Method* meth; in dvmGetDeclaredMethods() local
756 meth = clazz->virtualMethods; in dvmGetDeclaredMethods()
757 for (i = 0; i < clazz->virtualMethodCount; i++, meth++) { in dvmGetDeclaredMethods()
758 if ((!publicOnly || dvmIsPublicMethod(meth)) && in dvmGetDeclaredMethods()
759 !dvmIsMirandaMethod(meth)) in dvmGetDeclaredMethods()
764 meth = clazz->directMethods; in dvmGetDeclaredMethods()
765 for (i = 0; i < clazz->directMethodCount; i++, meth++) { in dvmGetDeclaredMethods()
766 if ((!publicOnly || dvmIsPublicMethod(meth)) && in dvmGetDeclaredMethods()
767 meth->name[0] != '<') in dvmGetDeclaredMethods()
786 meth = clazz->virtualMethods; in dvmGetDeclaredMethods()
787 for (i = 0; i < clazz->virtualMethodCount; i++, meth++) { in dvmGetDeclaredMethods()
788 if ((!publicOnly || dvmIsPublicMethod(meth)) && in dvmGetDeclaredMethods()
789 !dvmIsMirandaMethod(meth)) in dvmGetDeclaredMethods()
791 Object* methObj = dvmCreateReflectMethodObject(meth); in dvmGetDeclaredMethods()
798 meth = clazz->directMethods; in dvmGetDeclaredMethods()
799 for (i = 0; i < clazz->directMethodCount; i++, meth++) { in dvmGetDeclaredMethods()
800 if ((!publicOnly || dvmIsPublicMethod(meth)) && in dvmGetDeclaredMethods()
801 meth->name[0] != '<') in dvmGetDeclaredMethods()
803 Object* methObj = dvmCreateReflectMethodObject(meth); in dvmGetDeclaredMethods()
1138 ClassObject* dvmGetBoxedReturnType(const Method* meth) in dvmGetBoxedReturnType() argument
1140 const char* sig = dexProtoGetReturnType(&meth->prototype); in dvmGetBoxedReturnType()
1155 return dvmFindClass(sig, meth->clazz->classLoader); in dvmGetBoxedReturnType()
1158 char* desc = dexProtoCopyMethodDescriptor(&meth->prototype); in dvmGetBoxedReturnType()