Home
last modified time | relevance | path

Searched refs:val_ (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/update_manager/
Dgeneric_variables_unittest.cc76 : copied_(true), val_(other.val_ * 2) {} in CopyConstructorTestClass()
82 int val_ = 0; member in chromeos_update_manager::CopyConstructorTestClass
112 obj->val_++; // So we can check that the function was called. in test_func()
122 test_obj.val_ = 5; in TEST_F()
130 EXPECT_EQ(6, test_obj.val_); // Check that the function was called. in TEST_F()
133 EXPECT_EQ(12, copy->val_); // Check that copying occurred once. in TEST_F()
/system/libbase/include/android-base/
Dexpected.h615 constexpr unexpected(Err&& e) : val_(std::forward<Err>(e)) {} in unexpected()
621 : val_(il, std::forward<Args>(args)...) {} in unexpected()
637 : val_(rhs.value()) {} in unexpected()
652 : val_(E(rhs.value())) {} in unexpected()
668 : val_(std::move(rhs.value())) {} in unexpected()
683 : val_(E(std::move(rhs.value()))) {} in unexpected()
691 val_ = rhs.value();
696 val_ = std::forward<E>(rhs.value());
701 constexpr const E& value() const& noexcept { return val_; } in value()
702 constexpr E& value() & noexcept { return val_; } in value()
[all …]
/system/chre/util/tests/
Darray_queue_test.cc22 val_ = i; in FakeElement()
27 if (val_ >= 0 && val_ < kMaxTestCapacity) { in ~FakeElement()
28 destructor_count[val_]++; in ~FakeElement()
32 val_ = i; in setValue()
36 int val_ = kMaxTestCapacity - 1; member in __anonff08c0c90111::FakeElement