Home
last modified time | relevance | path

Searched refs:TestObject (Results 1 – 25 of 42) sorted by relevance

12

/external/llvm-project/compiler-rt/test/BlocksRuntime/
Dreference.C21 class TestObject
24 TestObject(CONST TestObject& inObj);
25 TestObject();
26 ~TestObject();
28 TestObject& operator=(CONST TestObject& inObj);
37 TestObject::TestObject(CONST TestObject& inObj) in TestObject() function
46 TestObject::TestObject() in TestObject() function
53 TestObject::~TestObject() in ~TestObject()
60 TestObject& TestObject::operator=(CONST TestObject& inObj)
68 void TestObject::test(void) { in test()
[all …]
Dcopyconstructor.C18 class TestObject
21 TestObject(CONST TestObject& inObj);
22 TestObject();
23 ~TestObject();
25 TestObject& operator=(CONST TestObject& inObj);
32 TestObject::TestObject(CONST TestObject& inObj) in TestObject() function
41 TestObject::TestObject() in TestObject() function
48 TestObject::~TestObject() in ~TestObject()
55 TestObject& TestObject::operator=(CONST TestObject& inObj)
65 TestObject one; in testRoutine()
/external/compiler-rt/test/BlocksRuntime/
Dreference.C22 class TestObject
25 TestObject(CONST TestObject& inObj);
26 TestObject();
27 ~TestObject();
29 TestObject& operator=(CONST TestObject& inObj);
38 TestObject::TestObject(CONST TestObject& inObj) in TestObject() function
47 TestObject::TestObject() in TestObject() function
54 TestObject::~TestObject() in ~TestObject()
61 TestObject& TestObject::operator=(CONST TestObject& inObj)
69 void TestObject::test(void) { in test()
[all …]
Dcopyconstructor.C19 class TestObject
22 TestObject(CONST TestObject& inObj);
23 TestObject();
24 ~TestObject();
26 TestObject& operator=(CONST TestObject& inObj);
33 TestObject::TestObject(CONST TestObject& inObj) in TestObject() function
42 TestObject::TestObject() in TestObject() function
49 TestObject::~TestObject() in ~TestObject()
56 TestObject& TestObject::operator=(CONST TestObject& inObj)
66 TestObject one; in testRoutine()
/external/libchrome/base/
Doptional_unittest.cc23 class TestObject { class
36 TestObject() : foo_(0), bar_(0.0), state_(State::DEFAULT_CONSTRUCTED) {} in TestObject() function in base::__anon9078113f0111::TestObject
38 TestObject(int foo, double bar) in TestObject() function in base::__anon9078113f0111::TestObject
41 TestObject(const TestObject& other) in TestObject() function in base::__anon9078113f0111::TestObject
47 TestObject(TestObject&& other) in TestObject() function in base::__anon9078113f0111::TestObject
55 TestObject& operator=(const TestObject& other) { in operator =()
63 TestObject& operator=(TestObject&& other) { in operator =()
72 void Swap(TestObject* other) { in Swap()
81 bool operator==(const TestObject& other) const { in operator ==()
85 bool operator!=(const TestObject& other) const { return !(*this == other); } in operator !=()
[all …]
/external/perfetto/src/base/
Doptional_unittest.cc42 class TestObject { class
55 TestObject() : foo_(0), bar_(0.0), state_(State::DEFAULT_CONSTRUCTED) {} in TestObject() function in perfetto::base::__anon2e1cf64a0111::TestObject
57 TestObject(int foo, double bar) in TestObject() function in perfetto::base::__anon2e1cf64a0111::TestObject
60 TestObject(const TestObject& other) in TestObject() function in perfetto::base::__anon2e1cf64a0111::TestObject
66 TestObject(TestObject&& other) in TestObject() function in perfetto::base::__anon2e1cf64a0111::TestObject
74 TestObject& operator=(const TestObject& other) { in operator =()
82 TestObject& operator=(TestObject&& other) { in operator =()
91 void Swap(TestObject* other) { in Swap()
100 bool operator==(const TestObject& other) const { in operator ==()
104 bool operator!=(const TestObject& other) const { return !(*this == other); } in operator !=()
[all …]
/external/libchrome/base/containers/
Did_map_unittest.cc18 class TestObject { class
33 IDMap<TestObject*> map; in TEST()
37 TestObject obj1; in TEST()
38 TestObject obj2; in TEST()
72 IDMap<TestObject*> map; in TEST()
74 TestObject obj1; in TEST()
75 TestObject obj2; in TEST()
76 TestObject obj3; in TEST()
83 IDMap<TestObject*>::const_iterator iter(&map); in TEST()
105 IDMap<TestObject*> map; in TEST()
[all …]
/external/clang/test/CodeGenCXX/
Dcopy-in-cplus-object.cpp8 struct TestObject struct
10 TestObject(const TestObject& inObj, int def = 100, const S &Silly = "silly");
11 TestObject();
12 ~TestObject();
13 TestObject& operator=(const TestObject& inObj);
19 TestObject one; in testRoutine()
/external/llvm-project/clang/test/CodeGenCXX/
Dcopy-in-cplus-object.cpp8 struct TestObject struct
10 TestObject(const TestObject& inObj, int def = 100, const S &Silly = "silly");
11 TestObject();
12 ~TestObject();
13 TestObject& operator=(const TestObject& inObj);
19 TestObject one; in testRoutine()
/external/clang/test/Analysis/
Dnullability-no-arc.mm17 @interface TestObject : NSObject interface
20 TestObject * _Nonnull returnsNilObjCInstanceIndirectly() {
21 TestObject *local = 0;
25 TestObject * _Nonnull returnsNilObjCInstanceIndirectlyWithSupressingCast() {
26 TestObject *local = 0;
27 return (TestObject * _Nonnull)local; // no-warning
30 TestObject * _Nonnull returnsNilObjCInstanceDirectly() {
36 TestObject * _Nonnull returnsNilObjCInstanceDirectlyWithSuppressingCast() {
37 return (TestObject * _Nonnull)nil; // no-warning
40 void testObjCNonARCNoInitialization(TestObject * _Nonnull p) {
[all …]
Dnullability_nullonly.mm92 @interface TestObject : NSObject interface
95 TestObject *_Nonnull getNonnullTestObject();
98 TestObject * _Nonnull implicitlyZeroInitialized; // no-warning
103TestObject * _Nonnull explicitlyZeroInitialized = nil; // expected-warning {{Null is assigned to a…
109 TestObject * _Nonnull returnsNilObjCInstanceIndirectly() {
110 TestObject *local = 0;
114 TestObject * _Nonnull returnsNilObjCInstanceIndirectlyWithSupressingCast() {
115 TestObject *local = 0;
116 return (TestObject * _Nonnull)local; // no-warning
119 TestObject * _Nonnull returnsNilObjCInstanceDirectly() {
[all …]
Dnullability.mm6 @interface TestObject : NSObject interface
16 TestObject * getUnspecifiedTestObject();
17 TestObject *_Nonnull getNonnullTestObject();
18 TestObject *_Nullable getNullableTestObject();
115 TestObject *o = getUnspecifiedTestObject();
374 - (TestObject * _Nonnull)testReturnsNullableInNonnullIndirectly {
375 TestObject *local = getNullableTestObject();
379 - (TestObject * _Nonnull)testReturnsCastSuppressedNullableInNonnullIndirectly {
380 TestObject *local = getNullableTestObject();
381 return (TestObject * _Nonnull)local; // no-warning
[all …]
/external/llvm-project/clang/test/Analysis/
Dnullability-no-arc.mm17 @interface TestObject : NSObject interface
20 TestObject *_Nonnull returnsNilObjCInstanceIndirectly() {
21 TestObject *local = nil;
25 TestObject * _Nonnull returnsNilObjCInstanceIndirectlyWithSupressingCast() {
26 TestObject *local = nil;
27 return (TestObject * _Nonnull)local; // no-warning
30 TestObject * _Nonnull returnsNilObjCInstanceDirectly() {
36 TestObject * _Nonnull returnsNilObjCInstanceDirectlyWithSuppressingCast() {
37 return (TestObject * _Nonnull)nil; // no-warning
40 void testObjCNonARCNoInitialization(TestObject * _Nonnull p) {
[all …]
Dnullability_nullonly.mm92 @interface TestObject : NSObject interface
95 TestObject *_Nonnull getNonnullTestObject();
98 TestObject * _Nonnull implicitlyZeroInitialized; // no-warning
103TestObject * _Nonnull explicitlyZeroInitialized = nil; // expected-warning {{nil assigned to a poi…
109 TestObject * _Nonnull returnsNilObjCInstanceIndirectly() {
110 TestObject *local = nil;
114 TestObject * _Nonnull returnsNilObjCInstanceIndirectlyWithSupressingCast() {
115 TestObject *local = nil;
116 return (TestObject * _Nonnull)local; // no-warning
119 TestObject * _Nonnull returnsNilObjCInstanceDirectly() {
[all …]
Dnullability.mm37 @interface TestObject : NSObject interface
47 TestObject * getUnspecifiedTestObject();
48 TestObject *_Nonnull getNonnullTestObject();
49 TestObject *_Nullable getNullableTestObject();
146 TestObject *o = getUnspecifiedTestObject();
405 - (TestObject * _Nonnull)testReturnsNullableInNonnullIndirectly {
406 TestObject *local = getNullableTestObject();
410 - (TestObject * _Nonnull)testReturnsCastSuppressedNullableInNonnullIndirectly {
411 TestObject *local = getNullableTestObject();
412 return (TestObject * _Nonnull)local; // no-warning
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ruby/
DRubyTest.java31 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testParse()
40 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testEmitNoTags()
49 TestObject result2 = beanLoader.loadAs(output, TestObject.class); in testEmitNoTags()
57 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testEmitWithTags()
61 repr.addClassTag(TestObject.class, new Tag("!ruby/object:Test::Module::Object")); in testEmitWithTags()
73 TestObject result2 = parseObject(output); in testEmitWithTags()
81 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testEmitWithTags2WithoutTagForParentJavabean()
96 TestObject result2 = parseObject(output); in testEmitWithTags2WithoutTagForParentJavabean()
103 private TestObject parseObject(String input) { in parseObject()
104 Constructor con = new Constructor(TestObject.class); in parseObject()
[all …]
/external/mockito/src/test/java/org/mockito/internal/matchers/apachecommons/
DEqualsBuilderTest.java31 static class TestObject { class in EqualsBuilderTest
33 public TestObject() { in TestObject() method in EqualsBuilderTest.TestObject
35 public TestObject(int a) { in TestObject() method in EqualsBuilderTest.TestObject
45 TestObject rhs = (TestObject) o; in equals()
61 static class TestSubObject extends TestObject {
93 static class TestEmptySubObject extends TestObject {
100 static class TestTSubObject extends TestObject {
126 static class TestTSubObject2 extends TestObject {
140 TestObject o1 = new TestObject(4); in testReflectionEquals()
141 TestObject o2 = new TestObject(5); in testReflectionEquals()
[all …]
/external/guava/guava-testlib/test/com/google/common/testing/
DEquivalenceTesterTest.java61 Object group1Item1 = new TestObject(1, 1); in testTest()
62 Object group1Item2 = new TestObject(1, 2); in testTest()
63 Object group2Item1 = new TestObject(2, 1); in testTest()
64 Object group2Item2 = new TestObject(2, 2); in testTest()
93 Object group1Item1 = new TestObject(1, 1); in testTest_symmetric()
94 Object group1Item2 = new TestObject(1, 2); in testTest_symmetric()
117 Object group1Item1 = new TestObject(1, 1); in testTest_trasitive()
118 Object group1Item2 = new TestObject(1, 2); in testTest_trasitive()
119 Object group1Item3 = new TestObject(1, 3); in testTest_trasitive()
147 Object group1Item1 = new TestObject(1, 1); in testTest_inequivalence()
[all …]
/external/guava/android/guava-testlib/test/com/google/common/testing/
DEquivalenceTesterTest.java61 Object group1Item1 = new TestObject(1, 1); in testTest()
62 Object group1Item2 = new TestObject(1, 2); in testTest()
63 Object group2Item1 = new TestObject(2, 1); in testTest()
64 Object group2Item2 = new TestObject(2, 2); in testTest()
93 Object group1Item1 = new TestObject(1, 1); in testTest_symmetric()
94 Object group1Item2 = new TestObject(1, 2); in testTest_symmetric()
117 Object group1Item1 = new TestObject(1, 1); in testTest_trasitive()
118 Object group1Item2 = new TestObject(1, 2); in testTest_trasitive()
119 Object group1Item3 = new TestObject(1, 3); in testTest_trasitive()
147 Object group1Item1 = new TestObject(1, 1); in testTest_inequivalence()
[all …]
/external/libchrome/libchrome_tools/patch/
D0001-Use-qualified-base-make_optional-in-optional_unittes.patch65 - Optional<TestObject> o = make_optional(TestObject(3, 0.1));
66 + Optional<TestObject> o = base::make_optional(TestObject(3, 0.1));
68 EXPECT_TRUE(TestObject(3, 0.1) == *o);
70 TestObject value = TestObject(0, 0.42);
74 EXPECT_TRUE(TestObject(0, 0.42) == *o);
75 EXPECT_EQ(TestObject::State::MOVED_FROM, value.state());
/external/llvm-project/clang/test/SemaObjC/
Dat-defs.m9 @interface TestObject : Test { interface
15 @implementation TestObject implementation
18 @defs(TestObject)
24 TestObject * a = (id)malloc(100);
Dnsobject-attribute-1.m11 @interface TestObject { interface
17 @implementation TestObject implementation
/external/clang/test/SemaObjC/
Dat-defs.m9 @interface TestObject : Test { interface
15 @implementation TestObject implementation
18 @defs(TestObject)
24 TestObject * a = (id)malloc(100);
/external/vixl/test/
Dtest-pool-manager.cc89 class TestObject : public LocationBase<int32_t> { class
91 TestObject(int size, int alignment, int id = 0) in TestObject() function in TestObject
124 static TestObject *CreateRandom(int id) { in CreateRandom()
131 return new TestObject(size, alignment, id); in CreateRandom()
309 TestObject object1(4 /*size*/, 4 /*alignment*/); in TEST()
310 TestObject object2(128 /*size*/, 4 /*alignment*/); in TEST()
370 std::vector<TestObject *> objects; in TEST()
374 objects.push_back(TestObject::CreateRandom(i)); in TEST()
387 TestObject *object = objects[RandomObjectID(objects.size())]; in TEST()
422 for (std::vector<TestObject *>::iterator iter = objects.begin(); in TEST()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DForceEarlyReturnDebuggee.java37 static TestObject testObj = new TestObject();
214 if (result instanceof TestObject) { in run()
307 class TestObject { class

12