Home
last modified time | relevance | path

Searched refs:value_ (Results 1 – 10 of 10) sorted by relevance

/system/update_engine/update_manager/
Dboxed_value.h59 BoxedValue() : value_(nullptr), deleter_(nullptr), printer_(nullptr) {} in BoxedValue()
65 : value_(static_cast<const void*>(value)), deleter_(ValueDeleter<T>), in BoxedValue()
74 : value_(other.value_), deleter_(other.deleter_), in BoxedValue()
76 other.value_ = nullptr; in BoxedValue()
85 deleter_(value_); in ~BoxedValue()
88 const void* value() const { return value_; } in value()
93 if (!value_) in ToString()
95 return printer_(value_); in ToString()
111 const void* value_;
Dgeneric_variables.h179 has_value_(true), value_(value) {} in AsyncCopyVariable()
182 bool should_notify = !(has_value_ && new_value == value_); in SetValue()
183 value_ = new_value; in SetValue()
205 return new T(value_); in GetValue()
213 T value_; variable
/system/core/base/include/android-base/
Dunique_fd.h62 unique_fd_impl() : value_(-1) {} in unique_fd_impl()
64 explicit unique_fd_impl(int value) : value_(value) {} in unique_fd_impl()
67 unique_fd_impl(unique_fd_impl&& other) : value_(other.release()) {} in unique_fd_impl()
74 if (value_ != -1) {
75 Closer::Close(value_);
77 value_ = new_value;
80 int get() const { return value_; } in get()
84 int ret = value_; in release()
85 value_ = -1; in release()
90 int value_;
/system/nvram/messages/include/nvram/messages/
Doptional.h27 explicit Optional(ValueType value) : value_(value), valid_(true) {} in Optional()
30 const ValueType& value() const { return value_; } in value()
35 value_ = ValueType{}; in Activate()
36 return value_; in Activate()
45 ValueType value_{};
/system/update_engine/payload_consumer/
Dcached_file_descriptor_unittest.cc77 int value_{1}; member in chromeos_update_engine::CachedFileDescriptorTest
87 brillo::Blob blob_in(kFileSize, value_); in TEST_F()
98 brillo::Blob blob_in(kFileSize, value_); in TEST_F()
150 brillo::Blob blob_in(kFileSize, value_); in TEST_F()
161 std::fill_n(&blob_in[seek], kCacheSize, value_); in TEST_F()
176 std::fill_n(&blob_in[seek], less_than_cache_size, value_); in TEST_F()
192 std::fill_n(&blob_in[seek], less_than_cache_size, value_); in TEST_F()
/system/bt/include/hardware/avrcp/
Davrcp_common.h150 : attribute_(attribute), value_(value) {} in AttributeEntry()
158 std::string value() const { return value_; } in value()
168 size_t size() const { return kHeaderSize() + value_.size(); } in size()
172 if (value_.size() > new_size) { in resize()
173 value_.resize(new_size); in resize()
177 bool empty() { return value_.empty(); } in empty()
185 std::string value_; variable
/system/tools/aidl/
Daidl_language.cpp93 value_(value), in AidlIntConstant()
107 value_ = unsigned_val; in AidlIntConstant()
116 value_(value) { in AidlStringConstant()
118 for (size_t i = 0; i < value_.length(); ++i) { in AidlStringConstant()
119 const char& c = value_[i]; in AidlStringConstant()
124 << " in string constant '" << value_ in AidlStringConstant()
Daidl_language.h165 int GetValue() const { return value_; } in GetValue()
172 int32_t value_; variable
184 const std::string& GetValue() const { return value_; } in GetValue()
191 std::string value_; variable
/system/core/init/
Dresult_test.cpp310 TestStruct(int value) : value_(value) {} in TEST()
311 TestStruct(Result<TestStruct> result, int value) : value_(result->value_ * value) {} in TEST()
312 int value_; in TEST() member
319 EXPECT_EQ(36, result->value_); in TEST()
/system/keymaster/ng/include/
Dkeymaster_tags.h310 NullOr() : value_(initializer_t<ValueT>::init()), null_(true) {}
311 NullOr(ValueT&& value) : value_(std::forward<ValueT>(value)), null_(false) {}
315 const ValueT& value() const & { return value_; }
316 ValueT& value() & { return value_; }
317 ValueT&& value() && { return std::move(value_); }
320 ValueT value_;