Home
last modified time | relevance | path

Searched refs:data_ (Results 1 – 25 of 154) sorted by relevance

1234567

/foundation/graphic/standard/rosen/modules/render_service_base/include/common/
Drs_matrix3.h77 T data_[9] = { 0 };
96 data_[0] = m00; in Matrix3()
97 data_[1] = m01; in Matrix3()
98 data_[2] = m02; in Matrix3()
100 data_[3] = m10; in Matrix3()
101 data_[4] = m11; in Matrix3()
102 data_[5] = m12; in Matrix3()
104 data_[6] = m20; in Matrix3()
105 data_[7] = m21; in Matrix3()
106 data_[8] = m22; in Matrix3()
[all …]
Drs_vector4.h36 T data_[4]; member
103 data_[0] = x; in Vector4()
104 data_[1] = y; in Vector4()
105 data_[2] = z; in Vector4()
106 data_[3] = w; in Vector4()
112 std::copy_n(array, std::size(data_), data_); in Vector4()
121 return { -data_[0], -data_[1], -data_[2], -data_[3] }; in Flip()
174 const T* oData = other.data_; in Dot()
175 T sum = data_[0] * oData[0]; in Dot()
176 sum += data_[1] * oData[1]; in Dot()
[all …]
Drs_vector3.h33 T data_[3]; member
73 data_[0] = 0.0; in Vector3()
74 data_[1] = 0.0; in Vector3()
75 data_[2] = 0.0; in Vector3()
81 data_[0] = x; in Vector3()
82 data_[1] = y; in Vector3()
83 data_[2] = z; in Vector3()
89 data_[0] = v[0]; in Vector3()
90 data_[1] = v[1]; in Vector3()
91 data_[2] = v[2]; in Vector3()
[all …]
Drs_vector2.h32 T data_[2]; member
74 data_[0] = x; in Vector2()
75 data_[1] = y; in Vector2()
81 data_[0] = v[0]; in Vector2()
82 data_[1] = v[1]; in Vector2()
100 const T* oData = other.data_; in Dot()
101 T sum = data_[0] * oData[0]; in Dot()
102 sum += data_[1] * oData[1]; in Dot()
109 const T* oData = other.data_; in Cross()
111 return data_[0] * oData[1] - data_[1] * oData[0]; in Cross()
[all …]
Drs_rect.h35 T data_[4]; // 4 is size of data or structure member
40 data_[0] = 0; in RectT()
41 data_[1] = 0; in RectT()
42 data_[2] = 0; in RectT()
43 data_[3] = 0; in RectT()
47 data_[0] = left; in RectT()
48 data_[1] = top; in RectT()
49 data_[2] = width; in RectT()
50 data_[3] = height; in RectT()
54 data_[0] = v[0]; in RectT()
[all …]
/foundation/graphic/utils/interfaces/kits/gfx_utils/
Dgraphic_math.h215 T data_[3]; // 3: size for x,y,z member
235 data_[0] = x; in Vector3()
236 data_[1] = y; in Vector3()
237 data_[2] = z; // 2: index of z in Vector3()
249 return data_[index];
254 return data_[index];
279 T data_[4]; // 4: size for x,y,z,w member
291 data_[0] = x; in Vector4()
292 data_[1] = y; in Vector4()
293 data_[2] = z; // 2: index of z in Vector4()
[all …]
/foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/native_preferences/src/
Dpreferences_value.cpp22 data_ = value; in PreferencesValue()
27 data_ = value; in PreferencesValue()
32 data_ = value; in PreferencesValue()
37 data_ = value; in PreferencesValue()
42 data_ = value; in PreferencesValue()
47 data_ = value; in PreferencesValue()
52 data_ = std::move(value); in PreferencesValue()
57 auto pVal = std::get_if<int>(&data_); in IsInt()
63 auto pVal = std::get_if<int64_t>(&data_); in IsLong()
69 auto pVal = std::get_if<float>(&data_); in IsFloat()
[all …]
/foundation/ace/ace_engine/frameworks/core/event/
Dace_event_handler.h83 : data_(std::make_unique<Data>(eventId, eventType, pageId, isFront)) in data_() function
89 : data_(std::make_unique<Data>(std::move(func), eventType, pageId, isFront)) in data_() function
94 : data_(std::make_unique<Data>(std::move(func), eventType, pageId, isFront)) in data_() function
98 : data_(std::make_unique<Data>(std::move(func), eventType, pageId, isFront)) in data_() function
103 if (other.data_) { in EventMarker()
104 ContainerScope id(other.data_->instanceId); in EventMarker()
105 data_ = std::make_unique<Data>(*other.data_); in EventMarker()
113 data_ = other.data_ ? std::make_unique<Data>(*other.data_) : nullptr;
119 data_.release(); in Reset()
134 return !data_ || data_->eventId.empty(); in IsEmpty()
[all …]
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/utest/
Dmock_storage.ts19 private data_ = {}; property in MockStorage
32 this.data_ = JSON.parse(file);
35 this.data_ = {};
37 console.debug(`MockStorage: database opened: ${JSON.stringify(this.data_)}`);
46 console.debug(`MockStorage: get(${key}) returns ${this.data_[key]}`);
47 return this.data_[key];
57 this.data_[key] = val;
58 this.fs.writeFileSync(this.dbFileName_, JSON.stringify(this.data_));
66 this.data_ = {};
76 delete this.data_[key];
[all …]
/foundation/multimedia/media_standard/frameworks/innerkitsimpl/native/avcodeclist/
Davcodec_info.cpp79 : data_(capabilityData) in VideoCaps()
93 std::shared_ptr<AVCodecInfo> codecInfo = std::make_shared<AVCodecInfo>((data_)); in GetCodecInfo()
101 return data_.bitrate; in GetSupportedBitrate()
106 std::vector<int32_t> format = data_.format; in GetSupportedFormats()
113 return data_.alignment.maxVal; in GetSupportedHeightAlignment()
118 return data_.alignment.minVal; in GetSupportedWidthAlignment()
123 return data_.width; in GetSupportedWidth()
128 return data_.height; in GetSupportedHeight()
133 std::vector<int32_t> profiles = data_.profiles; in GetSupportedProfiles()
140 std::vector<int32_t> levels = data_.levels; in GetSupportedLevels()
[all …]
/foundation/ace/ace_engine/frameworks/core/components/option/
Drender_option.cpp72 if (!data_) { in OnBack()
76 auto clickCallback = data_->GetClickedCallback(); in OnBack()
87 if (!data_) { in OnFocus()
93 data_->SetFocused(false); in OnFocus()
94 data_->SetSelected(false); in OnFocus()
100 if (data_->GetIndex() != 0 || focusJumped_) { in OnFocus()
101 data_->SetFocused(true); in OnFocus()
117 data_->SetFocused(true); in OnFocus()
125 data_->SetFocused(true); in OnFocus()
167 if (!data_ || data_->GetDisabled()) { in OnClick()
[all …]
/foundation/multimodalinput/input/service/filter/src/
Devent_filter_parcel.cpp26 if (data_ == nullptr) { in Marshalling()
27 data_ = PointerEvent::Create(); in Marshalling()
29 CHKPF(data_); in Marshalling()
30 if (!data_->WriteToParcel(out)) { in Marshalling()
31 data_ = nullptr; in Marshalling()
44 if (request->data_ == nullptr) { in Unmarshalling()
45 request->data_ = PointerEvent::Create(); in Unmarshalling()
48 if (request->data_ == nullptr) { in Unmarshalling()
52 if (!request->data_->ReadFromParcel(in)) { in Unmarshalling()
53 request->data_ = nullptr; in Unmarshalling()
/foundation/ace/ace_engine/frameworks/core/components/menu/
Dmenu_element.cpp25 data_ = AceType::DynamicCast<MenuComponent>(component_); in PerformBuild()
26 if (!data_) { in PerformBuild()
31 auto popup = data_->GetPopup(); in PerformBuild()
51 if (!data_->GetOnCancel().IsEmpty()) { in PerformBuild()
52 …jsCancelCallback_ = AceAsyncEvent<void(const std::string&)>::Create(data_->GetOnCancel(), context_… in PerformBuild()
54 if (!data_->GetOnSuccess().IsEmpty()) { in PerformBuild()
55 …jsSuccessCallback_ = AceAsyncEvent<void(const std::string&)>::Create(data_->GetOnSuccess(), contex… in PerformBuild()
58 data_->SetTargetCallback( in PerformBuild()
59 …[weak = WeakClaim(this), isContextMenu = data_->IsContextMenu()](const ComposeId& id, const Offset… in PerformBuild()
87 if (!data_ || !data_->GetPopup()) { in OnTargetCallback()
[all …]
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/interfaces/src/
Dkv_store_nb_conflict_data_impl.cpp25 return static_cast<KvStoreNbConflictType>(data_.type); in GetType()
30 key = data_.key; in GetKey()
40 value = data_.oldData.value; in GetValue()
42 value = data_.newData.value; in GetValue()
51 return data_.oldData.isDeleted; in IsDeleted()
53 return data_.newData.isDeleted; in IsDeleted()
60 return data_.oldData.isLocal; in IsNative()
62 return data_.newData.isLocal; in IsNative()
68 data_ = conflictData; in SetConflictData()
/foundation/communication/bluetooth/services/bluetooth_standard/server/src/
Dbluetooth_pbap_pce_server.cpp32 data_.SetName(other.GetName()); in IPbapPullPhoneBookParamAdapter()
33 data_.SetPropertySelector(other.GetPropertySelector()); in IPbapPullPhoneBookParamAdapter()
34 data_.SetFormat(other.GetFormat()); in IPbapPullPhoneBookParamAdapter()
35 data_.SetMaxListCount(other.GetMaxListCount()); in IPbapPullPhoneBookParamAdapter()
36 data_.SetListStartOffset(other.GetListStartOffset()); in IPbapPullPhoneBookParamAdapter()
37 data_.SetResetNewMissedCalls(other.GetResetNewMissedCalls()); in IPbapPullPhoneBookParamAdapter()
38 data_.SetvCardSelector(other.GetvCardSelector()); in IPbapPullPhoneBookParamAdapter()
39 data_.SetvCardSelectorOp(other.GetvCardSelectorOp()); in IPbapPullPhoneBookParamAdapter()
40 data_.SetSpecifiedBitset(other.GetSpecifiedBitset()); in IPbapPullPhoneBookParamAdapter()
45 return data_; in operator bluetooth::IPbapPullPhoneBookParam()
[all …]
/foundation/ace/ace_engine/frameworks/core/components/picker/
Drender_picker_base.cpp84 data_ = picker; in Update()
85 SetInterceptTouchEvent(!data_->GetSubsidiary()); in Update()
86 data_->OnColumnsCreating(); in Update()
87 onCancelCallback_ = AceAsyncEvent<void()>::Create(data_->GetOnCancel(), context_); in Update()
88 …onChangeCallback_ = AceAsyncEvent<void(const std::string&)>::Create(data_->GetOnChange(), context_… in Update()
89 …onColumnChangeCallback_ = AceAsyncEvent<void(const std::string&)>::Create(data_->GetOnColumnChange… in Update()
90 …onDialogAccept_ = AceAsyncEvent<void(const std::string&)>::Create(data_->GetDialogAcceptEvent(), c… in Update()
91 onDialogCancel_ = AceAsyncEvent<void()>::Create(data_->GetDialogCancelEvent(), context_); in Update()
92 …onDialogChange_ = AceAsyncEvent<void(const std::string&)>::Create(data_->GetDialogChangeEvent(), c… in Update()
107 data_->SetFinishCallback([weak = WeakClaim(this)](bool success) { in Update()
[all …]
Drender_picker_column.cpp49 data_ = column; in Update()
67 if (!data_) { in HandleFinished()
72 if (!data_->GetInDialog()) { in HandleFinished()
76 data_->HandleFinishCallback(success); in HandleFinished()
95 if (!data_) { in GetColumnTag()
100 return data_->GetColumnTag(); in GetColumnTag()
105 if (!data_) { in GetWidthRatio()
110 return data_->GetWidthRatio(); in GetWidthRatio()
157 if (!data_ || !data_->GetOptionCount()) { in InnerHandleScroll()
166 uint32_t totalOptionCount = data_->GetOptionCount(); in InnerHandleScroll()
[all …]
/foundation/distributedhardware/distributedscreen/services/common/databuffer/src/
Ddata_buffer.cpp25 data_ = new (std::nothrow) uint8_t[capacity] {0}; in DataBuffer()
26 if (data_ != nullptr) { in DataBuffer()
34 if (data_ != nullptr) { in ~DataBuffer()
35 delete []data_; in ~DataBuffer()
36 data_ = nullptr; in ~DataBuffer()
49 return data_; in Data()
/foundation/ace/ace_engine/frameworks/bridge/codec/
Dcodec_data.h56 explicit CodecData(int32_t val) : type_(BufferDataType::TYPE_INT), data_(val) {} in CodecData()
57 explicit CodecData(int32_t val, BufferDataType type) : type_(type), data_(val) {} in CodecData()
58 explicit CodecData(int64_t val) : type_(BufferDataType::TYPE_LONG), data_(val) {} in CodecData()
59 explicit CodecData(double val) : type_(BufferDataType::TYPE_DOUBLE), data_(val) {} in CodecData()
61 explicit CodecData(const std::string& val) : type_(BufferDataType::TYPE_STRING), data_(val) {} in CodecData()
62 explicit CodecData(const std::string& val, BufferDataType type) : type_(type), data_(val) {} in CodecData()
63 …ata(const std::map<std::string, std::string>& val) : type_(BufferDataType::TYPE_MAP), data_(val) {} in CodecData()
64 …explicit CodecData(const std::set<std::string>& val) : type_(BufferDataType::TYPE_SET), data_(val)… in CodecData()
65 …t CodecData(const std::vector<int8_t>& val) : type_(BufferDataType::TYPE_INT8_ARRAY), data_(val) {} in CodecData()
66 …CodecData(const std::vector<int16_t>& val) : type_(BufferDataType::TYPE_INT16_ARRAY), data_(val) {} in CodecData()
[all …]
/foundation/graphic/ui/frameworks/draw/
Dclip_utils.cpp111 switch (iter->data_) { in GeneratePolygon()
120 PointF end = pointIter->data_; in GeneratePolygon()
131 s.b = pointIter->data_; in GeneratePolygon()
136 s.c = pointIter->data_; in GeneratePolygon()
141 s.d = pointIter->data_; in GeneratePolygon()
156 if ((cmd_.Size() != 0) && (cmd_.Tail()->data_ == CMD_MOVE_TO)) { in MoveTo()
157 points_.Tail()->data_ = point; in MoveTo()
301 DrawHorLine(index, yCur, iter->data_.left - index, OPA_TRANSPARENT); in DrawHorSpan()
302 … DrawHorLine(iter->data_.left, yCur, iter->data_.right - iter->data_.left + 1, iter->data_.opa); in DrawHorSpan()
303 index = iter->data_.right + 1; in DrawHorSpan()
[all …]
/foundation/ace/ace_engine_lite/frameworks/src/core/base/
Dlazy_load_manager.cpp37 if (node->data_ != nullptr) { in ResetWatchers()
38 delete node->data_; in ResetWatchers()
39 node->data_ = nullptr; in ResetWatchers()
51 if (node->data_ != nullptr) { in RenderLazyLoadWatcher()
53 RenderSingleLazyWatcher(*(node->data_)); in RenderLazyLoadWatcher()
54 delete node->data_; in RenderLazyLoadWatcher()
55 node->data_ = nullptr; in RenderLazyLoadWatcher()
122 if (node->data_ == nullptr) { in RemoveLazyWatcher()
126 if (node->data_->GetNativeElement() == nativeElement) { in RemoveLazyWatcher()
128 delete node->data_; in RemoveLazyWatcher()
[all …]
/foundation/ace/ace_engine/frameworks/core/components/progress/
Dprogress_component.h62 data_.SetValue(value); in SetValue()
67 return data_.GetValue(); in GetValue()
72 data_.SetCachedValue(cachedValue); in SetCachedValue()
77 return data_.GetCachedValue(); in GetCachedValue()
82 data_.SetMaxValue(max); in SetMaxValue()
87 return data_.GetMaxValue(); in GetMaxValue()
92 data_.SetMinValue(min); in SetMinValue()
97 return data_.GetMinValue(); in GetMinValue()
176 ProgressData data_;
/foundation/ace/ace_engine/frameworks/core/components/slider/
Dslider_component.h53 return data_.GetMinValue(); in GetMinValue()
58 return data_.GetMaxValue(); in GetMaxValue()
63 return data_.GetStepValue(); in GetStep()
68 return data_.GetValue(); in GetValue()
113 data_.SetValue(newValue); in SetCurrentValue()
118 data_.SetMinValue(minValue); in SetMinValue()
123 data_.SetMaxValue(minValue); in SetMaxValue()
128 data_.SetStepValue(minValue); in SetStepValue()
133 return data_.MoveSteps(num); in MoveSteps()
222 ProgressData data_;
/foundation/ace/ace_engine/frameworks/core/components/web/resource/
Dweb_javascript_value.h67 return data_.b; in GetBoolean()
72 data_.b = value; in SetBoolean()
87 data_.f = value; in SetDouble()
92 return data_.f; in GetDouble()
97 data_.n = value; in SetInt()
102 return data_.n; in GetInt()
129 WebJSValueUnion data_; variable
/foundation/communication/bluetooth/interfaces/innerkits/native_cpp/framework/src/
Dbluetooth_pbap_pce.cpp316 data_.SetName(other.GetName()); in BluetoothIPbapPullPhoneBookParamAdapter()
317 data_.SetPropertySelector(other.GetPropertySelector()); in BluetoothIPbapPullPhoneBookParamAdapter()
318 data_.SetFormat(other.GetFormat()); in BluetoothIPbapPullPhoneBookParamAdapter()
319 data_.SetMaxListCount(other.GetMaxListCount()); in BluetoothIPbapPullPhoneBookParamAdapter()
320 data_.SetListStartOffset(other.GetListStartOffset()); in BluetoothIPbapPullPhoneBookParamAdapter()
321 data_.SetResetNewMissedCalls(other.GetResetNewMissedCalls()); in BluetoothIPbapPullPhoneBookParamAdapter()
322 data_.SetvCardSelector(other.GetvCardSelector()); in BluetoothIPbapPullPhoneBookParamAdapter()
323 data_.SetvCardSelectorOp(other.GetvCardSelectorOp()); in BluetoothIPbapPullPhoneBookParamAdapter()
324 data_.SetSpecifiedBitset(other.GetSpecifiedBitset()); in BluetoothIPbapPullPhoneBookParamAdapter()
329 return data_; in operator BluetoothIPbapPullPhoneBookParam()
[all …]

1234567