Home
last modified time | relevance | path

Searched refs:value (Results 601 - 625 of 24686) sorted by relevance

1...<<21222324252627282930>>...988

/test/xts/acts/kernel_lite/kernelcmsis_hal/src/
H A Dcmsis_timer_func_test.c78 UINT32 value=0xffff; variable
79 id = osTimerNew((osTimerFunc_t)CmsisTimerFunc001, osTimerOnce, &value, NULL);
93 UINT32 value=0xffff; variable
94 id = osTimerNew((osTimerFunc_t)CmsisTimerFunc001, osTimerPeriodic, &value, NULL);
108 UINT32 value=0xffff; variable
109 id = osTimerNew(NULL, osTimerOnce, &value, NULL);
122 UINT32 value=0xffff; variable
123 id = osTimerNew(NULL, osTimerPeriodic, &value, NULL);
136 UINT32 value=0xffff; variable
137 id = osTimerNew((osTimerFunc_t)CmsisTimerFunc001, INVALID_TIMER_TYPE, &value, NUL
151 UINT32 value=0xffff; global() variable
169 UINT32 value=0xffff; global() variable
187 UINT32 value=0xffff; global() variable
209 UINT32 value=0xffff; global() variable
231 UINT32 value=0xffff; global() variable
248 UINT32 value=0xffff; global() variable
278 UINT32 value=0xffff; global() variable
296 UINT32 value=0xffff; global() variable
314 UINT32 value=0xffff; global() variable
334 UINT32 value=0xffff; global() variable
366 UINT32 value=0xffff; global() variable
387 UINT32 value=0xffff; global() variable
408 UINT32 value=0xffff; global() variable
427 UINT32 value=0xffff; global() variable
458 UINT32 value=0xffff; global() variable
476 UINT32 value=0xffff; global() variable
496 UINT32 value=0xffff; global() variable
518 UINT32 value=0xffff; global() variable
538 UINT32 value=0xffff; global() variable
556 UINT32 value=0xffff; global() variable
576 UINT32 value=0xffff; global() variable
598 UINT32 value=0xffff; global() variable
[all...]
/third_party/gn/src/base/numerics/
H A Dchecked_math.h20 static_assert(std::is_arithmetic<T>::value,
31 : state_(rhs.state_.value(), rhs.IsValid()) {} in CheckedNumeric()
39 constexpr CheckedNumeric(Src value) // NOLINT(runtime/explicit) in CheckedNumeric() argument
40 : state_(value) { in CheckedNumeric()
41 static_assert(std::is_arithmetic<Src>::value, "Argument must be numeric."); in CheckedNumeric()
48 StrictNumeric<Src> value) // NOLINT(runtime/explicit) in CheckedNumeric()
49 : state_(static_cast<Src>(value)) {} in CheckedNumeric()
57 IsValueInRangeForNumericType<Dst>(state_.value()); in IsValid()
60 // AssignIfValid(Dst) - Assigns the underlying value if it is currently valid
72 ? ((*result = static_cast<Dst>(state_.value())), tru in AssignIfValid()
47 CheckedNumeric( StrictNumeric<Src> value) CheckedNumeric() argument
209 CheckedNumeric value = *this; operator ++() local
220 CheckedNumeric value = *this; operator --() local
260 CheckedNumeric(Src value, bool is_valid) CheckedNumeric() argument
268 static constexpr Src value(Src value) { return value; } value() function
276 static constexpr Src value(const CheckedNumeric<Src> v) { value() function
284 static constexpr Src value(const StrictNumeric<Src> v) { value() function
292 IsValidForType(const CheckedNumeric<Src> value) IsValidForType() argument
297 ValueOrDieForType( const CheckedNumeric<Src> value) ValueOrDieForType() argument
303 ValueOrDefaultForType( const CheckedNumeric<Src> value, const Default default_value) ValueOrDefaultForType() argument
312 MakeCheckedNum( const T value) MakeCheckedNum() argument
[all...]
/third_party/gn/src/gn/
H A Dtarget_generator.cc32 #include "gn/value.h"
184 const Value* value = scope_->GetValue(variables::kSources, true); in FillSources() local
185 if (!value) in FillSources()
189 if (!ExtractListOfRelativeFiles(scope_->settings()->build_settings(), *value, in FillSources()
197 const Value* value = scope_->GetValue(variables::kPublic, true); in FillPublic() local
198 if (!value) in FillPublic()
205 if (!ExtractListOfRelativeFiles(scope_->settings()->build_settings(), *value, in FillPublic()
229 const Value* value = scope_->GetValue(variables::kData, true); in FillData() local
230 if (!value) in FillData()
232 if (!value in FillData()
296 Value* value = scope_->GetMutableValue(variables::kMetadata, FillMetadata() local
324 const Value* value = scope_->GetValue(variables::kTestonly, true); FillTestonly() local
334 const Value* value = scope_->GetValue(variables::kAssertNoDeps, true); FillAssertNoDeps() local
344 const Value* value = scope_->GetValue(variables::kOutputs, true); FillOutputs() local
381 const Value* value = scope_->GetValue(variables::kCheckIncludes, true); FillCheckIncludes() local
391 const Value* value = scope_->GetValue(variables::kOutputExtension, true); FillOutputExtension() local
433 const Value* value = scope_->GetValue(var_name, true); FillGenericConfigs() local
444 const Value* value = scope_->GetValue(var_name, true); FillGenericDeps() local
455 const Value* value = scope_->GetValue(var_name, true); FillGenericDepsWithWholeArchive() local
467 const Value* value = scope_->GetValue(var_name, true); FillOhosComponentDeps() local
478 const Value* value = scope_->GetValue(variables::kWriteRuntimeDeps, true); FillWriteRuntimeDeps() local
[all...]
/third_party/lzma/CPP/Windows/
H A DRegistry.cpp114 static inline UInt32 BoolToUINT32(bool value) { return (value ? 1: 0); } in BoolToUINT32() argument
115 static inline bool UINT32ToBool(UInt32 value) { return (value != 0); } in UINT32ToBool() argument
134 LONG CKey::SetValue(LPCTSTR name, UInt32 value) throw() in SetValue() argument
138 (const BYTE *)&value, sizeof(UInt32)); in SetValue()
141 LONG CKey::SetValue(LPCTSTR name, bool value) throw() in SetValue() argument
143 return SetValue(name, BoolToUINT32(value)); in SetValue()
146 LONG CKey::SetValue(LPCTSTR name, LPCTSTR value) throw() in SetValue() argument
148 MYASSERT(value ! in SetValue()
166 SetValue(LPCWSTR name, LPCWSTR value) SetValue() argument
180 SetValue(LPCTSTR name, const void *value, UInt32 size) SetValue() argument
188 SetValue(HKEY parentKey, LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value) SetValue() argument
198 SetKeyValue(LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value) SetKeyValue() argument
208 QueryValue(LPCTSTR name, UInt32 &value) QueryValue() argument
219 QueryValue(LPCTSTR name, bool &value) QueryValue() argument
227 GetValue_IfOk(LPCTSTR name, UInt32 &value) GetValue_IfOk() argument
236 GetValue_IfOk(LPCTSTR name, bool &value) GetValue_IfOk() argument
245 QueryValue(LPCTSTR name, LPTSTR value, UInt32 &count) QueryValue() argument
253 QueryValue(LPCTSTR name, CSysString &value) QueryValue() argument
272 QueryValue(LPCWSTR name, LPWSTR value, UInt32 &count) QueryValue() argument
280 QueryValue(LPCWSTR name, UString &value) QueryValue() argument
312 QueryValue(LPCTSTR name, void *value, UInt32 &count) QueryValue() argument
321 QueryValue(LPCTSTR name, CByteBuffer &value, UInt32 &dataSize) QueryValue() argument
[all...]
/third_party/protobuf/src/google/protobuf/util/
H A Dtime_util.cc106 // precision to represent the exact value.
121 bool ParseTime(const std::string& value, int64* seconds, int32* nanos) { in ParseTime() argument
122 return ::google::protobuf::internal::ParseTime(value, seconds, nanos); in ParseTime()
130 int64 RoundTowardZero(int64 value, int64 divider) { in RoundTowardZero() argument
131 int64 result = value / divider; in RoundTowardZero()
132 int64 remainder = value % divider; in RoundTowardZero()
159 bool TimeUtil::FromString(const std::string& value, Timestamp* timestamp) { in FromString() argument
162 if (!ParseTime(value, &seconds, &nanos)) { in FromString()
203 bool TimeUtil::FromString(const std::string& value, Duration* duration) { in FromString() argument
204 if (value in FromString()
334 TimeTToTimestamp(time_t value) TimeTToTimestamp() argument
338 TimestampToTimeT(const Timestamp& value) TimestampToTimeT() argument
342 TimevalToTimestamp(const timeval& value) TimevalToTimestamp() argument
347 TimestampToTimeval(const Timestamp& value) TimestampToTimeval() argument
354 TimevalToDuration(const timeval& value) TimevalToDuration() argument
359 DurationToTimeval(const Duration& value) DurationToTimeval() argument
382 ToUint128(const Duration& value, uint128* result, bool* negative) ToUint128() argument
394 ToDuration(const uint128& value, bool negative, Duration* duration) ToDuration() argument
421 uint128 value; operator *=() local
447 uint128 value; operator /=() local
[all...]
/third_party/protobuf/php/tests/
H A DPhpImplementationTest.php32 $value = null; variable
36 GPBWire::readInt32($input, $value);
37 $this->assertSame(1, $value);
41 GPBWire::readInt32($input, $value);
42 $this->assertSame(-1, $value);
46 GPBWire::readInt32($input, $value);
47 $this->assertSame(-1, $value);
52 $value = null; variable
56 GPBWire::readUint32($input, $value);
57 $this->assertSame(1, $value);
72 $value = null; global() variable
92 $value = null; global() variable
112 $value = null; global() variable
129 $value = null; global() variable
146 $value = null; global() variable
154 $value = null; global() variable
166 $value = null; global() variable
174 $value = null; global() variable
182 $value = null; global() variable
195 $value = null; global() variable
203 $value = null; global() variable
[all...]
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
H A Dparser_impl_type_decl_test.cc32 EXPECT_EQ(t.value, nullptr); in TEST_F()
42 ASSERT_NE(t.value, nullptr) << p->error(); in TEST_F()
43 auto* type_name = t.value->As<ast::TypeName>(); in TEST_F()
55 ASSERT_NE(t.value, nullptr) << p->error(); in TEST_F()
56 ASSERT_TRUE(t.value->Is<ast::Bool>()); in TEST_F()
57 EXPECT_EQ(t.value->source.range, (Source::Range{{1u, 1u}, {1u, 5u}})); in TEST_F()
66 ASSERT_NE(t.value, nullptr) << p->error(); in TEST_F()
67 ASSERT_TRUE(t.value->Is<ast::F32>()); in TEST_F()
68 EXPECT_EQ(t.value->source.range, (Source::Range{{1u, 1u}, {1u, 4u}})); in TEST_F()
77 ASSERT_NE(t.value, nullpt in TEST_F()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DsuperPropertyAccess_ES6.js4 get value(): number { return 1; }
12 const f2 = super.value;
17 var f3 = d.value;
22 set property(value: string) { this._property = value }
26 set property(value: string) {
27 super.property = value + " addition";
34 get value() { return 1; }
40 const f2 = super.value;
44 var f3 = d.value;
[all...]
/base/web/webview/ohos_interface/ohos_glue/base/include/
H A Dark_web_types.cpp24 struct_value.value = (char16_t*)ArkWebMemMalloc((struct_value.size + 1) * sizeof(char16_t)); in ArkWebU16StringClassToStruct()
25 if (struct_value.value == nullptr) { in ArkWebU16StringClassToStruct()
30 memcpy((char*)struct_value.value, (char*)class_value.c_str(), struct_value.size * sizeof(char16_t)); in ArkWebU16StringClassToStruct()
31 struct_value.value[struct_value.size] = 0; in ArkWebU16StringClassToStruct()
43 class_value = struct_value.value; in ArkWebU16StringStructToClass()
55 struct_value.value = (char*)ArkWebMemMalloc(struct_value.size + 1); in ArkWebStringClassToStruct()
56 if (struct_value.value == nullptr) { in ArkWebStringClassToStruct()
61 memcpy(struct_value.value, class_value.c_str(), struct_value.size); in ArkWebStringClassToStruct()
62 struct_value.value[struct_value.size] = 0; in ArkWebStringClassToStruct()
74 class_value.assign(struct_value.value, struct_valu in ArkWebStringStructToClass()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dbit_field.h28 * @brief The BitField class encapsulates a bit field value.
35 constexpr BitField(const BaseValueType& value) noexcept : value_(value) {} in value_()
44 constexpr BitField& operator|=(BaseValueType value) noexcept
46 value_ |= value;
49 constexpr BitField operator|(BaseValueType value) const noexcept
51 return BitField(value_ | value);
53 constexpr BitField& operator&=(BaseValueType value) noexcept
55 value_ &= value;
58 constexpr BitField operator&(BaseValueType value) cons
[all...]
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/include/
H A Djs_sendable_utils.h48 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, std::monostate &value);
51 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, std::vector<T> &value);
54 int32_t ConvertFromSendable(napi_env env, napi_value jsValue, std::variant<Types...> &value);
56 napi_value ConvertToSendable(napi_env env, int32_t value);
57 napi_value ConvertToSendable(napi_env env, int64_t value);
58 napi_value ConvertToSendable(napi_env env, uint32_t value);
59 napi_value ConvertToSendable(napi_env env, bool value);
60 napi_value ConvertToSendable(napi_env env, float value);
61 napi_value ConvertToSendable(napi_env env, double value);
62 napi_value ConvertToSendable(napi_env env, const std::vector<uint8_t> &value);
79 GetCPPValue(napi_env env, napi_value jsValue, T &value) GetCPPValue() argument
88 GetCPPValue(napi_env env, napi_value jsValue, T &value) GetCPPValue() argument
100 GetSendableValue(napi_env env, const T &value) GetSendableValue() argument
106 GetSendableValue(napi_env env, const T &value) GetSendableValue() argument
117 ConvertFromSendable(napi_env env, napi_value jsValue, std::vector<T> &value) ConvertFromSendable() argument
145 ConvertFromSendable(napi_env env, napi_value jsValue, std::variant<Types...> &value) ConvertFromSendable() argument
151 ConvertToSendable(napi_env env, const std::vector<T> &value) ConvertToSendable() argument
166 ConvertToSendable(napi_env env, const std::variant<Types...> &value) ConvertToSendable() argument
[all...]
/third_party/vixl/src/
H A Dutils-vixl.h113 constexpr bool is_unbounded_array_v = is_unbounded_array<T>::value;
375 inline uint64_t RotateRight(uint64_t value, in RotateRight() argument
382 value &= width_mask; in RotateRight()
383 value = (value << (width - rotate)) | (value >> rotate); in RotateRight()
385 return value & width_mask; in RotateRight()
395 friend uint16_t Float16ToRawbits(Float16 value);
403 uint16_t Float16ToRawbits(Float16 value);
406 uint32_t FloatToRawbits(float value);
435 UnsignedNegate(T value) UnsignedNegate() argument
559 IsPositiveZero(double value) IsPositiveZero() argument
563 IsNaN(float value) IsNaN() argument
565 IsNaN(double value) IsNaN() argument
567 IsNaN(Float16 value) IsNaN() argument
569 IsInf(float value) IsInf() argument
571 IsInf(double value) IsInf() argument
573 IsInf(Float16 value) IsInf() argument
645 LowestSetBit(uint64_t value) LowestSetBit() argument
651 HighestSetBitPosition(T value) HighestSetBitPosition() argument
658 WhichPowerOf2(V value) WhichPowerOf2() argument
671 ReverseBits(T value) ReverseBits() argument
695 ReverseBytes(T value, int block_bytes_log2) ReverseBytes() argument
728 IsMultiple(T value) IsMultiple() argument
734 IsMultiple(T value, unsigned multiple) IsMultiple() argument
799 ExtractBit(T value, unsigned bit) ExtractBit() argument
804 ExtractBits(Ts value, int least_significant_bit, Td mask) ExtractBits() argument
809 AssignBit(Td& dst, int bit, Ts value) AssignBit() argument
1148 operator &=(Uint128 value) operator &=() argument
1153 operator |=(Uint128 value) operator |=() argument
1213 uint64_t value = u1 * v1 + w2 + w1; MultiplyHigh() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dborder_property.cpp112 bool BorderWidthPropertyT<Dimension>::UpdateWithCheck(const BorderWidthPropertyT& value) in UpdateWithCheck() argument
115 if (value.leftDimen.has_value() && (leftDimen != value.leftDimen)) { in UpdateWithCheck()
116 leftDimen = value.leftDimen; in UpdateWithCheck()
119 if (value.rightDimen.has_value() && (rightDimen != value.rightDimen)) { in UpdateWithCheck()
120 rightDimen = value.rightDimen; in UpdateWithCheck()
123 if (value.topDimen.has_value() && (topDimen != value.topDimen)) { in UpdateWithCheck()
124 topDimen = value in UpdateWithCheck()
190 UpdateWithCheck(const BorderRadiusPropertyT<Dimension>& value) UpdateWithCheck() argument
[all...]
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dprotocol_core.h57 static bool Deserialize(DeserializerState* state, bool* value);
58 static void Serialize(bool value, std::vector<uint8_t>* bytes);
63 static bool Deserialize(DeserializerState* state, int* value);
64 static void Serialize(int value, std::vector<uint8_t>* bytes);
69 static bool Deserialize(DeserializerState* state, double* value);
70 static void Serialize(double value, std::vector<uint8_t>* bytes);
78 void AddField(span<char> field_name, const T& value) { in AddField() argument
83 ProtocolTypeTraits<T>::Serialize(value, bytes_); in AddField()
86 void AddField(span<char> field_name, const detail::ValueMaybe<T>& value) { in AddField() argument
87 if (!value in AddField()
92 AddField(span<char> field_name, const detail::PtrMaybe<T>& value) AddField() argument
274 Deserialize(DeserializerState* state, T* value) Deserialize() argument
[all...]
/third_party/protobuf/objectivec/
H A DGPBArray.h62 * @param value The value to be placed in the array.
64 * @return A newly instanced GPBInt32Array with value in it.
66 + (instancetype)arrayWithValue:(int32_t)value;
122 * Gets the value at the given index.
124 * @param index The index of the value to get.
126 * @return The value at the given index.
134 * **value**: The current value being enumerated.
135 * **idx**: The index of the current value
[all...]
/third_party/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc191 EXPECT_TRUE((LosslessArithmeticConvertible<bool, bool>::value)); in TEST()
195 EXPECT_TRUE((LosslessArithmeticConvertible<bool, char>::value)); in TEST()
196 EXPECT_TRUE((LosslessArithmeticConvertible<bool, int>::value)); in TEST()
198 (LosslessArithmeticConvertible<bool, unsigned long>::value)); // NOLINT in TEST()
202 EXPECT_TRUE((LosslessArithmeticConvertible<bool, float>::value)); in TEST()
203 EXPECT_TRUE((LosslessArithmeticConvertible<bool, double>::value)); in TEST()
207 EXPECT_FALSE((LosslessArithmeticConvertible<unsigned char, bool>::value)); in TEST()
208 EXPECT_FALSE((LosslessArithmeticConvertible<int, bool>::value)); in TEST()
213 EXPECT_TRUE((LosslessArithmeticConvertible<unsigned char, int>::value)); in TEST()
217 uint64_t>::value)); // NOLIN in TEST()
[all...]
/third_party/weex-loader/deps/weex-styler/lib/
H A Dvalidator.js217 return { value: v }
228 * - value: number|null
234 return { value: v }
236 return { value: v }
238 return { value: v }
251 * - value: number|null
257 return { value: v }
259 return { value: v }
272 * - value: number|null
278 return { value
[all...]
/base/startup/init/services/param/base/
H A Dparam_comm.c86 int (*result)(const uint32_t *context, const char *name, const char *value), const uint32_t *context) in SplitParamString()
99 char *value = name; in SplitParamString() local
101 while (*value != '\0') { in SplitParamString()
102 if (*value == '=') { in SplitParamString()
103 (*value) = '\0'; in SplitParamString()
104 value = value + 1; in SplitParamString()
107 value++; in SplitParamString()
112 while ((tmp < value) && (*tmp != '\0')) { in SplitParamString()
121 if (*value in SplitParamString()
85 SplitParamString(char *line, const char *exclude[], uint32_t count, int (*result)(const uint32_t *context, const char *name, const char *value), const uint32_t *context) SplitParamString() argument
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/native/kv_store/src/kvstore_impl_hal/
H A Dkv_store.c30 static int GetValueByFile(const char* key, char* value, unsigned int len) in GetValueByFile() argument
43 int ret = UtilsFileRead(fd, value, valueLen); in GetValueByFile()
49 value[valueLen] = '\0'; in GetValueByFile()
53 static int SetValueToFile(const char* key, const char* value) in SetValueToFile() argument
59 int ret = UtilsFileWrite(fd, value, strlen(value)); in SetValueToFile()
71 char value[KV_SUM_INDEX] = {0}; in GetCurrentItem() local
72 int ret = UtilsFileRead(fd, value, KV_SUM_INDEX); in GetCurrentItem()
75 return (ret < 0) ? 0 : atoi(value); in GetCurrentItem()
80 char value[KV_SUM_INDE in SetCurrentItem() local
104 UtilsGetValue(const char* key, char* value, unsigned int len) UtilsGetValue() argument
124 UtilsSetValue(const char* key, const char* value) UtilsSetValue() argument
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/
H A Dcommonattrs_grayscale_test.cpp28 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_GRAY_SCALE)->value[PARAM_0].f32, DEFAULT_VALUE); in TestCommonAttrsGrayscale001()
36 ArkUI_NumberValue value[] = {{.f32 = grayScale}}; in TestCommonAttrsGrayscale002() local
37 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsGrayscale002()
40 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_GRAY_SCALE)->value[PARAM_0].f32, grayScale); in TestCommonAttrsGrayscale002()
48 ArkUI_NumberValue value[] = {{.f32 = grayScale}}; in TestCommonAttrsGrayscale003() local
49 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsGrayscale003()
52 ASSERT_EQ(nodeAPI->getAttribute(stack, NODE_GRAY_SCALE)->value[PARAM_0].f32, grayScale); in TestCommonAttrsGrayscale003()
59 ArkUI_NumberValue value[] in TestCommonAttrsGrayscale004() local
70 ArkUI_NumberValue value[] = {{.f32 = MIN_ABNORMAL_VALUE}}; TestCommonAttrsGrayscale005() local
84 ArkUI_NumberValue value[] = {{.f32 = MAX_ABNORMAL_VALUE}}; TestCommonAttrsGrayscale006() local
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/customcomponent/
H A Dcustomcomponent_contrast_test.cpp30 ArkUI_NumberValue value[] = {{.f32 = MIN_VALUE}}; in TestCustomComponentContrast001() local
31 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentContrast001()
34 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONTRAST)->value[PARAM_0].f32, MIN_VALUE); in TestCustomComponentContrast001()
41 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONTRAST)->value[PARAM_0].f32, DEFAULT_VALUE); in TestCustomComponentContrast002()
48 ArkUI_NumberValue value[] = {{.f32 = FIRST_MIDDLE_VALUE}}; in TestCustomComponentContrast003() local
49 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentContrast003()
52 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONTRAST)->value[PARAM_0].f32, FIRST_MIDDLE_VALUE); in TestCustomComponentContrast003()
59 ArkUI_NumberValue value[] in TestCustomComponentContrast004() local
70 ArkUI_NumberValue value[] = {{.f32 = MIN_ABNORMAL_VALUE}}; TestCustomComponentContrast005() local
84 ArkUI_NumberValue value[] = {{.f32 = MAX_ABNORMAL_VALUE}}; TestCustomComponentContrast006() local
[all...]
H A Dcustomcomponent_grayscale_test.cpp28 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_GRAY_SCALE)->value[PARAM_0].f32, DEFAULT_VALUE); in TestCustomComponentGrayscale001()
36 ArkUI_NumberValue value[] = {{.f32 = grayScale}}; in TestCustomComponentGrayscale002() local
37 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentGrayscale002()
40 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_GRAY_SCALE)->value[PARAM_0].f32, grayScale); in TestCustomComponentGrayscale002()
48 ArkUI_NumberValue value[] = {{.f32 = grayScale}}; in TestCustomComponentGrayscale003() local
49 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentGrayscale003()
52 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_GRAY_SCALE)->value[PARAM_0].f32, grayScale); in TestCustomComponentGrayscale003()
59 ArkUI_NumberValue value[] in TestCustomComponentGrayscale004() local
70 ArkUI_NumberValue value[] = {{.f32 = MIN_ABNORMAL_VALUE}}; TestCustomComponentGrayscale005() local
84 ArkUI_NumberValue value[] = {{.f32 = MAX_ABNORMAL_VALUE}}; TestCustomComponentGrayscale006() local
[all...]
H A Dcustomcomponent_opacity_test.cpp28 ArkUI_NumberValue value[] = {{.f32 = MIN_VALUE}}; in TestCustomComponentOpacity001() local
29 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentOpacity001()
32 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_OPACITY)->value[PARAM_0].f32, MIN_VALUE); in TestCustomComponentOpacity001()
40 ArkUI_NumberValue value[] = {{.f32 = opacity}}; in TestCustomComponentOpacity002() local
41 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentOpacity002()
44 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_OPACITY)->value[PARAM_0].f32, opacity); in TestCustomComponentOpacity002()
52 ArkUI_NumberValue value[] = {{.f32 = opacity}}; in TestCustomComponentOpacity003() local
53 ArkUI_AttributeItem valueItem = {value, sizeo in TestCustomComponentOpacity003()
70 ArkUI_NumberValue value[] = {{.f32 = MIN_ABNORMAL_VALUE}}; TestCustomComponentOpacity005() local
84 ArkUI_NumberValue value[] = {{.f32 = MAX_ABNORMAL_VALUE}}; TestCustomComponentOpacity006() local
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/image/
H A Dimage_opacity_test.cpp31 ArkUI_NumberValue value[] = {{.f32 = opacity}}; in TestImageOpacity001() local
32 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestImageOpacity001()
35 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_OPACITY)->value[PARAM_0].f32, opacity); in TestImageOpacity001()
43 ArkUI_NumberValue value[] = {{.f32 = opacity}}; in TestImageOpacity002() local
44 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestImageOpacity002()
47 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_OPACITY)->value[PARAM_0].f32, opacity); in TestImageOpacity002()
55 ArkUI_NumberValue value[] = {{.f32 = opacity}}; in TestImageOpacity003() local
56 ArkUI_AttributeItem valueItem = {value, sizeo in TestImageOpacity003()
75 ArkUI_NumberValue value[] = {{.f32 = opacity}}; TestImageOpacity005() local
89 ArkUI_NumberValue value[] = {{.f32 = opacity}}; TestImageOpacity006() local
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/progress/
H A Dprogress_style_test.cpp23 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_TYPE)->value[PARAM_0].i32, ARKUI_PROGRESS_TYPE_LINEAR); in TestProgressStyle001()
30 ArkUI_NumberValue value[] = {{.i32 = ARKUI_PROGRESS_TYPE_RING}}; in TestProgressStyle002() local
31 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestProgressStyle002()
34 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_TYPE)->value[PARAM_0].i32, ARKUI_PROGRESS_TYPE_RING); in TestProgressStyle002()
41 ArkUI_NumberValue value[] = {{.i32 = ARKUI_PROGRESS_TYPE_ECLIPSE}}; in TestProgressStyle003() local
42 ArkUI_AttributeItem value_item = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestProgressStyle003()
45 ASSERT_EQ(nodeAPI->getAttribute(progress, NODE_PROGRESS_TYPE)->value[PARAM_0].i32, ARKUI_PROGRESS_TYPE_ECLIPSE); in TestProgressStyle003()
52 ArkUI_NumberValue value[] in TestProgressStyle004() local
63 ArkUI_NumberValue value[] = {{.i32 = ARKUI_PROGRESS_TYPE_CAPSULE}}; TestProgressStyle005() local
74 ArkUI_NumberValue value[] = {{.i32 = ARKUI_PROGRESS_TYPE_LINEAR}}; TestProgressStyle006() local
[all...]

Completed in 16 milliseconds

1...<<21222324252627282930>>...988