/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | channel_handle.h | 29 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) : 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 | 34 Status(const T& value) : value_{value} {} // NOLINT(runtime/explicit) in Status() 35 Status(T&& value) : value_{std::move(value)} {} // NOLINT(runtime/explicit) in Status() 45 : value_{std::move(other.value_)}, error_{other.error_} { in Status() 53 value_ = std::move(other.value_); 56 std::swap(other.value_, empty); 63 value_ = std::move(value); in SetValue() 68 std::swap(value_, empty); in SetError() 94 const T& get() const { return value_; } in get() 97 return std::move(value_); in take() 129 T value_{};
|
/frameworks/native/libs/vr/libdisplay/include/private/dvr/ |
D | display_protocol.h | 63 Flags(const Integer& value) : value_{value} {} in Flags() 67 Integer value() const { return value_; } in value() 68 operator Integer() const { return value_; } in Integer() 70 bool IsSet(Integer bits) const { return (value_ & bits) == bits; } in IsSet() 71 bool IsClear(Integer bits) const { return (value_ & bits) == 0; } in IsClear() 73 void Set(Integer bits) { value_ |= bits; } in Set() 74 void Clear(Integer bits) { value_ &= ~bits; } in Clear() 76 Integer operator|(Integer bits) const { return value_ | bits; } 77 Integer operator&(Integer bits) const { return value_ & bits; } 80 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 | 28 value_ = GetInput(operation, operands, kValueTensor); in EmbeddingLookup() 35 const int row_size = value_->shape().dimensions[0]; in Eval() 36 const int total_bytes = sizeOfData(value_->type, value_->dimensions); in Eval() 45 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, in Eval()
|
D | HashtableLookup.cpp | 38 value_ = GetInput(operation, operands, kValueTensor); in HashtableLookup() 45 const int num_rows = value_->shape().dimensions[0]; in Eval() 46 const int row_bytes = sizeOfData(value_->type, value_->dimensions) / num_rows; in Eval() 62 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, in Eval()
|
D | EmbeddingLookup.h | 51 const RunTimeOperandInfo *value_;
|
D | HashtableLookup.h | 55 const RunTimeOperandInfo *value_; variable
|
/frameworks/native/services/thermalservice/aidl/android/os/ |
D | Temperature.cpp | 29 Temperature::Temperature() : value_(NAN), type_(DEVICE_TEMPERATURE_UNKNOWN) {} in Temperature() 32 value_(value), type_(type) {} in Temperature() 42 value_ = p->readFloat(); in readFromParcel() 48 p->writeFloat(value_); in writeToParcel()
|
D | Temperature.h | 16 float getValue() const {return value_;}; in getValue() 24 float value_;
|
/frameworks/base/tools/aapt2/ |
D | DominatorTree.cpp | 42 CHECK(new_child->value_) << "cannot add a root or empty node as a child"; in TryAddChild() 43 if (value_ && !Dominates(new_child.get())) { in TryAddChild() 91 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_} {} 525 index_ = value_.Become(target_index, std::forward<Args>(args)...) 535 return value_.Visit(index_, std::forward<Op>(op)); 539 return value_.Visit(index_, std::forward<Op>(op)); 549 return value_.template index(DecayedTypeTag<T>{}); 571 return &value_.template get(DecayedTypeTag<T>{}); 578 return &value_.template get(DecayedTypeTag<T>{}); [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 84 explicit ValueBuilder(Args&&... args) : value_(new T{std::forward<Args>(args)...}) { in ValueBuilder() 89 value_->SetSource(Source{std::forward<Args>(args)...}); in SetSource() 94 value_->SetComment(str); in SetComment() 99 return std::move(value_); in Build() 105 std::unique_ptr<Value> value_; variable
|
/frameworks/native/libs/vr/libpdx/ |
D | variant_tests.cpp | 28 TestType(const T& value) : value_(value) {} in TestType() 29 TestType(T&& value) : value_(std::move(value)) {} in TestType() 36 const T& get() const { return value_; } in get() 37 T&& take() { return std::move(value_); } in take() 40 T value_; member in __anon34ecba3e0111::TestType 46 InstrumentType(const T& value) : value_(value) { constructor_count_++; } in InstrumentType() 47 InstrumentType(T&& value) : value_(std::move(value)) { constructor_count_++; } in InstrumentType() 48 InstrumentType(const InstrumentType& other) : value_(other.value_) { in InstrumentType() 51 InstrumentType(InstrumentType&& other) : value_(std::move(other.value_)) { in InstrumentType() 54 InstrumentType(const TestType<T>& other) : value_(other.get()) { in InstrumentType() [all …]
|
/frameworks/native/cmds/installd/ |
D | dexopt.cpp | 1063 Dex2oatFileWrapper() : value_(-1), cleanup_(), do_cleanup_(true), auto_close_(true) { in Dex2oatFileWrapper() 1067 : value_(value), cleanup_(cleanup), do_cleanup_(true), auto_close_(true) {} in Dex2oatFileWrapper() 1070 value_ = other.value_; in Dex2oatFileWrapper() 1078 value_ = other.value_; in operator =() 1091 return value_; in get() 1099 if (auto_close_ && value_ >= 0) { in reset() 1100 close(value_); in reset() 1106 value_ = new_value; in reset() 1110 if (auto_close_ && value_ >= 0) { in reset() 1111 close(value_); in reset() [all …]
|