Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 190) sorted by relevance

12345678

/test/xts/device_attest/services/devattest_ability/test/tdd/gtest/src/
Dattest_tdd_data_transfer.c57 uint8_t *temp = (uint8_t *)malloc(mollocLen); in AttestSeriaToBinary() local
58 if (temp == NULL) { in AttestSeriaToBinary()
61 memset_s(temp, mollocLen, 0, mollocLen); in AttestSeriaToBinary()
66 unsigned char *indexTemp = (unsigned char*)temp; in AttestSeriaToBinary()
83 free(temp); in AttestSeriaToBinary()
87 if (memcpy_s(*buf, len, temp, len) != 0) { in AttestSeriaToBinary()
88 free(temp); in AttestSeriaToBinary()
91 free(temp); in AttestSeriaToBinary()
/test/xts/acts/distributeddatamgr_lite/kv_store_hal/src/
Dkvstore_func_test.c69 char temp[MAX_VALUE_LEN_TEST] = {0}; in SetKVFiles() local
88 ret = UtilsGetValue(keytemp, temp, MAX_VALUE_LEN_TEST); in SetKVFiles()
95 TEST_ASSERT_EQUAL_STRING(valuetemp, temp); in SetKVFiles()
100 memset_s(temp, MAX_VALUE_LEN_TEST, 0, MAX_VALUE_LEN_TEST); in SetKVFiles()
116 char temp[MAX_VALUE_LEN_TEST] = {0}; in ReadKVFiles() local
129 ret = UtilsGetValue(keytemp, temp, MAX_VALUE_LEN_TEST); in ReadKVFiles()
140 TEST_ASSERT_EQUAL_STRING(valuetemp, temp); in ReadKVFiles()
146 memset_s(temp, MAX_VALUE_LEN_TEST, 0, MAX_VALUE_LEN_TEST); in ReadKVFiles()
437 char temp[MAX_VALUE_LEN_TEST] = {0}; variable
441 ret = UtilsGetValue(key, temp, MAX_VALUE_LEN_TEST);
[all …]
/test/xts/acts/distributeddatamgr_lite/kv_store_posix/src/
DKvStoreTest.cpp69 char temp[MAX_VALUE_LEN_TEST] = {0}; in TouchKVFiles() local
88 ret = UtilsGetValue(keytemp, temp, MAX_VALUE_LEN_TEST); in TouchKVFiles()
91 EXPECT_STREQ(valuetemp, temp); in TouchKVFiles()
96 memset_s(temp, MAX_VALUE_LEN_TEST, 0, MAX_VALUE_LEN_TEST); in TouchKVFiles()
110 char temp[MAX_VALUE_LEN_TEST] = {0}; in ReadKVFiles() local
123 ret = UtilsGetValue(keytemp, temp, MAX_VALUE_LEN_TEST); in ReadKVFiles()
130 EXPECT_STREQ(valuetemp, temp); in ReadKVFiles()
136 memset_s(temp, MAX_VALUE_LEN_TEST, 0, MAX_VALUE_LEN_TEST); in ReadKVFiles()
425 char temp[MAX_VALUE_LEN_TEST] = {0}; variable
429 ret = UtilsGetValue(key, temp, MAX_VALUE_LEN_TEST);
[all …]
/test/xts/device_attest_lite/test/tdd/gtest/
Dattest_tdd_data_transfer.c46 uint8_t *temp = (uint8_t *)malloc(mollocLen); in AttestSeriaToBinary() local
47 if (temp == NULL) { in AttestSeriaToBinary()
50 memset_s(temp, mollocLen, 0, mollocLen); in AttestSeriaToBinary()
53 unsigned char *indexTemp = (unsigned char*)temp; in AttestSeriaToBinary()
67 if (memcpy_s(*outputBuff, len, temp, len) != 0) { in AttestSeriaToBinary()
68 free(temp); in AttestSeriaToBinary()
71 free(temp); in AttestSeriaToBinary()
/test/xts/acts/hiviewdfx/hidebugtest/hidebugtestjstest/src/main/js/test/
DHidebug.test.js124 let temp = hidebug.getSharedDirty();
125 expect(dirty).assertEqual(temp);
149 let temp = 100;
177 let temp = 100;
211 let temp = 100;
246 let temp = 100;
355 let temp = hidebug.getPrivateDirty();
356 expect(temp>=BigInt(0)).assertTrue();
375 let temp = -1;
379 temp = hidebug.getCpuUsage();
[all …]
/test/xts/device_attest_lite/services/core/utils/
Dattest_utils_list.c89 ListNode* temp = head; in ReleaseList() local
91 temp = head; in ReleaseList()
93 ATTEST_MEM_FREE(temp->data); in ReleaseList()
94 ATTEST_MEM_FREE(temp); in ReleaseList()
/test/xts/device_attest/services/core/utils/
Dattest_utils_list.c89 ListNode* temp = head; in ReleaseList() local
91 temp = head; in ReleaseList()
93 ATTEST_MEM_FREE(temp->data); in ReleaseList()
94 ATTEST_MEM_FREE(temp); in ReleaseList()
/test/xts/acts/ability/ability_runtime/actscalldataabilitytest/entry/src/main/ets/DataAbility/
Ddata.ts39 var temp = JSON.stringify(extras); variable
40 if(temp == "\"{\\\"group_name\\\":{\\\"data\\\":\\\"test1\\\",\\\"type\\\":10}," +
/test/xts/acts/security/huks_napi_BasicTest/src/
Dhuks_signverify_rsa_test_common.cpp97 uint8_t temp[] = "out"; in HksRsaSignVerifyTestNormalCase() local
98 struct OH_Huks_Blob verifyOut = { sizeof(temp), temp }; in HksRsaSignVerifyTestNormalCase()
162 uint8_t temp[] = "out"; in HksRSASignVerifyTestAbnormalCase() local
163 struct OH_Huks_Blob verifyOut = { sizeof(temp), temp }; in HksRSASignVerifyTestAbnormalCase()
/test/xts/acts/commonlibrary/toolchain/libc-test/src/
Dtoolchaintest.cpp39 static vector<std::string> temp = Runtest::GetFileNames(g_filepath); variable
139 INSTANTIATE_TEST_SUITE_P(libcTest, Toolchaintest, testing::ValuesIn(temp.begin(), temp.end()));
/test/xts/acts/commonlibrary/ets_utils/containerRelation_lib_standard/src/main/js/test/
DHashSet.test.js492 let temp = undefined;
495 temp = res.next().value;
496 arr.push(temp);
497 } while (temp != undefined);
610 let temp = iter.next();
611 while(!temp.done) {
612 expect(temp.value[0]).assertEqual(temp.value[1]);
613 temp = iter.next();
DLightWeightSet.test.js682 let temp = undefined;
684 temp = res.next().value;
685 arr.push(temp);
686 } while (temp != undefined);
775 let temp = iter.next();
776 while(!temp.done) {
777 expect(temp.value[0]).assertEqual(temp.value[1]);
778 temp = iter.next();
/test/xts/acts/security/certificate_framework/js_api_test_oh41/src/main/ets/test/utils/common/
DcommonFunction.ets56 const temp = ("00" + element.toString(16)).slice(-2);
57 list.push(temp);
155 let temp: number[] = [];
157 temp = match.map((h) => {
162 temp
/test/testfwk/developer_test/aw/python/distributed/common/
Dmanager.py87 temp = line.split(",")
88 device_info_list.append(temp)
/test/xts/acts/ability/ability_runtime/actscleantemptest/ActsCleanTempFilesTest/entry/src/main/ets/test/
DAbility.test.ets38 * @tc.name: Support normal exit of application to clean up temp data
39 * @tc.desc: Clean up temp data when the application exits normally.
123 * @tc.name: Support normal exit of application to clean up temp data
124 …hen an application exception exits, the framework will not take the initiative to clean up the temp
210 * @tc.name: Support normal exit of application to clean up temp data
211 …* @tc.desc: The temp directory data will not be cleaned actively when the exception scenario exits…
279 * @tc.name: Support normal exit of application to clean up temp data
280 * @tc.desc: Use disconnect to disconnect serviceExtension and clean up temp data.
/test/xts/acts/kernel_lite/utils/
Dutils.cpp258 int temp = sched_getaffinity(getpid(), sizeof(cpu_set_t), &cpuset); in GetCpuCount() local
259 if (temp != 0) { in GetCpuCount()
260 printf("%s %d Error : %d\n", __FUNCTION__, __LINE__, temp); in GetCpuCount()
/test/xts/device_attest/services/core/attest/
Dattest_service_auth.c272 char* temp = cJSON_GetStringValue(cJSON_GetObjectItem(root, "authType")); in ParseAuthType() local
273 if (temp == NULL) { in ParseAuthType()
277 uint32_t len = strlen(temp); in ParseAuthType()
287 if (memcpy_s(authStatus->authType, len + 1, temp, len) != 0) { in ParseAuthType()
302 char* temp = cJSON_GetStringValue(cJSON_GetObjectItem(root, "versionId")); in ParseVersionId() local
303 if (temp == NULL) { in ParseVersionId()
307 uint32_t len = strlen(temp); in ParseVersionId()
317 if (memcpy_s(authStatus->versionId, len + 1, temp, len) != 0) { in ParseVersionId()
/test/xts/device_attest_lite/services/core/attest/
Dattest_service_auth.c292 char* temp = cJSON_GetStringValue(cJSON_GetObjectItem(root, "authType")); in ParseAuthType() local
293 if (temp == NULL) { in ParseAuthType()
297 uint32_t len = strlen(temp); in ParseAuthType()
307 if (memcpy_s(authStatus->authType, len + 1, temp, len) != 0) { in ParseAuthType()
322 char* temp = cJSON_GetStringValue(cJSON_GetObjectItem(root, "versionId")); in ParseVersionId() local
323 if (temp == NULL) { in ParseVersionId()
327 uint32_t len = strlen(temp); in ParseVersionId()
337 if (memcpy_s(authStatus->versionId, len + 1, temp, len) != 0) { in ParseVersionId()
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_shadow/entry/src/main/ets/test/common/
DCommonTest.ets34 testValues.forEach((temp, index) => {
35 if (temp.exceptView == undefined || temp.exceptView.indexOf(targetView) < 0) {
/test/xts/acts/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_enabled/entry/src/main/ets/test/common/
DCommonTest.ets34 testValues.forEach((temp, index) => {
35 if (temp.exceptView == undefined || temp.exceptView.indexOf(targetView) < 0) {
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_foregroundBlurStyle/entry/src/main/ets/test/common/
DCommonTest.ets34 testValues.forEach((temp, index) => {
35 if (temp.exceptView == undefined || temp.exceptView.indexOf(targetView) < 0) {
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_sweepGradient/entry/src/main/ets/test/common/
DCommonTest.ets34 testValues.forEach((temp, index) => {
35 if (temp.exceptView == undefined || temp.exceptView.indexOf(targetView) < 0) {
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_sphericalEffect/entry/src/main/ets/test/common/
DCommonTest.ets34 testValues.forEach((temp, index) => {
35 if (temp.exceptView == undefined || temp.exceptView.indexOf(targetView) < 0) {
/test/xts/acts/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_visibility/entry/src/main/ets/test/common/
DCommonTest.ets34 testValues.forEach((temp, index) => {
35 if (temp.exceptView == undefined || temp.exceptView.indexOf(targetView) < 0) {
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_gridspan/entry/src/main/ets/test/common/
DCommonTest.ets34 testValues.forEach((temp, index) => {
35 if (temp.exceptView == undefined || temp.exceptView.indexOf(targetView) < 0) {

12345678