/test/xts/hats/hdf/hdf_lite/manager/common/ |
H A D | hdf_sbuf_test.cpp | 128 uint8_t val = 0; in PullDataSequence() local 129 ret = HdfSbufReadUint8(sbuf, &val); in PullDataSequence() 130 EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence() 135 uint16_t val = 0; in PullDataSequence() local 136 ret = HdfSbufReadUint16(sbuf, &val); in PullDataSequence() 137 EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence() 142 uint32_t val = 0; in PullDataSequence() local 143 ret = HdfSbufReadUint32(sbuf, &val); in PullDataSequence() 144 EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence() 149 uint64_t val in PullDataSequence() local 156 int8_t val = 0; PullDataSequence() local 164 int16_t val = 0; PullDataSequence() local 171 int32_t val = 0; PullDataSequence() local 178 int64_t val = 0; PullDataSequence() local 193 auto val = HdfSbufReadString(sbuf); PullDataSequence() local 316 uint64_t val = 0; HWTEST_F() local 351 int8_t val = 0; HWTEST_F() local 384 int16_t val = 0; HWTEST_F() local 417 int32_t val = 0; HWTEST_F() local 450 int64_t val = 0; HWTEST_F() local 483 uint32_t val = 0; HWTEST_F() local 516 uint16_t val = 0; HWTEST_F() local 549 uint8_t val = 0; HWTEST_F() local 607 auto val = HdfSbufReadString(readBuf); HWTEST_F() local 733 uint8_t val = 0; HWTEST_F() local [all...] |
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/ |
H A D | fnmatch1ndk32.cpp | 52 struct itimerval val;
in GetITimer_time64() local 53 ret = __getitimer_time64(param, &val);
in GetITimer_time64() 70 struct rusage val;
in GetRusAge_time64() local 71 ret = __getrusage_time64(param, &val);
in GetRusAge_time64() 88 struct timeval val;
in GetTimeOfDay_time64() local 90 ret = __gettimeofday_time64(&val, nullptr);
in GetTimeOfDay_time64() 95 ret = __gettimeofday_time64(&val, &tz);
in GetTimeOfDay_time64() 118 struct timespec val;
in PSelect_time64() local 121 val.tv_sec = PARAM_1;
in PSelect_time64() 122 val in PSelect_time64() 139 struct itimerval val; SignalHandler() local 163 struct itimerval val; SetITimer_time64() local [all...] |
/test/testfwk/arkxtest/uitest/record/ |
H A D | matrix3.h | 73 std::string val; in ToString() local 76 [&val](const auto& item) { val = val + "item: " + std::to_string(item) + " "; }); in ToString() 78 return val; in ToString() 137 std::string val; in ToString() local 140 [&val](const auto& item) { val = val + "item: " + std::to_string(item) + " "; }); in ToString() 142 return val; in ToString() 196 std::string val; ToString() local [all...] |
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | dirent1ndk.cpp | 89 struct dirent *val;
in Readdir() local 92 val = readdir(dir);
in Readdir() 97 val = readdir(dir);
in Readdir() 101 if (val == nullptr) {
in Readdir() 150 struct dirent *val;
in Readdir64() local 153 val = readdir64(dir);
in Readdir64() 158 val = readdir64(dir);
in Readdir64() 162 if (val == nullptr) {
in Readdir64() 214 struct dirent *val = readdir(dir);
in Rewinddir() local 215 char *dName = val in Rewinddir() 227 struct dirent *val = readdir(dir); Rewinddir() local [all...] |
H A D | auxv1ndk.cpp | 42 unsigned long int val;
in Getauxval() local 45 val = getauxval(AT_BASE);
in Getauxval() 47 val = getauxval(PARAM_UNNORMAL);
in Getauxval() 50 if (val == PARAM_0) {
in Getauxval()
|
/test/xts/acts/storage/storagefileiojstest/entry/src/ohosTest/js/test/ |
H A D | Common.js | 112 function isIntNum(val) { 113 return typeof val === 'number' && val % 1 === 0; 116 function isBigInt(val) { 117 return typeof val === 'bigint'; 124 function isBoolean(val) { 125 return typeof val == 'boolean';
|
/test/xts/acts/communication/dsoftbus/capi_ipc/entry/src/main/cpp/ |
H A D | ipc_capi.cpp | 459 int8_t val = 0; in OHIPCParcelWriteInt8() local 460 int ret = OH_IPCParcel_WriteInt8(parcel, val); in OHIPCParcelWriteInt8() 475 int8_t val = 0; in OHIPCParcelReadInt8() local 476 int ret = OH_IPCParcel_ReadInt8(parcel, &val); in OHIPCParcelReadInt8() 491 int16_t val = 0; in OHIPCParcelWriteInt16() local 492 int ret = OH_IPCParcel_WriteInt16(parcel, val); in OHIPCParcelWriteInt16() 507 int16_t val = 0; in OHIPCParcelReadInt16() local 508 int ret = OH_IPCParcel_ReadInt16(parcel, &val); in OHIPCParcelReadInt16() 523 int32_t val = 0; in OHIPCParcelWriteInt32() local 524 int ret = OH_IPCParcel_WriteInt32(parcel, val); in OHIPCParcelWriteInt32() 539 int32_t val = 0; OHIPCParcelReadInt32() local 555 int64_t val = 0; OHIPCParcelWriteInt64() local 571 int64_t val = 0; OHIPCParcelReadInt64() local 587 float val = 0.0f; OHIPCParcelWriteFloat() local 603 float val = 0.0f; OHIPCParcelReadFloat() local 619 double val = 0.0; OHIPCParcelWriteDouble() local 635 double val = 0.0; OHIPCParcelReadDouble() local 651 const char* val = ""; OHIPCParcelWriteString() local 671 const char *val = ""; OHIPCParcelReadString() local 833 int8_t val = 0; OHIPCParcelAppend() local [all...] |
/test/testfwk/xdevice/src/xdevice/_core/resource/template/static/components/ |
H A D | popoverCheckBox.js | 74 const val = this.keyword.toLowerCase(); 76 return item.toLowerCase().includes(val); 86 checkedChange(val) { 87 const checkCount = val.length; 103 checkAllChange(val) { 104 this.checkedValues = val ? this.filterOption : [];
|
/test/xts/acts/arkui/ace_napi_test_es/entry/src/main/cpp/common/ |
H A D | native_common.h | 61 #define DECLARE_NAPI_PROPERTY(name, val) \
63 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \
66 #define DECLARE_NAPI_STATIC_PROPERTY(name, val) \
68 (name), nullptr, nullptr, nullptr, nullptr, val, napi_static, nullptr \
101 #define DECLARE_NAPI_DEFAULT_PROPERTY(name, val) \
103 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default_jsproperty, nullptr \
|
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/common/ |
H A D | native_common.h | 61 #define DECLARE_NAPI_PROPERTY(name, val) \ 63 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \ 66 #define DECLARE_NAPI_STATIC_PROPERTY(name, val) \ 68 (name), nullptr, nullptr, nullptr, nullptr, val, napi_static, nullptr \ 101 #define DECLARE_NAPI_DEFAULT_PROPERTY(name, val) \ 103 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default_jsproperty, nullptr \
|
/test/xts/hats/hdf/display/composer/common/ |
H A D | display_test.h | 29 #define DISPLAY_TEST_CHK_RETURN_NOT_VALUE(val, ret, ...) \ 31 if (val) { \ 39 #define DISPLAY_TEST_CHK_RETURN(val, ret, ...) \ 41 if (val) { \
|
/test/xts/acts/storage/storagefileiov9jstest/entry/src/ohosTest/js/test/ |
H A D | Common.js | 94 function isIntNum(val) { 95 return typeof val === 'number' && val % 1 === 0; 98 function isBigInt(val) { 99 return typeof val === 'bigint';
|
/test/xts/acts/global_lite/i18n_lite/resource_parse_load/src/ |
H A D | test_common.cpp | 57 std::string val = iter->second; in PrintMapString() local 58 HILOG_DEBUG("%s : %s", key.c_str(), val.c_str()); in PrintMapString() 65 std::string val = value[i]; in PrintVectorString() local 66 HILOG_DEBUG("%zu : %s", i, val.c_str()); in PrintVectorString()
|
/test/xts/acts/iothardware_lite/peripheral_hal/src/ |
H A D | iot_gpio_test.c | 99 IotGpioValue val = {0}; variable 100 IoTGpioGetOutputVal(COMPILABILITY_TEST_GPIO, &val); 110 IotGpioValue val = {0}; variable 111 IoTGpioGetInputVal(COMPILABILITY_TEST_GPIO, &val);
|
/test/xts/acts/storage/storageenvironmentjstest/entry/src/ohosTest/js/test/ |
H A D | Common.js | 20 function isIntNum(val) { 21 return typeof val === 'number' && val % 1 === 0;
|
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/ |
H A D | image_source_test.cpp | 706 struct OhosImageSourceProperty val; in GetImageProperty() local 707 int32_t res = OH_ImageSource_GetImageProperty(native, &key, &val); in GetImageProperty() 708 if (val.size == SIZE_ZERO) { in GetImageProperty() 709 DEBUG_LOG("Get val size failed"); in GetImageProperty() 712 val.value = (char*)malloc(val.size); in GetImageProperty() 714 res = OH_ImageSource_GetImageProperty(native, &key, &val); in GetImageProperty() 716 if (val.value != nullptr && val.size != SIZE_ZERO) { in GetImageProperty() 717 napi_create_string_utf8(env, val in GetImageProperty() 742 struct OhosImageSourceProperty val; ModifyImageProperty() local [all...] |
/test/xts/acts/account/account_ndk/osaccount_ndk/entry/src/main/cpp/ |
H A D | native_common.h | 61 #define DECLARE_NAPI_PROPERTY(name, val) \ 63 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \ 66 #define DECLARE_NAPI_STATIC_PROPERTY(name, val) \ 68 (name), nullptr, nullptr, nullptr, nullptr, val, napi_static, nullptr \
|
/test/xts/acts/ai/mindspore/mindsporendktest/entry/src/main/cpp/ |
H A D | native_common.h | 61 #define DECLARE_NAPI_PROPERTY(name, val) \
63 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \
66 #define DECLARE_NAPI_STATIC_PROPERTY(name, val) \
68 (name), nullptr, nullptr, nullptr, nullptr, val, napi_static, nullptr \
|
/test/xts/acts/ai/nnrtndk/entry/src/main/cpp/common/ |
H A D | native_common.h | 61 #define DECLARE_NAPI_PROPERTY(name, val) \
63 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \
66 #define DECLARE_NAPI_STATIC_PROPERTY(name, val) \
68 (name), nullptr, nullptr, nullptr, nullptr, val, napi_static, nullptr \
|
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/common/ |
H A D | native_common.h | 61 #define DECLARE_NAPI_PROPERTY(name, val) \ 63 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \ 66 #define DECLARE_NAPI_STATIC_PROPERTY(name, val) \ 68 (name), nullptr, nullptr, nullptr, nullptr, val, napi_static, nullptr \
|
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/ |
H A D | jsvm_common.h | 64 #define DECLARE_JSVM_PROPERTY(name, val) \
66 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \
69 #define DECLARE_JSVM_STATIC_PROPERTY(name, val) \
71 (name), nullptr, nullptr, nullptr, nullptr, val, napi_static, nullptr \
|
H A D | native_common.h | 61 #define DECLARE_NAPI_PROPERTY(name, val) \ 63 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \ 66 #define DECLARE_NAPI_STATIC_PROPERTY(name, val) \ 68 (name), nullptr, nullptr, nullptr, nullptr, val, napi_static, nullptr \
|
/test/xts/acts/commonlibrary/memory_utils/libpurgeablemem/entry/src/main/cpp/ |
H A D | native_common.h | 61 #define DECLARE_NAPI_PROPERTY(name, val) \
63 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \
66 #define DECLARE_NAPI_STATIC_PROPERTY(name, val) \
68 (name), nullptr, nullptr, nullptr, nullptr, val, napi_static, nullptr \
|
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/common/ |
H A D | native_common.h | 61 #define DECLARE_NAPI_PROPERTY(name, val) \ 63 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \ 66 #define DECLARE_NAPI_STATIC_PROPERTY(name, val) \ 68 (name), nullptr, nullptr, nullptr, nullptr, val, napi_static, nullptr \
|
/test/xts/acts/bundlemanager/zlib/actszlibndktest/entry/src/main/cpp/ |
H A D | native_common.h | 61 #define DECLARE_NAPI_PROPERTY(name, val) \ 63 (name), nullptr, nullptr, nullptr, nullptr, val, napi_default, nullptr \ 66 #define DECLARE_NAPI_STATIC_PROPERTY(name, val) \ 68 (name), nullptr, nullptr, nullptr, nullptr, val, napi_static, nullptr \
|