/system/update_engine/update_manager/ |
D | boxed_value.h | 59 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_;
|
D | generic_variables.h | 190 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/ |
D | keystore_concurrency.h | 28 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/ |
D | optional.h | 27 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/ |
D | avrcp_string_value.h | 27 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
|
D | avrcp_int_value.h | 29 int value() const { return value_; } in value() 33 int value_ = 0; variable
|
D | avrcp_int_value.cc | 23 AvrcpIntValue::AvrcpIntValue(int id, int value) : id_(id), value_(value) {} in AvrcpIntValue()
|
/system/bt/service/common/android/bluetooth/ |
D | bluetooth_avrcp_string_value.cc | 33 status = parcel->writeString16(String16(value_.c_str(), value_.size())); in writeToParcel() 48 value_ = String8(value).string(); in readFromParcel()
|
D | bluetooth_avrcp_int_value.cc | 33 status = parcel->writeInt32(value_); in writeToParcel() 47 value_ = tmp; in readFromParcel()
|
/system/bt/include/hardware/avrcp/ |
D | avrcp_common.h | 150 : 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/ |
D | cached_file_descriptor_unittest.cc | 77 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/ |
D | aidl_language.cpp | 332 : 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 …]
|
D | aidl_language.h | 365 const std::string value_; // otherwise variable 379 const AidlConstantValue& GetValue() const { return *value_; } in GetValue() 393 const unique_ptr<AidlConstantValue> value_; variable
|
D | ast_java.cpp | 134 LiteralStatement::LiteralStatement(const std::string& value) : value_(value) {} in LiteralStatement() 137 to->Write("%s", value_.c_str()); in Write()
|
D | ast_java.h | 139 const std::string value_;
|
/system/core/init/ |
D | result_test.cpp | 310 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/ |
D | keymaster_tags.h | 311 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/ |
D | task_profiles.h | 99 : attribute_(attribute), value_(value) {} in SetAttributeAction() 106 std::string value_; variable
|
D | task_profiles.cpp | 127 if (!WriteStringToFile(value_, path)) { in ExecuteForTask() 128 PLOG(ERROR) << "Failed to write '" << value_ << "' to " << path; in ExecuteForTask()
|