Home
last modified time | relevance | path

Searched refs:val (Results 1 - 25 of 1238) sorted by relevance

12345678910>>...50

/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dvalue_object.cpp30 ValueObject::ValueObject(Type val) noexcept : value(std::move(val)) in move()
34 ValueObject::ValueObject(ValueObject &&val) noexcept
36 if (this == &val) {
39 value = std::move(val.value);
42 ValueObject::ValueObject(const ValueObject &val) in ValueObject() argument
44 if (this == &val) { in ValueObject()
47 value = val.value; in ValueObject()
54 ValueObject::ValueObject(int val) : value(static_cast<int64_t>(val)) in ValueObject() argument
58 ValueObject(int64_t val) ValueObject() argument
62 ValueObject(double val) ValueObject() argument
66 ValueObject(bool val) ValueObject() argument
70 ValueObject(std::string val) ValueObject() argument
74 ValueObject(const char *val) ValueObject() argument
78 ValueObject(const std::vector<uint8_t> &val) ValueObject() argument
82 ValueObject(ValueObject::Asset val) ValueObject() argument
86 ValueObject(ValueObject::Assets val) ValueObject() argument
90 ValueObject(ValueObject::BigInt val) ValueObject() argument
94 ValueObject(ValueObject::FloatVector val) ValueObject() argument
107 operator =(const ValueObject &val) operator =() argument
192 int64_t val = 0L; operator int64_t() local
209 double val = 0.0L; operator double() local
226 bool val = false; operator bool() local
241 GetPrecision(double val) GetPrecision() argument
259 std::string val; operator std::string() local
282 Blob val; operator Blob() local
295 auto val = std::get_if<Asset>(&value); operator Asset() local
304 auto val = std::get_if<Assets>(&value); operator Assets() local
313 auto val = std::get_if<FloatVector>(&value); operator FloatVector() local
322 auto val = std::get_if<BigInt>(&value); operator BigInt() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_color_palette.h28 static RSColor val { 0, 0, 0 }; in Black()
29 return val; in Black()
34 static RSColor val { 0, 0, 255 }; in Blue()
35 return val; in Blue()
40 static RSColor val { 0, 255, 255 }; in Cyan()
41 return val; in Cyan()
46 static RSColor val { 68, 68, 68 }; in DarkGray()
47 return val; in DarkGray()
52 static RSColor val { 136, 136, 136 }; in Gray()
53 return val; in Gray()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/
H A Dsvg_animate_declaration.cpp41 [](const std::string& val, SvgAnimateDeclaration& declaration) { in SetAnimateAttr()
42 declaration.SetBegin(ConvertTimeStr(val)); in SetAnimateAttr()
45 [](const std::string& val, SvgAnimateDeclaration& declaration) { in SetAnimateAttr()
46 if (val == "indefinite") { in SetAnimateAttr()
49 declaration.SetDur(ConvertTimeStr(val)); in SetAnimateAttr()
53 [](const std::string& val, SvgAnimateDeclaration& declaration) { in SetAnimateAttr()
54 declaration.SetEnd(ConvertTimeStr(val)); in SetAnimateAttr()
57 [](const std::string& val, SvgAnimateDeclaration& declaration) { in SetAnimateAttr()
58 if (val == "indefinite") { in SetAnimateAttr()
61 declaration.SetRepeatCount(StringToInt(val)); in SetAnimateAttr()
[all...]
H A Dsvg_gradient_declaration.cpp56 [](const std::string& val, SvgGradientDeclaration& declaration) { in SetSpecializedValue()
57 declaration.SetCx(declaration.ParseDimension(val)); in SetSpecializedValue()
60 [](const std::string& val, SvgGradientDeclaration& declaration) { in SetSpecializedValue()
61 declaration.SetCy(declaration.ParseDimension(val)); in SetSpecializedValue()
64 [](const std::string& val, SvgGradientDeclaration& declaration) { in SetSpecializedValue()
65 declaration.SetFx(declaration.ParseDimension(val)); in SetSpecializedValue()
68 [](const std::string& val, SvgGradientDeclaration& declaration) { in SetSpecializedValue()
69 declaration.SetFy(declaration.ParseDimension(val)); in SetSpecializedValue()
72 [](const std::string& val, SvgGradientDeclaration& declaration) { in SetSpecializedValue()
73 declaration.SetTransform(val); in SetSpecializedValue()
[all...]
H A Dsvg_pattern_declaration.cpp39 [](const std::string& val, SvgPatternDeclaration& declaration) { in SetSpecializedAttr()
40 declaration.SetHeight(declaration.ParseDimension(val)); in SetSpecializedAttr()
43 [](const std::string& val, SvgPatternDeclaration& declaration) { in SetSpecializedAttr()
44 declaration.SetPatternContentUnits(val); in SetSpecializedAttr()
47 [](const std::string& val, SvgPatternDeclaration& declaration) { in SetSpecializedAttr()
48 declaration.SetPresentationAttr(std::make_pair(DOM_TRANSFORM, val)); in SetSpecializedAttr()
51 [](const std::string& val, SvgPatternDeclaration& declaration) { in SetSpecializedAttr()
52 declaration.SetPatternUnits(val); in SetSpecializedAttr()
55 [](const std::string& val, SvgPatternDeclaration& declaration) { in SetSpecializedAttr()
56 if (val in SetSpecializedAttr()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_marshalling_helper_test.cpp86 std::shared_ptr<Drawing::Data> val; in HWTEST_F() local
87 EXPECT_TRUE(RSMarshallingHelper::Marshalling(parcel, val)); in HWTEST_F()
88 val = std::make_shared<Drawing::Data>(); in HWTEST_F()
89 EXPECT_TRUE(RSMarshallingHelper::Marshalling(parcel, val)); in HWTEST_F()
90 val->BuildUninitialized(1); in HWTEST_F()
91 EXPECT_TRUE(RSMarshallingHelper::Marshalling(parcel, val)); in HWTEST_F()
103 std::shared_ptr<Drawing::Data> val; in HWTEST_F() local
104 EXPECT_TRUE(RSMarshallingHelper::Unmarshalling(parcel, val)); in HWTEST_F()
106 EXPECT_TRUE(RSMarshallingHelper::Unmarshalling(parcel, val)); in HWTEST_F()
108 EXPECT_FALSE(RSMarshallingHelper::Unmarshalling(parcel, val)); in HWTEST_F()
135 auto val = std::make_shared<Drawing::Data>(); HWTEST_F() local
150 Drawing::Bitmap val; HWTEST_F() local
163 Drawing::Bitmap val; HWTEST_F() local
204 std::shared_ptr<Drawing::Image> val; HWTEST_F() local
236 auto val = std::make_shared<Drawing::Image>(); HWTEST_F() local
250 auto val = std::make_shared<Drawing::Image>(); HWTEST_F() local
263 std::shared_ptr<Drawing::Image> val; HWTEST_F() local
299 std::shared_ptr<RSShader> val; HWTEST_F() local
317 std::shared_ptr<RSShader> val; HWTEST_F() local
334 Drawing::Matrix val; HWTEST_F() local
347 Drawing::Matrix val; HWTEST_F() local
368 auto val = std::make_shared<RSLinearGradientBlurPara>(blurRadius, fractionStops, GradientDirection::LEFT); HWTEST_F() local
381 std::shared_ptr<RSLinearGradientBlurPara> val; HWTEST_F() local
399 auto val = std::make_shared<EmitterUpdater>(emitterIndex); HWTEST_F() local
412 std::shared_ptr<EmitterUpdater> val; HWTEST_F() local
425 std::vector<std::shared_ptr<EmitterUpdater>> val; HWTEST_F() local
441 std::vector<std::shared_ptr<EmitterUpdater>> val; HWTEST_F() local
458 auto val = std::make_shared<ParticleNoiseField>(1, ShapeType::RECT, fieldSize, fieldCenter, 1, 1.0f, 1.0f, 1.0f); HWTEST_F() local
471 std::shared_ptr<ParticleNoiseField> val; HWTEST_F() local
485 auto val = std::make_shared<MotionBlurParam>(1.0f, anchor); HWTEST_F() local
498 std::shared_ptr<MotionBlurParam> val; HWTEST_F() local
511 auto val = std::make_shared<ParticleNoiseFields>(); HWTEST_F() local
528 std::shared_ptr<ParticleNoiseFields> val; HWTEST_F() local
543 EmitterConfig val; HWTEST_F() local
556 EmitterConfig val; HWTEST_F() local
569 ParticleVelocity val; HWTEST_F() local
582 ParticleVelocity val; HWTEST_F() local
618 RenderParticleParaType<float> val; HWTEST_F() local
660 RenderParticleColorParaType val; HWTEST_F() local
682 auto val = HWTEST_F() local
696 std::shared_ptr<ParticleRenderParams> val; HWTEST_F() local
709 std::vector<std::shared_ptr<ParticleRenderParams>> val; HWTEST_F() local
724 std::vector<std::shared_ptr<ParticleRenderParams>> val; HWTEST_F() local
739 std::shared_ptr<RSPath> val; HWTEST_F() local
755 std::shared_ptr<RSPath> val; HWTEST_F() local
772 std::shared_ptr<RSMask> val; HWTEST_F() local
789 std::shared_ptr<RSMask> val = RSMask::CreateGradientMask(maskBrush); HWTEST_F() local
804 std::shared_ptr<RSFilter> val; HWTEST_F() local
825 std::shared_ptr<RSFilter> val; HWTEST_F() local
838 std::shared_ptr<RSImageBase> val; HWTEST_F() local
853 std::shared_ptr<RSImageBase> val = std::make_shared<RSImageBase>(); HWTEST_F() local
868 std::shared_ptr<RSImage> val; HWTEST_F() local
883 std::shared_ptr<RSImage> val = std::make_shared<RSImage>(); HWTEST_F() local
898 std::shared_ptr<Media::PixelMap> val; HWTEST_F() local
913 std::shared_ptr<Media::PixelMap> val = std::make_shared<Media::PixelMap>(); HWTEST_F() local
942 std::shared_ptr<RectT<float>> val; HWTEST_F() local
957 std::shared_ptr<RectT<float>> val = std::make_shared<RectT<float>>(); HWTEST_F() local
972 RRectT<float> val; HWTEST_F() local
985 RRectT<float> val; HWTEST_F() local
998 std::shared_ptr<Drawing::DrawCmdList> val; HWTEST_F() local
1016 std::shared_ptr<Drawing::DrawCmdList> val; HWTEST_F() local
1033 std::shared_ptr<RSExtendImageObject> val; HWTEST_F() local
1048 std::shared_ptr<RSExtendImageObject> val = std::make_shared<RSExtendImageObject>(); HWTEST_F() local
1063 std::shared_ptr<RSExtendImageBaseObj> val; HWTEST_F() local
1078 std::shared_ptr<RSExtendImageBaseObj> val = std::make_shared<RSExtendImageBaseObj>(); HWTEST_F() local
1093 std::shared_ptr<Drawing::MaskCmdList> val; HWTEST_F() local
1113 std::shared_ptr<Drawing::MaskCmdList> val; HWTEST_F() local
1130 std::shared_ptr<RSRenderModifier> val; HWTEST_F() local
1143 std::shared_ptr<RSRenderModifier> val; HWTEST_F() local
1218 std::shared_ptr<RSRenderPropertyBase> val; HWTEST_F() local
1231 std::shared_ptr<RSRenderPropertyBase> val; HWTEST_F() local
1244 int val = 0; HWTEST_F() local
1257 int val = 0; HWTEST_F() local
1270 std::string val = "0"; HWTEST_F() local
1283 std::string val = "0"; HWTEST_F() local
1296 int val = 0; HWTEST_F() local
1310 const int* val = nullptr; HWTEST_F() local
1324 std::vector<int> val; HWTEST_F() local
1339 std::vector<int> val; HWTEST_F() local
1352 std::vector<std::vector<int>> val; HWTEST_F() local
1368 std::vector<std::vector<int>> val; HWTEST_F() local
1381 std::map<int, std::string> val; HWTEST_F() local
1396 std::map<int, std::string> val; HWTEST_F() local
1409 std::vector<int> val; HWTEST_F() local
1423 std::vector<int> val; HWTEST_F() local
1436 std::optional<int> val; HWTEST_F() local
1451 std::optional<int> val; HWTEST_F() local
1466 std::pair<int, int> val = { 1, 2 }; HWTEST_F() local
1479 std::pair<int, int> val = { 1, 2 }; HWTEST_F() local
[all...]
/base/hiviewdfx/hiview/base/event_raw/include/encoded/
H A Draw_data_builder.h87 RawDataBuilder& AppendValue(const std::string& key, T val) in AppendValue() argument
90 return AppendBaseInfoValue(key, val); in AppendValue()
93 return AppendValue(std::make_shared<StringEncodedParam>(key, val)); in AppendValue()
96 return AppendValue(std::make_shared<FloatingNumberEncodedParam<double>>(key, static_cast<double>(val))); in AppendValue()
99 return AppendValue(std::make_shared<SignedVarintEncodedParam<int64_t>>(key, static_cast<int64_t>(val))); in AppendValue()
103 static_cast<uint64_t>(val))); in AppendValue()
105 return AppendArrayValue(key, val); in AppendValue()
110 RawDataBuilder& UpdateType(const T val) in UpdateType() argument
113 return AppendType(static_cast<int>(val)); in UpdateType()
119 RawDataBuilder& UpdateUid(const T val) in UpdateUid() argument
128 UpdateLog(const T val) UpdateLog() argument
137 UpdatePid(const T val) UpdatePid() argument
146 UpdateTid(const T val) UpdateTid() argument
155 UpdateId(const T val) UpdateId() argument
175 UpdateTraceId(const T val) UpdateTraceId() argument
189 UpdateSpanId(const T val) UpdateSpanId() argument
203 UpdatePSpanId(const T val) UpdatePSpanId() argument
217 UpdateTraceFlag(const T val) UpdateTraceFlag() argument
226 AppendArrayValue(const std::string& key, T val) AppendArrayValue() argument
320 AppendBaseInfoValue(const std::string& key, T val) AppendBaseInfoValue() argument
330 GetArrayValueByKey(std::shared_ptr<EncodedParam> encodedParam, T& val) GetArrayValueByKey() argument
372 GetValueByKey(const std::string& key, T& val) GetValueByKey() argument
427 GetBaseInfoValueByKey(const std::string& key, T& val) GetBaseInfoValueByKey() argument
492 ParseTimeZoneFromHeader(T& val) ParseTimeZoneFromHeader() argument
506 PareTraceFlagFromHeader(T& val) PareTraceFlagFromHeader() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_animation.cpp56 [](const std::string& val, const RefPtr<SvgAnimateComponent>& animateComponent) { in SetAttr()
57 animateComponent->SetBegin(ConvertTimeStr(val)); in SetAttr()
60 [](const std::string& val, const RefPtr<SvgAnimateComponent>& animateComponent) { in SetAttr()
61 if (val == "indefinite") { in SetAttr()
64 animateComponent->SetDur(ConvertTimeStr(val)); in SetAttr()
68 [](const std::string& val, const RefPtr<SvgAnimateComponent>& animateComponent) { in SetAttr()
69 animateComponent->SetEnd(ConvertTimeStr(val)); in SetAttr()
72 [](const std::string& val, const RefPtr<SvgAnimateComponent>& animateComponent) { in SetAttr()
73 if (val == "indefinite") { in SetAttr()
76 animateComponent->SetRepeatCount(StringToInt(val)); in SetAttr()
[all...]
/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
130 std::u16string u16string = Str8ToStr16(std::string(val)); in WriteString16()
140 template<typename T> std::vector<T> RustVec2CppVec(rust::slice<const T> val) in RustVec2CppVec() argument
143 for (auto i : val) { in RustVec2CppVec()
149 bool WriteBoolVector(Parcel &parcel, rust::slice<const bool> val) in WriteBoolVector() argument
151 return parcel.WriteBoolVector(RustVec2CppVec(val)); in WriteBoolVector()
154 WriteInt8Vector(Parcel &parcel, rust::slice<const int8_t> val) WriteInt8Vector() argument
159 WriteInt16Vector(Parcel &parcel, rust::slice<const int16_t> val) WriteInt16Vector() argument
163 WriteInt32Vector(Parcel &parcel, rust::slice<const int32_t> val) WriteInt32Vector() argument
167 WriteInt64Vector(Parcel &parcel, rust::slice<const int64_t> val) WriteInt64Vector() argument
171 WriteUInt8Vector(Parcel &parcel, rust::slice<const uint8_t> val) WriteUInt8Vector() argument
175 WriteUInt16Vector(Parcel &parcel, rust::slice<const uint16_t> val) WriteUInt16Vector() argument
179 WriteUInt32Vector(Parcel &parcel, rust::slice<const uint32_t> val) WriteUInt32Vector() argument
183 WriteUInt64Vector(Parcel &parcel, rust::slice<const uint64_t> val) WriteUInt64Vector() argument
187 WriteFloatVector(Parcel &parcel, rust::slice<const float> val) WriteFloatVector() argument
191 WriteDoubleVector(Parcel &parcel, rust::slice<const double> val) WriteDoubleVector() argument
196 WriteStringVector(Parcel &parcel, rust::slice<const rust::string> val) WriteStringVector() argument
205 WriteString16Vector(Parcel &parcel, rust::slice<const rust::string> val) WriteString16Vector() argument
215 ReadVector(Parcel &parcel, rust::vec<T> &val, bool (Parcel::*ReadVec)(std::vector<T> *)) ReadVector() argument
227 ReadBoolVector(Parcel &parcel, rust::vec<bool> &val) ReadBoolVector() argument
231 ReadInt8Vector(Parcel &parcel, rust::vec<int8_t> &val) ReadInt8Vector() argument
235 ReadInt16Vector(Parcel &parcel, rust::vec<int16_t> &val) ReadInt16Vector() argument
239 ReadInt32Vector(Parcel &parcel, rust::vec<int32_t> &val) ReadInt32Vector() argument
243 ReadInt64Vector(Parcel &parcel, rust::vec<int64_t> &val) ReadInt64Vector() argument
247 ReadUInt8Vector(Parcel &parcel, rust::vec<uint8_t> &val) ReadUInt8Vector() argument
251 ReadUInt16Vector(Parcel &parcel, rust::vec<uint16_t> &val) ReadUInt16Vector() argument
255 ReadUInt32Vector(Parcel &parcel, rust::vec<uint32_t> &val) ReadUInt32Vector() argument
259 ReadUInt64Vector(Parcel &parcel, rust::vec<uint64_t> &val) ReadUInt64Vector() argument
263 ReadFloatVector(Parcel &parcel, rust::vec<float> &val) ReadFloatVector() argument
267 ReadDoubleVector(Parcel &parcel, rust::vec<double> &val) ReadDoubleVector() argument
272 ReadStringVector(Parcel &parcel, rust::vec<rust::string> &val) ReadStringVector() argument
284 ReadString16Vector(Parcel &parcel, rust::vec<rust::string> &val) ReadString16Vector() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_marshalling_helper.cpp84 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const TYPE& val) \
86 return parcel.Write##TYPENAME(val); \
88 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, TYPE& val) \
90 return parcel.Read##TYPENAME(val); \
109 static bool MarshallingRecordCmdFromDrawCmdList(Parcel& parcel, const std::shared_ptr<Drawing::DrawCmdList>& val) in MarshallingRecordCmdFromDrawCmdList() argument
111 if (!val) { in MarshallingRecordCmdFromDrawCmdList()
116 uint32_t recordCmdSize = val->GetAllRecordCmd(recordCmdVec); in MarshallingRecordCmdFromDrawCmdList()
135 static bool UnmarshallingRecordCmdToDrawCmdList(Parcel& parcel, std::shared_ptr<Drawing::DrawCmdList>& val) in UnmarshallingRecordCmdToDrawCmdList() argument
137 if (!val) { in UnmarshallingRecordCmdToDrawCmdList()
157 return val in UnmarshallingRecordCmdToDrawCmdList()
160 MarshallingExtendObjectFromDrawCmdList(Parcel& parcel, const std::shared_ptr<Drawing::DrawCmdList>& val) MarshallingExtendObjectFromDrawCmdList() argument
186 UnmarshallingExtendObjectToDrawCmdList(Parcel& parcel, std::shared_ptr<Drawing::DrawCmdList>& val) UnmarshallingExtendObjectToDrawCmdList() argument
214 Marshalling(Parcel& parcel, std::shared_ptr<Drawing::Data> val) Marshalling() argument
244 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Data>& val) Unmarshalling() argument
286 UnmarshallingWithCopy(Parcel& parcel, std::shared_ptr<Drawing::Data>& val) UnmarshallingWithCopy() argument
296 Marshalling(Parcel& parcel, const Drawing::Bitmap& val) Marshalling() argument
310 Unmarshalling(Parcel& parcel, Drawing::Bitmap& val) Unmarshalling() argument
371 Marshalling(Parcel& parcel, const std::shared_ptr<Drawing::Image>& val) Marshalling() argument
458 UnmarshallingNoLazyGeneratedImage(Parcel& parcel, std::shared_ptr<Drawing::Image>& val, void*& imagepixelAddr) UnmarshallingNoLazyGeneratedImage() argument
500 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Image>& val) Unmarshalling() argument
506 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Image>& val, void*& imagepixelAddr) Unmarshalling() argument
560 Marshalling(Parcel& parcel, const std::shared_ptr<RSShader>& val) Marshalling() argument
576 Unmarshalling(Parcel& parcel, std::shared_ptr<RSShader>& val) Unmarshalling() argument
599 Marshalling(Parcel& parcel, const Drawing::Matrix& val) Marshalling() argument
612 Unmarshalling(Parcel& parcel, Drawing::Matrix& val) Unmarshalling() argument
636 Marshalling(Parcel& parcel, const std::shared_ptr<RSLinearGradientBlurPara>& val) Marshalling() argument
652 Unmarshalling(Parcel& parcel, std::shared_ptr<RSLinearGradientBlurPara>& val) Unmarshalling() argument
690 Marshalling(Parcel& parcel, const std::shared_ptr<MotionBlurParam>& val) Marshalling() argument
698 Unmarshalling(Parcel& parcel, std::shared_ptr<MotionBlurParam>& val) Unmarshalling() argument
716 Marshalling(Parcel& parcel, const std::shared_ptr<RSMagnifierParams>& val) Marshalling() argument
739 Unmarshalling(Parcel& parcel, std::shared_ptr<RSMagnifierParams>& val) Unmarshalling() argument
797 Marshalling(Parcel& parcel, const std::shared_ptr<EmitterUpdater>& val) Marshalling() argument
810 Unmarshalling(Parcel& parcel, std::shared_ptr<EmitterUpdater>& val) Unmarshalling() argument
831 Marshalling(Parcel& parcel, const std::vector<std::shared_ptr<EmitterUpdater>>& val) Marshalling() argument
840 Unmarshalling(Parcel& parcel, std::vector<std::shared_ptr<EmitterUpdater>>& val) Unmarshalling() argument
859 Marshalling(Parcel& parcel, const std::shared_ptr<ParticleNoiseField>& val) Marshalling() argument
874 Unmarshalling(Parcel& parcel, std::shared_ptr<ParticleNoiseField>& val) Unmarshalling() argument
908 Marshalling(Parcel& parcel, const std::shared_ptr<ParticleNoiseFields>& val) Marshalling() argument
921 Unmarshalling(Parcel& parcel, std::shared_ptr<ParticleNoiseFields>& val) Unmarshalling() argument
944 Marshalling(Parcel& parcel, const EmitterConfig& val) Marshalling() argument
964 Unmarshalling(Parcel& parcel, EmitterConfig& val) Unmarshalling() argument
1006 Marshalling(Parcel& parcel, const ParticleVelocity& val) Marshalling() argument
1012 Unmarshalling(Parcel& parcel, ParticleVelocity& val) Unmarshalling() argument
1028 Marshalling(Parcel& parcel, const RenderParticleParaType<float>& val) Marshalling() argument
1051 Unmarshalling(Parcel& parcel, RenderParticleParaType<float>& val) Unmarshalling() argument
1091 Marshalling(Parcel& parcel, const RenderParticleColorParaType& val) Marshalling() argument
1120 Unmarshalling(Parcel& parcel, RenderParticleColorParaType& val) Unmarshalling() argument
1172 Marshalling(Parcel& parcel, const std::shared_ptr<ParticleRenderParams>& val) Marshalling() argument
1189 Unmarshalling(Parcel& parcel, std::shared_ptr<ParticleRenderParams>& val) Unmarshalling() argument
1219 Marshalling(Parcel& parcel, const std::vector<std::shared_ptr<ParticleRenderParams>>& val) Marshalling() argument
1228 Unmarshalling(Parcel& parcel, std::vector<std::shared_ptr<ParticleRenderParams>>& val) Unmarshalling() argument
1248 Marshalling(Parcel& parcel, const std::shared_ptr<RSPath>& val) Marshalling() argument
1264 Unmarshalling(Parcel& parcel, std::shared_ptr<RSPath>& val) Unmarshalling() argument
1289 Marshalling(Parcel& parcel, const std::shared_ptr<RSMask>& val) Marshalling() argument
1297 Unmarshalling(Parcel& parcel, std::shared_ptr<RSMask>& val) Unmarshalling() argument
1308 Marshalling(Parcel& parcel, const std::shared_ptr<RSFilter>& val) Marshalling() argument
1338 Unmarshalling(Parcel& parcel, std::shared_ptr<RSFilter>& val) Unmarshalling() argument
1381 Marshalling(Parcel& parcel, const std::shared_ptr<RSImageBase>& val) Marshalling() argument
1389 Unmarshalling(Parcel& parcel, std::shared_ptr<RSImageBase>& val) Unmarshalling() argument
1400 Marshalling(Parcel& parcel, const std::shared_ptr<RSImage>& val) Marshalling() argument
1408 Unmarshalling(Parcel& parcel, std::shared_ptr<RSImage>& val) Unmarshalling() argument
1419 Marshalling(Parcel& parcel, const std::shared_ptr<Media::PixelMap>& val) Marshalling() argument
1444 Unmarshalling(Parcel& parcel, std::shared_ptr<Media::PixelMap>& val) Unmarshalling() argument
1499 Marshalling(Parcel& parcel, const std::shared_ptr<RectT<float>>& val) Marshalling() argument
1508 Unmarshalling(Parcel& parcel, std::shared_ptr<RectT<float>>& val) Unmarshalling() argument
1519 Marshalling(Parcel& parcel, const RRectT<float>& val) Marshalling() argument
1525 Unmarshalling(Parcel& parcel, RRectT<float>& val) Unmarshalling() argument
1534 Marshalling(Parcel& parcel, const std::shared_ptr<Drawing::DrawCmdList>& val) Marshalling() argument
1661 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::DrawCmdList>& val) Unmarshalling() argument
1831 Marshalling(Parcel& parcel, const std::shared_ptr<Drawing::RecordCmd>& val) Marshalling() argument
1843 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::RecordCmd>& val) Unmarshalling() argument
1867 Marshalling(Parcel& parcel, const std::shared_ptr<RSExtendImageObject>& val) Marshalling() argument
1880 Unmarshalling(Parcel& parcel, std::shared_ptr<RSExtendImageObject>& val) Unmarshalling() argument
1895 Marshalling(Parcel& parcel, const std::shared_ptr<RSExtendImageBaseObj>& val) Marshalling() argument
1908 Unmarshalling(Parcel& parcel, std::shared_ptr<RSExtendImageBaseObj>& val) Unmarshalling() argument
1923 Marshalling(Parcel& parcel, const std::shared_ptr<Drawing::MaskCmdList>& val) Marshalling() argument
1973 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::MaskCmdList>& val) Unmarshalling() argument
2065 Marshalling(Parcel& parcel, const std::shared_ptr<RSRenderModifier>& val) Marshalling() argument
2069 Unmarshalling(Parcel& parcel, std::shared_ptr<RSRenderModifier>& val) Unmarshalling() argument
2294 Marshalling(Parcel& parcel, const std::shared_ptr<RSRenderPropertyBase>& val) Marshalling() argument
2299 Unmarshalling(Parcel& parcel, std::shared_ptr<RSRenderPropertyBase>& val) Unmarshalling() argument
[all...]
/foundation/multimedia/media_foundation/test/unittest/
H A DTestBitReader.cpp47 uint32_t val = 0; in HWTEST_F() local
48 EXPECT_EQ(bitReader.ReadBits(4, val), true); in HWTEST_F()
49 EXPECT_EQ(val, 0xf); in HWTEST_F()
51 EXPECT_EQ(bitReader.ReadBits(8, val), true); in HWTEST_F()
52 EXPECT_EQ(val, 0xf1); in HWTEST_F()
55 EXPECT_EQ(bitReader.ReadBits(20, val), true); in HWTEST_F()
56 EXPECT_EQ(val, 0x12233); in HWTEST_F()
58 EXPECT_EQ(bitReader.ReadBits(4, val), false); in HWTEST_F()
65 uint32_t val = 0; in HWTEST_F() local
66 EXPECT_EQ(bitReader.ReadBits(4, val), tru in HWTEST_F()
80 uint32_t val = 0; HWTEST_F() local
96 uint32_t val = 0; HWTEST_F() local
[all...]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_memory.cpp41 bool DfxMemory::ReadReg(int regIdx, uintptr_t *val) in ReadReg() argument
43 if (acc_ != nullptr && acc_->AccessReg(regIdx, val, ctx_) == UNW_ERROR_NONE) { in ReadReg()
49 bool DfxMemory::ReadMem(uintptr_t addr, uintptr_t *val) in ReadMem() argument
51 if (acc_ != nullptr && acc_->AccessMem(addr, val, ctx_) == UNW_ERROR_NONE) { in ReadMem()
57 size_t DfxMemory::Read(uintptr_t& addr, void* val, size_t size, bool incre) in Read() argument
61 if (val == nullptr || __builtin_add_overflow(tmpAddr, size, &maxSize)) { in Read()
62 DFXLOGE("val is nullptr or size(%{public}zu) overflow", size); in Read()
78 if (memcpy_s(val, copyBytes, reinterpret_cast<uint8_t*>(&valp) + alignBytes, copyBytes) != 0) { in Read()
82 val = reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(val) in Read()
109 ReadU8(uintptr_t& addr, uint8_t *val, bool incre) ReadU8() argument
117 ReadU16(uintptr_t& addr, uint16_t *val, bool incre) ReadU16() argument
125 ReadU32(uintptr_t& addr, uint32_t *val, bool incre) ReadU32() argument
133 ReadU64(uintptr_t& addr, uint64_t *val, bool incre) ReadU64() argument
141 ReadUptr(uintptr_t& addr, uintptr_t *val, bool incre) ReadUptr() argument
182 ReadPrel31(uintptr_t& addr, uintptr_t *val) ReadPrel31() argument
195 uint64_t val = 0; ReadUleb128() local
211 uint64_t val = 0; ReadSleb128() local
256 uintptr_t val = 0; ReadEncodedValue() local
[all...]
/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()
40 HcFree(params->challengeSelf.val); in DestroyPakeV1BaseParams()
41 params->challengeSelf.val = NULL; in DestroyPakeV1BaseParams()
43 HcFree(params->challengePeer.val); in DestroyPakeV1BaseParams()
44 params->challengePeer.val = NULL; in DestroyPakeV1BaseParams()
46 HcFree(params->epkSelf.val); in DestroyPakeV1BaseParams()
47 params->epkSelf.val = NULL; in DestroyPakeV1BaseParams()
49 HcFree(params->epkPeer.val); in DestroyPakeV1BaseParams()
50 params->epkPeer.val in DestroyPakeV1BaseParams()
[all...]
/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_wrote_result_check_test.cpp93 void WriteAndWatchEvent(std::shared_ptr<Watcher> watcher, T& val) in WriteAndWatchEvent() argument
102 val); in WriteAndWatchEvent()
143 bool val = true; in HWTEST_F() local
144 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in HWTEST_F()
150 return ret == static_cast<int>(val); in HWTEST_F()
152 WriteAndWatchEvent(watcher, val); in HWTEST_F()
164 int64_t val = -18888888882321; in HWTEST_F() local
165 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in HWTEST_F()
171 return ret == val; in HWTEST_F()
173 WriteAndWatchEvent(watcher, val); in HWTEST_F()
185 uint64_t val = 18888888882326141; HWTEST_F() local
206 double val = 30949.374; HWTEST_F() local
226 std::string val = "value"; HWTEST_F() local
247 std::vector<bool> val = { HWTEST_F() local
273 std::vector<int64_t> val = { HWTEST_F() local
299 std::vector<uint64_t> val = { HWTEST_F() local
325 std::vector<double> val = { HWTEST_F() local
349 std::vector<std::string> val = { HWTEST_F() local
375 float val = 230.47; HWTEST_F() local
395 std::vector<float> val = { HWTEST_F() local
421 std::string val = "with valid hitracechain"; HWTEST_F() local
443 double val = -3.5; HWTEST_F() local
463 std::vector<float> val; HWTEST_F() local
483 int64_t val = std::numeric_limits<int64_t>::max(); HWTEST_F() local
504 int64_t val = std::numeric_limits<int64_t>::min(); HWTEST_F() local
525 uint64_t val = std::numeric_limits<uint64_t>::max(); HWTEST_F() local
546 uint64_t val = std::numeric_limits<uint64_t>::min(); HWTEST_F() local
[all...]
/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) \
91 bool RSMarshallingHelper::Marshalling(Parcel& parcel, std::shared_ptr<Drawing::Data> val) in Marshalling() argument
96 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Data>& val) in Unmarshalling() argument
106 bool RSMarshallingHelper::UnmarshallingWithCopy(Parcel& parcel, std::shared_ptr<Drawing::Data>& val) in UnmarshallingWithCopy() argument
122 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const std::shared_ptr<Drawing::Image>& val) in Marshalling() argument
127 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Image>& val, void*& imagepixelAddr) in Unmarshalling() argument
139 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const std::shared_ptr<RSShader>& val) in Marshalling() argument
144 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, std::shared_ptr<RSShader>& val) in Unmarshalling() argument
149 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const Drawing::Matrix& val) in Marshalling() argument
154 Unmarshalling(Parcel& parcel, Drawing::Matrix& val) Unmarshalling() argument
159 Marshalling(Parcel& parcel, const std::shared_ptr<RSLinearGradientBlurPara>& val) Marshalling() argument
164 Unmarshalling(Parcel& parcel, std::shared_ptr<RSLinearGradientBlurPara>& val) Unmarshalling() argument
170 Marshalling(Parcel& parcel, const std::shared_ptr<MotionBlurParam>& val) Marshalling() argument
175 Unmarshalling(Parcel& parcel, std::shared_ptr<MotionBlurParam>& val) Unmarshalling() argument
181 Marshalling(Parcel& parcel, const std::shared_ptr<RSMagnifierParams>& val) Marshalling() argument
185 Unmarshalling(Parcel& parcel, std::shared_ptr<RSMagnifierParams>& val) Unmarshalling() argument
191 Marshalling(Parcel& parcel, const std::shared_ptr<EmitterUpdater>& val) Marshalling() argument
196 Unmarshalling(Parcel& parcel, std::shared_ptr<EmitterUpdater>& val) Unmarshalling() argument
201 Marshalling(Parcel& parcel, const std::vector<std::shared_ptr<EmitterUpdater>>& val) Marshalling() argument
206 Unmarshalling(Parcel& parcel, std::vector<std::shared_ptr<EmitterUpdater>>& val) Unmarshalling() argument
211 Marshalling(Parcel& parcel, const std::shared_ptr<ParticleNoiseField>& val) Marshalling() argument
216 Unmarshalling(Parcel& parcel, std::shared_ptr<ParticleNoiseField>& val) Unmarshalling() argument
221 Marshalling(Parcel& parcel, const std::shared_ptr<ParticleNoiseFields>& val) Marshalling() argument
226 Unmarshalling(Parcel& parcel, std::shared_ptr<ParticleNoiseFields>& val) Unmarshalling() argument
231 Marshalling(Parcel& parcel, const EmitterConfig& val) Marshalling() argument
235 Unmarshalling(Parcel& parcel, EmitterConfig& val) Unmarshalling() argument
239 Marshalling(Parcel& parcel, const ParticleVelocity& val) Marshalling() argument
243 Unmarshalling(Parcel& parcel, ParticleVelocity& val) Unmarshalling() argument
247 Marshalling(Parcel& parcel, const RenderParticleParaType<float>& val) Marshalling() argument
251 Unmarshalling(Parcel& parcel, RenderParticleParaType<float>& val) Unmarshalling() argument
255 Marshalling(Parcel& parcel, const RenderParticleColorParaType& val) Marshalling() argument
259 Unmarshalling(Parcel& parcel, RenderParticleColorParaType& val) Unmarshalling() argument
263 Marshalling(Parcel& parcel, const std::shared_ptr<ParticleRenderParams>& val) Marshalling() argument
267 Unmarshalling(Parcel& parcel, std::shared_ptr<ParticleRenderParams>& val) Unmarshalling() argument
271 Marshalling(Parcel& parcel, const std::vector<std::shared_ptr<ParticleRenderParams>>& val) Marshalling() argument
275 Unmarshalling(Parcel& parcel, std::vector<std::shared_ptr<ParticleRenderParams>>& val) Unmarshalling() argument
281 Marshalling(Parcel& parcel, const std::shared_ptr<RSPath>& val) Marshalling() argument
286 Unmarshalling(Parcel& parcel, std::shared_ptr<RSPath>& val) Unmarshalling() argument
292 Marshalling(Parcel& parcel, const std::shared_ptr<RSMask>& val) Marshalling() argument
296 Unmarshalling(Parcel& parcel, std::shared_ptr<RSMask>& val) Unmarshalling() argument
302 Marshalling(Parcel& parcel, const std::shared_ptr<RSFilter>& val) Marshalling() argument
306 Unmarshalling(Parcel& parcel, std::shared_ptr<RSFilter>& val) Unmarshalling() argument
312 Marshalling(Parcel& parcel, const std::shared_ptr<RSImageBase>& val) Marshalling() argument
316 Unmarshalling(Parcel& parcel, std::shared_ptr<RSImageBase>& val) Unmarshalling() argument
322 Marshalling(Parcel& parcel, const std::shared_ptr<RSImage>& val) Marshalling() argument
326 Unmarshalling(Parcel& parcel, std::shared_ptr<RSImage>& val) Unmarshalling() argument
332 Marshalling(Parcel& parcel, const std::shared_ptr<Media::PixelMap>& val) Marshalling() argument
337 Unmarshalling(Parcel& parcel, std::shared_ptr<Media::PixelMap>& val) Unmarshalling() argument
347 Marshalling(Parcel& parcel, const std::shared_ptr<RectT<float>>& val) Marshalling() argument
351 Unmarshalling(Parcel& parcel, std::shared_ptr<RectT<float>>& val) Unmarshalling() argument
357 Marshalling(Parcel& parcel, const RRectT<float>& val) Marshalling() argument
361 Unmarshalling(Parcel& parcel, RRectT<float>& val) Unmarshalling() argument
368 Marshalling(Parcel& parcel, const std::shared_ptr<Drawing::DrawCmdList>& val) Marshalling() argument
373 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::DrawCmdList>& val) Unmarshalling() argument
409 Marshalling(Parcel& parcel, const std::shared_ptr<RSRenderModifier>& val) Marshalling() argument
413 Unmarshalling(Parcel& parcel, std::shared_ptr<RSRenderModifier>& val) Unmarshalling() argument
542 Marshalling(Parcel& parcel, const std::shared_ptr<RSRenderPropertyBase>& val) Marshalling() argument
546 Unmarshalling(Parcel& parcel, std::shared_ptr<RSRenderPropertyBase>& val) Unmarshalling() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_marshalling_helper.cpp57 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const TYPE& val) \
61 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, TYPE& val) \
91 bool RSMarshallingHelper::Marshalling(Parcel& parcel, std::shared_ptr<Drawing::Data> val) in Marshalling() argument
95 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Data>& val) in Unmarshalling() argument
115 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const std::shared_ptr<Drawing::Image>& val) in Marshalling() argument
120 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Image>& val) in Unmarshalling() argument
125 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Image>& val, void*& imagepixelAddr) in Unmarshalling() argument
137 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const std::shared_ptr<RSShader>& val) in Marshalling() argument
142 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, std::shared_ptr<RSShader>& val) in Unmarshalling() argument
147 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const Drawing::Matrix& val) in Marshalling() argument
152 Unmarshalling(Parcel& parcel, Drawing::Matrix& val) Unmarshalling() argument
158 Marshalling(Parcel& parcel, const std::shared_ptr<RSLinearGradientBlurPara>& val) Marshalling() argument
162 Unmarshalling(Parcel& parcel, std::shared_ptr<RSLinearGradientBlurPara>& val) Unmarshalling() argument
168 Marshalling(Parcel& parcel, const std::shared_ptr<MotionBlurParam>& val) Marshalling() argument
172 Unmarshalling(Parcel& parcel, std::shared_ptr<MotionBlurParam>& val) Unmarshalling() argument
178 Marshalling(Parcel& parcel, const std::shared_ptr<RSMagnifierParams>& val) Marshalling() argument
182 Unmarshalling(Parcel& parcel, std::shared_ptr<RSMagnifierParams>& val) Unmarshalling() argument
188 Marshalling(Parcel& parcel, const std::shared_ptr<EmitterUpdater>& val) Marshalling() argument
193 Unmarshalling(Parcel& parcel, std::shared_ptr<EmitterUpdater>& val) Unmarshalling() argument
198 Marshalling(Parcel& parcel, const std::vector<std::shared_ptr<EmitterUpdater>>& val) Marshalling() argument
203 Unmarshalling(Parcel& parcel, std::vector<std::shared_ptr<EmitterUpdater>>& val) Unmarshalling() argument
208 Marshalling(Parcel& parcel, const std::shared_ptr<ParticleNoiseField>& val) Marshalling() argument
213 Unmarshalling(Parcel& parcel, std::shared_ptr<ParticleNoiseField>& val) Unmarshalling() argument
218 Marshalling(Parcel& parcel, const std::shared_ptr<ParticleNoiseFields>& val) Marshalling() argument
223 Unmarshalling(Parcel& parcel, std::shared_ptr<ParticleNoiseFields>& val) Unmarshalling() argument
228 Marshalling(Parcel& parcel, const EmitterConfig& val) Marshalling() argument
233 Unmarshalling(Parcel& parcel, EmitterConfig& val) Unmarshalling() argument
238 Marshalling(Parcel& parcel, const ParticleVelocity& val) Marshalling() argument
243 Unmarshalling(Parcel& parcel, ParticleVelocity& val) Unmarshalling() argument
248 Marshalling(Parcel& parcel, const RenderParticleParaType<float>& val) Marshalling() argument
253 Unmarshalling(Parcel& parcel, RenderParticleParaType<float>& val) Unmarshalling() argument
258 Marshalling(Parcel& parcel, const RenderParticleColorParaType& val) Marshalling() argument
263 Unmarshalling(Parcel& parcel, RenderParticleColorParaType& val) Unmarshalling() argument
268 Marshalling(Parcel& parcel, const std::shared_ptr<ParticleRenderParams>& val) Marshalling() argument
273 Unmarshalling(Parcel& parcel, std::shared_ptr<ParticleRenderParams>& val) Unmarshalling() argument
278 Marshalling(Parcel& parcel, const std::vector<std::shared_ptr<ParticleRenderParams>>& val) Marshalling() argument
283 Unmarshalling(Parcel& parcel, std::vector<std::shared_ptr<ParticleRenderParams>>& val) Unmarshalling() argument
288 Marshalling(Parcel& parcel, const std::shared_ptr<RSPath>& val) Marshalling() argument
292 Unmarshalling(Parcel& parcel, std::shared_ptr<RSPath>& val) Unmarshalling() argument
298 Marshalling(Parcel& parcel, const std::shared_ptr<RSMask>& val) Marshalling() argument
302 Unmarshalling(Parcel& parcel, std::shared_ptr<RSMask>& val) Unmarshalling() argument
308 Marshalling(Parcel& parcel, const std::shared_ptr<RSFilter>& val) Marshalling() argument
312 Unmarshalling(Parcel& parcel, std::shared_ptr<RSFilter>& val) Unmarshalling() argument
318 Marshalling(Parcel& parcel, const std::shared_ptr<RSImage>& val) Marshalling() argument
322 Unmarshalling(Parcel& parcel, std::shared_ptr<RSImage>& val) Unmarshalling() argument
328 Marshalling(Parcel& parcel, const std::shared_ptr<RSImageBase>& val) Marshalling() argument
332 Unmarshalling(Parcel& parcel, std::shared_ptr<RSImageBase>& val) Unmarshalling() argument
338 Marshalling(Parcel& parcel, const std::shared_ptr<Media::PixelMap>& val) Marshalling() argument
342 Unmarshalling(Parcel& parcel, std::shared_ptr<Media::PixelMap>& val) Unmarshalling() argument
348 Marshalling(Parcel& parcel, const std::shared_ptr<RectT<float>>& val) Marshalling() argument
352 Unmarshalling(Parcel& parcel, std::shared_ptr<RectT<float>>& val) Unmarshalling() argument
358 Marshalling(Parcel& parcel, const RRectT<float>& val) Marshalling() argument
362 Unmarshalling(Parcel& parcel, RRectT<float>& val) Unmarshalling() argument
369 Marshalling(Parcel& parcel, const std::shared_ptr<Drawing::DrawCmdList>& val) Marshalling() argument
374 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::DrawCmdList>& val) Unmarshalling() argument
410 Marshalling(Parcel& parcel, const std::shared_ptr<RSRenderModifier>& val) Marshalling() argument
414 Unmarshalling(Parcel& parcel, std::shared_ptr<RSRenderModifier>& val) Unmarshalling() argument
539 Marshalling(Parcel& parcel, const std::shared_ptr<RSRenderPropertyBase>& val) Marshalling() argument
547 Unmarshalling(Parcel& parcel, std::shared_ptr<RSRenderPropertyBase>& val) Unmarshalling() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/declaration/swiper/
H A Dswiper_declaration.cpp61 [](const std::string& val, SwiperDeclaration& swiper) { swiper.SetAnimationOpacity(StringToBool(val)); } }, in SetSpecializedAttr()
63 [](const std::string& val, SwiperDeclaration& swiper) { swiper.SetAutoPlay(StringToBool(val)); } }, in SetSpecializedAttr()
65 [](const std::string& val, SwiperDeclaration& swiper) { in SetSpecializedAttr()
66 swiper.SetCachedSize(StringUtils::StringToInt(val)); in SetSpecializedAttr()
69 [](const std::string& val, SwiperDeclaration& swiper) { swiper.SetDigitalIndicator(StringToBool(val)); } }, in SetSpecializedAttr()
71 [](const std::string& val, SwiperDeclaration& swiper) { in SetSpecializedAttr()
72 if (val in SetSpecializedAttr()
[all...]
/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);
54 bool WriteBoolVector(Parcel &parcel, rust::slice<const bool> val);
55 bool WriteInt8Vector(Parcel &parcel, rust::slice<const int8_t> val);
56 bool WriteInt16Vector(Parcel &parcel, rust::slice<const int16_t> val);
57 bool WriteInt32Vector(Parcel &parcel, rust::slice<const int32_t> val);
58 bool WriteInt64Vector(Parcel &parcel, rust::slice<const int64_t> val);
59 bool WriteUInt8Vector(Parcel &parcel, rust::slice<const uint8_t> val);
60 bool WriteUInt16Vector(Parcel &parcel, rust::slice<const uint16_t> val);
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_textarea.cpp98 { DOM_AUTO_FOCUS, [](const std::string& val, in SetSpecializedAttr()
99 DOMTextarea& textarea) { textarea.textAreaChild_->SetAutoFocus(StringToBool(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()
103 DOMTextarea& textarea) { textarea.textAreaChild_->SetEnabled(!StringToBool(val)); } }, in SetSpecializedAttr()
105 [](const std::string& val, DOMTextarea& textarea) { in SetSpecializedAttr()
106 textarea.textAreaChild_->SetAction(ConvertStrToTextInputAction(val)); in SetSpecializedAttr()
109 [](const std::string& val, DOMTextarea& textarea) { textarea.textAreaChild_->SetPlaceholder(val); } }, in SetSpecializedAttr()
[all...]
H A Ddom_slider.cpp70 { DOM_MAX, [](const std::string& val, DOMSlider& slider) { slider.max_ = StringToDouble(val); } }, in SetSpecializedAttr()
71 { DOM_MAX_ICON, [](const std::string& val, DOMSlider& slider) { slider.maxIconUrl_ = val; } }, in SetSpecializedAttr()
72 { DOM_MIN, [](const std::string& val, DOMSlider& slider) { slider.min_ = StringToDouble(val); } }, in SetSpecializedAttr()
73 { DOM_MIN_ICON, [](const std::string& val, DOMSlider& slider) { slider.minIconUrl_ = val; } }, in SetSpecializedAttr()
74 { DOM_SLIDER_MODE, [](const std::string& val, DOMSlider& slider) { in SetSpecializedAttr()
75 if (val in SetSpecializedAttr()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/test/unittest/common/
H A Ddialog_tdd_test.cpp286 char *val = JSObject::GetString(page, MSG); in DialogTest001() local
287 EXPECT_STREQ(val, DEFAULT); in DialogTest001()
288 ACE_FREE(val); in DialogTest001()
303 val = JSObject::GetString(page, MSG); in DialogTest001()
304 EXPECT_STREQ(val, CONFIRM); in DialogTest001()
305 ACE_FREE(val); in DialogTest001()
316 char *val = JSObject::GetString(page, MSG); in DialogTest002() local
317 EXPECT_STREQ(val, DEFAULT); in DialogTest002()
318 ACE_FREE(val); in DialogTest002()
333 val in DialogTest002()
364 char *val = JSObject::GetString(page, MSG); DialogTest003() local
430 char *val = JSObject::GetString(page, MSG); DialogTest004() local
496 char *val = JSObject::GetString(page, MSG); DialogTest005() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/
H A Drs_marshalling_helper.h90 static bool Marshalling(Parcel& parcel, const T& val) in Marshalling() argument
92 return parcel.WriteUnpadBuffer(&val, sizeof(T)); in Marshalling()
95 static bool Unmarshalling(Parcel& parcel, T& val) in Unmarshalling() argument
101 val = *(reinterpret_cast<const T*>(buff)); in Unmarshalling()
107 static bool Marshalling(Parcel& parcel, const std::string& val) in Marshalling() argument
109 return parcel.WriteString(val); in Marshalling()
111 static bool Unmarshalling(Parcel& parcel, std::string& val) in Unmarshalling() argument
113 return parcel.ReadString(val); in Unmarshalling()
117 static bool MarshallingArray(Parcel& parcel, const T* val, int count) in MarshallingArray() argument
122 return parcel.WriteUnpadBuffer(val, coun in MarshallingArray()
125 UnmarshallingArray(Parcel& parcel, T*& val, int count) UnmarshallingArray() argument
141 MarshallingVec(Parcel& parcel, const std::vector<T>& val) MarshallingVec() argument
154 UnmarshallingVec(Parcel& parcel, std::vector<T>& val) UnmarshallingVec() argument
173 MarshallingVec2(Parcel& parcel, const std::vector<std::vector<T>>& val) MarshallingVec2() argument
186 UnmarshallingVec2(Parcel& parcel, std::vector<std::vector<T>>& val) UnmarshallingVec2() argument
296 Marshalling(Parcel& parcel, const std::map<T, P>& val) Marshalling() argument
309 Unmarshalling(Parcel& parcel, std::map<T, P>& val) Unmarshalling() argument
332 Marshalling(Parcel& parcel, const std::vector<T>& val) Marshalling() argument
341 Unmarshalling(Parcel& parcel, std::vector<T>& val) Unmarshalling() argument
361 Marshalling(Parcel& parcel, const std::optional<T>& val) Marshalling() argument
371 Unmarshalling(Parcel& parcel, std::optional<T>& val) Unmarshalling() argument
386 Marshalling(Parcel& parcel, const std::pair<T1, T2>& val) Marshalling() argument
391 Unmarshalling(Parcel& parcel, std::pair<T1, T2>& val) Unmarshalling() argument
[all...]
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_bigint_test.cpp101 auto val = std::get_if<BigInteger>(&value.value); in HWTEST_F() local
102 EXPECT_NE(val, nullptr); in HWTEST_F()
103 if (val != nullptr) { in HWTEST_F()
104 EXPECT_TRUE(*val == BigInteger(158)); in HWTEST_F()
107 val = std::get_if<BigInteger>(&value.value); in HWTEST_F()
108 EXPECT_NE(val, nullptr); in HWTEST_F()
109 if (val != nullptr) { in HWTEST_F()
110 EXPECT_TRUE(*val == BigInteger(-158)); in HWTEST_F()
135 auto val = std::get_if<BigInteger>(&value.value); in HWTEST_F() local
136 EXPECT_NE(val, nullpt in HWTEST_F()
171 auto val = std::get_if<BigInteger>(&value.value); HWTEST_F() local
206 auto val = std::get_if<BigInteger>(&object.value); HWTEST_F() local
243 auto val = std::get_if<BigInteger>(&value.value); HWTEST_F() local
285 auto val = std::get_if<BigInteger>(&value.value); HWTEST_F() local
327 auto val = std::get_if<BigInteger>(&value.value); HWTEST_F() local
371 auto val = std::get_if<Floats>(&value.value); HWTEST_F() local
409 auto val = std::get_if<Floats>(&value.value); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/declaration/text/
H A Dtext_declaration.cpp73 [](const std::string& val, TextDeclaration& declaration) { in SetSpecializedStyle()
76 specializedStyle.textStyle.SetAdaptHeight(StringToBool(val)); in SetSpecializedStyle()
80 [](const std::string& val, TextDeclaration& declaration) { in SetSpecializedStyle()
83 specializedStyle.textStyle.SetAllowScale(StringToBool(val)); 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()
100 specializedStyle.textStyle.SetFontFamilies(declaration.ParseFontFamilies(val)); in SetSpecializedStyle()
104 [](const std::string& val, TextDeclaratio in SetSpecializedStyle()
289 ParseTextShadow(const std::string& val, TextDeclaration& declaration) ParseTextShadow() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_gradient.cpp48 [](const std::string& val, SvgGradientAttribute& attr) { in SetAttr()
49 attr.gradient.GetRadialGradient().radialCenterX = SvgAttributesParser::ParseDimension(val); in SetAttr()
52 [](const std::string& val, SvgGradientAttribute& attr) { in SetAttr()
53 attr.gradient.GetRadialGradient().radialCenterY = SvgAttributesParser::ParseDimension(val); in SetAttr()
56 [](const std::string& val, SvgGradientAttribute& attr) { in SetAttr()
57 attr.gradient.GetRadialGradient().fRadialCenterX = SvgAttributesParser::ParseDimension(val); in SetAttr()
60 [](const std::string& val, SvgGradientAttribute& attr) { in SetAttr()
61 attr.gradient.GetRadialGradient().fRadialCenterY = SvgAttributesParser::ParseDimension(val); in SetAttr()
65 [](const std::string& val, SvgGradientAttribute& attr) { in SetAttr()
66 auto r = SvgAttributesParser::ParseDimension(val); in SetAttr()
94 SetGradientTransform(const std::string& val, SvgGradientAttribute& attr) SetGradientTransform() argument
99 SetSpreadMethod(const std::string& val, SvgGradientAttribute& attr) SetSpreadMethod() argument
[all...]

Completed in 14 milliseconds

12345678910>>...50