Home
last modified time | relevance | path

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

1234

/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.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/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/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/llvm-project/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/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/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/page/
DPackagePageTest.java96 MethodCoverageImpl method2 = new MethodCoverageImpl("m", "()V", null); in testContentsWithSource() local
97 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 42); in testContentsWithSource()
98 class2.addMethod(method2); in testContentsWithSource()
138 MethodCoverageImpl method2 = new MethodCoverageImpl("m", "()V", null); in testContentsNoSource() local
139 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 42); in testContentsNoSource()
140 class2.addMethod(method2); in testContentsNoSource()
/external/llvm-project/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]) { }
/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]) { }
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/
DCoverageBuilderTest.java149 final MethodCoverageImpl method2 = new MethodCoverageImpl("doit", in testCreateSourceFile() local
151 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 6); in testCreateSourceFile()
152 addClass(234L, false, "Second", "Sample.java", method2); in testCreateSourceFile()
170 final MethodCoverageImpl method2 = new MethodCoverageImpl("doit", in testCreateSourceFileDuplicateClassNameIdentical() local
172 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 3); in testCreateSourceFileDuplicateClassNameIdentical()
173 addClass(123L, false, "Sample", "Sample.java", method2); in testCreateSourceFileDuplicateClassNameIdentical()
191 final MethodCoverageImpl method2 = new MethodCoverageImpl("doit", in testGetBundle() local
193 method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 6); in testGetBundle()
194 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/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/llvm-project/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/llvm-project/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/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/angle/third_party/vulkan-deps/glslang/src/Test/
Dhlsl.memberFunCall.frag4 float method1() { return method2(); }
5 float method2() { return method3(1.0); }
/external/deqp-deps/glslang/Test/
Dhlsl.memberFunCall.frag4 float method1() { return method2(); }
5 float method2() { return method3(1.0); }
/external/llvm-project/clang/test/SemaObjCXX/
Dinstantiate-method-return.mm11 - (V<A>)method2; method
27 - (V<A>)method2 { // expected-note {{in instantiation of}} 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/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/python/cpython2/Demo/metaclasses/
DSimple.py38 def method2(self): member in MyTracedClass
45 print aninstance.method2()

1234