Home
last modified time | relevance | path

Searched refs:method2 (Results 1 – 25 of 51) sorted by relevance

123

/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/body/
DMethodDeclarationTest.java43 MethodDeclaration method2 = parseBodyDeclaration("int x(String z);").asMethodDeclaration(); in signaturesEqual() local
44 assertEquals(method1.getSignature(), method2.getSignature()); in signaturesEqual()
50 …MethodDeclaration method2 = parseBodyDeclaration("void x(List<Integer> a) { }").asMethodDeclaratio… in signaturesEqualWhenGenericsDiffer() local
51 assertEquals(method1.getSignature(), method2.getSignature()); in signaturesEqualWhenGenericsDiffer()
57 … MethodDeclaration method2 = parseBodyDeclaration("void x(@C List a) { }").asMethodDeclaration(); in signaturesEqualWhenAnnotationsDiffer() local
58 assertEquals(method1.getSignature(), method2.getSignature()); in signaturesEqualWhenAnnotationsDiffer()
64 MethodDeclaration method2 = parseBodyDeclaration("int y(String z);").asMethodDeclaration(); in signaturesDifferentName() local
65 assertNotEquals(method1.getSignature(), method2.getSignature()); in signaturesDifferentName()
71 MethodDeclaration method2 = parseBodyDeclaration("int x(int z);").asMethodDeclaration(); in signaturesDifferentTypes() local
72 assertNotEquals(method1.getSignature(), method2.getSignature()); in signaturesDifferentTypes()
[all …]
/external/autotest/client/common_lib/test_utils/
Dmock_demo.py21 def method2(self, y): member in A
35 t = self.method2(4)
57 print a.method2(5)
60 print b.method2(3)
61 print b.method2("hello")
87 m1.method2.expect_call(5).and_return(0)
90 m2.method2.expect_call(3).and_return(6)
91 m2.method2.expect_call(mock.is_string_comparator()).and_return("foo")
111 c.method2.expect_call(4).and_return(4)
/external/clang/test/Modules/
Dattr-unavailable.m11 [x method2]; // expected-error{{'method2' is unavailable}}
12 // expected-note@oneA.h:2 {{'method2' has been explicitly marked unavailable here}}
19 [x method2]; // could be from interface D in module oneB
Dmethod_pool.m19 [object method2:1];
37 [object method2:1]; // expected-warning{{multiple methods named 'method2:' found}}
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/
DCoverageBuilderTest.java153 final MethodCoverageImpl method2 = new MethodCoverageImpl("doit", in testCreateSourceFile() local
155 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 6); in testCreateSourceFile()
156 addClass(234L, false, "Second", "Sample.java", method2); in testCreateSourceFile()
174 final MethodCoverageImpl method2 = new MethodCoverageImpl("doit", in testCreateSourceFileDuplicateClassNameIdentical() local
176 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 3); in testCreateSourceFileDuplicateClassNameIdentical()
177 addClass(123L, false, "Sample", "Sample.java", method2); in testCreateSourceFileDuplicateClassNameIdentical()
195 final MethodCoverageImpl method2 = new MethodCoverageImpl("doit", in testGetBundle() local
197 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 6); in testGetBundle()
198 addClass(2, false, "org/jacoco/examples/Sample2", null, method2); in testGetBundle()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DServerServiceDefinitionTest.java43 private MethodDescriptor<String, Integer> method2 = method1.toBuilder() field in ServerServiceDefinitionTest
53 = ServerMethodDefinition.create(method2, methodHandler2);
69 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1, method2); in addMethod_twoArg()
72 .addMethod(method2, methodHandler2) in addMethod_twoArg()
79 } else if (method2.equals(method)) { in addMethod_twoArg()
133 goldenMethods.add(method2); in builderWithServiceName()
/external/clang/test/FixIt/
Dfixit-objc-message.m13 + (int)method2:(int)x second:(double)y;
24 (A method2:5+2 second:3.14159]);
25 A method2:5+2 second:3.14159]
26 if (A method2:5+2 second:3.14159]) { }
Dtypo.m101 - (int)method2; method
117 - (int)method2; method
121 - (int)method2 { method
122 return [supper method2]; // expected-error{{unknown receiver 'supper'; did you mean 'super'?}}
/external/clang/test/Analysis/inlining/
DInlineObjCInstanceMethod.m68 - (void) method2; method
73 [self method2];
77 - (void) method2 { method
85 - (int) method2; method
91 [self method2];
94 - (int) method2 { method
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dtest_support.py66 def MethodsAreEqual(method1, method2): argument
67 if method1 == method2:
69 if method1.name != method2.name or \
70 method1.ordinal != method2.ordinal or \
71 len(method1.parameters) != len(method2.parameters):
74 if not ParametersAreEqual(method1.parameters[i], method2.parameters[i]):
/external/clang/test/SemaObjC/
Dwarn-superclass-method-mismatch.m12 -(void) method2: (Sub*) x; // expected-note{{passing argument to parameter 'x' here}}
26 -(void) method2: (Base*) x; // no need to warn. At call point we warn if need be.
41 [base method2:b]; // expected-warning {{}}
44 [base method2:s]; // if base is actually 'Sub' OK. Either way OK.
Dmethod-attributes.m67 -(id)method2 __attribute__((aligned(16)));
79 -(id)method2 { method
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.memberFunCall.frag.out17 0:4 Function Call: myContext::method2( ( temp float)
19 0:5 Function Definition: myContext::method2( ( temp float)
95 0:4 Function Call: myContext::method2( ( temp float)
97 0:5 Function Definition: myContext::method2( ( temp float)
171 Name 19 "myContext::method2("
219 39: 6(float) FunctionCall 19(myContext::method2() 15(@this)
222 19(myContext::method2(): 6(float) Function None 14
/external/deqp-deps/glslang/Test/
Dhlsl.memberFunCall.frag4 float method1() { return method2(); }
5 float method2() { return method3(1.0); }
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DDelayedClientTransportTest.java93 private final MethodDescriptor<String, Integer> method2 = field in DelayedClientTransportTest
113 when(mockRealTransport2.newStream(same(method2), same(headers2), same(callOptions2))) in setUp()
310 method2, headers2, failFastCallOptions); in reprocessSemantics()
311 PickSubchannelArgsImpl ff2args = new PickSubchannelArgsImpl(method2, headers2, in reprocessSemantics()
318 method2, headers2, failFastCallOptions); in reprocessSemantics()
319 PickSubchannelArgsImpl ff4args = new PickSubchannelArgsImpl(method2, headers2, in reprocessSemantics()
329 method2, headers2, waitForReadyCallOptions); in reprocessSemantics()
330 PickSubchannelArgsImpl wfr2args = new PickSubchannelArgsImpl(method2, headers2, in reprocessSemantics()
339 method2, headers2, waitForReadyCallOptions); in reprocessSemantics()
340 PickSubchannelArgsImpl wfr4args = new PickSubchannelArgsImpl(method2, headers2, in reprocessSemantics()
/external/python/cpython2/Demo/metaclasses/
DSimple.py38 def method2(self): member in MyTracedClass
45 print aninstance.method2()
Dmeta-vladimir.txt36 def method2(self, *args): pass # method2 of A
92 def method2(self, arg1): pass # method2 is redefined
165 def method2(self, *args): pass # method2 of M
225 def method2(self, arg1): pass # method2 is redefined
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Ddecorators_test.py31 def method2(self): member in ClassToTest
58 self._get_decorated_method_name(ctt.method2))
/external/clang/test/ASTMerge/
Dcategory.m5 // CHECK: category2.m:18:1: error: instance method 'method2' has incompatible result types in diffe…
6 // CHECK: category1.m:16:1: note: instance method 'method2' also declared here
/external/testng/src/test/java/test/dependent/xml/
DGroupDependencyTest.java58 String method2 = t.get(2).getMethod().getMethodName(); in configureGroup() local
62 Assert.assertEquals(method2, a[5]); in configureGroup()
/external/clang/test/Modules/Inputs/attr-unavailable/
DoneB.h4 -(void)method2;
DoneA.h2 -(void)method2 __attribute__((unavailable));
/external/clang/test/Modules/Inputs/
DMethodPoolB.h12 - (int)method2:(float)param;
DMethodPoolA.h7 - (int)method2:(int)param;
/external/testng/src/test/java/test/sample/
DSample2.java20 public void method2() { in method2() method in Sample2

123