/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/text/ |
H A D | text_mask_test.cpp | 27 ArkUI_NumberValue value[] = { in TestTextMask001() local 30 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestTextMask001() 33 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_MASK)->value[PARAM_0].u32, color); in TestTextMask001() 34 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_MASK)->value[PARAM_1].u32, color); in TestTextMask001() 35 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_MASK)->value[PARAM_2].f32, widthValue); in TestTextMask001() 36 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_MASK)->value[PARAM_3].i32, ARKUI_MASK_TYPE_RECTANGLE); in TestTextMask001() 37 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_MASK)->value[PARAM_4].f32, sizeValue); in TestTextMask001() 38 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_MASK)->value[PARAM_5].f32, sizeValue); in TestTextMask001() 39 ASSERT_EQ(nodeAPI->getAttribute(text, NODE_MASK)->value[PARAM_ in TestTextMask001() 50 ArkUI_NumberValue value[] = {{.u32 = color}, {.u32 = color}, TestTextMask002() local 71 ArkUI_NumberValue value[] = {{.u32 = color}, {.u32 = color}, TestTextMask003() local 92 ArkUI_NumberValue value[] = {{.u32 = color}, {.u32 = color}, TestTextMask004() local 114 ArkUI_NumberValue value[] = { TestTextMask005() local 134 ArkUI_NumberValue value[] = {{.u32 = color}, {.u32 = color}, TestTextMask006() local 156 ArkUI_NumberValue value[] = {{.u32 = color}, TestTextMask007() local [all...] |
/test/xts/acts/startup_lite/syspara_hal/src/ |
H A D | parameter_func_test.c | 69 char value[] = "OEM-10.1.0"; variable 70 ret = SetParameter(key, value); 85 char value[] = "!@#¥%……&*()——+~《》?,。、“‘;:、12345767890"; variable 86 ret = SetParameter(key, value); 102 char value[] = "test key with only lowercase"; variable 103 ret = SetParameter(key, value); 118 char value[] = "test key with only number"; variable 119 ret = SetParameter(key, value); 125 * @tc.name : SetParameter parameter legal test using key and value with 150 * value i 158 char value[] = "test with null"; global() variable 182 char value[] = "test with null"; global() variable 232 char value[] = "set value with uppercase"; global() variable 250 char value[] = "set value with blank"; global() variable 269 char value[] = "set value with special characters"; global() variable 318 char value[] = " "; global() variable 335 char value[MAX_LEN] = {0}; global() variable 354 char value[MAX_LEN] = {0}; global() variable 374 char value[MAX_LEN] = {0}; global() variable 393 char value[MAX_LEN] = {0}; global() variable 413 char value[MAX_LEN] = {0}; global() variable 431 char value[MAX_LEN] = {0}; global() variable 479 char value[INVALID_LEN] = {0}; global() variable 519 char value[INVALID_LEN] = {0}; global() variable 536 char value[MAX_LEN] = {0}; global() variable 552 char value[MAX_LEN] = {0}; global() variable 571 char value[MAX_LEN] = {0}; global() variable 588 char value[MAX_LEN] = {0}; global() variable 606 char value[MAX_LEN] = {0}; global() variable 624 char value[MAX_LEN] = {0}; global() variable 643 char value[MAX_LEN] = {0}; global() variable 660 char value[MAX_LEN] = {0}; global() variable 680 char value[MAX_LEN] = {0}; global() variable [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | unifiedcache.cpp | 201 (const SharedObject *) element->value.pointer; in _dumpContents() 208 "Unified Cache: Key '%s', error %d, value %p, total refcount %d, soft refcount %d\n", in _dumpContents() 256 (const SharedObject *) element->value.pointer; in _flush() 288 (const SharedObject *) element->value.pointer; in _runEvictionSlice() 301 const SharedObject *value, in _putNew() 313 if (value->softRefCount == 0) { in _putNew() 314 _registerPrimary(keyToAdopt, value); in _putNew() 316 void *oldValue = uhash_put(fHashtable, keyToAdopt, (void *) value, &status); in _putNew() 320 value->softRefCount++; in _putNew() 326 const SharedObject *&value, in _putIfAbsentAndGet() 299 _putNew( const CacheKeyBase &key, const SharedObject *value, const UErrorCode creationStatus, UErrorCode &status) const _putNew() argument 324 _putIfAbsentAndGet( const CacheKeyBase &key, const SharedObject *&value, UErrorCode &status) const _putIfAbsentAndGet() argument 347 _poll( const CacheKeyBase &key, const SharedObject *&value, UErrorCode &status) const _poll() argument 378 _get( const CacheKeyBase &key, const SharedObject *&value, const void *creationContext, UErrorCode &status) const _get() argument 414 _put( const UHashElement *element, const SharedObject *value, const UErrorCode status) const _put() argument 436 _fetch( const UHashElement *element, const SharedObject *&value, UErrorCode &status) const _fetch() argument 454 const SharedObject * value = NULL; _inProgress() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | unifiedcache.cpp | 201 (const SharedObject *) element->value.pointer; in _dumpContents() 208 "Unified Cache: Key '%s', error %d, value %p, total refcount %d, soft refcount %d\n", in _dumpContents() 256 (const SharedObject *) element->value.pointer; in _flush() 288 (const SharedObject *) element->value.pointer; in _runEvictionSlice() 301 const SharedObject *value, in _putNew() 313 if (value->softRefCount == 0) { in _putNew() 314 _registerPrimary(keyToAdopt, value); in _putNew() 316 void *oldValue = uhash_put(fHashtable, keyToAdopt, (void *) value, &status); in _putNew() 320 value->softRefCount++; in _putNew() 326 const SharedObject *&value, in _putIfAbsentAndGet() 299 _putNew( const CacheKeyBase &key, const SharedObject *value, const UErrorCode creationStatus, UErrorCode &status) const _putNew() argument 324 _putIfAbsentAndGet( const CacheKeyBase &key, const SharedObject *&value, UErrorCode &status) const _putIfAbsentAndGet() argument 347 _poll( const CacheKeyBase &key, const SharedObject *&value, UErrorCode &status) const _poll() argument 378 _get( const CacheKeyBase &key, const SharedObject *&value, const void *creationContext, UErrorCode &status) const _get() argument 414 _put( const UHashElement *element, const SharedObject *value, const UErrorCode status) const _put() argument 436 _fetch( const UHashElement *element, const SharedObject *&value, UErrorCode &status) const _fetch() argument 454 const SharedObject * value = nullptr; _inProgress() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | queryconversions.cpp | 22 GLint64 ExpandFloatToInteger(GLfloat value) in ExpandFloatToInteger() argument 24 return static_cast<GLint64>((static_cast<double>(0xFFFFFFFFULL) * value - 1.0) / 2.0); in ExpandFloatToInteger() 28 QueryT CastFromStateValueToInt(GLenum pname, NativeT value) in CastFromStateValueToInt() argument 30 GLenum nativeType = GLTypeToGLenum<NativeT>::value; in CastFromStateValueToInt() 48 return clampCast<QueryT>(ExpandFloatToInteger(static_cast<GLfloat>(value))); in CastFromStateValueToInt() 50 return clampCast<QueryT>(std::round(value)); in CastFromStateValueToInt() 54 return clampCast<QueryT>(value); in CastFromStateValueToInt() 58 NativeT CastQueryValueToInt(GLenum pname, QueryT value) in CastQueryValueToInt() argument 60 GLenum queryType = GLTypeToGLenum<QueryT>::value; in CastQueryValueToInt() 67 // int and then convert to unsigned int to "preserve the value" in CastQueryValueToInt() 81 CastMaskValue(GLuint value) CastMaskValue() argument 87 CastFromGLintStateValue(GLenum pname, InternalT value) CastFromGLintStateValue() argument 104 CastFromStateValue(GLenum pname, NativeT value) CastFromStateValue() argument 142 CastQueryValueTo(GLenum pname, QueryT value) CastQueryValueTo() argument [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unifiedcache.cpp | 201 (const SharedObject *) element->value.pointer; in _dumpContents() 208 "Unified Cache: Key '%s', error %d, value %p, total refcount %d, soft refcount %d\n", in _dumpContents() 256 (const SharedObject *) element->value.pointer; in _flush() 288 (const SharedObject *) element->value.pointer; in _runEvictionSlice() 301 const SharedObject *value, in _putNew() 313 if (value->softRefCount == 0) { in _putNew() 314 _registerPrimary(keyToAdopt, value); in _putNew() 316 void *oldValue = uhash_put(fHashtable, keyToAdopt, (void *) value, &status); in _putNew() 320 value->softRefCount++; in _putNew() 326 const SharedObject *&value, in _putIfAbsentAndGet() 299 _putNew( const CacheKeyBase &key, const SharedObject *value, const UErrorCode creationStatus, UErrorCode &status) const _putNew() argument 324 _putIfAbsentAndGet( const CacheKeyBase &key, const SharedObject *&value, UErrorCode &status) const _putIfAbsentAndGet() argument 347 _poll( const CacheKeyBase &key, const SharedObject *&value, UErrorCode &status) const _poll() argument 378 _get( const CacheKeyBase &key, const SharedObject *&value, const void *creationContext, UErrorCode &status) const _get() argument 414 _put( const UHashElement *element, const SharedObject *value, const UErrorCode status) const _put() argument 436 _fetch( const UHashElement *element, const SharedObject *&value, UErrorCode &status) const _fetch() argument 454 const SharedObject * value = NULL; _inProgress() local [all...] |
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/ |
H A D | napi_common_util.h | 37 napi_value WrapInt32ToJS(napi_env env, int32_t value); 39 bool UnwrapInt32FromJS2(napi_env env, napi_value param, int &value); 41 napi_value WrapLongToJS(napi_env env, long value); 43 bool UnwrapLongFromJS2(napi_env env, napi_value param, long &value); 45 napi_value WrapInt64ToJS(napi_env env, int64_t value); 47 bool UnwrapInt64FromJS2(napi_env env, napi_value param, int64_t &value); 49 napi_value WrapBoolToJS(napi_env env, bool value); 51 bool UnwrapBoolFromJS2(napi_env env, napi_value param, bool &value); 53 napi_value WrapDoubleToJS(napi_env env, double value); 55 bool UnWrapDoubleFromJS2(napi_env env, napi_value param, double &value); [all...] |
H A D | napi_common_util.cpp | 81 napi_value WrapInt32ToJS(napi_env env, int32_t value) in WrapInt32ToJS() argument 84 NAPI_CALL(env, napi_create_int32(env, value, &result)); in WrapInt32ToJS() 90 int value = defaultValue; in UnwrapInt32FromJS() local 91 if (napi_get_value_int32(env, param, &value) == napi_ok) { in UnwrapInt32FromJS() 92 return value; in UnwrapInt32FromJS() 98 bool UnwrapInt32FromJS2(napi_env env, napi_value param, int &value) in UnwrapInt32FromJS2() argument 101 if (napi_get_value_int32(env, param, &value) == napi_ok) { in UnwrapInt32FromJS2() 107 napi_value WrapLongToJS(napi_env env, long value) in WrapLongToJS() argument 110 NAPI_CALL(env, napi_create_int32(env, value, &result)); in WrapLongToJS() 116 int value in UnwrapLongFromJS() local 124 UnwrapLongFromJS2(napi_env env, napi_value param, long &value) UnwrapLongFromJS2() argument 135 WrapInt64ToJS(napi_env env, int64_t value) WrapInt64ToJS() argument 144 int64_t value = defaultValue; UnwrapInt64FromJS() local 152 UnwrapInt64FromJS2(napi_env env, napi_value param, int64_t &value) UnwrapInt64FromJS2() argument 161 WrapBoolToJS(napi_env env, bool value) WrapBoolToJS() argument 170 bool value = defaultValue; UnwrapBoolFromJS() local 178 UnwrapBoolFromJS2(napi_env env, napi_value param, bool &value) UnwrapBoolFromJS2() argument 187 WrapDoubleToJS(napi_env env, double value) WrapDoubleToJS() argument 196 double value = defaultValue; UnwrapDoubleFromJS() local 204 UnwrapDoubleFromJS2(napi_env env, napi_value param, double &value) UnwrapDoubleFromJS2() argument 213 WrapStringToJS(napi_env env, const std::string &value) WrapStringToJS() argument 253 UnwrapStringFromJS2(napi_env env, napi_value param, std::string &value) UnwrapStringFromJS2() argument 280 WrapArrayInt32ToJS(napi_env env, const std::vector<int> &value) WrapArrayInt32ToJS() argument 299 UnwrapArrayInt32FromJS(napi_env env, napi_value param, std::vector<int> &value) UnwrapArrayInt32FromJS() argument 328 WrapArrayLongToJS(napi_env env, const std::vector<long> &value) WrapArrayLongToJS() argument 346 UnwrapArrayLongFromJS(napi_env env, napi_value param, std::vector<long> &value) UnwrapArrayLongFromJS() argument 375 WrapArrayInt64ToJS(napi_env env, const std::vector<int64_t> &value) WrapArrayInt64ToJS() argument 393 UnwrapArrayInt64FromJS(napi_env env, napi_value param, std::vector<int64_t> &value) UnwrapArrayInt64FromJS() argument 422 WrapArrayDoubleToJS(napi_env env, const std::vector<double> &value) WrapArrayDoubleToJS() argument 440 UnwrapArrayDoubleFromJS(napi_env env, napi_value param, std::vector<double> &value) UnwrapArrayDoubleFromJS() argument 469 WrapArrayBoolToJS(napi_env env, const std::vector<bool> &value) WrapArrayBoolToJS() argument 487 UnwrapArrayBoolFromJS(napi_env env, napi_value param, std::vector<bool> &value) UnwrapArrayBoolFromJS() argument 514 WrapArrayStringToJS(napi_env env, const std::vector<std::string> &value) WrapArrayStringToJS() argument 532 UnwrapArrayStringFromJS(napi_env env, napi_value param, std::vector<std::string> &value) UnwrapArrayStringFromJS() argument 559 UnwrapArrayComplexFromJSNumber(napi_env env, ComplexArrayData &value, bool isDouble, napi_value jsValue) UnwrapArrayComplexFromJSNumber() argument 600 UnwrapArrayComplexFromJS(napi_env env, napi_value param, ComplexArrayData &value) UnwrapArrayComplexFromJS() argument 686 napi_value value = nullptr; GetPropertyValueByPropertyName() local 702 SetPropertyValueByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, napi_value value) SetPropertyValueByPropertyName() argument 721 UnwrapInt32ByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, int32_t &value) UnwrapInt32ByPropertyName() argument 741 UnwrapDoubleByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, double &value) UnwrapDoubleByPropertyName() argument 761 UnwrapBooleanByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, bool &value) UnwrapBooleanByPropertyName() argument 771 UnwrapBooleanArrayByPropertyName( napi_env env, napi_value jsObject, const char *propertyName, std::vector<bool> &value) UnwrapBooleanArrayByPropertyName() argument 792 UnwrapStringByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, std::string &value) UnwrapStringByPropertyName() argument 802 UnwrapStringArrayByPropertyName( napi_env env, napi_value jsObject, const char *propertyName, std::vector<std::string> &value) UnwrapStringArrayByPropertyName() argument 813 UnwrapComplexArrayByPropertyName( napi_env env, napi_value jsObject, const char *propertyName, ComplexArrayData &value) UnwrapComplexArrayByPropertyName() argument 912 WrapThreadReturnData(napi_env env, const ThreadReturnData *data, napi_value *value) WrapThreadReturnData() argument [all...] |
/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/ |
H A D | js_plugin_util.h | 33 napi_value AceWrapInt32ToJS(napi_env env, int32_t value); 35 bool AceUnwrapInt32FromJS2(napi_env env, napi_value param, int& value); 37 napi_value AceWrapLongToJS(napi_env env, int64_t value); 39 bool AceUnwrapLongFromJS2(napi_env env, napi_value param, int64_t& value); 41 napi_value AceWrapInt64ToJS(napi_env env, int64_t value); 43 bool AceUnwrapInt64FromJS2(napi_env env, napi_value param, int64_t& value); 45 napi_value AceWrapBoolToJS(napi_env env, bool value); 47 bool AceUnwrapBoolFromJS2(napi_env env, napi_value param, bool& value); 49 napi_value AceWrapDoubleToJS(napi_env env, double value); 51 bool AceUnWrapDoubleFromJS2(napi_env env, napi_value param, double& value); [all...] |
H A D | js_plugin_util.cpp | 75 napi_value AceWrapInt32ToJS(napi_env env, int32_t value) in AceWrapInt32ToJS() argument 78 NAPI_CALL(env, napi_create_int32(env, value, &result)); in AceWrapInt32ToJS() 84 int value = defaultValue; in AceUnwrapInt32FromJS() local 85 if (napi_get_value_int32(env, param, &value) == napi_ok) { in AceUnwrapInt32FromJS() 86 return value; in AceUnwrapInt32FromJS() 92 bool AceUnwrapInt32FromJS2(napi_env env, napi_value param, int& value) in AceUnwrapInt32FromJS2() argument 95 if (napi_get_value_int32(env, param, &value) == napi_ok) { in AceUnwrapInt32FromJS2() 101 napi_value AceWrapLongToJS(napi_env env, int64_t value) in AceWrapLongToJS() argument 104 NAPI_CALL(env, napi_create_int32(env, value, &result)); in AceWrapLongToJS() 110 int value in AceUnwrapLongFromJS() local 118 AceUnwrapLongFromJS2(napi_env env, napi_value param, int64_t& value) AceUnwrapLongFromJS2() argument 129 AceWrapInt64ToJS(napi_env env, int64_t value) AceWrapInt64ToJS() argument 138 int64_t value = defaultValue; AceUnwrapInt64FromJS() local 146 AceUnwrapInt64FromJS2(napi_env env, napi_value param, int64_t& value) AceUnwrapInt64FromJS2() argument 155 AceWrapBoolToJS(napi_env env, bool value) AceWrapBoolToJS() argument 164 bool value = defaultValue; AceUnwrapBoolFromJS() local 172 AceUnwrapBoolFromJS2(napi_env env, napi_value param, bool& value) AceUnwrapBoolFromJS2() argument 181 AceWrapDoubleToJS(napi_env env, double value) AceWrapDoubleToJS() argument 190 double value = defaultValue; AceUnwrapDoubleFromJS() local 198 AceUnwrapDoubleFromJS2(napi_env env, napi_value param, double& value) AceUnwrapDoubleFromJS2() argument 207 AceWrapStringToJS(napi_env env, const std::string& value) AceWrapStringToJS() argument 248 AceUnwrapStringFromJS2(napi_env env, napi_value param, std::string& value) AceUnwrapStringFromJS2() argument 279 AceWrapArrayInt32ToJS(napi_env env, const std::vector<int>& value) AceWrapArrayInt32ToJS() argument 297 AceUnwrapArrayInt32FromJS(napi_env env, napi_value param, std::vector<int>& value) AceUnwrapArrayInt32FromJS() argument 324 AceWrapArrayLongToJS(napi_env env, const std::vector<int64_t>& value) AceWrapArrayLongToJS() argument 342 AceUnwrapArrayLongFromJS(napi_env env, napi_value param, std::vector<int64_t>& value) AceUnwrapArrayLongFromJS() argument 369 AceWrapArrayInt64ToJS(napi_env env, const std::vector<int64_t>& value) AceWrapArrayInt64ToJS() argument 387 AceUnwrapArrayInt64FromJS(napi_env env, napi_value param, std::vector<int64_t>& value) AceUnwrapArrayInt64FromJS() argument 414 AceWrapArrayDoubleToJS(napi_env env, const std::vector<double>& value) AceWrapArrayDoubleToJS() argument 432 AceUnwrapArrayDoubleFromJS(napi_env env, napi_value param, std::vector<double>& value) AceUnwrapArrayDoubleFromJS() argument 459 AceWrapArrayBoolToJS(napi_env env, const std::vector<bool>& value) AceWrapArrayBoolToJS() argument 477 AceUnwrapArrayBoolFromJS(napi_env env, napi_value param, std::vector<bool>& value) AceUnwrapArrayBoolFromJS() argument 504 AceWrapArrayStringToJS(napi_env env, const std::vector<std::string>& value) AceWrapArrayStringToJS() argument 522 AceUnwrapArrayStringFromJS(napi_env env, napi_value param, std::vector<std::string>& value) AceUnwrapArrayStringFromJS() argument 549 AceKVObjectToString(napi_env env, napi_value param, std::string& value) AceKVObjectToString() argument 601 AceInitComplexArrayData(ACEComplexArrayData& value) AceInitComplexArrayData() argument 610 AceTranscomplex(ACEComplexArrayData& value) AceTranscomplex() argument 620 AceUnwrapNumberComplexFromJS(napi_env env, napi_value jsValue, bool& isDouble, ACEComplexArrayData& value) AceUnwrapNumberComplexFromJS() argument 649 AceUnwrapArrayComplexFromJS(napi_env env, napi_value param, ACEComplexArrayData& value) AceUnwrapArrayComplexFromJS() argument 746 napi_value value = nullptr; AceGetPropertyValueByPropertyName() local 762 AceSetPropertyValueByPropertyName(napi_env env, napi_value jsObject, const char* propertyName, napi_value value) AceSetPropertyValueByPropertyName() argument 781 AceUnwrapInt32ByPropertyName(napi_env env, napi_value jsObject, const char* propertyName, int32_t& value) AceUnwrapInt32ByPropertyName() argument 801 AceUnwrapDoubleByPropertyName(napi_env env, napi_value jsObject, const char* propertyName, double& value) AceUnwrapDoubleByPropertyName() argument 821 AceUnwrapBooleanByPropertyName(napi_env env, napi_value jsObject, const char* propertyName, bool& value) AceUnwrapBooleanByPropertyName() argument 831 AceUnwrapBooleanArrayByPropertyName( napi_env env, napi_value jsObject, const char* propertyName, std::vector<bool>& value) AceUnwrapBooleanArrayByPropertyName() argument 852 AceUnwrapStringByPropertyName(napi_env env, napi_value jsObject, const char* propertyName, std::string& value) AceUnwrapStringByPropertyName() argument 862 AceUnwrapStringArrayByPropertyName( napi_env env, napi_value jsObject, const char* propertyName, std::vector<std::string>& value) AceUnwrapStringArrayByPropertyName() argument 962 AceWrapThreadReturnData(napi_env env, const ACEThreadReturnData* data, napi_value* value) AceWrapThreadReturnData() argument [all...] |
/foundation/multimodalinput/input/service/connect_manager/test/ |
H A D | message_parcel_mock.cpp | 58 bool Parcel::WriteInt32(int32_t value) in WriteInt32() argument 63 return DfsMessageParcel::messageParcel->WriteInt32(value); in WriteInt32() 66 bool Parcel::WriteInt64(int64_t value) in WriteInt64() argument 71 return DfsMessageParcel::messageParcel->WriteInt64(value); in WriteInt64() 82 bool Parcel::ReadInt32(int32_t &value) in ReadInt32() argument 87 return DfsMessageParcel::messageParcel->ReadInt32(value); in ReadInt32() 122 bool Parcel::ReadBool(bool &value) in ReadBool() argument 127 return DfsMessageParcel::messageParcel->ReadBool(value); in ReadBool() 130 bool Parcel::WriteBool(bool value) in WriteBool() argument 135 return DfsMessageParcel::messageParcel->WriteBool(value); in WriteBool() 138 WriteString(const std::string &value) WriteString() argument 146 WriteCString(const char *value) WriteCString() argument 162 ReadString(std::string &value) ReadString() argument 170 ReadStringVector(std::vector<std::string> *value) ReadStringVector() argument 194 ReadUint32(uint32_t &value) ReadUint32() argument 202 WriteUint64(uint64_t value) WriteUint64() argument 210 WriteUint16(uint16_t value) WriteUint16() argument 218 WriteUint32(uint32_t value) WriteUint32() argument 226 ReadUint64(uint64_t &value) ReadUint64() argument 322 ReadInt64(int64_t &value) ReadInt64() argument 338 ReadFloat(float &value) ReadFloat() argument 354 ReadDouble(double &value) ReadDouble() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkMathPriv.h | 14 * Return the integer square root of value, with a bias of bitBias 16 int32_t SkSqrtBits(int32_t value, int bitBias); 23 * Returns (value < 0 ? 0 : value) efficiently (i.e. no compares or branches) 25 static inline int SkClampPos(int value) { in SkClampPos() argument 26 return value & ~(value >> 31); in SkClampPos() 68 /** Given a positive value and a positive max, return the value 70 Note: only works as long as max - value does 73 SkClampUMax(unsigned value, unsigned max) SkClampUMax() argument 84 sk_negate_to_size_t(int32_t value) sk_negate_to_size_t() argument 225 SkNextLog2(uint32_t value) SkNextLog2() argument 230 SkNextLog2_portable(uint32_t value) SkNextLog2_portable() argument 244 SkPrevLog2(uint32_t value) SkPrevLog2() argument 249 SkPrevLog2_portable(uint32_t value) SkPrevLog2_portable() argument 259 SkNextPow2(int value) SkNextPow2() argument 264 SkNextPow2_portable(int value) SkNextPow2_portable() argument 274 SkPrevPow2(int value) SkPrevPow2() argument 279 SkPrevPow2_portable(int value) SkPrevPow2_portable() argument [all...] |
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/ |
H A D | negotiate_message.cpp | 156 for (const auto &[key, value] : values_) { in Marshalling() 163 uint8_t data = std::any_cast<bool>(value); in Marshalling() 169 WifiDirectUtils::IntToBytes(std::any_cast<int>(value), sizeof(int), data); in Marshalling() 175 WifiDirectUtils::IntToBytes(std::any_cast<uint32_t>(value), sizeof(uint32_t), data); in Marshalling() 180 auto data = std::any_cast<std::string>(value); in Marshalling() 185 const auto &data = std::any_cast<const std::vector<uint8_t> &>(value); in Marshalling() 336 void NegotiateMessage::SetMessageType(NegotiateMessageType value) in SetMessageType() argument 338 Set(NegotiateMessageKey::MSG_TYPE, static_cast<int>(value)); in SetMessageType() 341 void NegotiateMessage::SetMessageType(LegacyCommandType value) in SetMessageType() argument 343 Set(NegotiateMessageKey::MSG_TYPE, static_cast<int>(value)); in SetMessageType() 348 auto value = Get(NegotiateMessageKey::MSG_TYPE, static_cast<int>(NegotiateMessageType::CMD_INVALID)); GetMessageType() local 372 SetSessionId(uint32_t value) SetSessionId() argument 382 SetWifiConfigInfo(const std::vector<uint8_t> &value) SetWifiConfigInfo() argument 392 SetIpv4InfoArray(const std::vector<Ipv4Info> &value) SetIpv4InfoArray() argument 402 SetPreferLinkMode(LinkInfo::LinkMode value) SetPreferLinkMode() argument 409 auto value = Get(NegotiateMessageKey::PREFER_LINK_MODE, static_cast<int>(LinkInfo::LinkMode::INVALID)); GetPreferLinkMode() local 413 SetIsModeStrict(bool value) SetIsModeStrict() argument 423 SetPreferLinkBandWidth(int value) SetPreferLinkBandWidth() argument 433 SetIsBridgeSupported(bool value) SetIsBridgeSupported() argument 443 SetLinkInfo(const LinkInfo &value) SetLinkInfo() argument 453 SetResultCode(int value) SetResultCode() argument 463 SetInterfaceInfoArray(const std::vector<InterfaceInfo> &value) SetInterfaceInfoArray() argument 473 SetRemoteDeviceId(const std::string &value) SetRemoteDeviceId() argument 483 SetExtraData(const std::vector<uint8_t> &value) SetExtraData() argument 493 SetIsProxyEnable(bool value) SetIsProxyEnable() argument 503 Set5GChannelList(const std::string &value) Set5GChannelList() argument 513 Set5GChannelScore(const std::string &value) Set5GChannelScore() argument 523 SetChallengeCode(uint32_t value) SetChallengeCode() argument 533 SetNewPtkFrame(bool value) SetNewPtkFrame() argument 543 SetLegacyP2pGcChannelList(const std::string &value) SetLegacyP2pGcChannelList() argument 553 SetLegacyP2pStationFrequency(int value) SetLegacyP2pStationFrequency() argument 563 SetLegacyP2pRole(WifiDirectRole value) SetLegacyP2pRole() argument 570 auto value = Get(NegotiateMessageKey::ROLE, static_cast<int>(WifiDirectRole::WIFI_DIRECT_ROLE_INVALID)); GetLegacyP2pRole() local 574 SetLegacyP2pExpectedRole(WifiDirectRole value) SetLegacyP2pExpectedRole() argument 581 auto value = Get(NegotiateMessageKey::EXPECTED_ROLE, static_cast<int>(WifiDirectRole::WIFI_DIRECT_ROLE_INVALID)); GetLegacyP2pExpectedRole() local 585 SetLegacyP2pVersion(int value) SetLegacyP2pVersion() argument 595 SetLegacyP2pGcIp(const std::string &value) SetLegacyP2pGcIp() argument 605 SetLegacyP2pWideBandSupported(bool value) SetLegacyP2pWideBandSupported() argument 615 SetLegacyP2pGroupConfig(const std::string &value) SetLegacyP2pGroupConfig() argument 625 SetLegacyP2pMac(const std::string &value) SetLegacyP2pMac() argument 635 SetLegacyP2pBridgeSupport(bool value) SetLegacyP2pBridgeSupport() argument 645 SetLegacyP2pGoIp(const std::string &value) SetLegacyP2pGoIp() argument 655 SetLegacyP2pGoMac(const std::string &value) SetLegacyP2pGoMac() argument 665 SetLegacyP2pGoPort(int value) SetLegacyP2pGoPort() argument 675 SetLegacyP2pIp(const std::string &value) SetLegacyP2pIp() argument 685 SetLegacyP2pResult(LegacyResult value) SetLegacyP2pResult() argument 692 auto value = Get(NegotiateMessageKey::RESULT, static_cast<int>(LegacyResult::OK)); GetLegacyP2pResult() local 696 SetLegacyP2pContentType(LegacyContentType value) SetLegacyP2pContentType() argument 703 auto value = Get(NegotiateMessageKey::CONTENT_TYPE, static_cast<int>(LegacyContentType::INVALID)); GetLegacyP2pContentType() local 707 SetLegacyP2pGcMac(const std::string &value) SetLegacyP2pGcMac() argument 717 SetLegacyP2pWifiConfigInfo(const std::string &value) SetLegacyP2pWifiConfigInfo() argument 727 SetLegacyP2pCommandType(LegacyCommandType value) SetLegacyP2pCommandType() argument 734 auto value = Get(NegotiateMessageKey::COMMAND_TYPE, static_cast<int>(LegacyCommandType::CMD_INVALID)); GetLegacyP2pCommandType() local 738 SetLegacyInterfaceName(const std::string &value) SetLegacyInterfaceName() argument [all...] |
/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_impl.cpp | 210 static void Convert2PrefValue(const Element &element, T &value) in Convert2PrefValue() argument 212 if constexpr (std::is_same<T, bool>::value) { in Convert2PrefValue() 213 value = (element.value_.compare("true") == 0) ? true : false; in Convert2PrefValue() 214 } else if constexpr (std::is_same<T, std::string>::value) { in Convert2PrefValue() 215 value = element.value_; in Convert2PrefValue() 216 } else if constexpr (std::is_same<T, std::monostate>::value) { in Convert2PrefValue() 217 value = std::monostate(); in Convert2PrefValue() 221 ss >> value; in Convert2PrefValue() local 229 T value; in Convert2PrefValue() local 230 Convert2PrefValue(child, value); in Convert2PrefValue() 235 Convert2PrefValue(const Element &element, BigInt &value) Convert2PrefValue() argument 250 GetPrefValue(const Element &element, T &value) GetPrefValue() argument 256 Convert2PrefValue(const Element &element, std::vector<uint8_t> &value) Convert2PrefValue() argument 263 Convert2PrefValue(const Element &element, Object &value) Convert2PrefValue() argument 269 GetPrefValue(const Element &element, T &value) GetPrefValue() argument 281 Convert2PrefValue(const Element &element, std::variant<Types...> &value) Convert2PrefValue() argument 311 Convert2Element(Element &elem, const T &value) Convert2Element() argument 326 Convert2Element(Element &elem, const std::vector<T> &value) Convert2Element() argument 336 Convert2Element(Element &elem, const std::vector<uint8_t> &value) Convert2Element() argument 342 Convert2Element(Element &elem, const Object &value) Convert2Element() argument 348 Convert2Element(Element &elem, const BigInt &value) Convert2Element() argument 362 GetElement(Element &elem, const T &value) GetElement() argument 367 GetElement(Element &elem, const T &value) GetElement() argument 376 Convert2Element(Element &elem, const std::variant<Types...> &value) Convert2Element() argument 381 WriteXmlElement(Element &elem, const PreferencesValue &value) WriteXmlElement() argument 393 PreferencesValue value = it->second; WriteSettingXml() local 412 Put(const std::string &key, const PreferencesValue &value) Put() argument 512 uint64_t value = 0; FlushSync() local 558 PreferencesValue value; NotifyPreferencesObserver() local [all...] |
H A D | preferences_value.cpp | 36 PreferencesValue::PreferencesValue(int value) in PreferencesValue() argument 38 value_ = value; in PreferencesValue() 41 PreferencesValue::PreferencesValue(int64_t value) in PreferencesValue() argument 43 value_ = value; in PreferencesValue() 46 PreferencesValue::PreferencesValue(float value) in PreferencesValue() argument 48 value_ = value; in PreferencesValue() 51 PreferencesValue::PreferencesValue(double value) in PreferencesValue() argument 53 value_ = value; in PreferencesValue() 56 PreferencesValue::PreferencesValue(bool value) in PreferencesValue() argument 58 value_ = value; in PreferencesValue() 61 PreferencesValue(const char *value) PreferencesValue() argument 66 PreferencesValue(std::string value) PreferencesValue() argument 71 PreferencesValue(std::vector<double> value) PreferencesValue() argument 76 PreferencesValue(std::vector<std::string> value) PreferencesValue() argument 81 PreferencesValue(std::vector<bool> value) PreferencesValue() argument 86 PreferencesValue(std::vector<uint8_t> value) PreferencesValue() argument 91 PreferencesValue(Object value) PreferencesValue() argument 96 PreferencesValue(BigInt value) PreferencesValue() argument 239 operator ==(const PreferencesValue &value) operator ==() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_hal.c | 21 emu_ae.value = 0; in emu_enable_cores() 25 emu_se.value = 0; in emu_enable_cores() 30 nitrox_write_csr(ndev, EMU_AE_ENABLEX(i), emu_ae.value); in emu_enable_cores() 31 nitrox_write_csr(ndev, EMU_SE_ENABLEX(i), emu_se.value); in emu_enable_cores() 50 emu_ge_int.value = 0; in nitrox_config_emu_unit() 53 emu_wd_int.value = 0; in nitrox_config_emu_unit() 58 nitrox_write_csr(ndev, offset, emu_wd_int.value); in nitrox_config_emu_unit() 60 nitrox_write_csr(ndev, offset, emu_ge_int.value); in nitrox_config_emu_unit() 73 pkt_in_ctl.value = nitrox_read_csr(ndev, offset); in reset_pkt_input_ring() 75 nitrox_write_csr(ndev, offset, pkt_in_ctl.value); in reset_pkt_input_ring() 654 u64 value = ~0ULL; enable_pf2vf_mbox_interrupts() local 668 u64 value = ~0ULL; disable_pf2vf_mbox_interrupts() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_hal.c | 22 emu_ae.value = 0; in emu_enable_cores() 26 emu_se.value = 0; in emu_enable_cores() 31 nitrox_write_csr(ndev, EMU_AE_ENABLEX(i), emu_ae.value); in emu_enable_cores() 32 nitrox_write_csr(ndev, EMU_SE_ENABLEX(i), emu_se.value); in emu_enable_cores() 51 emu_ge_int.value = 0; in nitrox_config_emu_unit() 54 emu_wd_int.value = 0; in nitrox_config_emu_unit() 59 nitrox_write_csr(ndev, offset, emu_wd_int.value); in nitrox_config_emu_unit() 61 nitrox_write_csr(ndev, offset, emu_ge_int.value); in nitrox_config_emu_unit() 74 pkt_in_ctl.value = nitrox_read_csr(ndev, offset); in reset_pkt_input_ring() 76 nitrox_write_csr(ndev, offset, pkt_in_ctl.value); in reset_pkt_input_ring() 655 u64 value = ~0ULL; enable_pf2vf_mbox_interrupts() local 669 u64 value = ~0ULL; disable_pf2vf_mbox_interrupts() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | config.c | 76 static char value[1024]; in parse_value() local 83 if (len >= sizeof(value) - 1) in parse_value() 88 value[len] = 0; in parse_value() 89 return value; in parse_value() 105 value[len++] = ' '; in parse_value() 129 value[len++] = c; in parse_value() 136 value[len++] = c; in parse_value() 148 char *value; in get_value() local 165 value = NULL; in get_value() 169 value in get_value() 317 perf_parse_llong(const char *value, long long *ret) perf_parse_llong() argument 332 perf_parse_long(const char *value, long *ret) perf_parse_long() argument 354 perf_config_u64(u64 *dest, const char *name, const char *value) perf_config_u64() argument 367 perf_config_int(int *dest, const char *name, const char *value) perf_config_int() argument 378 perf_config_u8(u8 *dest, const char *name, const char *value) perf_config_u8() argument 390 perf_config_bool_or_int(const char *name, const char *value, int *is_bool) perf_config_bool_or_int() argument 407 perf_config_bool(const char *name, const char *value) perf_config_bool() argument 413 perf_config_dirname(const char *name, const char *value) perf_config_dirname() argument 420 perf_buildid_config(const char *var, const char *value) perf_buildid_config() argument 437 perf_default_core_config(const char *var, const char *value) perf_default_core_config() argument 449 perf_ui_config(const char *var, const char *value) perf_ui_config() argument 458 perf_stat_config(const char *var, const char *value) perf_stat_config() argument 473 perf_default_config(const char *var, const char *value, void *dummy __maybe_unused) perf_default_config() argument 657 set_value(struct perf_config_item *item, const char *value) set_value() argument 669 collect_config(const char *var, const char *value, void *perf_config_set) collect_config() argument 729 perf_config_set__collect(struct perf_config_set *set, const char *file_name, const char *var, const char *value) perf_config_set__collect() argument 797 char *value = item->value; perf_config_set() local 919 perf_config_scan_cb(const char *var, const char *value, void *data) perf_config_scan_cb() argument [all...] |
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | sunplus-mmc.c | 236 u32 value = readl(host->base + SPMMC_SD_CONFIG0_REG); in spmmc_set_bus_clk() local 246 value &= ~SPMMC_CLOCK_DIVISION; in spmmc_set_bus_clk() 247 value |= FIELD_PREP(SPMMC_CLOCK_DIVISION, clkdiv); in spmmc_set_bus_clk() 248 writel(value, host->base + SPMMC_SD_CONFIG0_REG); in spmmc_set_bus_clk() 253 u32 value = readl(host->base + SPMMC_SD_CONFIG1_REG); in spmmc_set_bus_timing() local 281 value |= SPMMC_SD_HIGH_SPEED_EN; in spmmc_set_bus_timing() 282 writel(value, host->base + SPMMC_SD_CONFIG1_REG); in spmmc_set_bus_timing() 283 value = readl(host->base + SPMMC_SD_TIMING_CONFIG0_REG); in spmmc_set_bus_timing() 284 value &= ~SPMMC_SD_WRITE_DATA_DELAY; in spmmc_set_bus_timing() 285 value | in spmmc_set_bus_timing() 306 u32 value = readl(host->base + SPMMC_SD_CONFIG0_REG); spmmc_set_bus_width() local 330 u32 value = readl(host->base + SPMMC_SD_CONFIG0_REG); spmmc_set_sdmmc_mode() local 339 u32 value; spmmc_sw_reset() local 361 u32 value; spmmc_prepare_cmd() local 403 u32 value, srcdst; spmmc_prepare_data() local 492 u32 value = readl(host->base + SPMMC_SD_CTRL_REG); spmmc_trigger_transaction() local 501 u32 value; spmmc_send_stop_cmd() local 522 u32 value = readl(host->base + SPMMC_SD_STATE_REG); spmmc_check_error() local 611 int f, w, value; spmmc_find_best_delay() local 668 u32 value; spmmc_controller_init() local 716 u32 value = readl(host->base + SPMMC_SD_INT_REG); spmmc_irq() local 751 u32 value; spmmc_request() local 807 u32 value; spmmc_execute_tuning() local [all...] |
/third_party/gn/src/base/numerics/ |
H A D | safe_conversions_impl.h | 28 static const int value = std::is_floating_point<NumericType>::value member 37 static const int value = std::numeric_limits<NumericType>::digits + member 38 std::is_signed<NumericType>::value; 45 static const size_t value = IntegerBitsPlusSign<Integer>::value - 1; member 48 // Determines if a numeric value is negative without throwing compiler 49 // warnings on: unsigned(value) < 0. 51 typename std::enable_if<std::is_signed<T>::value>::type* = nullptr> 52 constexpr bool IsValueNegative(T value) { in IsValueNegative() argument 80 SafeUnsignedAbs(T value) SafeUnsignedAbs() argument 161 static const NumericRangeRepresentation value = global() member 174 static const NumericRangeRepresentation value = global() member 186 static const NumericRangeRepresentation value = NUMERIC_RANGE_NOT_CONTAINED; global() member [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | picker_base_component.h | 79 void SetHasTitle(bool value) in SetHasTitle() argument 81 hasTitle_ = (!subsidiary_ && value); in SetHasTitle() 88 void SetHasLunar(bool value) in SetHasLunar() argument 90 hasLunar_ = SystemProperties::GetDeviceType() == DeviceType::PHONE && value; in SetHasLunar() 97 void SetHasButtons(bool value) in SetHasButtons() argument 99 hasButtons_ = (!subsidiary_ && value); in SetHasButtons() 106 void SetHasTriangle(bool value) in SetHasTriangle() argument 108 hasTriangle_ = value; in SetHasTriangle() 115 void SetIsDialog(bool value) in SetIsDialog() argument 117 isDialog_ = value; in SetIsDialog() 124 SetIsCreateDialogComponent(bool value) SetIsCreateDialogComponent() argument 133 SetSubsidiary(bool value) SetSubsidiary() argument 142 SetMasterHasLunar(bool value) SetMasterHasLunar() argument 151 SetOnChange(const EventMarker& value) SetOnChange() argument 160 SetOnColumnChange(const EventMarker& value) SetOnColumnChange() argument 169 SetOnCancel(const EventMarker& value) SetOnCancel() argument 178 SetDialogAcceptEvent(const EventMarker& value) SetDialogAcceptEvent() argument 187 SetDialogCancelEvent(const EventMarker& value) SetDialogCancelEvent() argument 196 SetDialogChangeEvent(const EventMarker& value) SetDialogChangeEvent() argument 222 SetTheme(const RefPtr<PickerTheme>& value) SetTheme() argument 233 SetAnimationController(const RefPtr<PickerAnimationController>& value) SetAnimationController() argument 253 SetNodeId(int32_t value) SetNodeId() argument 264 SetColumnHeight(const Dimension& value) SetColumnHeight() argument 274 SetDefaultHeight(bool value) SetDefaultHeight() argument 358 OnTriangleCallback(bool value) OnTriangleCallback() argument 403 SetHasBackgroundColor(bool value) SetHasBackgroundColor() argument [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/wrapper/ |
H A D | js.cpp | 23 void JSRelease(JSValue value) in JSRelease() argument 25 return jerry_release_value(value); in JSRelease() 28 JSValue JSString::Create(const char * const value) in Create() argument 30 return jerry_create_string(reinterpret_cast<const jerry_char_t *>(value)); in Create() 38 char *JSString::Value(JSValue value) in Value() argument 40 if (jerry_value_is_undefined(value)) { in Value() 45 if (jerry_value_is_symbol(value)) { in Value() 46 target = jerry_get_symbol_descriptive_string(value); in Value() 48 target = jerry_value_to_string(value); in Value() 122 JSValue value in Get() local 129 JSValue value = JSObject::Get(target, prop); GetString() local 136 JSValue value = JSObject::Get(target, prop); GetNumber() local 143 JSValue value = JSObject::Get(target, prop); GetBoolean() local 148 Set(JSValue target, const char * const prop, JSValue value) Set() argument 155 SetString(JSValue target, const char * const prop, const char * const value) SetString() argument 162 SetNumber(JSValue target, const char * const prop, const double value) SetNumber() argument 169 SetBoolean(JSValue target, const char * const prop, const bool value) SetBoolean() argument 209 JSValue value = JSFunction::Call(func, target, args, size); Call() local 242 Set(const char * const prop, JSValue value) Set() argument 272 Is(JSValue value) Is() argument 287 Value(JSValue value) Value() argument 292 Create(bool value) Create() argument 302 Value(JSValue value) Value() argument 324 JSValue value = JSArray::Get(array, index); GetString() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/state_manage/ |
H A D | cj_persistent_storage_ffi.cpp | 39 void SetValueToStorage(std::string key, std::string value) in SetValueToStorage() argument 50 StorageProxy::GetInstance()->GetStorage()->SetString(key, value); in SetValueToStorage() 56 NativeOptionCString result {.hasValue = false, .value = Utils::MallocCString("").value}; in FfiOHOSAceFrameworkPersistentGetString() 65 result.value = Utils::MallocCString(tmp).value; in FfiOHOSAceFrameworkPersistentGetString() 70 void FfiOHOSAceFrameworkPersistentSetString(const char* key, const char* value, NotifyCallbackString callback) in FfiOHOSAceFrameworkPersistentSetString() argument 77 SetValueToStorage(key, value); in FfiOHOSAceFrameworkPersistentSetString() 78 auto cjCallback = [func = CJLambda::Create(callback), key, value]() { in FfiOHOSAceFrameworkPersistentSetString() 79 func(key, value); in FfiOHOSAceFrameworkPersistentSetString() 100 FfiOHOSAceFrameworkPersistentSetInt64(const char* key, int64_t value, NotifyCallbackInt64 callback) FfiOHOSAceFrameworkPersistentSetInt64() argument 131 FfiOHOSAceFrameworkPersistentSetFloat64(const char* key, double value, NotifyCallbackFloat64 callback) FfiOHOSAceFrameworkPersistentSetFloat64() argument 162 FfiOHOSAceFrameworkPersistentSetBool(const char* key, bool value, NotifyCallbackBool callback) FfiOHOSAceFrameworkPersistentSetBool() argument [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/customcomponent/ |
H A D | customcomponent_constraintsize_test.cpp | 27 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; in TestCustomComponentConstraintSize001() local 28 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentConstraintSize001() 31 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONSTRAINT_SIZE)->value[PARAM_0].f32, minWidth); in TestCustomComponentConstraintSize001() 32 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONSTRAINT_SIZE)->value[PARAM_1].f32, maxWidth); in TestCustomComponentConstraintSize001() 33 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONSTRAINT_SIZE)->value[PARAM_2].f32, minHeight); in TestCustomComponentConstraintSize001() 34 ASSERT_EQ(nodeAPI->getAttribute(custom, NODE_CONSTRAINT_SIZE)->value[PARAM_3].f32, maxHeight); in TestCustomComponentConstraintSize001() 45 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; in TestCustomComponentConstraintSize002() local 46 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeo in TestCustomComponentConstraintSize002() 63 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; TestCustomComponentConstraintSize003() local 81 ArkUI_NumberValue value[PARAM_4] = {{.f32 = minWidth}, {.f32 = maxWidth}, {.f32 = minHeight}, {.f32 = maxHeight}}; TestCustomComponentConstraintSize004() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/image/ |
H A D | image_bordercolor_test.cpp | 35 ArkUI_NumberValue value[] = {{.u32 = borderColor}}; in TestImageBorderColor001() local 36 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeof(ArkUI_NumberValue)}; in TestImageBorderColor001() 39 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_BORDER_COLOR)->value[PARAM_0].u32, borderColor); in TestImageBorderColor001() 40 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_BORDER_COLOR)->value[PARAM_1].u32, borderColor); in TestImageBorderColor001() 41 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_BORDER_COLOR)->value[PARAM_2].u32, borderColor); in TestImageBorderColor001() 42 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_BORDER_COLOR)->value[PARAM_3].u32, borderColor); in TestImageBorderColor001() 50 ArkUI_NumberValue value[] = {{.u32 = borderColor}}; in TestImageBorderColor002() local 51 ArkUI_AttributeItem valueItem = {value, sizeof(value) / sizeo in TestImageBorderColor002() 68 ArkUI_NumberValue value[] = { TestImageBorderColor003() local 87 ArkUI_NumberValue value[] = { TestImageBorderColor004() local [all...] |