/foundation/multimedia/image_framework/plugins/manager/src/common/ |
H A D | attr_data.cpp | 53 value_.boolValue = value; in AttrData() 58 value_.uint32Value = value; in AttrData() 63 value_.stringValue = new (std::nothrow) string(value); in AttrData() 64 if (value_.stringValue == nullptr) { in AttrData() 72 value_.stringValue = new (std::nothrow) string(std::move(value)); in AttrData() 73 if (value_.stringValue == nullptr) { in AttrData() 85 value_.uint32Rang[LOWER_BOUND_INDEX] = lowerBound; in AttrData() 86 value_.uint32Rang[UPPER_BOUND_INDEX] = upperBound; in AttrData() 93 value_.boolValue = data.value_ in AttrData() [all...] |
/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_value.cpp | 25 value_ = preferencesValue.value_; in PreferencesValue() 33 value_ = std::move(preferencesValue.value_); 38 value_ = value; in PreferencesValue() 43 value_ = value; in PreferencesValue() 48 value_ = value; in PreferencesValue() 53 value_ = value; in PreferencesValue() 58 value_ = value; in PreferencesValue() 63 value_ in PreferencesValue() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_ref.h | 63 explicit JsiRef(const T& val) : value_(val) {} in JsiRef() 66 value_.Reset(); in ~JsiRef() 70 JsiRef(const JsiRef<S>& that) : value_(T::Cast(that.Get())) in JsiRef() 110 JsiRef(const JsiRef<T>& rhs) : value_(rhs.value_) {} in JsiRef() 112 JsiRef(JsiRef<T>&& rhs) : value_(std::move(rhs.value_)) in JsiRef() 114 rhs.value_.Reset(); in JsiRef() 119 value_.Reset(); in operator =() 120 value_ in operator =() 159 T value_; global() member in OHOS::Ace::Framework::JsiRef 236 T value_; global() member in OHOS::Ace::Framework::JsiWeak [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
H A D | compare.h | 157 : value_(static_cast<compare_internal::value_type>(v)) {} in static_cast() 167 return v.value_ == 0; 171 return v.value_ != 0; 175 return 0 == v.value_; 179 return 0 != v.value_; 183 return v1.value_ == v2.value_; 187 return v1.value_ != v2.value_; 191 compare_internal::value_type value_; member in absl::compare_internal::ord::weak_equality 242 compare_internal::value_type value_; global() member in absl::compare_internal::ord::strong_equality 337 compare_internal::value_type value_; global() member in absl::compare_internal::ord::partial_ordering 429 compare_internal::value_type value_; global() member in absl::compare_internal::ord::weak_ordering 528 compare_internal::value_type value_; global() member in absl::compare_internal::ord::strong_ordering [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | time_span.h | 32 constexpr TimeSpan() : value_(0) {} in TimeSpan() 44 return value_ / 1000000; 49 return static_cast<float>(value_) / 1000000.0f; 54 return Round(static_cast<float>(value_) / 1000.f); 59 return value_; 64 value_ = ToMicroseconds(seconds); 69 value_ = milliseconds * 1000; 74 value_ = microseconds; 79 return value_ != INT64_MIN && value_ ! in IsFinite() [all...] |
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | dimension.h | 79 constexpr explicit Dimension(double value, DimensionUnit unit = DimensionUnit::PX) : value_(value), unit_(unit) {} in Dimension() 83 value_ = 0.0; in Reset() 89 if (std::isnan(value_)) { in ResetInvalidValue() 96 return value_; in Value() 101 value_ = value; in SetValue() 116 return GreatNotEqual(value_, 0.0); in IsValid() 121 return NonNegative(value_); in IsNonNegative() 126 return NonPositive(value_); in IsNonPositive() 131 return !NonNegative(value_); in IsNegative() 138 return value_ * dipScal in ConvertToPx() 274 double value_ = 0.0; global() member in OHOS::Ace::Dimension [all...] |
H A D | dimension.cpp | 90 return value_; in ConvertToVp() 96 return value_ / pipeline->GetDipScale(); in ConvertToVp() 99 return value_ / pipeline->GetDipScale(); in ConvertToVp() 105 return value_ * pipeline->GetLogicScale() / pipeline->GetDipScale(); in ConvertToVp() 113 return value_; in ConvertToPx() 116 return value_; in ConvertToPx() 122 return value_ * pipeline->GetDipScale(); in ConvertToPx() 128 return value_ * pipeline->GetLogicScale(); in ConvertToPx() 136 return value_; in ConvertToFp() 145 return value_ / pipelin in ConvertToFp() [all...] |
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | glue.h | 22 PtrMaybe(std::unique_ptr<T> value) : value_(std::move(value)) {} in PtrMaybe() 23 PtrMaybe(PtrMaybe&& other) noexcept : value_(std::move(other.value_)) {} in move() 24 void operator=(std::unique_ptr<T> value) { value_ = std::move(value); } in operator =() 26 assert(value_); in fromJust() 27 return value_.get(); in fromJust() 30 return value_ ? value_.get() : default_value; in fromMaybe() 32 bool isJust() const { return value_ != nullptr; } in isJust() 34 assert(value_); in takeJust() 39 std::unique_ptr<T> value_; global() member in v8_crdtp::glue::detail::PtrMaybe 69 T value_; global() member in v8_crdtp::glue::detail::ValueMaybe [all...] |
H A D | maybe.h | 22 PtrMaybe(std::unique_ptr<T> value) : value_(std::move(value)) {} in PtrMaybe() 23 PtrMaybe(PtrMaybe&& other) noexcept : value_(std::move(other.value_)) {} in move() 24 void operator=(std::unique_ptr<T> value) { value_ = std::move(value); } in operator =() 26 assert(value_); in fromJust() 27 return value_.get(); in fromJust() 30 return value_ ? value_.get() : default_value; in fromMaybe() 32 bool isJust() const { return value_ != nullptr; } in isJust() 34 assert(value_); in takeJust() 39 std::unique_ptr<T> value_; global() member in v8_crdtp::detail::PtrMaybe 69 T value_; global() member in v8_crdtp::detail::ValueMaybe [all...] |
/foundation/communication/bluetooth/frameworks/inner/ipc/common/ |
H A D | gatt_data.cpp | 40 : handle_(handle), permissions_(permissions), value_(nullptr), length_(length), uuid_(uuid) in Descriptor() 43 value_ = std::make_unique<uint8_t[]>(length); in Descriptor() 44 (void)memcpy_s(value_.get(), length_, value, length_); in Descriptor() 46 value_ = nullptr; in Descriptor() 52 : handle_(src.handle_), permissions_(src.permissions_), value_(nullptr), length_(src.length_), uuid_(src.uuid_) in Descriptor() 54 if (src.value_ != nullptr && src.length_ != 0) { in Descriptor() 55 value_ = std::make_unique<uint8_t[]>(length_); in Descriptor() 56 (void)memcpy_s(value_.get(), length_, src.value_.get(), length_); in Descriptor() 58 value_ in Descriptor() [all...] |
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/ |
H A D | system_defined_appitem.cpp | 58 if (std::holds_alternative<std::shared_ptr<Object>>(value_)) { in SetAppId() 59 std::get<std::shared_ptr<Object>>(value_)->value_[APP_ID] = appId_; in SetAppId() 71 if (std::holds_alternative<std::shared_ptr<Object>>(value_)) { in SetAppName() 72 std::get<std::shared_ptr<Object>>(value_)->value_[APP_NAME] = appName_; in SetAppName() 84 if (std::holds_alternative<std::shared_ptr<Object>>(value_)) { in SetAppIconId() 85 std::get<std::shared_ptr<Object>>(value_)->value_[APP_ICON_ID] = appIconId_; in SetAppIconId() 97 if (std::holds_alternative<std::shared_ptr<Object>>(value_)) { in SetAppLabelId() [all...] |
H A D | system_defined_form.cpp | 57 if (std::holds_alternative<std::shared_ptr<Object>>(value_)) { in SetFormId() 58 std::get<std::shared_ptr<Object>>(value_)->value_[FORMID] = formId_; in SetFormId() 70 if (std::holds_alternative<std::shared_ptr<Object>>(value_)) { in SetFormName() 71 std::get<std::shared_ptr<Object>>(value_)->value_[FORMNAME] = formName_; in SetFormName() 83 if (std::holds_alternative<std::shared_ptr<Object>>(value_)) { in SetBundleName() 84 std::get<std::shared_ptr<Object>>(value_)->value_[BUNDLE_NAME] = bundleName_; in SetBundleName() 96 if (std::holds_alternative<std::shared_ptr<Object>>(value_)) { in SetAbilityName() [all...] |
H A D | file.cpp | 59 if (std::holds_alternative<std::shared_ptr<Object>>(value_)) { in SetUri() 60 auto object = std::get<std::shared_ptr<Object>>(value_); in SetUri() 61 object->value_[ORI_URI] = oriUri_; in SetUri() 73 if (std::holds_alternative<std::shared_ptr<Object>>(value_)) { in SetRemoteUri() 74 auto object = std::get<std::shared_ptr<Object>>(value_); in SetRemoteUri() 75 object->value_[REMOTE_URI] = remoteUri_; in SetRemoteUri() 82 if (std::holds_alternative<std::shared_ptr<Object>>(value_)) { in SetDetails() 83 auto object = std::get<std::shared_ptr<Object>>(value_); in SetDetails() 84 object->value_[DETAILS] = ObjectUtils::ConvertToObject(details_); in SetDetails() 95 if (!std::holds_alternative<std::shared_ptr<Object>>(value_)) { in InitObject() [all...] |
/third_party/gn/src/gn/ |
H A D | string_atom.h | 69 StringAtom(const StringAtom& other) noexcept : value_(other.value_) {} in value_() function in StringAtom 78 StringAtom(StringAtom&& other) noexcept : value_(other.value_) {} in value_() function in StringAtom 87 bool empty() const { return value_.empty(); } in empty() 90 const std::string& str() const { return value_; } in str() 93 operator std::string_view() const { return {value_}; } in operator std::string_view() 100 return &value_ == &other.value_; in SameAs() 105 return value_ in operator ==() 154 const std::string& value_; global() member in StringAtom [all...] |
H A D | tagged_pointer.h | 18 : value_(reinterpret_cast<uintptr_t>(ptr)) { in TaggedPointer() 21 value_ |= static_cast<uintptr_t>(tag); in TaggedPointer() 24 T* ptr() const { return reinterpret_cast<T*>(value_ & ~kTagMask); } in ptr() 25 unsigned tag() const { return static_cast<unsigned>(value_ & kTagMask); } in tag() 29 value_ = reinterpret_cast<uintptr_t>(ptr) | (value_ & kTagMask); in set_ptr() 34 value_ = (value_ & ~kTagMask) | tag; in set_tag() 37 bool operator==(TaggedPointer other) const { return value_ == other.value_; } in operator ==() 55 uintptr_t value_ = 0; global() member in TaggedPointer [all...] |
H A D | output_file.cc | 10 OutputFile::OutputFile(std::string&& v) : value_(std::move(v)) {} in OutputFile() 12 OutputFile::OutputFile(const std::string& v) : value_(v) {} in OutputFile() 16 : value_(RebasePath(source_file.value(), in OutputFile() 21 DCHECK(!value_.empty()); in AsSourceFile() 22 DCHECK(value_[value_.size() - 1] != '/'); in AsSourceFile() 25 path.append(value_); in AsSourceFile() 30 if (!value_.empty()) { in AsSourceDir() 33 DCHECK(value_[value_ in AsSourceDir() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_utils_bridge.h | 81 value_.Reset(); in ~JsWeak() 84 JsWeak(const JsWeak<T>& rhs) : value_(rhs.value_) in JsWeak() 86 value_.SetWeakCallback(this, Reset, nullptr); in JsWeak() 89 JsWeak(JsWeak<T>&& rhs) : value_(std::move(rhs.value_)) in JsWeak() 91 value_.SetWeakCallback(this, Reset, nullptr); in JsWeak() 92 rhs.value_.Reset(); in JsWeak() 95 explicit JsWeak(const T& rhs) : value_(rhs) in JsWeak() 97 value_ in JsWeak() 147 T value_; global() member in OHOS::Ace::NG::JsWeak [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | data_value.cpp | 94 value_.zeroMem = nullptr; in DataValue() 120 (void)dataValue.GetInt64(this->value_.iValue); in operator =() 123 (void)dataValue.GetDouble(this->value_.dValue); in operator =() 127 (void)dataValue.GetBlob(this->value_.blobPtr); in operator =() 143 this->value_ = dataValue.value_; 147 dataValue.value_.blobPtr = nullptr; 159 value_.iValue = intVal; in operator =() 167 value_.dValue = doubleVal; in operator =() 185 value_ in Set() [all...] |
H A D | value_object.cpp | 24 value_ = other.value_; in ValueObject() 32 value_ = other.value_; in operator =() 43 int errCode = value_.Parse(inString); in Parse() 53 int errCode = value_.Parse(inData); in Parse() 68 int errCode = value_.Parse(dataBegin + offset, dataEnd); in Parse() 85 return value_.ToString(); in ToString() 89 outString += value_.ToString(); in ToString() 96 std::string valueStr = value_ in WriteIntoVector() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | test_instance_tracker.h | 34 explicit BaseCountedInstance(int x) : value_(x) { in BaseCountedInstance() 39 : value_(x.value_), is_live_(x.is_live_) { in BaseCountedInstance() 45 : value_(x.value_), is_live_(x.is_live_) { in BaseCountedInstance() 56 value_ = x.value_; in operator =() 64 value_ = x.value_; in operator =() 74 return value_ in operator ==() 133 int value_; global() member in absl::test_internal::BaseCountedInstance [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | big_integer.cpp | 25 value_.push_back(value); in BigInteger() 29 : sign_(sign), value_(std::move(trueForm)) in BigInteger() 49 value_ = other.value_; in operator =() 59 value_ = std::move(other.value_); in operator =() 69 return value_ == other.value_; in operator ==() 74 return sign_ != rhs.sign_ ? (sign_ > rhs.sign_) : (sign_ == 0 ? (value_ < rhs.value_) in operator <() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/watch_slider/ |
H A D | render_watch_slider.cpp | 76 value_ = sliderComponent->GetValue(); in Update() 92 value_ = std::round(value_ / ((max_ - min_) / 4.0)) * ((max_ - min_) / 4.0); in Update() 178 value_ = value_ + CHANGE_RATIO * (max_ - min_); in HandleClick() 180 value_ = value_ + INTERMITTENT_RATIO * (max_ - min_); in HandleClick() 182 if (value_ > max_) { in HandleClick() 183 value_ = max_; in HandleClick() 187 value_ in HandleClick() [all...] |
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | simple_spring_node.cpp | 27 : SpringNode(index), context_(context), value_(value) in SimpleSpringNode() 50 value_ = value; in SetValue() 51 OnUpdate(value_, velocity_); in SetValue() 52 NotifyUpdateListener(value_, velocity_); in SetValue() 53 NotifyNext(value_, velocity_); in SetValue() 96 spring_->Reset(value_, endValue, velocity_, springProperty_); in EndToValue() 101 spring_->Reset(value_, endValue, velocity_, springProperty_); in EndToValue() 123 value_ = spring_->GetCurrentPosition(); in OnAnimation() 127 value_ = spring_->GetEndValue(); in OnAnimation() 130 OnUpdate(value_, velocity in OnAnimation() [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | source-position.h | 48 : value_(0) { in SourcePosition() 70 bool IsExternal() const { return IsExternalField::decode(value_); } in IsExternal() 75 return ExternalLineField::decode(value_); in ExternalLine() 80 return ExternalFileIdField::decode(value_); in ExternalFileId() 94 return ScriptOffsetField::decode(value_) - 1; in ScriptOffset() 96 int InliningId() const { return InliningIdField::decode(value_) - 1; } in InliningId() 99 value_ = IsExternalField::update(value_, external); in SetIsExternal() 104 value_ = ExternalLineField::update(value_, lin in SetExternalLine() [all...] |
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_gatt_descriptor.cpp | 27 : handle_(0), permissions_(permissions), characteristic_(nullptr), value_(nullptr), length_(0), uuid_(uuid) in GattDescriptor() 31 : handle_(handle), permissions_(permissions), characteristic_(nullptr), value_(nullptr), length_(0), uuid_(uuid) in GattDescriptor() 38 value_(nullptr), in GattDescriptor() 42 if (length_ != 0 && src.value_ != nullptr) { in GattDescriptor() 43 value_ = std::make_unique<uint8_t[]>(length_); in GattDescriptor() 44 (void)memcpy_s(value_.get(), length_, src.value_.get(), length_); in GattDescriptor() 46 value_.reset(nullptr); in GattDescriptor() 60 if (length_ != 0 && src.value_ != nullptr) { in operator =() 61 value_ in operator =() [all...] |