Home
last modified time | relevance | path

Searched refs:value_ (Results 1 – 19 of 19) 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)), in BoxedValue()
75 : value_(other.value_), in BoxedValue()
78 other.value_ = nullptr; in BoxedValue()
87 deleter_(value_); in ~BoxedValue()
90 const void* value() const { return value_; } in value()
95 if (!value_) in ToString()
97 return printer_(value_); in ToString()
113 const void* value_;
Dgeneric_variables.h190 value_(value) {} in AsyncCopyVariable()
193 bool should_notify = !(has_value_ && new_value == value_); in SetValue()
194 value_ = new_value; in SetValue()
216 return new T(value_); in GetValue()
224 T value_; variable
/system/security/keystore/include/keystore/
Dkeystore_concurrency.h28 LockedType* value_; variable
32 UnlockProxyLockHelper() : value_(nullptr) {} in UnlockProxyLockHelper()
34 : unlock_(std::move(unlock)), value_(value) {} in UnlockProxyLockHelper()
36 if (unlock_) unlock_(value_); in ~UnlockProxyLockHelper()
39 : unlock_(std::move(rhs.unlock_)), value_(rhs.value_) { in UnlockProxyLockHelper()
40 rhs.value_ = nullptr; in UnlockProxyLockHelper()
47 value_ = std::move(rhs.value_);
48 rhs.value_ = nullptr;
58 return value_; in value()
60 const LockedType* value() const { return value_; } in value()
[all …]
/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/bt/service/common/bluetooth/
Davrcp_string_value.h27 AvrcpStringValue(int id, const std::string& value) : id_(id), value_(value){}; in AvrcpStringValue()
31 const std::string& value() const { return value_; } in value()
35 std::string value_; variable
Davrcp_int_value.h29 int value() const { return value_; } in value()
33 int value_ = 0; variable
Davrcp_int_value.cc23 AvrcpIntValue::AvrcpIntValue(int id, int value) : id_(id), value_(value) {} in AvrcpIntValue()
/system/bt/service/common/android/bluetooth/
Dbluetooth_avrcp_string_value.cc33 status = parcel->writeString16(String16(value_.c_str(), value_.size())); in writeToParcel()
48 value_ = String8(value).string(); in readFromParcel()
Dbluetooth_avrcp_int_value.cc33 status = parcel->writeInt32(value_); in writeToParcel()
47 value_ = tmp; in readFromParcel()
/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/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/tools/aidl/
Daidl_language.cpp332 : AidlNode(location), type_(type), value_(checked_value) { in AidlConstantValue()
333 CHECK(!value_.empty() || type_ == Type::ERROR); in AidlConstantValue()
437 if (type_string == "boolean") return decorator(type, value_); in As()
440 if (type_string == "char") return decorator(type, value_); in As()
443 bool is_float_literal = value_.back() == 'f'; in As()
444 const std::string raw_value = TrimIfSuffix(value_, "f"); in As()
463 if (!android::base::ParseUint<uint8_t>(value_, &unsigned_value)) goto parse_error; in As()
468 if (!android::base::ParseUint<uint32_t>(value_, &unsigned_value)) goto parse_error; in As()
473 if (!android::base::ParseUint<uint64_t>(value_, &unsigned_value)) goto parse_error; in As()
479 if (!android::base::ParseInt<int8_t>(value_, nullptr)) goto parse_error; in As()
[all …]
Daidl_language.h365 const std::string value_; // otherwise variable
379 const AidlConstantValue& GetValue() const { return *value_; } in GetValue()
393 const unique_ptr<AidlConstantValue> value_; variable
Dast_java.cpp134 LiteralStatement::LiteralStatement(const std::string& value) : value_(value) {} in LiteralStatement()
137 to->Write("%s", value_.c_str()); in Write()
Dast_java.h139 const std::string value_;
/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.h311 NullOr() : value_(initializer_t<ValueT>::init()), null_(true) {}
313 NullOr(ValueT&& value) : value_(std::forward<ValueT>(value)), null_(false) {}
317 const ValueT& value() const & { return value_; }
318 ValueT& value() & { return value_; }
319 ValueT&& value() && { return std::move(value_); }
322 ValueT value_;
/system/core/libprocessgroup/
Dtask_profiles.h99 : attribute_(attribute), value_(value) {} in SetAttributeAction()
106 std::string value_; variable
Dtask_profiles.cpp127 if (!WriteStringToFile(value_, path)) { in ExecuteForTask()
128 PLOG(ERROR) << "Failed to write '" << value_ << "' to " << path; in ExecuteForTask()