Home
last modified time | relevance | path

Searched refs:value_ (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/libs/binary_translation/intrinsics/common_to_x86/include/berberis/intrinsics/common_to_x86/
Dintrinsics_float.h33 asm(#guest_name "ss %2,%0" : "=x"(result.value_) : "0"(v1.value_), "x"(v2.value_)); \
38 asm(#guest_name "ss %2,%0" : "=x"(v1.value_) : "0"(v1.value_), "x"(v2.value_)); \
44 asm(#guest_name "sd %2,%0" : "=x"(result.value_) : "0"(v1.value_), "x"(v2.value_)); \
49 asm(#guest_name "sd %2,%0" : "=x"(v1.value_) : "0"(v1.value_), "x"(v2.value_)); \
62 asm("ucomiss %1,%2\n seta %0" : "=q"(result) : "x"(v1.value_), "x"(v2.value_) : "cc");
68 asm("ucomisd %1,%2\n seta %0" : "=q"(result) : "x"(v1.value_), "x"(v2.value_) : "cc");
74 asm("ucomiss %2,%1\n seta %0" : "=q"(result) : "x"(v1.value_), "x"(v2.value_) : "cc");
80 asm("ucomisd %2,%1\n seta %0" : "=q"(result) : "x"(v1.value_), "x"(v2.value_) : "cc");
86 asm("ucomiss %1,%2\n setnb %0" : "=q"(result) : "x"(v1.value_), "x"(v2.value_) : "cc");
92 asm("ucomisd %1,%2\n setnb %0" : "=q"(result) : "x"(v1.value_), "x"(v2.value_) : "cc");
[all …]
/frameworks/libs/binary_translation/guest_abi/include/berberis/guest_abi/
Dguest_type.h49 constexpr GuestType(const StructType& value) : value_(value) {} in GuestType()
50 constexpr GuestType(StructType&& value) : value_(value) {} in GuestType()
57 constexpr operator StructType() const { return value_; } in StructType()
60 StructType value_ = {};
68 constexpr GuestType(const IntegerType& value) : value_(value) {} in GuestType()
69 constexpr GuestType(IntegerType&& value) : value_(value) {} in GuestType()
76 constexpr operator IntegerType() const { return value_; } in IntegerType()
81 return value_; in AnotherIntegerType()
87 return value_;
91 value_ x data.value_; \
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/
Dchannel_handle.h29 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 …]
Dstatus.h36 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/libs/binary_translation/guest_abi/riscv64/include/berberis/guest_abi/
Dguest_abi_arch.h46 GuestArgument(const IntegerType& value) : value_(Box(value)) {} in GuestArgument()
47 GuestArgument(IntegerType&& value) : value_(Box(value)) {} in GuestArgument()
54 operator IntegerType() const { return Unbox(value_); } in IntegerType()
58 value_ = Box(Unbox(value_) x Unbox(data.value_)); \
62 value_ = Box(Unbox(value_) x Unbox(data.value_)); \
97 uint64_t value_ = 0; variable
106 GuestArgument(const EnumType& value) : value_(Box(value)) {} in GuestArgument()
107 GuestArgument(EnumType&& value) : value_(Box(value)) {} in GuestArgument()
114 operator EnumType() const { return Unbox(value_); } in EnumType()
125 GuestArgument<UnderlyingType, kCallingConventionsVariant> value_; variable
[all …]
/frameworks/libs/binary_translation/base/include/berberis/base/
Dpage_size.h34 PageSize() : value_(getpagesize()) {} in PageSize()
37 if (value_ == 0) { in size_t()
40 CHECK((value_ & (value_ - 1)) == 0); // Power of 2 in size_t()
41 return value_; in size_t()
45 const size_t value_;
Dconfig_globals.h28 [[nodiscard]] const char* get() const { return value_; } in get()
31 const char* value_ = nullptr;
/frameworks/native/cmds/installd/
Dunique_file.cpp33 : value_(value), path_(path), cleanup_(cleanup), do_cleanup_(true), auto_close_(true) {} in UniqueFile()
44 value_ = other.value_; in operator =()
58 if (auto_close_ && value_ >= 0) { in reset()
59 if (close(value_) < 0) { in reset()
60 PLOG(ERROR) << "Failed to close fd " << value_ << ", with path " << path; in reset()
67 value_ = new_value; in reset()
73 value_ = -1; in release()
Dunique_file.h70 return value_; in fd()
91 int value_; variable
/frameworks/base/media/mca/filterfw/native/core/
Dstatistics.h51 : 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/av/media/utils/tests/
Dmedia_synchronization_tests.cpp30 T value_; member in MyObject
32 MyObject(const T& value) : value_(value) {} in MyObject()
33 MyObject(const MyObject<T>& mo) : value_(mo.get()) {} in MyObject()
34 T get() const { return value_; } in get()
35 void set(const T& value) { value_ = value; } in set()
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/common/
Dintrinsics_float.h55 explicit constexpr WrappedFloatType(BaseType value) : value_(value) {} in WrappedFloatType()
67 memcpy(&result, &value_, sizeof(BaseType));
70 explicit constexpr operator int16_t() const { return value_; } in int16_t()
71 explicit constexpr operator uint16_t() const { return value_; } in uint16_t()
72 explicit constexpr operator int32_t() const { return value_; } in int32_t()
73 explicit constexpr operator uint32_t() const { return value_; } in uint32_t()
74 explicit constexpr operator int64_t() const { return value_; } in int64_t()
75 explicit constexpr operator uint64_t() const { return value_; } in uint64_t()
77 return WrappedFloatType<float>(value_);
80 return WrappedFloatType<double>(value_);
[all …]
/frameworks/base/tools/aapt2/
DDominatorTree.cpp43 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()
DDominatorTree.h56 : 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/
Dvariant.h435 : 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/libs/binary_translation/tools/nogrod/
Ddwarf_abbrev.h60 DwarfAttributeValue(uint32_t name, T value) : DwarfAttribute{name}, value_{std::move(value)} {} in DwarfAttributeValue()
65 [[nodiscard]] const T& value() const { return value_; } in value()
73 T value_;
178 [[nodiscard]] int64_t value() const { return value_; } in value()
184 int64_t value_; variable
Ddwarf_abbrev.cc959 return value_; in StringValue()
964 return value_; in Uint64Value()
969 CHECK(value_.size() <= sizeof(uint64_t)); in Uint64Value()
971 memcpy(&result, value_.data(), value_.size()); in Uint64Value()
977 return value_; in BoolValue()
1038 : name_{0}, form_{0}, value_{0}, dwarf_class_{nullptr} {} in DwarfAbbrevAttribute()
1044 : name_(name), form_(form), value_(value), dwarf_class_(dwarf_class) {} in DwarfAbbrevAttribute()
/frameworks/native/libs/vr/libpdx/
Dvariant_tests.cpp31 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/native/include/ftl/
Dmixins.h69 explicit constexpr Constructible(T value) : value_(value) {} in Constructible()
71 explicit constexpr operator const T&() const { return value_; }
77 T value_; member
/frameworks/av/media/codec2/core/include/
DC2Enum.h208 inline constexpr C2EasyEnum(E value_) : value(value_) { } in C2EasyEnum()
209 inline constexpr C2EasyEnum(U value_) : value(E(value_)) { } in C2EasyEnum()
/frameworks/base/tools/aapt2/test/
DBuilders.h90 explicit ValueBuilder(Args&&... args) : value_(new T{std::forward<Args>(args)...}) { in ValueBuilder()
95 value_->SetSource(android::Source{std::forward<Args>(args)...}); in SetSource()
100 value_->SetComment(str); in SetComment()
105 return std::move(value_); in Build()
111 std::unique_ptr<Value> value_; variable
/frameworks/native/include/ftl/details/
Dmixins.h27 constexpr auto& mut() { return self().value_; } in mut()
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/
Dintrinsics_float.h121 return FloatType(Intrinsic(op1.value_, op2.value_)); \
/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/
Dgen_vulkan.go1142 …rintf(w, ` friend GuestAddr ToGuestAddr(const GuestType& guest_type) { return guest_type.value_; }
1145 GuestAddr value_;
1213 …rintf(w, ` friend GuestAddr ToGuestAddr(const GuestType& guest_type) { return guest_type.value_; }
1216 GuestAddr value_;
1244 …nline GuestType<%[1]s*>::GuestType(GuestType<%[1]s>* const& new_value) : value_(ToGuestAddr(new_va…
1245 inline GuestType<%[1]s*>::GuestType(GuestType<%[1]s>*&& new_value) : value_(ToGuestAddr(new_value))…
1247 inline GuestType<const %[1]s*>::GuestType(GuestType<const %[1]s>* const& new_value) : value_(ToGues…
1248 inline GuestType<const %[1]s*>::GuestType(GuestType<const %[1]s>*&& new_value) : value_(ToGuestAddr…
1249 inline GuestType<const %[1]s*>::GuestType(GuestType<%[1]s>* const& new_value) : value_(ToGuestAddr(…
1250 inline GuestType<const %[1]s*>::GuestType(GuestType<%[1]s>*&& new_value) : value_(ToGuestAddr(new_v…
[all …]
/frameworks/libs/binary_translation/base/
Dconfig_globals.cc93 TryReadConfig(env_name, prop_name, &value_); in ConfigStr()

12