/test/xts/acts/distributeddatamgr_lite/kv_store_hal/src/ |
H A D | kvstore_func_test.c | 69 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 D | KvStoreTest.cpp | 69 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 D | attest_tdd_data_transfer.c | 57 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 D | attest_tdd_data_transfer.c | 58 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 D | huks_signverify_rsa_test_common.cpp | 99 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 D | huks_three_stage_test_common.cpp | 232 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 D | attest_utils_list.c | 89 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 D | attest_utils_list.c | 89 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 D | toolchaintest.cpp | 39 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 D | attest_service_auth.c | 272 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 D | attest_service_auth.c | 296 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 D | utils.cpp | 258 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 D | manager.py | 39 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 D | utils.cpp | 347 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 D | napi_init.cpp | 85 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 D | stdiondk.cpp | 365 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 D | abs.py | 293 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 D | SecurityHuksSM2BasicCallbackJsunit.test.js | 98 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 D | SecurityHuksCipherSM2BasicPromiseJsunit.test.js | 72 let temp;
74 temp = HuksOptions.inData;
81 HuksOptions.inData = temp;
|
/test/xts/device_attest_lite/services/core/security/ |
H A D | attest_security.c | 83 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 D | mock_element_node_iterator.h | 54 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 D | kit.py | 169 temp = exclude.get(request.get_module_name()) 170 case_list.extend(temp)
|
/test/ostest/wukong/common/src/ |
H A D | wukong_util.cpp | 361 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 D | ActsOpenslesPlayerNdkTest.cpp | 301 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 D | SecurityHuksSM2BasicCallbackJsunit.test.js | 128 let temp 130 temp = huksOptions.inData; 137 huksOptions.inData = temp;
|