Home
last modified time | relevance | path

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

123

/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/body/
DMethodDeclarationTest.java42 MethodDeclaration method2 = parseBodyDeclaration("int x(String z);").asMethodDeclaration(); in signaturesEqual() local
43 assertEquals(method1.getSignature(), method2.getSignature()); in signaturesEqual()
49 …MethodDeclaration method2 = parseBodyDeclaration("void x(List<Integer> a) { }").asMethodDeclaratio… in signaturesEqualWhenGenericsDiffer() local
50 assertEquals(method1.getSignature(), method2.getSignature()); in signaturesEqualWhenGenericsDiffer()
56 … MethodDeclaration method2 = parseBodyDeclaration("void x(@C List a) { }").asMethodDeclaration(); in signaturesEqualWhenAnnotationsDiffer() local
57 assertEquals(method1.getSignature(), method2.getSignature()); in signaturesEqualWhenAnnotationsDiffer()
63 MethodDeclaration method2 = parseBodyDeclaration("int y(String z);").asMethodDeclaration(); in signaturesDifferentName() local
64 assertNotEquals(method1.getSignature(), method2.getSignature()); in signaturesDifferentName()
70 MethodDeclaration method2 = parseBodyDeclaration("int x(int z);").asMethodDeclaration(); in signaturesDifferentTypes() local
71 assertNotEquals(method1.getSignature(), method2.getSignature()); in signaturesDifferentTypes()
[all …]
/external/autotest/client/common_lib/test_utils/
Dmock_demo.py23 def method2(self, y): member in A
37 t = self.method2(4)
59 print(a.method2(5))
62 print(b.method2(3))
63 print(b.method2("hello"))
89 m1.method2.expect_call(5).and_return(0)
92 m2.method2.expect_call(3).and_return(6)
93 m2.method2.expect_call(mock.is_string_comparator()).and_return("foo")
113 c.method2.expect_call(4).and_return(4)
/external/dagger2/javatests/dagger/internal/codegen/
DElementDescriptorsTest.java61 byte method2(char letter) { in method2() method in ElementDescriptorsTest.TestClassB
79 Object method2() { in method2() method in ElementDescriptorsTest.TestClassC
105 TestDataClass method2() { in method2() method in ElementDescriptorsTest.TestClassD
121 TestDataClass[] method2() { in method2() method in ElementDescriptorsTest.TestClassE
143 void method2(TestDataClass.StaticInnerData data) {} in method2() method in ElementDescriptorsTest.TestClassF
166 T method2() { in method2() method in ElementDescriptorsTest.TestClassG
/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/libabigail/tests/data/test-diff-suppr/
Dtest33-v0.cc9 char method2();
17 to_suppress::method2() in method2() function in to_suppress
25 to_keep::method2() in method2() function in to_keep
Dtest33-v1.cc11 char method2();
19 to_suppress::method2() in method2() function in to_suppress
27 to_keep::method2() in method2() function in to_keep
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/page/
DPackagePageTest.java97 MethodCoverageImpl method2 = new MethodCoverageImpl("m", "()V", null); in testContentsWithSource() local
98 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 42); in testContentsWithSource()
99 class2.addMethod(method2); in testContentsWithSource()
139 MethodCoverageImpl method2 = new MethodCoverageImpl("m", "()V", null); in testContentsNoSource() local
140 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 42); in testContentsNoSource()
141 class2.addMethod(method2); in testContentsNoSource()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/
DCoverageBuilderTest.java150 final MethodCoverageImpl method2 = new MethodCoverageImpl("doit", "()V", in testCreateSourceFile() local
152 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 6); in testCreateSourceFile()
153 addClass(234L, false, "Second", "Sample.java", method2); in testCreateSourceFile()
171 final MethodCoverageImpl method2 = new MethodCoverageImpl("doit", "()V", in testCreateSourceFileDuplicateClassNameIdentical() local
173 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 3); in testCreateSourceFileDuplicateClassNameIdentical()
174 addClass(123L, false, "Sample", "Sample.java", method2); in testCreateSourceFileDuplicateClassNameIdentical()
192 final MethodCoverageImpl method2 = new MethodCoverageImpl("doit", "()V", in testGetBundle() local
194 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 6); in testGetBundle()
195 addClass(2, false, "org/jacoco/examples/Sample2", null, method2); in testGetBundle()
/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/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/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.
/external/deqp-deps/glslang/Test/
Dhlsl.memberFunCall.frag4 float method1() { return method2(); }
5 float method2() { return method3(1.0); }
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dhlsl.memberFunCall.frag4 float method1() { return method2(); }
5 float method2() { return method3(1.0); }
/external/angle/third_party/vulkan-deps/glslang/src/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/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/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/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/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Ddecorators_test.py31 def method2(self): member in ClassToTest
59 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()

123