/system/keymaster/include/keymaster/ |
D | keymaster_utils.h | 45 KmErrorOr(const T& value) : value_(value) {} // NOLINT(google-explicit-constructor) in KmErrorOr() 46 KmErrorOr(T&& value) : value_(std::move(value)) {} // NOLINT(google-explicit-constructor) in KmErrorOr() 58 std::swap(value_, other.value_); 77 return value_.has_value(); in isOk() 83 T& value() & { return value_.value(); } in value() 84 const T& value() const& { return value_.value(); } in value() 85 T&& value() && { return value_.value(); } in value() 86 const T&& value() const&& { return value_.value(); } in value() 88 T* operator->() { return &value_.value(); } 89 const T* operator->() const { return &value_.value(); } [all …]
|
D | remote_provisioning_utils.h | 40 : status_code_(0), value_(std::move(val)) {} in StatusOr() 46 return &value_.value(); 50 return value_.value(); 54 return std::move(value_).value(); 62 T moveValue() { return std::move(value_).value(); } in moveValue() 66 std::optional<T> value_; variable
|
/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/tools/aidl/ |
D | aidl_const_expressions.cpp | 593 str_values.push_back(v->value_); in Array() 630 AIDL_ERROR(this) << "Invalid constant value: " + value_; in ValueString() 641 << ") for a const value (" << value_ << ")"; in ValueString() 645 AIDL_ERROR(this) << "Invalid value (" << value_ << ") for enum " in ValueString() 649 return decorator(type, value_); in ValueString() 677 alternatives.push_back(value_ + "u8"); in ValueString() 686 alternatives.push_back(value_ + "u32"); in ValueString() 737 if (!ParseFloating(value_, &parsed_value)) { in ValueString() 738 AIDL_ERROR(this) << "Could not parse " << value_; in ValueString() 746 if (!ParseFloating(value_, &parsed_value)) { in ValueString() [all …]
|
D | aidl_language.h | 655 AIDL_FATAL_IF(!ParseFloating(value_, &result), this); 698 const std::string& Literal() const { return value_; } 733 const string value_; // otherwise 847 const AidlConstantValue& GetValue() const { return *value_; } 863 return value_->ValueString(GetType(), decorator); 875 unique_ptr<AidlConstantValue> value_; 1141 AidlConstantValue* GetValue() const { return value_.get(); } 1148 void SetValue(std::unique_ptr<AidlConstantValue> value) { value_ = std::move(value); } 1152 traverse(*value_); 1158 unique_ptr<AidlConstantValue> value_;
|
D | ast_java.cpp | 135 LiteralStatement::LiteralStatement(const std::string& value) : value_(value) {} in LiteralStatement() 138 to->Write("%s", value_.c_str()); in Write()
|
D | ast_java.h | 137 const std::string value_;
|
D | aidl_language.cpp | 1066 : AidlMember(location, type->GetComments()), type_(type), name_(name), value_(value) {} in AidlConstantDeclaration() 1071 valid &= value_->CheckValid(); in CheckValid() 1562 value_(value), in AidlEnumerator()
|
/system/update_engine/common/ |
D | dynamic_partition_control_interface.h | 48 constexpr explicit FeatureFlag(Value value) : value_(value) {} in FeatureFlag() 49 constexpr bool IsEnabled() const { return value_ != Value::NONE; } in IsEnabled() 50 constexpr bool IsRetrofit() const { return value_ == Value::RETROFIT; } in IsRetrofit() 51 constexpr bool IsLaunch() const { return value_ == Value::LAUNCH; } in IsLaunch() 54 Value value_;
|
/system/core/fs_mgr/libstorage_literals/storage_literals/ |
D | storage_literals.h | 26 explicit constexpr Size(uint64_t count) : value_(count) {} in Size() 28 constexpr uint64_t bytes() const { return value_ << power; } in bytes() 29 constexpr uint64_t count() const { return value_; } in count() 33 uint64_t value_;
|
/system/keymaster/include/keymaster/cppcose/ |
D | cppcose.h | 103 : value_(std::move(val)) {} in ErrMsgOr() 105 explicit operator bool() const { return value_.has_value(); } 108 assert(value_); 109 return &value_.value(); 112 assert(value_); 113 return value_.value(); 116 assert(value_); 117 return std::move(value_).value(); 124 assert(value_); in moveValue() 125 return std::move(value_).value(); in moveValue() [all …]
|
/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/chre/util/tests/ |
D | synchronized_memory_pool_test.cc | 27 ConstructorCount(int value_) : value(value_) { in ConstructorCount() argument
|
D | blocking_queue_test.cc | 31 ConstructorCount(int value_, ssize_t *constructedCount) in ConstructorCount() argument 32 : sConstructedCounter(constructedCount), value(value_) { in ConstructorCount()
|
D | synchronized_expandable_memory_pool_test.cc | 27 ConstructorCount(int value_) : value(value_) { in ConstructorCount() argument
|
D | segmented_queue_test.cc | 38 ConstructorCount(int value_, ssize_t *constructedCount) in ConstructorCount() argument 39 : sConstructedCounter(constructedCount), value(value_) { in ConstructorCount()
|
/system/teeui/libteeui/include/teeui/ |
D | utils.h | 333 Numeric value_; 337 constexpr Coordinate() : value_{} {} 338 constexpr Coordinate(Numeric value) : value_(value) {} 343 value_ = bits::round(other.count()); 345 value_ = other.count(); 351 constexpr Coordinate operator-(const Coordinate& v) const { return value_ - v.value_; } 352 constexpr Coordinate operator+(const Coordinate& v) const { return value_ + v.value_; } 354 value_ -= v.value_; 358 value_ += v.value_; 361 constexpr Coordinate operator*(const Coordinate& v) const { return value_ * v.value_; } [all …]
|
D | cbor.h | 55 const Value& value_; member 56 MapElement(const Key& key, const Value& value) : key_(key), value_(value) {} in MapElement() 284 return write(wState, element.value_);
|
/system/keymaster/ng/include/ |
D | keymaster_tags.h | 309 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_;
|
/system/core/libprocessgroup/ |
D | task_profiles.cpp | 247 if (!WriteStringToFile(value_, path)) { in WriteValueToFile() 259 PLOG(ERROR) << "Failed to write '" << value_ << "' to " << path; in WriteValueToFile() 296 if (!WriteStringToFile(value_, path)) { in ExecuteForUID() 305 PLOG(ERROR) << "Failed to write '" << value_ << "' to " << path; in ExecuteForUID() 510 : task_path_(task_path), proc_path_(proc_path), value_(value), logfailures_(logfailures) { in WriteFileAction() 515 bool WriteFileAction::WriteValueToFile(const std::string& value_, ResourceCacheType cache_type, in WriteValueToFile() argument 517 std::string value(value_); in WriteValueToFile() 585 return WriteValueToFile(value_, ProfileAction::RCT_PROCESS, uid, pid, logfailures_); in ExecuteForProcess() 609 WriteValueToFile(value_, ProfileAction::RCT_TASK, uid, t_pid, logfailures_); in ExecuteForProcess() 618 return WriteValueToFile(value_, ProfileAction::RCT_TASK, getuid(), tid, logfailures_); in ExecuteForTask()
|
D | task_profiles.h | 125 : attribute_(attribute), value_(value), optional_(optional) {} in SetAttributeAction() 136 std::string value_; variable 182 std::string task_path_, proc_path_, value_;
|
/system/nfc/tools/casimir/scripts/ |
D | rf_packets.py | 149 value_ = int.from_bytes(span[0:2], byteorder='little') 150 fields['sender'] = value_ 151 value_ = int.from_bytes(span[2:4], byteorder='little') 152 fields['receiver'] = value_
|
/system/libbase/ |
D | result_test.cpp | 621 TestStruct(int value) : value_(value) {} in TEST() 622 TestStruct(Result<TestStruct> result, int value) : value_(result->value_ * value) {} in TEST() 623 int value_; in TEST() member 632 EXPECT_EQ(36, result->value_); in TEST()
|