Home
last modified time | relevance | path

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

12345

/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()
/external/mockito/src/org/mockito/internal/invocation/
DSerializableMethod.java18 private String methodName; field in SerializableMethod
26 methodName = method.getName(); in SerializableMethod()
34 return methodName; in getName()
55 return declaringClass.getDeclaredMethod(methodName, parameterTypes); in getJavaMethod()
59 …ease report this as a defect with an example of how to reproduce it.", declaringClass, methodName); in getJavaMethod()
64 …ease report this as a defect with an example of how to reproduce it.", declaringClass, methodName); in getJavaMethod()
88 if (methodName == null) { in equals()
89 if (other.methodName != null) in equals()
91 } else if (!methodName.equals(other.methodName)) in equals()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DFramesTest.java85 String methodName, classSignature; in testFrames005() local
89 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames005()
93 + methodName in testFrames005()
139 String methodName, classSignature; in testFrames004() local
143 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames004()
147 + methodName in testFrames004()
194 String methodName, classSignature; in testFrames003() local
198 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames003()
202 + methodName in testFrames003()
254 String methodName, classSignature; in testFrames002() local
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DCombinedEventsTestCase.java53 void printMethodLineTable(long classID, String className /* may be null */, String methodName) { in printMethodLineTable() argument
54 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName); in printMethodLineTable()
58 + classID + "; Method name = " + methodName); in printMethodLineTable()
72 logWriter.println("=== Line Table for method: " + methodName + " ==="); in printMethodLineTable()
74 logWriter.println("=== Line Table for method: " + methodName + " of class: " in printMethodLineTable()
89 logWriter.println("=== End of Line Table " + methodName + " ==="); in printMethodLineTable()
92 long getMethodStartCodeIndex(long classID, String methodName) { in getMethodStartCodeIndex() argument
93 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName); in getMethodStartCodeIndex()
97 + classID + "; Method name = " + methodName); in getMethodStartCodeIndex()
116 long getMethodEndCodeIndex(long classID, String methodName) { in getMethodEndCodeIndex() argument
[all …]
DBreakpoint002Test.java159 private void testBreakpointIn(String testName, String methodName) { in testBreakpointIn() argument
165 … long breakpointReqID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(classID, methodName); in testBreakpointIn()
166 assertTrue("Failed to install breakpoint in method " + methodName, breakpointReqID != -1); in testBreakpointIn()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
DShadowWrangler.java87 …public Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, … in methodInvoked() argument
88 InvocationPlan invocationPlan = new InvocationPlan(clazz, methodName, instance, paramTypes); in methodInvoked()
90 reportNoShadowMethodFound(clazz, methodName, paramTypes); in methodInvoked()
95 …throw new I18nException("Method " + methodName + " on class " + clazz.getName() + " is not i18n-sa… in methodInvoked()
124 private void reportNoShadowMethodFound(Class clazz, String methodName, String[] paramTypes) { in reportNoShadowMethodFound() argument
126 …System.out.println("No Shadow method found for " + clazz.getSimpleName() + "." + methodName + "(" + in reportNoShadowMethodFound()
289 private String methodName; field in ShadowWrangler.InvocationPlan
296 … public InvocationPlan(Class clazz, String methodName, Object instance, String... paramTypes) { in InvocationPlan() argument
299 this.methodName = methodName; in InvocationPlan()
339 … declaredShadowClass = findDeclaredShadowClassForMethod(originalClass, methodName, paramClasses); in prepare()
[all …]
/external/chromium_org/tools/telemetry/telemetry/unittest/
Dgtest_unittest_results_unittest.py12 def __init__(self, methodName, mock_timer): argument
13 super(TestFoo, self).__init__(methodName)
25 def __init__(self, methodName, mock_timer): argument
26 super(TestBar, self).__init__(methodName)
65 test = TestFoo(methodName='runTezt', mock_timer=self._mock_timer)
77 test = TestBar(methodName='runTezt', mock_timer=self._mock_timer)
94 test.addTest(TestFoo(methodName='runTezt', mock_timer=self._mock_timer))
95 test.addTest(TestBar(methodName='runTezt', mock_timer=self._mock_timer))
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
DMethodDelegate.java116 Object newInstance(Class delegateClass, String methodName, Class iface); in newInstance() argument
119 public static MethodDelegate createStatic(Class targetClass, String methodName, Class iface) { in createStatic() argument
122 gen.setMethodName(methodName); in createStatic()
127 public static MethodDelegate create(Object target, String methodName, Class iface) { in create() argument
130 gen.setMethodName(methodName); in create()
159 private String methodName; field in MethodDelegate.Generator
175 public void setMethodName(String methodName) { in setMethodName() argument
176 this.methodName = methodName; in setMethodName()
189 Object key = KEY_FACTORY.newInstance(targetClass, methodName, iface); in create()
203 final Method method = targetClass.getMethod(methodName, proxy.getParameterTypes()); in generateClass()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/heap_snapshot_worker/
DHeapSnapshotWorkerDispatcher.js67 var constructorFunction = this._findFunction(data.methodName);
77 var result = object[data.methodName];
83 var result = object[data.methodName].apply(object, data.methodArguments);
91 response.result = object[data.methodName].apply(object, data.methodArguments);
106 if (data.methodName)
107 response.errorMethodName = data.methodName;
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DThisObjectTest.java111 …String methodName = debuggeeWrapper.vmMirror.getMethodName(frameIDs[i].location.classID, frameIDs[… in testThisObjectTest001() local
112 logWriter.println("==> method name=" + methodName); in testThisObjectTest001()
142 if (KNOWN_METHOD_NAMES[j].equals(methodName)) { in testThisObjectTest001()
146 … ("## FAILURE: StackFrame.ThisObject returned NULL ObjectID for known method: " + methodName); in testThisObjectTest001()
148 … fail("StackFrame.ThisObject returned NULL ObjectID for known method: " + methodName); in testThisObjectTest001()
153 … ("## FAILURE: Returned unexpected ObjectID for known method: " + methodName); in testThisObjectTest001()
157 … fail("Returned unexpected ObjectID for known method: " + methodName); in testThisObjectTest001()
165 … ("## FAILURE: StackFrame.ThisObject returned not OBJECT_TAG for known method: " + methodName); in testThisObjectTest001()
167 … fail("StackFrame.ThisObject returned not OBJECT_TAG for known method: " + methodName); in testThisObjectTest001()
173 if (mainMethod.equals(methodName)) { in testThisObjectTest001()
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DDownloadInfoTest.java77 String methodName = method.getName(); in getGetterInfo() local
79 if (methodName.matches("(is|has).*")) { in getGetterInfo()
80 return new AccessorSignature(methodName.replaceFirst("is|has", ""), in getGetterInfo()
84 if (methodName.startsWith("get")) { in getGetterInfo()
85 return new AccessorSignature(methodName.substring(3), returnType); in getGetterInfo()
102 String methodName = method.getName(); in getSetterInfo() local
103 if (methodName.startsWith("set")) { in getSetterInfo()
107 methodName.replaceFirst("set(Is|Has)", ""), in getSetterInfo()
110 return new AccessorSignature(methodName.substring(3), parameter); in getSetterInfo()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
DHeapSnapshotProxy.js57 …callId: this._nextCallId++, disposition: "create", objectId: objectId, methodName: "WebInspector.H… property
88 callFactoryMethod: function(callback, objectId, methodName, proxyConstructor) argument
104 …age({callId: callId, disposition: "factory", objectId: objectId, methodName: methodName, methodArg… property
107 …age({callId: callId, disposition: "factory", objectId: objectId, methodName: methodName, methodArg… property
117 callMethod: function(callback, objectId, methodName) argument
123 …sage({callId: callId, disposition: "method", objectId: objectId, methodName: methodName, methodArg… property
223 callFactoryMethod: function(callback, methodName, proxyConstructor, var_args) argument
235 callMethod: function(callback, methodName, var_args) argument
/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/chromium_org/content/shell/tools/plugin/Tests/
DNPRuntimeObjectFromDestroyedPlugin.cpp48 bool hasMethod(NPIdentifier methodName) in hasMethod() argument
50 return identifierIs(methodName, "evaluate"); in hasMethod()
53 … bool invoke(NPIdentifier methodName, const NPVariant* args, uint32_t argCount, NPVariant* result) in invoke() argument
55 if (!identifierIs(methodName, "evaluate")) in invoke()
DNPRuntimeRemoveProperty.cpp101 bool hasMethod(NPIdentifier methodName) in hasMethod()
103 if (identifierIs(methodName, "testRemoveProperty")) in hasMethod()
109 …bool invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant… in invoke()
111 assert(identifierIs(methodName, "testRemoveProperty")); in invoke()
/external/chromium_org/remoting/webapp/
Dxhr.js137 remoting.xhr.doMethod = function(methodName, url, onDone, argument
160 var useBody = (methodName == 'POST') || (methodName == 'PUT');
166 xhr.open(methodName, url, true);
167 if (methodName == 'POST' &&
/external/chromium_org/content/shell/tools/plugin/
DPluginTest.h55 DEFINE_HAS_MEMBER_CHECK(hasMethod, bool, (NPIdentifier methodName));
59 (NPIdentifier methodName, const NPVariant*, uint32_t, NPVariant* result));
108 NPIdentifier methodName,
185 bool hasMethod(NPIdentifier methodName) { in hasMethod()
190 bool invoke(NPIdentifier methodName, in invoke()
237 static bool NP_HasMethod(NPObject* npObject, NPIdentifier methodName) { in NP_HasMethod()
238 return static_cast<T*>(npObject)->hasMethod(methodName); in NP_HasMethod()
242 NPIdentifier methodName, in NP_Invoke()
247 ->invoke(methodName, arguments, argumentCount, result); in NP_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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
DBreakpoint.java33 public String methodName; field in Breakpoint
41 methodName = new String(); in Breakpoint()
54 methodName = method; in Breakpoint()
/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/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()
/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/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/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DInspectorBackend.js68 …var methodName = domain.substr(0, upperCaseLength).toLowerCase() + domain.slice(upperCaseLength) +…
78 window.Protocol.Agents.prototype[methodName] = agentGetter;
440 callback.methodName = method;
486 …(callback.domain).dispatchResponse(messageObject.id, messageObject, callback.methodName, callback);
491 …console.log("time-stats: " + callback.methodName + " = " + (processingStartTime - callback.sendReq…
691 registerCommand: function(methodName, signature, replyArgs, hasErrorData) argument
693 var domainAndMethod = this._domain + "." + methodName;
704 this[methodName] = sendMessage;
715 this["invoke_" + methodName] = invoke;
785 dispatchResponse: function(messageId, messageObject, methodName, callback) argument
[all …]

12345