/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/body/ |
D | MethodDeclarationTest.java | 42 … MethodDeclaration method1 = parseBodyDeclaration("void x(String a) { }").asMethodDeclaration(); in signaturesEqual() local 44 assertEquals(method1.getSignature(), method2.getSignature()); in signaturesEqual() 49 …MethodDeclaration method1 = parseBodyDeclaration("void x(List<Long> a) { }").asMethodDeclaration(); in signaturesEqualWhenGenericsDiffer() local 51 assertEquals(method1.getSignature(), method2.getSignature()); in signaturesEqualWhenGenericsDiffer() 56 …MethodDeclaration method1 = parseBodyDeclaration("void x(@A @B List a) { }").asMethodDeclaration(); in signaturesEqualWhenAnnotationsDiffer() local 58 assertEquals(method1.getSignature(), method2.getSignature()); in signaturesEqualWhenAnnotationsDiffer() 63 … MethodDeclaration method1 = parseBodyDeclaration("void x(String a) { }").asMethodDeclaration(); in signaturesDifferentName() local 65 assertNotEquals(method1.getSignature(), method2.getSignature()); in signaturesDifferentName() 70 … MethodDeclaration method1 = parseBodyDeclaration("void x(String a) { }").asMethodDeclaration(); in signaturesDifferentTypes() local 72 assertNotEquals(method1.getSignature(), method2.getSignature()); in signaturesDifferentTypes() [all …]
|
/external/clang/test/SemaObjCXX/ |
D | instantiate-message.mm | 6 + (ClassMethods *)method1:(void*)ptr; 16 R *result1 = [T method1:arg1]; 17 R *result2 = [typename identity<T>::type method1:arg1]; 18 …R *result3 = [ClassMethods method1:arg1]; // expected-error{{cannot initialize a variable of type … 25 + (ClassMethods2 *)method1:(int*)ptr; 32 - (InstanceMethods *)method1:(void*)ptr; 39 R *result1 = [receiver method1:arg1]; 40 …R *result2 = [im method1:arg1]; // expected-error{{cannot initialize a variable of type 'InstanceM… 47 - (InstanceMethods2 *)method1:(void*)ptr;
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | ServerServiceDefinitionTest.java | 35 private MethodDescriptor<String, Integer> method1 = MethodDescriptor.<String, Integer>newBuilder() field in ServerServiceDefinitionTest 42 method1.toBuilder().setIdempotent(true).build(); 43 private MethodDescriptor<String, Integer> method2 = method1.toBuilder() 51 = ServerMethodDefinition.create(method1, methodHandler1); 69 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1, method2); in addMethod_twoArg() 71 .addMethod(method1, methodHandler1) in addMethod_twoArg() 77 if (method1.equals(method)) { in addMethod_twoArg() 89 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1); in addMethod_duplicateName() 91 .addMethod(method1, methodHandler1); in addMethod_duplicateName() 108 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1); in buildMisaligned_diffMethodInstance() [all …]
|
/external/clang/test/FixIt/ |
D | fixit-objc-message.m | 12 - (int)method1:(int)x second:(float)y; 18 a method1:5+2 second:+(3.14159)]; 19 a method1:[a method1:3 second:j] second:i++] 23 (void)array[a method1:5+2 second:+(3.14159)]]; 30 - (int)method1:(int)x second:(float)y; 34 - (int)method1:(int)x second:(float)y { 35 super method1:x second:y];
|
/external/autotest/client/common_lib/test_utils/ |
D | mock_demo.py | 17 def method1(self): member in A 34 self.method1() 54 print b.method1() 58 print b.method1() 84 m2.method1.expect_call().and_return(1) 88 m2.method1.expect_call().and_return(2) 110 c.method1.expect_call() 135 m4.method1.expect_call().and_return(1)
|
D | mock_demo_MUT.py | 5 print obj.method1()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/ |
D | CoverageBuilderTest.java | 148 final MethodCoverageImpl method1 = new MethodCoverageImpl("doit", in testCreateSourceFile() local 150 method1.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 3); in testCreateSourceFile() 151 addClass(123L, false, "Sample", "Sample.java", method1); in testCreateSourceFile() 169 final MethodCoverageImpl method1 = new MethodCoverageImpl("doit", in testCreateSourceFileDuplicateClassNameIdentical() local 171 method1.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 3); in testCreateSourceFileDuplicateClassNameIdentical() 172 addClass(123L, false, "Sample", "Sample.java", method1); in testCreateSourceFileDuplicateClassNameIdentical() 190 final MethodCoverageImpl method1 = new MethodCoverageImpl("doit", in testGetBundle() local 192 method1.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 3); in testGetBundle() 193 addClass(1, false, "org/jacoco/examples/Sample1", null, method1); in testGetBundle()
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/ |
D | test_support.py | 66 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): 73 for i in range(len(method1.parameters)): 74 if not ParametersAreEqual(method1.parameters[i], method2.parameters[i]):
|
/external/clang/test/OpenMP/ |
D | declare_target_messages.cpp | 47 int method1(); 50 int C::method1() { in method1() function in C 61 g += object.method1(); in foo()
|
/external/clang/test/Modules/Inputs/attr-unavailable/ |
D | two.h | 2 -(void)method1; 5 -(void)method1 __attribute__((unavailable));
|
/external/clang/test/SemaObjC/ |
D | warn-superclass-method-mismatch.m | 11 -(void) method1: (Base*) x; // expected-note {{previous declaration is here}} 25 -(void) method1: (Sub*) x; // expected-warning {{method parameter type 'Sub *' does not match super… 39 [base method1:b]; // if base is actuall 'Sub' it will use [Sub method1] with wrong argument.
|
D | method-attributes.m | 66 -(id)method1; method 76 -(id)method1 __attribute__((aligned(16))) {
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.memberFunCall.frag.out | 12 0:4 Function Definition: myContext::method1( ( temp float) 65 0:15 Function Call: myContext::method1( ( temp float) 90 0:4 Function Definition: myContext::method1( ( temp float) 143 0:15 Function Call: myContext::method1( ( temp float) 169 Name 16 "myContext::method1(" 216 16(myContext::method1(): 6(float) Function None 14 261 66: 6(float) FunctionCall 16(myContext::method1() 63(context)
|
/external/deqp-deps/glslang/Test/ |
D | hlsl.memberFunCall.frag | 4 float method1() { return method2(); } 15 return (float4)context.method1();
|
/external/python/cpython2/Demo/metaclasses/ |
D | Simple.py | 36 def method1(self, a): member in MyTracedClass 43 aninstance.method1(10)
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
D | decorators_test.py | 27 def method1(self): member in ClassToTest 56 self._get_decorated_method_name(ctt.method1))
|
/external/clang/test/Modules/ |
D | method_pool.m | 15 [object method1]; 33 [object method1];
|
/external/clang/test/Modules/Inputs/ |
D | MethodPoolB.h | 11 - (int)method1;
|
D | MethodPoolA.h | 6 + (int)method1;
|
/external/testng/src/test/java/test/sample/ |
D | BaseSample1.java | 13 public void method1() { in method1() method in BaseSample1
|
D | Sample2.java | 15 public void method1() { in method1() method in Sample2
|
/external/testng/src/test/java/test/testng106/ |
D | Test1.java | 11 public void method1() { in method1() method in Test1
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/ |
D | ReferencesToField.java.txt | 5 public void method1(){
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | ContextTest.java | 65 MethodDeclaration method1 = Navigator.demandMethod(referencesToField, "method1"); in resolveDeclaredFieldReference() local 66 ExpressionStmt stmt = (ExpressionStmt) method1.getBody().get().getStatements().get(0); in resolveDeclaredFieldReference() 81 MethodDeclaration method1 = Navigator.demandMethod(referencesToField, "method2"); in resolveInheritedFieldReference() local 82 ExpressionStmt stmt = (ExpressionStmt) method1.getBody().get().getStatements().get(0); in resolveInheritedFieldReference() 97 MethodDeclaration method1 = Navigator.demandMethod(referencesToField, "aMethod"); in resolveParameterReference() local 98 NameExpr foo = Navigator.findNameExpression(method1, "foo").get(); in resolveParameterReference()
|
/external/testng/src/test/java/test/dataprovider/ |
D | DependentSampleTest.java | 13 public void method1(String s) { in method1() method in DependentSampleTest
|