/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | channel_handle.h | 29 explicit ChannelHandleBase(const int32_t& value) : value_{value} {} in ChannelHandleBase() 34 std::int32_t value() const { return value_; } in value() 35 bool valid() const { return value_ >= 0; } in valid() 38 void Close() { value_ = kEmptyHandle; } in Close() 45 std::int32_t value_{kEmptyHandle}; 53 ChannelHandle(ChannelHandle&& other) noexcept : ChannelHandleBase{other.value_} { in ChannelHandle() 54 other.value_ = kEmptyHandle; 58 ChannelHandle Duplicate() const { return ChannelHandle{value_}; } in Duplicate() 61 value_ = other.value_; 62 other.value_ = kEmptyHandle; [all …]
|
D | status.h | 36 Status(const T& value) : value_{value} {} in Status() 38 Status(T&& value) : value_{std::move(value)} {} in Status() 48 : value_{std::move(other.value_)}, error_{other.error_} { in Status() 56 value_ = std::move(other.value_); 59 std::swap(other.value_, empty); 66 value_ = std::move(value); in SetValue() 71 std::swap(value_, empty); in SetError() 97 const T& get() const { return value_; } in get() 100 return std::move(value_); in take() 132 T value_{};
|
/frameworks/native/libs/vr/libdisplay/include/private/dvr/ |
D | display_protocol.h | 64 Flags(const Integer& value) : value_{value} {} in Flags() 68 Integer value() const { return value_; } in value() 70 operator Integer() const { return value_; } in Integer() 72 bool IsSet(Integer bits) const { return (value_ & bits) == bits; } in IsSet() 73 bool IsClear(Integer bits) const { return (value_ & bits) == 0; } in IsClear() 75 void Set(Integer bits) { value_ |= bits; } in Set() 76 void Clear(Integer bits) { value_ &= ~bits; } in Clear() 78 Integer operator|(Integer bits) const { return value_ | bits; } 79 Integer operator&(Integer bits) const { return value_ & bits; } 82 value_ |= bits; [all …]
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | statistics.h | 51 : gain_(gain), n_(0), value_(0.0f) {} in RCFilter() 54 value_ = n_++ ? gain_ * measurement + (1.0f - gain_) * value_ : measurement; in Add() 60 float Output() const { return value_; } in Output() 65 float value_; variable
|
/frameworks/ml/nn/common/operations/ |
D | EmbeddingLookup.cpp | 33 value_ = GetInput(operation, operands, kValueTensor); in EmbeddingLookup() 41 const int row_size = value_->shape().dimensions[0]; in Eval() 42 const int total_bytes = nonExtensionOperandSizeOfData(value_->type, value_->dimensions); in Eval() 51 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, row_bytes); in Eval()
|
D | HashtableLookup.cpp | 43 value_ = GetInput(operation, operands, kValueTensor); in HashtableLookup() 51 const int num_rows = value_->shape().dimensions[0]; in Eval() 53 nonExtensionOperandSizeOfData(value_->type, value_->dimensions) / num_rows; in Eval() 68 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, row_bytes); in Eval()
|
D | EmbeddingLookup.h | 41 const RunTimeOperandInfo* value_;
|
D | HashtableLookup.h | 45 const RunTimeOperandInfo* value_; variable
|
/frameworks/base/tools/aapt2/ |
D | DominatorTree.cpp | 43 CHECK(new_child->value_) << "cannot add a root or empty node as a child"; in TryAddChild() 44 if (value_ && !Dominates(new_child.get())) { in TryAddChild() 92 return value_->config.Dominates(other->value_->config); in Dominates()
|
D | DominatorTree.h | 56 : value_(value), parent_(parent) {} in value_() function 58 inline ResourceConfigValue* value() const { return value_; } in value() 62 inline bool is_root_node() const { return !value_; } in is_root_node() 74 ResourceConfigValue* value_; variable
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | variant.h | 435 : value_(0, &index_, DecayedTypeTag<T>{}, std::forward<T>(value)) {} 439 : value_(0, &index_, std::forward<T>(value)) {} 449 : index_{other.index_}, value_{other.value_, other.index_} {} 451 : index_{other.index_}, value_{std::move(other.value_), other.index_} {} 532 index_ = value_.Become(target_index, std::forward<Args>(args)...) 542 return value_.Visit(index_, std::forward<Op>(op)); 546 return value_.Visit(index_, std::forward<Op>(op)); 556 return value_.index(DecayedTypeTag<T>{}); 578 return &value_.get(DecayedTypeTag<T>{}); 585 return &value_.template get(DecayedTypeTag<T>{}); [all …]
|
/frameworks/native/libs/vr/libpdx/ |
D | variant_tests.cpp | 31 TestType(const T& value) : value_(value) {} in TestType() 33 TestType(T&& value) : value_(std::move(value)) {} in TestType() 40 const T& get() const { return value_; } in get() 41 T&& take() { return std::move(value_); } in take() 44 T value_; member in __anon1fde347f0111::TestType 51 InstrumentType(const T& value) : value_(value) { constructor_count_++; } in InstrumentType() 53 InstrumentType(T&& value) : value_(std::move(value)) { constructor_count_++; } in InstrumentType() 54 InstrumentType(const InstrumentType& other) : value_(other.value_) { in InstrumentType() 57 InstrumentType(InstrumentType&& other) : value_(std::move(other.value_)) { in InstrumentType() 61 InstrumentType(const TestType<T>& other) : value_(other.get()) { in InstrumentType() [all …]
|
/frameworks/av/media/codec2/core/include/ |
D | C2Enum.h | 208 inline constexpr C2EasyEnum(E value_) : value(value_) { } in C2EasyEnum() 209 inline constexpr C2EasyEnum(U value_) : value(E(value_)) { } in C2EasyEnum()
|
D | C2Config.h | 2124 inline C2TimestampGapAdjustmentStruct(mode_t mode_, uint64_t value_) in C2TimestampGapAdjustmentStruct() 2125 : mode(mode_), value(value_) { } in C2TimestampGapAdjustmentStruct()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 96 explicit ValueBuilder(Args&&... args) : value_(new T{std::forward<Args>(args)...}) { in ValueBuilder() 101 value_->SetSource(Source{std::forward<Args>(args)...}); in SetSource() 106 value_->SetComment(str); in SetComment() 111 return std::move(value_); in Build() 117 std::unique_ptr<Value> value_; variable
|
/frameworks/native/cmds/installd/ |
D | dexopt.cpp | 1249 Dex2oatFileWrapper() : value_(-1), cleanup_(), do_cleanup_(true), auto_close_(true) { in Dex2oatFileWrapper() 1253 : value_(value), cleanup_(cleanup), do_cleanup_(true), auto_close_(true) {} in Dex2oatFileWrapper() 1256 value_ = other.value_; in Dex2oatFileWrapper() 1264 value_ = other.value_; in operator =() 1277 return value_; in get() 1285 if (auto_close_ && value_ >= 0) { in reset() 1286 close(value_); in reset() 1292 value_ = new_value; in reset() 1296 if (auto_close_ && value_ >= 0) { in reset() 1297 close(value_); in reset() [all …]
|
/frameworks/base/startop/view_compiler/ |
D | dex_builder.h | 132 size_t value() const { return value_; } in value() 134 constexpr Value() : value_{0}, kind_{Kind::kInvalid} {} in Value() 139 size_t value_; variable 142 constexpr Value(size_t value, Kind kind) : value_{value}, kind_{kind} {} in Value()
|