Home
last modified time | relevance | path

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

12

/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/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/libmojo/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/r8/src/test/examples/assumevalues2/
DAssumevalues.java18 method2(); in main()
52 public static void method2() { in method2() method in Assumevalues
/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/
DMethodPoolB.h12 - (int)method2:(float)param;
DMethodPoolA.h7 - (int)method2:(int)param;
/external/clang/test/Modules/Inputs/attr-unavailable/
DoneB.h4 -(void)method2;
DoneA.h2 -(void)method2 __attribute__((unavailable));
/external/testng/src/test/java/test/sample/
DSample2.java20 public void method2() { in method2() method in Sample2
/external/r8/src/test/java/com/android/tools/r8/shaking/includedescriptorclasses/
DMainCallMethod2.java11 cwnm.method2(); in main()
DClassWithNativeMethods.java11 public native NativeReturnType method2(); in method2() method in ClassWithNativeMethods
DMainCallMethod3.java12 cwnm.method2(); in main()
/external/testng/src/test/java/test/testng106/
DTest2.java11 public void method2() { in method2() method in Test2

12