Home
last modified time | relevance | path

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

/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()
Djosh.C15 struct TestObject { struct
/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::__anon8c549ea10111::TestObject
38 TestObject(int foo, double bar) in TestObject() function in base::__anon8c549ea10111::TestObject
41 TestObject(const TestObject& other) in TestObject() function in base::__anon8c549ea10111::TestObject
47 TestObject(TestObject&& other) in TestObject() function in base::__anon8c549ea10111::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.cc40 class TestObject { class
53 TestObject() : foo_(0), bar_(0.0), state_(State::DEFAULT_CONSTRUCTED) {} in TestObject() function in perfetto::base::__anon3a00206c0111::TestObject
55 TestObject(int foo, double bar) in TestObject() function in perfetto::base::__anon3a00206c0111::TestObject
58 TestObject(const TestObject& other) in TestObject() function in perfetto::base::__anon3a00206c0111::TestObject
64 TestObject(TestObject&& other) in TestObject() function in perfetto::base::__anon3a00206c0111::TestObject
72 TestObject& operator=(const TestObject& other) { in operator =()
80 TestObject& operator=(TestObject&& other) { in operator =()
89 void Swap(TestObject* other) { in Swap()
98 bool operator==(const TestObject& other) const { in operator ==()
102 bool operator!=(const TestObject& other) const { return !(*this == other); } in operator !=()
[all …]
/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 …]
Dlocalization.m35 @interface TestObject : NSObject interface
53 - (void)testObjectAsArgument:(TestObject *)argumentObject { argument
Dlocalization-aggressive.m44 @interface TestObject : NSObject interface
/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/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/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 …]
DTestObject.java18 public class TestObject { class
/external/guava/guava-testlib/test/com/google/common/testing/
DEquivalenceTesterTest.java60 Object group1Item1 = new TestObject(1, 1); in testTest()
61 Object group1Item2 = new TestObject(1, 2); in testTest()
62 Object group2Item1 = new TestObject(2, 1); in testTest()
63 Object group2Item2 = new TestObject(2, 2); in testTest()
91 Object group1Item1 = new TestObject(1, 1); in testTest_symmetric()
92 Object group1Item2 = new TestObject(1, 2); in testTest_symmetric()
114 Object group1Item1 = new TestObject(1, 1); in testTest_trasitive()
115 Object group1Item2 = new TestObject(1, 2); in testTest_trasitive()
116 Object group1Item3 = new TestObject(1, 3); in testTest_trasitive()
143 Object group1Item1 = new TestObject(1, 1); in testTest_inequivalence()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DRemoteObjectLayerTest.cpp109 auto TestObject = createTestObject(); in TEST() local
110 if (!TestObject) in TEST()
122 StringRef ObjBytes = TestObject->getBuffer(); in TEST()
159 cantFail(Client.addObject(std::move(TestObject), in TEST()
167 auto TestObject = createTestObject(); in TEST() local
168 if (!TestObject) in TEST()
206 auto HandleOrErr = Client.addObject(std::move(TestObject), in TEST()
222 auto TestObject = createTestObject(); in TEST() local
223 if (!TestObject) in TEST()
259 auto H = cantFail(Client.addObject(std::move(TestObject), in TEST()
[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/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/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
Ddefault-synthesize-3.m120 @protocol TestObject protocol
124 @interface TestObject : ParentObject <TestObject> interface
128 @implementation TestObject implementation
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DForceEarlyReturnDebuggee.java37 static TestObject testObj = new TestObject();
186 if (result instanceof TestObject) { in run()
269 class TestObject { class
DForceEarlyReturn006Test.java33 static final String testObjSignature = getClassSignature(TestObject.class);
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc565 class TestObject { class
567 ~TestObject() { destructor_count__++; } in ~TestObject()
574 int TestObject::destructor_count__ = 0;
579 TestObject::destructor_count__ = 0; in TEST_P()
583 FROM_HERE, BindOnce(&TestObject::Run, Owned(new TestObject())), delay); in TEST_P()
585 BindOnce(&TestObject::Run, Owned(new TestObject()))); in TEST_P()
589 EXPECT_EQ(2, TestObject::destructor_count__); in TEST_P()