Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 1402) sorted by relevance

12345678910>>...57

/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dvalue_object.cpp30 ValueObject::ValueObject(Type val) noexcept : value(std::move(val)) in ValueObject() argument
58 ValueObject::ValueObject(int64_t val) : value(val) in ValueObject() argument
62 ValueObject::ValueObject(double val) : value(val) in ValueObject() argument
66 ValueObject::ValueObject(bool val) : value(val) in ValueObject() argument
70 ValueObject::ValueObject(std::string val) : value(std::move(val)) in ValueObject() argument
125 val = value; in GetInt()
204 return val;
221 return val;
245 val = val - int64_t(val); in GetPrecision()
252 val -= int64_t(val); in GetPrecision()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_marshalling_helper_test.cpp145 Drawing::Bitmap val; variable
158 Drawing::Bitmap val; variable
538 EmitterConfig val; variable
551 EmitterConfig val; variable
677 auto val = variable
967 RRectT<float> val; variable
1239 int val = 0; variable
1252 int val = 0; variable
1291 int val = 0; variable
1378 val[0] = "0";
[all …]
/ohos5.0/base/hiviewdfx/hiview/base/event_raw/include/encoded/
H A Draw_data_builder.h105 return AppendArrayValue(key, val); in AppendValue()
155 RawDataBuilder& UpdateId(const T val) in UpdateId() argument
158 return AppendId(val); in UpdateId()
233 for (auto item : val) { in AppendArrayValue()
240 for (auto item : val) { in AppendArrayValue()
247 for (auto item : val) { in AppendArrayValue()
291 return this->UpdateId(val); in InitIdInfoAppendHandlers()
294 return this->UpdatePid(val); in InitIdInfoAppendHandlers()
297 return this->UpdateTid(val); in InitIdInfoAppendHandlers()
300 return this->UpdateUid(val); in InitIdInfoAppendHandlers()
[all …]
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/cxx/
H A Dparcel_wrapper.cpp111 bool ReadString(Parcel &parcel, rust::string &val) in ReadString() argument
115 val = v; in ReadString()
122 bool WriteString(Parcel &parcel, const rust::str val) in WriteString() argument
124 auto s = std::string(val); in WriteString()
128 bool WriteString16(Parcel &parcel, const rust::str val) in WriteString16() argument
143 for (auto i : val) { in RustVec2CppVec()
199 for (auto rust_s : val) { in WriteStringVector()
208 for (auto rust_s : val) { in WriteString16Vector()
222 val.push_back(i); in ReadVector()
279 val.push_back(s.data()); in ReadStringVector()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_marshalling_helper.cpp108 if (!val) { in MarshallingRecordCmdFromDrawCmdList()
134 if (!val) { in UnmarshallingRecordCmdToDrawCmdList()
165 if (!val) { in MarshallingExtendObjectFromDrawCmdList()
191 if (!val) { in UnmarshallingExtendObjectToDrawCmdList()
219 if (!val) { in Marshalling()
292 if (success && val && val->GetSize() < MIN_DATA_SIZE) { in UnmarshallingWithCopy()
293 val->BuildWithCopy(val->GetData(), val->GetSize()); in UnmarshallingWithCopy()
585 if (!val || !val->GetDrawingShader()) { in Marshalling()
1240 val = in Unmarshalling()
1500val->GetByteCount(), 0, 0, val->GetUniqueId(), MEMORY_TYPE::MEM_PIXELMAP, val->GetAllocatorType(),… in Unmarshalling()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/
H A Dsvg_animate_declaration.cpp46 if (val == "indefinite") { in SetAnimateAttr()
58 if (val == "indefinite") { in SetAnimateAttr()
66 declaration.SetFillMode(val); in SetAnimateAttr()
70 declaration.SetCalcMode(val); in SetAnimateAttr()
79 if (val.empty()) { in SetAnimateAttr()
87 if (val.empty()) { in SetAnimateAttr()
95 declaration.SetFrom(val); in SetAnimateAttr()
99 declaration.SetTo(val); in SetAnimateAttr()
107 if (val.empty()) { in SetAnimateAttr()
116 declaration.SetPath(val); in SetAnimateAttr()
[all …]
H A Dsvg_gradient_declaration.cpp57 declaration.SetCx(declaration.ParseDimension(val)); in SetSpecializedValue()
61 declaration.SetCy(declaration.ParseDimension(val)); in SetSpecializedValue()
73 declaration.SetTransform(val); in SetSpecializedValue()
77 declaration.SetTransform(val); in SetSpecializedValue()
81 declaration.SetR(declaration.ParseDimension(val)); in SetSpecializedValue()
85 if (val == "pad") { in SetSpecializedValue()
88 if (val == "reflect") { in SetSpecializedValue()
91 if (val == "repeat") { in SetSpecializedValue()
97 if (val == "pad") { in SetSpecializedValue()
100 if (val == "reflect") { in SetSpecializedValue()
[all …]
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/
H A DTestBitReader.cpp47 uint32_t val = 0; variable
49 EXPECT_EQ(val, 0xf);
52 EXPECT_EQ(val, 0xf1);
65 uint32_t val = 0; variable
67 EXPECT_EQ(val, 0xf);
80 uint32_t val = 0; variable
82 EXPECT_EQ(val, 0xf);
84 EXPECT_EQ(val, 0xf);
96 uint32_t val = 0; variable
98 EXPECT_EQ(val, 0xf);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_animation.cpp61 if (val == "indefinite") { in SetAttr()
73 if (val == "indefinite") { in SetAttr()
87 if (val == "discrete") { in SetAttr()
89 } else if (val == "paced") { in SetAttr()
91 } else if (val == "spline") { in SetAttr()
106 if (val.empty()) { in SetAttr()
115 if (val.empty()) { in SetAttr()
124 animateComponent->SetFrom(val); in SetAttr()
128 animateComponent->SetTo(val); in SetAttr()
136 if (val.empty()) { in SetAttr()
[all …]
/ohos5.0/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_wrote_result_check_test.cpp102 val); in WriteAndWatchEvent()
143 bool val = true; variable
171 return ret == val; in __anon1cb05ef20302()
192 return ret == val; in __anon1cb05ef20402()
206 double val = 30949.374; variable
233 return ret == val; in __anon1cb05ef20602()
375 float val = 230.47; variable
443 double val = -3.5; variable
490 return ret == val; in __anon1cb05ef21102()
511 return ret == val; in __anon1cb05ef21202()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_color_palette.h29 return val; in Black()
35 return val; in Blue()
41 return val; in Cyan()
47 return val; in DarkGray()
53 return val; in Gray()
59 return val; in Green()
65 return val; in LightGray()
71 return val; in Magenta()
77 return val; in Red()
83 return val; in Transparent()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_marshalling_helper.cpp55 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const TYPE& val) \
59 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, TYPE& val) \
145 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const Drawing::Matrix& val) in Marshalling() argument
150 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, Drawing::Matrix& val) in Unmarshalling() argument
226 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const EmitterConfig& val) in Marshalling() argument
231 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, EmitterConfig& val) in Unmarshalling() argument
236 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const ParticleVelocity& val) in Marshalling() argument
241 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, ParticleVelocity& val) in Unmarshalling() argument
356 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const RRectT<float>& val) in Marshalling() argument
360 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, RRectT<float>& val) in Unmarshalling() argument
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
H A Drs_marshalling_helper.cpp57 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const TYPE& val) \
61 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, TYPE& val) \
149 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const Drawing::Matrix& val) in Marshalling() argument
154 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, Drawing::Matrix& val) in Unmarshalling() argument
231 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const EmitterConfig& val) in Marshalling() argument
235 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, EmitterConfig& val) in Unmarshalling() argument
239 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const ParticleVelocity& val) in Marshalling() argument
243 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, ParticleVelocity& val) in Unmarshalling() argument
357 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const RRectT<float>& val) in Marshalling() argument
361 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, RRectT<float>& val) in Unmarshalling() argument
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/swiper/
H A Dswiper_declaration.cpp58 …[](const std::string& val, SwiperDeclaration& swiper) { swiper.SetAnimationOpacity(StringToBool(va… in SetSpecializedAttr()
60 …[](const std::string& val, SwiperDeclaration& swiper) { swiper.SetAutoPlay(StringToBool(val)); } }, in SetSpecializedAttr()
66 …[](const std::string& val, SwiperDeclaration& swiper) { swiper.SetDigitalIndicator(StringToBool(va… in SetSpecializedAttr()
69 if (val == DOM_DISPLAY_MODE_AUTO_LINEAR) { in SetSpecializedAttr()
76 …[](const std::string& val, SwiperDeclaration& swiper) { swiper.SetDuration(StringToDouble(val)); }… in SetSpecializedAttr()
78 …[](const std::string& val, SwiperDeclaration& swiper) { swiper.SetIndex(StringUtils::StringToInt(v… in SetSpecializedAttr()
80 …[](const std::string& val, SwiperDeclaration& swiper) { swiper.showIndicator_ = StringToBool(val);… in SetSpecializedAttr()
89 { DOM_INTERVAL, [](const std::string& val, in SetSpecializedAttr()
91 …{ DOM_LOOP, [](const std::string& val, SwiperDeclaration& swiper) { swiper.SetLoop(StringToBool(va… in SetSpecializedAttr()
93 if (val == DOM_SCROLL_EFFECT_SPRING) { in SetSpecializedAttr()
[all …]
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_memory.cpp81 val = reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(val) + copyBytes); in Read()
188 *val = addr + offset; in ReadPrel31()
194 uint64_t val = 0; in ReadUleb128() local
205 return val; in ReadUleb128()
210 uint64_t val = 0; in ReadSleb128() local
255 uintptr_t val = 0; in ReadEncodedValue() local
257 return val; in ReadEncodedValue()
260 return val; in ReadEncodedValue()
264 return val; in ReadEncodedValue()
270 return val; in ReadEncodedValue()
[all …]
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_v2_protocol/
H A Dpake_v2_protocol_common.c41 HcFree(params->salt.val); in DestroyPakeV2BaseParams()
42 params->salt.val = NULL; in DestroyPakeV2BaseParams()
57 params->idSelf.val = NULL; in DestroyPakeV2BaseParams()
113 params->psk.val = NULL; in FillDefaultValue()
125 params->base.val = NULL; in FillDefaultValue()
239 HcFree(idSelfMsg.val); in ComputeSidSelf()
271 HcFree(idPeerMsg.val); in ComputeSidPeer()
315 if (memcpy_s(sid->val, sid->length, maxId->val, maxId->length) != EOK) { in ComputeSid()
326 HcFree(sidSelf.val); in ComputeSid()
327 HcFree(sidPeer.val); in ComputeSid()
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/test/unittest/common/
H A Ddialog_tdd_test.cpp288 ACE_FREE(val); in DialogTest001()
305 ACE_FREE(val); in DialogTest001()
318 ACE_FREE(val); in DialogTest002()
335 ACE_FREE(val); in DialogTest002()
353 ACE_FREE(val); in DialogTest002()
366 ACE_FREE(val); in DialogTest003()
383 ACE_FREE(val); in DialogTest003()
401 ACE_FREE(val); in DialogTest003()
419 ACE_FREE(val); in DialogTest003()
432 ACE_FREE(val); in DialogTest004()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/
H A Drs_marshalling_helper.h143 int size = val.size(); in MarshallingVec()
161 val.clear(); in UnmarshallingVec()
167 val.push_back(tmp); in UnmarshallingVec()
175 int size = val.size(); in MarshallingVec2()
193 val.clear(); in UnmarshallingVec2()
320 val.clear(); in Unmarshalling()
352 val.clear(); in Unmarshalling()
379 val.reset(); in Unmarshalling()
386 val = value; in Unmarshalling()
393 return Marshalling(parcel, val.first) && Marshalling(parcel, val.second); in Marshalling()
[all …]
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_v1_protocol/
H A Dpake_v1_protocol_common.c37 HcFree(params->salt.val); in DestroyPakeV1BaseParams()
38 params->salt.val = NULL; in DestroyPakeV1BaseParams()
47 params->epkSelf.val = NULL; in DestroyPakeV1BaseParams()
50 params->epkPeer.val = NULL; in DestroyPakeV1BaseParams()
53 params->kcfData.val = NULL; in DestroyPakeV1BaseParams()
58 HcFree(params->idSelf.val); in DestroyPakeV1BaseParams()
59 params->idSelf.val = NULL; in DestroyPakeV1BaseParams()
62 params->idPeer.val = NULL; in DestroyPakeV1BaseParams()
123 params->psk.val = NULL; in FillDefaultValue()
131 params->base.val = NULL; in FillDefaultValue()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/text/
H A Dtext_declaration.cpp73 [](const std::string& val, TextDeclaration& declaration) { in SetSpecializedStyle()
80 [](const std::string& val, TextDeclaration& declaration) { in SetSpecializedStyle()
87 [](const std::string& val, TextDeclaration& declaration) { in SetSpecializedStyle()
91 const auto& color = val.empty() ? Color::BLACK : declaration.ParseColor(val); in SetSpecializedStyle()
97 [](const std::string& val, TextDeclaration& declaration) { in SetSpecializedStyle()
104 [](const std::string& val, TextDeclaration& declaration) { in SetSpecializedStyle()
115 … auto fontSize = val.empty() ? DEFAULT_FONT_SIZE : declaration.ParseDimension(val); in SetSpecializedStyle()
158 if (val == "normal") { in SetSpecializedStyle()
184 declaration.SetAutoMaxLines(val == DOM_AUTO); in SetSpecializedStyle()
273 if (val == "normal") { in SetSpecializedStyle()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_bigint_test.cpp103 if (val != nullptr) {
109 if (val != nullptr) {
137 if (val != nullptr) {
143 if (val != nullptr) {
173 if (val != nullptr) {
179 if (val != nullptr) {
208 if (val != nullptr) {
215 if (val != nullptr) {
245 if (val != nullptr) {
251 if (val != nullptr) {
[all …]
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/include/
H A Dparcel_wrapper.h45 bool WriteString(Parcel &parcel, const rust::str val);
46 bool ReadString(Parcel &parcel, rust::string &val);
48 bool WriteString16(Parcel &parcel, const rust::str val);
68 bool ReadBoolVector(Parcel &parcel, rust::vec<bool> &val);
69 bool ReadInt8Vector(Parcel &parcel, rust::vec<int8_t> &val);
70 bool ReadInt16Vector(Parcel &parcel, rust::vec<int16_t> &val);
71 bool ReadInt32Vector(Parcel &parcel, rust::vec<int32_t> &val);
72 bool ReadInt64Vector(Parcel &parcel, rust::vec<int64_t> &val);
73 bool ReadUInt8Vector(Parcel &parcel, rust::vec<uint8_t> &val);
77 bool ReadFloatVector(Parcel &parcel, rust::vec<float> &val);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_animation.cpp84 if (val == "indefinite") { in SetAttr()
104 attr.fillMode = val; in SetAttr()
108 attr.calcMode = val; in SetAttr()
116 if (val.empty()) { in SetAttr()
123 if (val.empty()) { in SetAttr()
130 attr.from = val; in SetAttr()
134 attr.to = val; in SetAttr()
142 if (val.empty()) { in SetAttr()
149 attr.path = val; in SetAttr()
153 attr.rotate = val; in SetAttr()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_textarea.cpp98 { DOM_AUTO_FOCUS, [](const std::string& val, in SetSpecializedAttr()
101 … [](const std::string& val, DOMTextarea& textarea) { textarea.textAreaChild_->SetValue(val); } }, in SetSpecializedAttr()
102 { DOM_DISABLED, [](const std::string& val, in SetSpecializedAttr()
105 [](const std::string& val, DOMTextarea& textarea) { in SetSpecializedAttr()
109 …[](const std::string& val, DOMTextarea& textarea) { textarea.textAreaChild_->SetPlaceholder(val); … in SetSpecializedAttr()
112 int32_t tmp = StringUtils::StringToInt(val); in SetSpecializedAttr()
124 { DOM_TEXTAREA_EXTEND, [](const std::string& val, in SetSpecializedAttr()
131 …[](const std::string& val, DOMTextarea& textarea) { textarea.textAreaChild_->SetIconImage(val); } … in SetSpecializedAttr()
185 { DOM_TEXT_ALLOW_SCALE, [](const std::string& val, in SetSpecializedStyle()
198 if (Edge::FromString(val, padding)) { in SetSpecializedStyle()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/cj/src/
H A Drelational_store_utils.cpp128 object.GetAsset(val); in ValueObjectToValueTypeAsset()
136 .status = val.status in ValueObjectToValueTypeAsset()
144 object.GetAssets(val); in ValueObjectToValueTypeAssets()
169 int64_t val; in ValueObjectToValueType() local
170 object.GetLong(val); in ValueObjectToValueType()
174 double val; in ValueObjectToValueType() local
175 object.GetDouble(val); in ValueObjectToValueType()
179 std::string val; in ValueObjectToValueType() local
184 bool val; in ValueObjectToValueType() local
185 object.GetBool(val); in ValueObjectToValueType()
[all …]

12345678910>>...57