Home
last modified time | relevance | path

Searched refs:value (Results 1 - 25 of 6785) sorted by relevance

12345678910>>...272

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/
H A Ddng_exif_metadata_accessor_test.cpp60 std::string value; in HWTEST_F() local
61 ASSERT_EQ(exifMetadata->GetValue("BitsPerSample", value), SUCCESS); in HWTEST_F()
62 ASSERT_EQ(value, "8, 8, 8"); in HWTEST_F()
63 ASSERT_EQ(exifMetadata->GetValue("Orientation", value), SUCCESS); in HWTEST_F()
64 ASSERT_EQ(value, "Right-top"); in HWTEST_F()
65 ASSERT_EQ(exifMetadata->GetValue("ImageLength", value), SUCCESS); in HWTEST_F()
66 ASSERT_EQ(value, "3024"); in HWTEST_F()
67 ASSERT_EQ(exifMetadata->GetValue("ImageWidth", value), SUCCESS); in HWTEST_F()
68 ASSERT_EQ(value, "4032"); in HWTEST_F()
69 ASSERT_EQ(exifMetadata->GetValue("GPSLatitude", value), SUCCES in HWTEST_F()
117 std::string value; HWTEST_F() local
174 std::string value; HWTEST_F() local
230 std::string value; HWTEST_F() local
287 std::string value; HWTEST_F() local
344 std::string value; HWTEST_F() local
399 std::string value; HWTEST_F() local
456 std::string value; HWTEST_F() local
538 std::string value; HWTEST_F() local
560 std::string value; HWTEST_F() local
616 std::string value; HWTEST_F() local
[all...]
/foundation/distributeddatamgr/udmf/framework/common/
H A Dendian_converter.h24 static inline int8_t HostToNet(int8_t value) in HostToNet() argument
26 return value; in HostToNet()
28 static inline int16_t HostToNet(int16_t value) in HostToNet() argument
30 return htole16(value); in HostToNet()
33 static inline int16_t NetToHost(int16_t value) in NetToHost() argument
35 return le16toh(value); in NetToHost()
38 static inline int32_t HostToNet(int32_t value) in HostToNet() argument
40 return htole32(value); in HostToNet()
43 static inline int8_t NetToHost(int8_t value) in NetToHost() argument
45 return le32toh(value); in NetToHost()
48 NetToHost(int32_t value) NetToHost() argument
53 HostToNet(int64_t value) HostToNet() argument
58 NetToHost(int64_t value) NetToHost() argument
63 HostToNet(uint8_t value) HostToNet() argument
67 HostToNet(uint16_t value) HostToNet() argument
72 NetToHost(uint16_t value) NetToHost() argument
77 HostToNet(uint32_t value) HostToNet() argument
82 NetToHost(uint8_t value) NetToHost() argument
87 NetToHost(uint32_t value) NetToHost() argument
92 HostToNet(uint64_t value) HostToNet() argument
97 NetToHost(uint64_t value) NetToHost() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js100 function isResourceEqual(stageValue, value) {
101 return (stageValue.bundleName === value.bundleName) &&
102 (stageValue.moduleName === value.moduleName) &&
103 (stageValue.id === value.id) &&
104 (stageValue.params === value.params) &&
105 (stageValue.type === value.type);
107 function isBaseOrResourceEqual(stageValue, value) {
108 if (isResource(stageValue) && isResource(value)) {
109 return isResourceEqual(stageValue, value);
111 else if (!isResource(stageValue) && !isResource(value)) {
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_archive.cpp20 void Archive::Serialize(char& value) in Serialize() argument
22 Serialize(&value, sizeof(value)); in Serialize()
25 void Archive::Serialize(float& value) in Serialize() argument
27 Serialize(&value, sizeof(value)); in Serialize()
30 void Archive::Serialize(double& value) in Serialize() argument
32 Serialize(&value, sizeof(value)); in Serialize()
35 void Archive::Serialize(int8_t& value) in Serialize() argument
40 Serialize(int16_t& value) Serialize() argument
45 Serialize(int32_t& value) Serialize() argument
50 Serialize(uint8_t& value) Serialize() argument
55 Serialize(uint16_t& value) Serialize() argument
60 Serialize(uint32_t& value) Serialize() argument
65 Serialize(uint64_t& value) Serialize() argument
70 Serialize(std::string& value) Serialize() argument
[all...]
/foundation/distributeddatamgr/pasteboard/framework/tlv/
H A Dendian_converter.h24 static inline int8_t HostToNet(int8_t value) in HostToNet() argument
26 return value; in HostToNet()
28 static inline int16_t HostToNet(int16_t value) in HostToNet() argument
30 return htole16(value); in HostToNet()
33 static inline int16_t NetToHost(int16_t value) in NetToHost() argument
35 return le16toh(value); in NetToHost()
38 static inline int32_t HostToNet(int32_t value) in HostToNet() argument
40 return htole32(value); in HostToNet()
43 static inline int8_t NetToHost(int8_t value) in NetToHost() argument
45 return le32toh(value); in NetToHost()
48 NetToHost(int32_t value) NetToHost() argument
53 HostToNet(int64_t value) HostToNet() argument
58 NetToHost(int64_t value) NetToHost() argument
63 HostToNet(uint8_t value) HostToNet() argument
67 HostToNet(uint16_t value) HostToNet() argument
72 NetToHost(uint16_t value) NetToHost() argument
77 HostToNet(uint32_t value) HostToNet() argument
82 NetToHost(uint8_t value) NetToHost() argument
87 NetToHost(uint32_t value) NetToHost() argument
92 HostToNet(uint64_t value) HostToNet() argument
97 NetToHost(uint64_t value) NetToHost() argument
102 HostToNet(bool value) HostToNet() argument
107 NetToHost(bool value) NetToHost() argument
112 HostToNet(double value) HostToNet() argument
124 NetToHost(double value) NetToHost() argument
[all...]
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/
H A Dp2p_v1_fuzz_helper.h30 int32_t value = 0; in FuzzCommonEnum() local
31 GenerateInt32(value); in FuzzCommonEnum()
32 return value % (max + overflow); in FuzzCommonEnum()
37 auto value = static_cast<LegacyCommandType>( in FuzzCommandType() local
39 message.SetLegacyP2pCommandType(value); in FuzzCommandType()
44 auto value = static_cast<LegacyContentType>(FuzzCommonEnum(static_cast<int>(LegacyContentType::RESULT), 3)); in FuzzContentType() local
45 message.SetLegacyP2pContentType(value); in FuzzContentType()
50 std::string value; in FuzzGcChannelList() local
51 GenerateString(value); in FuzzGcChannelList()
52 message.SetLegacyP2pGcChannelList(value); in FuzzGcChannelList()
57 std::string value; FuzzGcMac() local
64 std::string value; FuzzGoMac() local
71 std::string value; FuzzIP() local
78 std::string value; FuzzMac() local
85 std::string value; FuzzSelfWifiCfg() local
92 int32_t value; FuzzStationFrequency() local
99 int32_t value; FuzzVersion() local
106 bool value; FuzzWideBandSupport() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_calendar.cpp43 [](const std::string& value, DomCalendar& calendar) { in SetSpecializedAttr()
44 calendar.calendarComponent_->SetCalendarData(value); in SetSpecializedAttr()
48 [](const std::string& value, DomCalendar& calendar) { in SetSpecializedAttr()
49 calendar.calendarComponent_->SetCardCalendar(StringToBool(value)); in SetSpecializedAttr()
53 [](const std::string& value, DomCalendar& calendar) { in SetSpecializedAttr()
55 auto isLegal = StringUtils::StringToCalendarDay(value, day); in SetSpecializedAttr()
63 [](const std::string& value, DomCalendar& calendar) { return calendar.ParseDataAdapter(value); } }, in SetSpecializedAttr()
65 [](const std::string& value, DomCalendar& calendar) { in SetSpecializedAttr()
66 if (value in SetSpecializedAttr()
148 ParseDataAdapter(const std::string& value) ParseDataAdapter() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_model_ng.h26 void Create(double min, double value, double cachedValue, double max, NG::ProgressType type) override;
27 void SetValue(double value) override;
28 void SetColor(const Color& value) override;
29 void SetBackgroundColor(const Color& value) override;
30 void SetStrokeWidth(const Dimension& value) override;
31 void SetScaleCount(int32_t value) override;
32 void SetScaleWidth(const Dimension& value) override;
33 void SetBorderColor(const Color& value) override;
34 void SetBorderWidth(const Dimension& value) override;
35 void SetFontSize(const Dimension& value) overrid
[all...]
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/
H A Dmathf.h30 /** Returns Minimum value of 2 given parameter */
37 /** Returns Maximum value of 2 given parameter */
44 /** Clamps value between minimum and maximum value */
46 constexpr inline const T& clamp(const T& value, const T& min, const T& max) in clamp() argument
48 return (value < min) ? min : (value > max) ? max : value; in clamp()
51 /** Clamps value between 0 and 1 and then returns it */
52 constexpr inline float clamp01(float value) in clamp01() argument
64 abs(float value) abs() argument
70 abs(int value) abs() argument
76 floor(float value) floor() argument
82 ceil(float value) ceil() argument
88 floorToInt(float value) floorToInt() argument
94 ceilToInt(float value) ceilToInt() argument
106 round(float value) round() argument
112 sqrt(float value) sqrt() argument
118 sin(float value) sin() argument
124 cos(float value) cos() argument
130 tan(float value) tan() argument
154 asin(float value) asin() argument
160 acos(float value) acos() argument
181 sign(float value) sign() argument
[all...]
/foundation/arkui/ace_engine/test/unittest/bridge/common/utils/
H A Dutils_test.cpp140 std::string value = ""; in HWTEST_F() local
146 ParseImageObjectPosition(value); in HWTEST_F()
147 EXPECT_TRUE(ParseBackgroundImagePosition(value, backgroundImagePosition)); in HWTEST_F()
148 value = "10"; in HWTEST_F()
149 ParseImageObjectPosition(value); in HWTEST_F()
150 EXPECT_TRUE(ParseBackgroundImagePosition(value, backgroundImagePosition)); in HWTEST_F()
151 value = "top"; in HWTEST_F()
152 ParseImageObjectPosition(value); in HWTEST_F()
153 EXPECT_TRUE(ParseBackgroundImagePosition(value, backgroundImagePosition)); in HWTEST_F()
154 value in HWTEST_F()
193 std::string value = ""; HWTEST_F() local
219 std::string value = ""; HWTEST_F() local
245 std::string value = ""; HWTEST_F() local
282 std::string value = ""; HWTEST_F() local
313 std::string value = ""; HWTEST_F() local
347 std::string value = "aaa(int a,int b)"; HWTEST_F() local
364 std::string value = "bbb"; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_view.h31 static void SetColumnsTemplate(const std::string& value);
32 static void SetRowsTemplate(const std::string& value);
33 static void SetColumnsGap(const Dimension& value);
34 static void SetRowsGap(const Dimension& value);
35 static void SetScrollBarMode(DisplayMode value);
36 static void SetScrollBarColor(const Color& value);
37 static void SetScrollBarWidth(const Dimension& value);
38 static void SetCachedCount(int32_t value);
39 static void SetLayoutDirection(FlexDirection value);
40 static void SetMaxCount(int32_t value);
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dinner_mission_info.cpp42 nlohmann::json value; in ToJsonStr() local
43 value[KEY_MISSION_NAME] = missionName; in ToJsonStr()
44 value[KEY_LAUNCH_MODE] = launchMode; in ToJsonStr()
45 value[KEY_IS_TEMPORARY] = isTemporary; in ToJsonStr()
46 value[KEY_BUNDLE_NAME] = bundleName; in ToJsonStr()
47 value[KEY_START_METHOD] = startMethod; in ToJsonStr()
48 value[KEY_UID] = uid; in ToJsonStr()
49 value[KEY_SPEC_FLAG] = specifiedFlag; in ToJsonStr()
50 value[KEY_MISSION_ID] = missionInfo.id; in ToJsonStr()
51 value[KEY_RUNNING_STAT in ToJsonStr()
69 nlohmann::json value = nlohmann::json::parse(jsonStr, nullptr, false); FromJsonStr() local
168 CheckJsonNode(nlohmann::json &value, const std::string &node, JsonType jsonType) CheckJsonNode() argument
[all...]
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Djson.h61 struct value;
63 // parses 'data' and writes the corresponding JSON structure to 'value'
64 char* parse_value(char* data, value& value);
66 // parses 'data' and return JSON structure. the value::type will be 'uninitialized' if parsing failed.
67 value parse(char* data);
69 std::string to_string(const value& value);
75 using array = array_t<value>;
78 struct value { struct
88 value() : type{ type::uninitialized } {} value() function
89 value(object&& value) : type{ type::object }, object_(std::move(value)) {} move() function
90 value(array&& value) : type{ type::array }, array_(std::move(value)) {} move() function
91 value(string value) : type{ type::string }, string_(value) {} string_() function
92 value(double value) : type{ type::number }, number_(value) {} number_() function
93 explicit value(bool value) : type{ type::boolean }, boolean_(value) {} boolean_() function
94 value(null value) : type{ type::null } {} value() function
97 value(T value) : type{ type::number }, number_(static_cast<double>(value)) static_cast() function
101 value(array_t<T> values) : type{ type::array }, array_(array{}) value() function
118 value(value&& rhs) : type{ std::exchange(rhs.type, type::uninitialized) } value() function
248 value value; global() member
583 parse_value(char* data, value& value) parse_value() argument
606 add(value& v, value&& value) add() argument
677 auto value = std::move(stack.back()); parse() local
714 auto value = std::move(stack.back()); parse() local
750 value value; parse() local
760 value value; parse() local
770 value value; parse() local
780 value value; parse() local
799 auto value = std::move(stack.front()); parse() local
805 to_string(const value& value) to_string() argument
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_matrix_test.cpp97 float value; in HWTEST_F() local
98 value = OH_Drawing_MatrixGetValue(matrixTwo, 0); in HWTEST_F()
99 EXPECT_TRUE(IsScalarAlmostEqual(value, 1.5f)); in HWTEST_F()
100 value = OH_Drawing_MatrixGetValue(matrixTwo, 1); in HWTEST_F()
101 EXPECT_TRUE(IsScalarAlmostEqual(value, 0.0f)); in HWTEST_F()
102 value = OH_Drawing_MatrixGetValue(matrixTwo, 2); in HWTEST_F()
103 EXPECT_TRUE(IsScalarAlmostEqual(value, 3.5f)); in HWTEST_F()
105 value = OH_Drawing_MatrixGetValue(matrixTwo, 3); in HWTEST_F()
106 EXPECT_TRUE(IsScalarAlmostEqual(value, 0.0f)); in HWTEST_F()
107 value in HWTEST_F()
163 float value; HWTEST_F() local
202 float value; HWTEST_F() local
237 float value; HWTEST_F() local
296 float value; HWTEST_F() local
336 float value; HWTEST_F() local
436 float value; HWTEST_F() local
473 float value; HWTEST_F() local
501 float value; HWTEST_F() local
537 float value; HWTEST_F() local
574 float value; HWTEST_F() local
601 float value; HWTEST_F() local
646 float value; HWTEST_F() local
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/Mock/
H A Dmock_wifi_global_func.cpp37 int GetParamValue(const char *key, const char *def, char *value, uint32_t len) in GetParamValue() argument
41 value[INDEX_ZERO] = '3'; in GetParamValue()
42 value[INDEX_ONE] = '1'; in GetParamValue()
46 value[INDEX_ZERO] = 'f'; in GetParamValue()
47 value[INDEX_ONE] = 'a'; in GetParamValue()
48 value[INDEX_TWO] = 'c'; in GetParamValue()
49 value[INDEX_THREE] = 't'; in GetParamValue()
50 value[INDEX_FOUR] = 'o'; in GetParamValue()
51 value[INDEX_FIVE] = 'r'; in GetParamValue()
52 value[INDEX_SI in GetParamValue()
[all...]
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/file_hook/
H A Dparcel.cpp20 bool Parcel::WriteInt32(int32_t value) in WriteInt32() argument
22 if (value == 0) { in WriteInt32()
28 bool Parcel::WriteUint32(uint32_t value) in WriteUint32() argument
30 if (value == 0) { in WriteUint32()
36 bool Parcel::WriteInt64(int64_t value) in WriteInt64() argument
38 if (value == 0) { in WriteInt64()
44 bool Parcel::WriteString(const std::string &value) in WriteString() argument
46 if (value == "continue") { in WriteString()
52 bool Parcel::WriteBool(bool value) in WriteBool() argument
54 if (value in WriteBool()
65 ReadInt32(int32_t &value) ReadInt32() argument
74 ReadUint32(uint32_t &value) ReadUint32() argument
83 ReadInt64(int64_t &value) ReadInt64() argument
91 ReadString(string &value) ReadString() argument
99 ReadBool(bool &value) ReadBool() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_model_ng.cpp104 void TextModelNG::SetFont(const Font& value) in SetFont() argument
106 if (value.fontSize.has_value()) { in SetFont()
107 SetFontSize(value.fontSize.value()); in SetFont()
109 if (value.fontWeight.has_value()) { in SetFont()
110 SetFontWeight(value.fontWeight.value()); in SetFont()
112 if (!value.fontFamilies.empty()) { in SetFont()
113 SetFontFamily(value.fontFamilies); in SetFont()
115 if (value in SetFont()
121 SetFontSize(const Dimension& value) SetFontSize() argument
130 SetFontSize(FrameNode* frameNode, const Dimension& value) SetFontSize() argument
139 SetTextColor(const Color& value) SetTextColor() argument
154 SetTextColor(FrameNode* frameNode, const Color& value) SetTextColor() argument
168 SetTextShadow(const std::vector<Shadow>& value) SetTextShadow() argument
173 SetItalicFontStyle(Ace::FontStyle value) SetItalicFontStyle() argument
178 SetItalicFontStyle(FrameNode* frameNode, Ace::FontStyle value) SetItalicFontStyle() argument
183 SetFontWeight(FrameNode* frameNode, Ace::FontWeight value) SetFontWeight() argument
188 SetVariableFontWeight(FrameNode* frameNode, int32_t value) SetVariableFontWeight() argument
193 SetEnableVariableFontWeight(FrameNode* frameNode, bool value) SetEnableVariableFontWeight() argument
198 SetMinFontScale(const float value) SetMinFontScale() argument
203 SetMaxFontScale(const float value) SetMaxFontScale() argument
208 SetFontWeight(Ace::FontWeight value) SetFontWeight() argument
213 SetVariableFontWeight(int32_t value) SetVariableFontWeight() argument
218 SetEnableVariableFontWeight(bool value) SetEnableVariableFontWeight() argument
223 SetFontFamily(const std::vector<std::string>& value) SetFontFamily() argument
228 SetWordBreak(Ace::WordBreak value) SetWordBreak() argument
233 SetLineBreakStrategy(Ace::LineBreakStrategy value) SetLineBreakStrategy() argument
238 SetTextSelectableMode(Ace::TextSelectableMode value) SetTextSelectableMode() argument
248 SetEllipsisMode(EllipsisMode value) SetEllipsisMode() argument
253 SetTextAlign(Ace::TextAlign value) SetTextAlign() argument
258 SetTextAlign(FrameNode* frameNode, Ace::TextAlign value) SetTextAlign() argument
263 SetTextOverflow(Ace::TextOverflow value) SetTextOverflow() argument
268 SetTextOverflow(FrameNode* frameNode, Ace::TextOverflow value) SetTextOverflow() argument
273 SetMaxLines(uint32_t value) SetMaxLines() argument
278 SetTextIndent(const Dimension& value) SetTextIndent() argument
283 SetLineHeight(const Dimension& value) SetLineHeight() argument
288 SetLineHeight(FrameNode* frameNode, const Dimension& value) SetLineHeight() argument
293 SetLineSpacing(const Dimension& value) SetLineSpacing() argument
298 SetLineSpacing(FrameNode* frameNode, const Dimension& value) SetLineSpacing() argument
303 SetTextDecoration(Ace::TextDecoration value) SetTextDecoration() argument
308 SetTextDecoration(FrameNode* frameNode, TextDecoration value) SetTextDecoration() argument
313 SetTextDecorationColor(const Color& value) SetTextDecorationColor() argument
318 SetTextDecorationColor(FrameNode* frameNode, const Color& value) SetTextDecorationColor() argument
323 SetTextDecorationStyle(Ace::TextDecorationStyle value) SetTextDecorationStyle() argument
328 SetTextDecorationStyle(FrameNode* frameNode, TextDecorationStyle value) SetTextDecorationStyle() argument
333 SetBaselineOffset(const Dimension& value) SetBaselineOffset() argument
338 SetTextCase(Ace::TextCase value) SetTextCase() argument
343 SetLetterSpacing(const Dimension& value) SetLetterSpacing() argument
348 SetAdaptMinFontSize(const Dimension& value) SetAdaptMinFontSize() argument
353 SetAdaptMaxFontSize(const Dimension& value) SetAdaptMaxFontSize() argument
358 SetHeightAdaptivePolicy(TextHeightAdaptivePolicy value) SetHeightAdaptivePolicy() argument
363 SetTextDetectEnable(bool value) SetTextDetectEnable() argument
423 SetTextCaretColor(const Color& value) SetTextCaretColor() argument
428 SetSelectedBackgroundColor(const Color& value) SetSelectedBackgroundColor() argument
467 InitText(FrameNode* frameNode, std::string& value) InitText() argument
491 SetTextCase(FrameNode* frameNode, Ace::TextCase value) SetTextCase() argument
496 SetMaxLines(FrameNode* frameNode, uint32_t value) SetMaxLines() argument
501 SetAdaptMinFontSize(FrameNode* frameNode, const Dimension& value) SetAdaptMinFontSize() argument
506 SetAdaptMaxFontSize(FrameNode* frameNode, const Dimension& value) SetAdaptMaxFontSize() argument
511 SetMinFontScale(FrameNode* frameNode, const float value) SetMinFontScale() argument
516 SetMaxFontScale(FrameNode* frameNode, const float value) SetMaxFontScale() argument
521 SetFontFamily(FrameNode* frameNode, const std::vector<std::string>& value) SetFontFamily() argument
531 SetTextShadow(FrameNode* frameNode, const std::vector<Shadow>& value) SetTextShadow() argument
536 SetHeightAdaptivePolicy(FrameNode* frameNode, TextHeightAdaptivePolicy value) SetHeightAdaptivePolicy() argument
541 SetTextIndent(FrameNode* frameNode, const Dimension& value) SetTextIndent() argument
546 SetBaselineOffset(FrameNode* frameNode, const Dimension& value) SetBaselineOffset() argument
551 SetFont(FrameNode* frameNode, const Font& value) SetFont() argument
568 SetLetterSpacing(FrameNode* frameNode, const Dimension& value) SetLetterSpacing() argument
573 SetWordBreak(FrameNode* frameNode, Ace::WordBreak value) SetWordBreak() argument
578 SetLineBreakStrategy(FrameNode* frameNode, Ace::LineBreakStrategy value) SetLineBreakStrategy() argument
583 SetTextSelectableMode(FrameNode* frameNode, Ace::TextSelectableMode value) SetTextSelectableMode() argument
591 SetEllipsisMode(FrameNode* frameNode, Ace::EllipsisMode value) SetEllipsisMode() argument
596 SetTextDetectEnable(FrameNode* frameNode, bool value) SetTextDetectEnable() argument
636 SetFontFeature(const FONT_FEATURES_LIST& value) SetFontFeature() argument
641 SetFontFeature(FrameNode* frameNode, const FONT_FEATURES_LIST& value) SetFontFeature() argument
660 auto value = layoutProperty->GetLineHeight().value_or(defaultLineHeight); GetLineHeight() local
670 auto value = layoutProperty->GetLineSpacing().value_or(defaultLineSpacing); GetLineSpacing() local
759 std::vector<std::string> value; GetFontFamily() local
766 CopyOptions value = CopyOptions::None; GetCopyOption() local
773 TextHeightAdaptivePolicy value = TextHeightAdaptivePolicy::MAX_LINES_FIRST; GetHeightAdaptivePolicy() local
780 Dimension value; GetAdaptMinFontSize() local
788 Dimension value; GetAdaptMaxFontSize() local
796 Font value; GetFont() local
806 Dimension value; GetFontSize() local
813 Ace::FontWeight value = Ace::FontWeight::NORMAL; GetFontWeight() local
820 Ace::FontStyle value = Ace::FontStyle::NORMAL; GetItalicFontStyle() local
863 Ace::WordBreak value = Ace::WordBreak::BREAK_WORD; GetWordBreak() local
870 EllipsisMode value = EllipsisMode::TAIL; GetEllipsisMode() local
882 SetTextDetectConfig(FrameNode* frameNode, const std::string& value) SetTextDetectConfig() argument
924 FONT_FEATURES_LIST value; GetFontFeature() local
931 TextSelectableMode value = TextSelectableMode::SELECTABLE_UNFOCUSABLE; GetTextSelectableMode() local
936 SetCaretColor(FrameNode* frameNode, const Color& value) SetCaretColor() argument
947 Color value = theme->GetCaretColor(); GetCaretColor() local
961 SetSelectedBackgroundColor(FrameNode* frameNode, const Color& value) SetSelectedBackgroundColor() argument
977 Color value = theme->GetSelectedColor(); GetSelectedBackgroundColor() local
994 LineBreakStrategy value = LineBreakStrategy::GREEDY; GetLineBreakStrategy() local
999 SetTextContentWithStyledString(FrameNode* frameNode, ArkUI_StyledString* value) SetTextContentWithStyledString() argument
1139 bool value = false; GetHalfLeading() local
[all...]
/foundation/ability/ability_base/test/unittest/base/
H A Dzchar_wrapper_test.cpp45 zchar value = 0; in HWTEST_F() local
46 Char zcharValue(value); in HWTEST_F()
47 ErrCode result = zcharValue.GetValue(value); in HWTEST_F()
58 char value = 0; in HWTEST_F() local
59 Char charValue(value); in HWTEST_F()
60 char result = charValue.Unbox(charValue.Box(value)); in HWTEST_F()
71 zchar value = 0xD801; in HWTEST_F() local
72 Char zcharValue(value); in HWTEST_F()
73 EXPECT_EQ(0, zcharValue.GetByteSize(value)); in HWTEST_F()
83 zchar value in HWTEST_F() local
95 zchar value = 0x00000800 - 1; HWTEST_F() local
107 zchar value = 0x00010000 - 1; HWTEST_F() local
119 zchar value = 0x00010000 + 1; HWTEST_F() local
131 zchar value = 0; HWTEST_F() local
146 zchar value = 0; HWTEST_F() local
161 zchar value = 0; HWTEST_F() local
176 zchar value = 0; HWTEST_F() local
190 zchar value = 0; HWTEST_F() local
204 zchar value = 0; HWTEST_F() local
218 zchar value = 0; HWTEST_F() local
[all...]
/foundation/communication/ipc/ipc/native/test/fuzztest/core/include/
H A Dfuzz_data_generator.h50 static inline bool GenerateFromList(T &value, const std::vector<T> &candidateValues) in GenerateFromList() argument
59 value = candidateValues[rawData % candidateValues.size()]; in GenerateFromList()
63 static inline bool GenerateBool(bool &value) in GenerateBool() argument
65 return DataGenerator::GetInstance().ReadBool(value); in GenerateBool()
68 static inline bool GenerateInt8(int8_t &value) in GenerateInt8() argument
70 return DataGenerator::GetInstance().ReadInt8(value); in GenerateInt8()
73 static inline bool GenerateInt16(int16_t &value) in GenerateInt16() argument
75 return DataGenerator::GetInstance().ReadInt16(value); in GenerateInt16()
78 static inline bool GenerateInt32(int32_t &value) in GenerateInt32() argument
80 return DataGenerator::GetInstance().ReadInt32(value); in GenerateInt32()
83 GenerateInt64(int64_t &value) GenerateInt64() argument
88 GenerateUint8(uint8_t &value) GenerateUint8() argument
93 GenerateUint16(uint16_t &value) GenerateUint16() argument
98 GenerateUint32(uint32_t &value) GenerateUint32() argument
103 GenerateUint64(uint64_t &value) GenerateUint64() argument
108 GenerateFloat(float &value) GenerateFloat() argument
113 GenerateDouble(double &value) GenerateDouble() argument
118 GenerateString(std::string &value) GenerateString() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/
H A Drect_paint_property.h43 auto value = MakeRefPtr<RectPaintProperty>(); variable
44 value->PaintProperty::UpdatePaintProperty(DynamicCast<PaintProperty>(this));
45 value->propTopLeftRadius_ = CloneTopLeftRadius();
46 value->propTopRightRadius_ = CloneTopRightRadius();
47 value->propBottomLeftRadius_ = CloneBottomLeftRadius();
48 value->propBottomRightRadius_ = CloneBottomRightRadius();
49 value->propFill_ = CloneFill();
50 value->propFillOpacity_ = CloneFillOpacity();
51 value->propStroke_ = CloneStroke();
52 value
132 UpdateTopLeftRadius(const Radius& value) UpdateTopLeftRadius() argument
158 UpdateTopRightRadius(const Radius& value) UpdateTopRightRadius() argument
184 UpdateBottomRightRadius(const Radius& value) UpdateBottomRightRadius() argument
209 UpdateBottomLeftRadius(const Radius& value) UpdateBottomLeftRadius() argument
214 UpdateRadius(std ::optional<Radius>& radiusOpt, const Radius& value) UpdateRadius() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtext_model_impl.h31 void SetFont(const Font& value) override;
32 void SetFontSize(const Dimension& value) override;
33 void SetTextColor(const Color& value) override;
34 void SetTextShadow(const std::vector<Shadow>& value) override;
36 void SetTextSelectableMode(TextSelectableMode value) override {};
37 void SetTextCaretColor(const Color& value) override;
38 void SetSelectedBackgroundColor(const Color& value) override;
39 void SetItalicFontStyle(Ace::FontStyle value) override;
40 void SetFontWeight(FontWeight value) override;
41 void SetVariableFontWeight(int32_t value) overrid
[all...]
H A Dprogress_model_impl.h26 void Create(double min, double value, double cachedValue, double max, NG::ProgressType type) override;
27 void SetValue(double value) override;
28 void SetColor(const Color& value) override;
29 void SetBackgroundColor(const Color& value) override;
30 void SetStrokeWidth(const Dimension& value) override;
31 void SetScaleCount(int32_t value) override;
32 void SetScaleWidth(const Dimension& value) override;
33 void SetBorderColor(const Color& value) override {}
34 void SetBorderWidth(const Dimension& value) override {}
35 void SetFontSize(const Dimension& value) overrid
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_javascript_value.h45 WebJSValueUnion(int value) : n(value) {} in WebJSValueUnion() argument
46 WebJSValueUnion(double value) : f(value) {} in WebJSValueUnion() argument
47 WebJSValueUnion(bool value) : b(value) {} in WebJSValueUnion() argument
56 explicit WebJavaScriptValue(int value) : type_(Type::INTEGER), data_(value) {} in WebJavaScriptValue() argument
57 explicit WebJavaScriptValue(double value) : type_(Type::DOUBLE), data_(value) {} in WebJavaScriptValue() argument
58 WebJavaScriptValue(bool value) WebJavaScriptValue() argument
59 WebJavaScriptValue(const std::string& value) WebJavaScriptValue() argument
61 WebJavaScriptValue(const std::vector<WebJavaScriptValue>& value) WebJavaScriptValue() argument
64 WebJavaScriptValue(const std::map<std::string, WebJavaScriptValue>& value) WebJavaScriptValue() argument
68 WebJavaScriptValue(const WebJavaScriptValue& value) WebJavaScriptValue() argument
99 WebJavaScriptValue(std::vector<WebJavaScriptValue>&& value) WebJavaScriptValue() argument
103 WebJavaScriptValue(std::map<std::string, WebJavaScriptValue>&& value) WebJavaScriptValue() argument
107 WebJavaScriptValue(WebJavaScriptValue&& value) WebJavaScriptValue() argument
114 operator =(const WebJavaScriptValue& value) operator =() argument
147 operator =(WebJavaScriptValue&& value) operator =() argument
270 SetBoolean(bool value) SetBoolean() argument
275 SetString(const std::string& value) SetString() argument
285 SetDouble(double value) SetDouble() argument
295 SetInt(int value) SetInt() argument
320 AddListValue(const WebJavaScriptValue& value) AddListValue() argument
361 AddDictionaryValue(const std::string& key, WebJavaScriptValue& value) AddDictionaryValue() argument
381 SetJsonString(const std::string& value) SetJsonString() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_textfield_ffi.h24 CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetHeight(double value, uint32_t unit);
28 CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetBorderWidth(double value, uint32_t unit);
32 CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetBorderRadius(double value, uint32_t unit);
33 CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetAllBorderRadius(CJBorderRadius value);
35 CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetPadding(double value, int32_t unit);
37 CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetMargin(double value, int32_t unit);
39 CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetType(int32_t value);
40 CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetPlaceholderColor(uint32_t value);
45 CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetEnterKeyType(int32_t value);
46 CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetCaretColor(uint32_t value);
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_property.cpp108 std::shared_ptr<RSPropertyBase> operator*=(const std::shared_ptr<RSPropertyBase>& value, const float scale) in operator *=() argument
110 if (value == nullptr) { in operator *=()
114 return value->Multiply(scale); in operator *=()
137 std::shared_ptr<RSPropertyBase> operator*(const std::shared_ptr<const RSPropertyBase>& value, const float scale) in operator *() argument
139 if (value == nullptr) { in operator *()
143 return value->Clone()->Multiply(scale); in operator *()
164 #define UPDATE_TO_RENDER(Command, value, type) \
169 std::unique_ptr<RSCommand> command = std::make_unique<Command>(node->GetId(), value, id_, type); \
173 std::make_unique<Command>(node->GetId(), value, id_, type); \
180 void RSProperty<bool>::UpdateToRender(const bool& value, PropertyUpdateTyp argument
185 UpdateToRender(const float& value, PropertyUpdateType type) const UpdateToRender() argument
190 UpdateToRender(const int& value, PropertyUpdateType type) const UpdateToRender() argument
195 UpdateToRender(const Color& value, PropertyUpdateType type) const UpdateToRender() argument
200 UpdateToRender(const Gravity& value, PropertyUpdateType type) const UpdateToRender() argument
205 UpdateToRender(const Matrix3f& value, PropertyUpdateType type) const UpdateToRender() argument
210 UpdateToRender(const Quaternion& value, PropertyUpdateType type) const UpdateToRender() argument
215 UpdateToRender( const std::shared_ptr<RSFilter>& value, PropertyUpdateType type) const UpdateToRender() argument
221 UpdateToRender( const std::shared_ptr<RSImage>& value, PropertyUpdateType type) const UpdateToRender() argument
227 UpdateToRender( const std::shared_ptr<RSMask>& value, PropertyUpdateType type) const UpdateToRender() argument
233 UpdateToRender( const std::shared_ptr<RSPath>& value, PropertyUpdateType type) const UpdateToRender() argument
239 UpdateToRender( const RSDynamicBrightnessPara& value, PropertyUpdateType type) const UpdateToRender() argument
245 UpdateToRender( const std::shared_ptr<RSLinearGradientBlurPara>& value, PropertyUpdateType type) const UpdateToRender() argument
251 UpdateToRender( const RSWaterRipplePara& value, PropertyUpdateType type) const UpdateToRender() argument
257 UpdateToRender( const RSFlyOutPara& value, PropertyUpdateType type) const UpdateToRender() argument
263 UpdateToRender( const std::shared_ptr<MotionBlurParam>& value, PropertyUpdateType type) const UpdateToRender() argument
269 UpdateToRender( const std::shared_ptr<RSMagnifierParams>& value, PropertyUpdateType type) const UpdateToRender() argument
275 UpdateToRender( const std::vector<std::shared_ptr<EmitterUpdater>>& value, PropertyUpdateType type) const UpdateToRender() argument
281 UpdateToRender( const std::shared_ptr<ParticleNoiseFields>& value, PropertyUpdateType type) const UpdateToRender() argument
287 UpdateToRender( const std::shared_ptr<RSShader>& value, PropertyUpdateType type) const UpdateToRender() argument
293 UpdateToRender(const Vector2f& value, PropertyUpdateType type) const UpdateToRender() argument
298 UpdateToRender(const Vector4<uint32_t>& value, PropertyUpdateType type) const UpdateToRender() argument
304 UpdateToRender(const Vector4<Color>& value, PropertyUpdateType type) const UpdateToRender() argument
310 UpdateToRender(const Vector4f& value, PropertyUpdateType type) const UpdateToRender() argument
316 UpdateToRender(const RRect& value, PropertyUpdateType type) const UpdateToRender() argument
322 IsValid(const float& value) IsValid() argument
327 IsValid(const Vector2f& value) IsValid() argument
332 IsValid(const Vector4f& value) IsValid() argument
[all...]

Completed in 13 milliseconds

12345678910>>...272