Home
last modified time | relevance | path

Searched refs:temp (Results 1 - 25 of 42) sorted by relevance

12

/test/xts/acts/distributeddatamgr_lite/kv_store_hal/src/
H A 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_TES
461 char temp[MAX_VALUE_LEN_TEST] = {0}; global() variable
485 char temp[MAX_VALUE_LEN_TEST] = {0}; global() variable
514 char temp[MAX_VALUE_LEN_TEST] = {0}; global() variable
528 char temp[MAX_VALUE_LEN_TEST] = {0}; global() variable
565 char temp[MAX_VALUE_LEN_TEST] = {0}; global() variable
594 char temp[MAX_VALUE_LEN_TEST] = {0}; global() variable
[all...]
/test/xts/acts/distributeddatamgr_lite/kv_store_posix/src/
H A 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}; in HWTEST_F() local
429 ret = UtilsGetValue(key, temp, MAX_VALUE_LEN_TES in HWTEST_F()
445 char temp[MAX_VALUE_LEN_TEST] = {0}; HWTEST_F() local
464 char temp[MAX_VALUE_LEN_TEST] = {0}; HWTEST_F() local
487 char temp[MAX_VALUE_LEN_TEST] = {0}; HWTEST_F() local
515 char temp[MAX_VALUE_LEN_TEST] = {0}; HWTEST_F() local
[all...]
/test/xts/device_attest/services/devattest_ability/test/tdd/gtest/src/
H A 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/device_attest_lite/test/tdd/gtest/src/
H A Dattest_tdd_data_transfer.c58 uint8_t *temp = (uint8_t *)malloc(mollocLen); in AttestSeriaToBinary() local
59 if (temp == NULL) { in AttestSeriaToBinary()
62 memset_s(temp, mollocLen, 0, mollocLen); in AttestSeriaToBinary()
67 unsigned char *indexTemp = (unsigned char*)temp; in AttestSeriaToBinary()
84 free(temp); in AttestSeriaToBinary()
88 if (memcpy_s(*buf, len, temp, len) != 0) { in AttestSeriaToBinary()
89 free(temp); in AttestSeriaToBinary()
92 free(temp); in AttestSeriaToBinary()
/test/xts/acts/security/huks/huks_napi_BasicTest/src/
H A Dhuks_signverify_rsa_test_common.cpp99 uint8_t temp[] = "out"; in HksRsaSignVerifyTestNormalCase() local
100 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()
H A Dhuks_three_stage_test_common.cpp232 uint8_t tmp[] = "temp"; in TestUpdateFinish()
561 uint8_t temp[10] = {0}; in HuksAgreeKey() local
562 struct OH_Huks_Blob inData = {sizeof(temp), temp}; in HuksAgreeKey()
/test/xts/device_attest/services/core/utils/
H A 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_lite/services/core/utils/
H A 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/commonlibrary/toolchain/libc-test/src/
H A Dtoolchaintest.cpp39 static vector<std::string> temp = Runtest::GetFileNames(g_filepath); member
139 INSTANTIATE_TEST_SUITE_P(libcTest, Toolchaintest, testing::ValuesIn(temp.begin(), temp.end()));
/test/xts/device_attest/services/core/attest/
H A 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/
H A Dattest_service_auth.c296 char* temp = cJSON_GetStringValue(cJSON_GetObjectItem(root, "authType")); in ParseAuthType() local
297 if (temp == NULL) { in ParseAuthType()
301 uint32_t len = strlen(temp); in ParseAuthType()
311 if (memcpy_s(authStatus->authType, len + 1, temp, len) != 0) { in ParseAuthType()
326 char* temp = cJSON_GetStringValue(cJSON_GetObjectItem(root, "versionId")); in ParseVersionId() local
327 if (temp == NULL) { in ParseVersionId()
331 uint32_t len = strlen(temp); in ParseVersionId()
341 if (memcpy_s(authStatus->versionId, len + 1, temp, len) != 0) { in ParseVersionId()
/test/xts/acts/kernel_lite/utils/
H A 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/testfwk/developer_test/aw/python/distributed/common/
H A Dmanager.py39 tmp_path = os.path.join(result, "temp")
49 temp = line.split(",")
50 device_info_list.append(temp)
/test/xts/hats/kernel/posix_interface/interface_gn/utils/
H A Dutils.cpp347 int temp = sched_getaffinity(getpid(), sizeof(cpu_set_t), &cpuset); in GetCpuCount() local
348 if (temp != 0) { in GetCpuCount()
349 printf("%s %d Error : %d\n", __FUNCTION__, __LINE__, temp); in GetCpuCount()
/test/xts/acts/hiviewdfx/hicollietest/hicolliendktest/entry/src/main/cpp/
H A Dnapi_init.cpp85 bool temp = isReport->load(); in TestTask() local
86 int reportResult = OH_HiCollie_Report(&temp); in TestTask()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dstdiondk.cpp365 char *temp = ta; in vasprintf_0100() local
366 int result = vasprintf(&temp, v, ap); in vasprintf_0100()
367 if (result < PARAM_0 || strcmp(temp, "value is 123 and 321.") != PARAM_0) { in vasprintf_0100()
592 char pte[] = "temp"; in Tempnam()
593 char *temp = tempnam(dir, pte); in Tempnam() local
595 napi_create_string_utf8(env, temp, NAPI_AUTO_LENGTH, &result); in Tempnam()
601 const char *fmt = "temp"; in Sscanf()
602 char s[] = "temp"; in Sscanf()
/test/testfwk/xdevice/src/xdevice/_core/executor/
H A Dabs.py293 temp = "{}_{}=".format(result.test_class, result.test_name)
294 result.normal_screen_urls = os.path.join(screenshot_base_path, "normal", temp)
295 result.failure_screen_urls = os.path.join(screenshot_base_path, "failure", temp)
/test/xts/acts/security/huks/security_huks_basic/huks_cipher_callback_BasicTest/entry/src/ohosTest/js/test/Cipher/
H A DSecurityHuksSM2BasicCallbackJsunit.test.js98 let temp;
100 temp = HuksOptions.inData;
106 HuksOptions.inData = temp;
/test/xts/acts/security/huks/security_huks_basic/huks_cipher_promise_BasicTest/entry/src/ohosTest/js/test/Cipher/
H A DSecurityHuksCipherSM2BasicPromiseJsunit.test.js72 let temp;
74 temp = HuksOptions.inData;
81 HuksOptions.inData = temp;
/test/xts/device_attest_lite/services/core/security/
H A Dattest_security.c83 uint32_t temp = 0; in GetSalt() local
86 temp = (uint32_t)GetRandomNum(); // 生成的随机数为4字节 in GetSalt()
88 // temp右移8bits in GetSalt()
89 salt[i] = (uint8_t)((temp >> ((i % randomNumBytes) * offsetBits)) & 0xff); in GetSalt()
/test/testfwk/arkxtest/uitest/test/
H A Dmock_element_node_iterator.h54 std::string temp = strs.substr(0, pos); in StringSplit() local
55 res.emplace_back(temp); in StringSplit()
/test/testfwk/xdevice/src/xdevice/_core/testkit/
H A Dkit.py169 temp = exclude.get(request.get_module_name())
170 case_list.extend(temp)
/test/ostest/wukong/common/src/
H A Dwukong_util.cpp361 std::vector<std::string> temp; in SetBlockPageList() local
362 SplitStr(optarg, ",", temp); in SetBlockPageList()
363 blockPageList_.insert(blockPageList_.end(), temp.begin(), temp.end()); in SetBlockPageList()
/test/xts/acts/multimedia/audio/audio_cpp_standard/openslesPlayerNdk/
H A DActsOpenslesPlayerNdkTest.cpp301 SLmillibel temp = 2; // SetVolumeLevel level1 in OpenSlTestConcurrent() local
302 level1 = (SLmillibel) (level1 / temp); in OpenSlTestConcurrent()
307 temp = 15; // SetVolumeLevel level2 in OpenSlTestConcurrent()
308 level2 = (SLmillibel) (level2 / temp); in OpenSlTestConcurrent()
/test/xts/acts/security/huks/security_huks_reformed_test/huks_cipher_callback_BasicTest/entry/src/ohosTest/js/test/Cipher/
H A DSecurityHuksSM2BasicCallbackJsunit.test.js128 let temp
130 temp = huksOptions.inData;
137 huksOptions.inData = temp;

Completed in 17 milliseconds

12