Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 25 of 87) sorted by relevance

1234

/external/smali/dexlib/src/main/java/org/jf/dexlib/
DMethodIdItem.java39 private StringIdItem methodName; field in MethodIdItem
56 …Item(DexFile dexFile, TypeIdItem classType, ProtoIdItem methodPrototype, StringIdItem methodName) { in MethodIdItem() argument
60 this.methodName = methodName; in MethodIdItem()
74 … ProtoIdItem methodPrototype, StringIdItem methodName) { in internMethodIdItem() argument
75 … MethodIdItem methodIdItem = new MethodIdItem(dexFile, classType, methodPrototype, methodName); in internMethodIdItem()
90 … ProtoIdItem methodPrototype, StringIdItem methodName) { in lookupMethodIdItem() argument
91 … MethodIdItem methodIdItem = new MethodIdItem(dexFile, classType, methodPrototype, methodName); in lookupMethodIdItem()
99 methodName = dexFile.StringIdsSection.getItemByIndex(in.readInt()); in readItem()
112 out.annotate(4, "method_name: " + methodName.getStringValue()); in writeItem()
117 out.writeInt(methodName.getIndex()); in writeItem()
[all …]
/external/javassist/src/main/javassist/convert/
DTransformAccessArrayField.java128 String methodName = getMethodName(opcode); in replace() local
129 if (methodName != null) { in replace()
149 int methodref = cp.addMethodrefInfo(mi, methodName, signature); in replace()
166 String methodName = null; in getMethodName() local
169 methodName = names.objectRead(); in getMethodName()
172 methodName = names.byteOrBooleanRead(); in getMethodName()
175 methodName = names.charRead(); in getMethodName()
178 methodName = names.doubleRead(); in getMethodName()
181 methodName = names.floatRead(); in getMethodName()
184 methodName = names.intRead(); in getMethodName()
[all …]
DTransformReadField.java29 protected String methodClassname, methodName; field in TransformReadField
32 String methodClassname, String methodName) in TransformReadField() argument
38 this.methodName = methodName; in TransformReadField()
86 int methodref = cp.addMethodrefInfo(mi, methodName, type); in transform()
DTransformWriteField.java24 String methodClassname, String methodName) in TransformWriteField() argument
26 super(next, field, methodClassname, methodName); in TransformWriteField()
63 int methodref = cp.addMethodrefInfo(mi, methodName, type); in transform()
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
DDeodexUtil.java85 String methodName = m.group(1); in lookupVirtualMethod() local
94 return parseAndResolveMethod(classDef, methodName, methodParams, methodRet); in lookupVirtualMethod()
97 …private MethodIdItem parseAndResolveMethod(ClassPath.ClassDef classDef, String methodName, String … in parseAndResolveMethod() argument
99 StringIdItem methodNameItem = StringIdItem.lookupStringIdItem(dexFile, methodName); in parseAndResolveMethod()
252 public final String methodName; field in DeodexUtil.InlineMethod
258 InlineMethod(int methodType, String classType, String methodName, String parameters, in InlineMethod() argument
262 this.methodName = methodName; in InlineMethod()
277 this.methodIdItem = parseAndResolveMethod(classDef, methodName, parameters, returnType); in loadMethod()
281 return String.format("%s->%s(%s)%s", classType, methodName, parameters, returnType); in getMethodString()
/external/emma/core/java12/com/vladium/jcd/lib/
DTypes.java363 …ing fullMethodDescriptorToUserName (final String classJavaName, String methodName, final String me… in fullMethodDescriptorToUserName() argument
365 if ("<init>".equals (methodName)) in fullMethodDescriptorToUserName()
366 methodName = simpleClassName (classJavaName); in fullMethodDescriptorToUserName()
367 if ("<clinit>".equals (methodName)) in fullMethodDescriptorToUserName()
368 methodName = "<static class initializer>"; in fullMethodDescriptorToUserName()
370 return methodName + ' ' + methodDescriptorToUserName (methoddescriptor); in fullMethodDescriptorToUserName()
374 …fullMethodDescriptorToFullUserName (final String classJavaName, String methodName, final String me… in fullMethodDescriptorToFullUserName() argument
376 if ("<init>".equals (methodName)) in fullMethodDescriptorToFullUserName()
377 methodName = simpleClassName (classJavaName); in fullMethodDescriptorToFullUserName()
378 if ("<clinit>".equals (methodName)) in fullMethodDescriptorToFullUserName()
[all …]
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/
DPluginTest.h46 DEFINE_HAS_MEMBER_CHECK(hasMethod, bool, (NPIdentifier methodName));
47 DEFINE_HAS_MEMBER_CHECK(invoke, bool, (NPIdentifier methodName, const NPVariant*, uint32_t, NPVaria…
124 bool hasMethod(NPIdentifier methodName) in hasMethod()
130 bool invoke(NPIdentifier methodName, const NPVariant*, uint32_t, NPVariant* result) in invoke()
177 static bool NP_HasMethod(NPObject* npObject, NPIdentifier methodName) in NP_HasMethod()
179 return static_cast<T*>(npObject)->hasMethod(methodName); in NP_HasMethod()
182 …static bool NP_Invoke(NPObject* npObject, NPIdentifier methodName, const NPVariant* arguments, uin… in NP_Invoke()
184 return static_cast<T*>(npObject)->invoke(methodName, arguments, argumentCount, result); in NP_Invoke()
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/
DNPRuntimeRemoveProperty.cpp41 bool hasMethod(NPIdentifier methodName) in hasMethod()
43 return methodName == pluginTest()->NPN_GetStringIdentifier("testRemoveProperty"); in hasMethod()
46 …bool invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant… in invoke()
48 assert(methodName == pluginTest()->NPN_GetStringIdentifier("testRemoveProperty")); in invoke()
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/
Djunit.stg47 testTreeRuleMethod(methodName,testTreeRuleName,testRuleName,test,tokenType,expecting) ::= <<
48 public void <methodName>() throws Exception {
58 testTreeRuleMethod2(methodName,testTreeRuleName,testRuleName,test,returnType,expecting) ::= <<
59 public void <methodName>() throws Exception {
67 testRuleMethod(isLexicalRule,methodName,testRuleName,test,tokenType,expecting) ::= <<
68 public void <methodName>() throws Exception {
78 testRuleMethod2(methodName,testRuleName,test,returnType,expecting) ::= <<
79 public void <methodName>() throws Exception {
/external/javassist/src/main/javassist/
DCtNewMethod.java221 public static CtMethod getter(String methodName, CtField field) in getter() argument
228 MethodInfo minfo = new MethodInfo(cp, methodName, desc); in getter()
262 public static CtMethod setter(String methodName, CtField field) in setter() argument
269 MethodInfo minfo = new MethodInfo(cp, methodName, desc); in setter()
331 String methodName = deleInfo.getName(); in delegator0() local
334 MethodInfo minfo = new MethodInfo(cp, methodName, desc); in delegator0()
349 code.addInvokestatic(deleClass, methodName, desc); in delegator0()
354 code.addInvokespecial(deleClass, methodName, desc); in delegator0()
DCtField.java654 String methodName) { in byCall() argument
657 i.methodName = methodName; in byCall()
688 String methodName, in byCall() argument
692 i.methodName = methodName; in byCall()
722 String methodName) { in byCallWithParams() argument
725 i.methodName = methodName; in byCallWithParams()
759 String methodName, String[] stringParams) { in byCallWithParams() argument
762 i.methodName = methodName; in byCallWithParams()
1081 String methodName; field in CtField.MethodInitializer
1110 code.addInvokestatic(objectType, methodName, mDesc); in compile()
[all …]
DCtPrimitiveType.java32 String methodName, String mDesc, int opcode, int atype, in CtPrimitiveType() argument
37 getMethodName = methodName; in CtPrimitiveType()
/external/javassist/src/main/javassist/bytecode/
DEnclosingMethodAttribute.java46 String methodName, String methodDesc) { in EnclosingMethodAttribute() argument
49 int ni = cp.addNameAndTypeInfo(methodName, methodDesc); in EnclosingMethodAttribute()
101 public String methodName() { in methodName() method in EnclosingMethodAttribute
131 methodName(), methodDescriptor()); in copy()
/external/webkit/Source/WebCore/bridge/jni/
DJavaMethodJobject.cpp58 …jstring methodName = static_cast<jstring>(callJNIMethod<jobject>(aMethod, "getName", "()Ljava/lang… in JavaMethodJobject() local
59 if (!methodName) in JavaMethodJobject()
60 methodName = env->NewStringUTF("<Unknown>"); in JavaMethodJobject()
61 m_name = JavaString(env, methodName); in JavaMethodJobject()
62 env->DeleteLocalRef(methodName); in JavaMethodJobject()
DJNIUtility.h214 T callJNIMethod(jobject obj, const char* methodName, const char* methodSignature, ...)
219 T result = callJNIMethodV<T>(obj, methodName, methodSignature, args);
227 T callJNIStaticMethod(jclass cls, const char* methodName, const char* methodSignature, ...)
238 jmethodID mid = env->GetStaticMethodID(cls, methodName, methodSignature);
242 LOG_ERROR("Could not find method: %s for %p", methodName, cls);
/external/javassist/src/test/test/javassist/bytecode/analysis/
DErrorFinder.java51 String methodName = clazz.getName() + "." + method.getName() + method.getSignature(); in analyzeMethod() local
52 System.out.println("START: " + methodName); in analyzeMethod()
58 … System.out.println("SUCCESS: " + methodName + " - " + (System.currentTimeMillis() - time)); in analyzeMethod()
60 …System.out.println("FAIL: " + methodName + " - " + (e.getMessage() == null ? e.getClass().getName(… in analyzeMethod()
/external/webkit/Source/WebKit2/Shared/Plugins/
DNPObjectProxy.h64 bool hasMethod(NPIdentifier methodName);
65 …bool invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant…
77 static bool NP_HasMethod(NPObject*, NPIdentifier methodName);
78 …static bool NP_Invoke(NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t arg…
DNPObjectProxy.cpp94 bool NPObjectProxy::hasMethod(NPIdentifier methodName) in hasMethod() argument
99 NPIdentifierData methodNameData = NPIdentifierData::fromNPIdentifier(methodName); in hasMethod()
109 bool NPObjectProxy::invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCo… in invoke() argument
114 NPIdentifierData methodNameData = NPIdentifierData::fromNPIdentifier(methodName); in invoke()
300 bool NPObjectProxy::NP_HasMethod(NPObject* npObject, NPIdentifier methodName) in NP_HasMethod() argument
302 return toNPObjectProxy(npObject)->hasMethod(methodName); in NP_HasMethod()
305 bool NPObjectProxy::NP_Invoke(NPObject* npObject, NPIdentifier methodName, const NPVariant* argumen… in NP_Invoke() argument
307 return toNPObjectProxy(npObject)->invoke(methodName, arguments, argumentCount, result); in NP_Invoke()
/external/guava/guava-tests/test/com/google/common/testing/
DNullPointerTesterTest.java124 for (String methodName : STATIC_ONE_ARG_METHODS_SHOULD_PASS) { in testStaticOneArgMethodsThatShouldPass()
125 Method method = OneArg.class.getMethod(methodName, String.class); in testStaticOneArgMethodsThatShouldPass()
129 fail("Should not have flagged method " + methodName); in testStaticOneArgMethodsThatShouldPass()
135 for (String methodName : STATIC_ONE_ARG_METHODS_SHOULD_FAIL) { in testStaticOneArgMethodsThatShouldFail()
136 Method method = OneArg.class.getMethod(methodName, String.class); in testStaticOneArgMethodsThatShouldFail()
143 assertTrue("Should report error in method " + methodName, foundProblem); in testStaticOneArgMethodsThatShouldFail()
149 for (String methodName : NONSTATIC_ONE_ARG_METHODS_SHOULD_PASS) { in testNonStaticOneArgMethodsThatShouldPass()
150 Method method = OneArg.class.getMethod(methodName, String.class); in testNonStaticOneArgMethodsThatShouldPass()
154 fail("Should not have flagged method " + methodName); in testNonStaticOneArgMethodsThatShouldPass()
161 for (String methodName : NONSTATIC_ONE_ARG_METHODS_SHOULD_FAIL) { in testNonStaticOneArgMethodsThatShouldFail()
[all …]
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
DNPJSObject.h67 bool hasMethod(NPIdentifier methodName);
68 …bool invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant…
82 static bool NP_HasMethod(NPObject*, NPIdentifier methodName);
83 …static bool NP_Invoke(NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t arg…
DNPJSObject.cpp90 bool NPJSObject::hasMethod(NPIdentifier methodName) in hasMethod() argument
92 IdentifierRep* identifierRep = static_cast<IdentifierRep*>(methodName); in hasMethod()
110 bool NPJSObject::invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount… in invoke() argument
112 IdentifierRep* identifierRep = static_cast<IdentifierRep*>(methodName); in invoke()
339 bool NPJSObject::NP_HasMethod(NPObject* npObject, NPIdentifier methodName) in NP_HasMethod() argument
341 return toNPJSObject(npObject)->hasMethod(methodName); in NP_HasMethod()
344 bool NPJSObject::NP_Invoke(NPObject* npObject, NPIdentifier methodName, const NPVariant* arguments,… in NP_Invoke() argument
346 return toNPJSObject(npObject)->invoke(methodName, arguments, argumentCount, result); in NP_Invoke()
/external/easymock/src/org/easymock/internal/
DMethodSerializationWrapper.java43 private String methodName; field in MethodSerializationWrapper
49 methodName = m.getName(); in MethodSerializationWrapper()
77 Method m = clazz.getMethod(methodName, parameterTypes); in getMethod()
/external/javassist/src/main/javassist/compiler/
DMemberResolver.java76 String methodName, in lookupMethod() argument
84 if (current.getName().equals(methodName)) { in lookupMethod()
96 Method m = lookupMethod(clazz, methodName, argTypes, argDims, in lookupMethod()
104 private Method lookupMethod(CtClass clazz, String methodName, in lookupMethod() argument
118 if (minfo.getName().equals(methodName)) { in lookupMethod()
144 Method r = lookupMethod(pclazz, methodName, argTypes, in lookupMethod()
158 Method r = lookupMethod(ifs[i], methodName, in lookupMethod()
169 Method r = lookupMethod(pclazz, methodName, argTypes, in lookupMethod()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DPlatform.java32 static Method getMethod(Class<?> clazz, String methodName) { in getMethod() argument
34 return clazz.getMethod(methodName); in getMethod()
/external/proguard/src/proguard/obfuscate/
DMappingKeeper.java142 String methodName, in processMethodMapping() argument
152 Method method = clazz.findMethod(methodName, descriptor); in processMethodMapping()
166 …": method '" + methodReturnType + " " + methodName + ClassConstants.EXTERNAL_METHOD_ARGUMENTS_OPEN… in processMethodMapping()

1234