Home
last modified time | relevance | path

Searched refs:MOVED_FROM (Results 1 – 4 of 4) sorted by relevance

/external/libcxx/test/support/
Dtracked_value.h17 enum State { CONSTRUCTED, MOVED_FROM, DESTROYED }; enumerator
23 assert(t.state != State::MOVED_FROM && "copying a moved-from object"); in TrackedValue()
29 assert(t.state != State::MOVED_FROM && "double moving from an object"); in TrackedValue()
31 t.state = State::MOVED_FROM; in TrackedValue()
37 assert(t.state != State::MOVED_FROM && "copying a moved-from object");
46 assert(t.state != State::MOVED_FROM && "double moving from an object");
49 t.state = State::MOVED_FROM;
/external/libchrome/base/
Doptional_unittest.cc30 MOVED_FROM, enumerator
52 other.state_ = State::MOVED_FROM; in TestObject()
68 other.state_ = State::MOVED_FROM; in operator =()
298 EXPECT_EQ(TestObject::State::MOVED_FROM, first->state()); in TEST()
720 EXPECT_EQ(TestObject::State::MOVED_FROM, b->state()); in TEST()
733 EXPECT_EQ(TestObject::State::MOVED_FROM, b->state()); in TEST()
1937 EXPECT_EQ(TestObject::State::MOVED_FROM, value.state()); in TEST()
/external/perfetto/src/base/
Doptional_unittest.cc47 MOVED_FROM, enumerator
69 other.state_ = State::MOVED_FROM; in TestObject()
85 other.state_ = State::MOVED_FROM; in operator =()
315 EXPECT_EQ(TestObject::State::MOVED_FROM, first->state()); in TEST()
736 EXPECT_EQ(TestObject::State::MOVED_FROM, b->state()); in TEST()
749 EXPECT_EQ(TestObject::State::MOVED_FROM, b->state()); in TEST()
1951 EXPECT_EQ(TestObject::State::MOVED_FROM, value.state()); in TEST()
/external/libchrome/libchrome_tools/patch/
D0001-Use-qualified-base-make_optional-in-optional_unittes.patch75 EXPECT_EQ(TestObject::State::MOVED_FROM, value.state());