/test/testfwk/developer_test/aw/cxx/distributed/ |
D | distributed_agent.cpp | 88 errno_t ret = EOK; in InitAgentServer() 90 if (ret != EOK) { in InitAgentServer() 154 errno_t ret = EOK; in DoCmdServer() 156 if (ret != EOK) { in DoCmdServer() 178 errno_t ret = EOK; in DoCmdServer() 184 if (ret != EOK) { in DoCmdServer() 194 if (ret != EOK) { in DoCmdServer() 202 if (ret != EOK) { in DoCmdServer() 221 errno_t ret = EOK; in DoCmdServer() 224 if (ret != EOK) { in DoCmdServer() [all …]
|
D | distributed_major.cpp | 252 errno_t ret = EOK; in RunTestCmd() 254 if (ret != EOK) { in RunTestCmd() 271 if (ret != EOK) { in RunTestCmd() 279 if (ret != EOK) { in RunTestCmd() 300 if (ret != EOK) { in SendMessage() 324 if (ret != EOK) { in Notify()
|
/test/xts/tools/lite/checksum/src/ |
D | checksum_file.c | 85 if (err != EOK) { in GetChecksumResult() 166 if (err != EOK) { in CreatePathName() 171 if (err != EOK) { in CreatePathName() 176 if (err != EOK) { in CreatePathName() 181 if (err != EOK) { in CreatePathName()
|
/test/xts/acts/security_lite/huks/common/ |
D | hks_test_file_operator.c | 47 if (strncpy_s(fullFileName, fullFileNameLen, path, strlen(path)) != EOK) { in GetFileName() 52 if (strncat_s(fullFileName, fullFileNameLen, "/", strlen("/")) != EOK) { in GetFileName() 57 if (strncat_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName() 61 if (strncpy_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName() 107 if (memcpy_s(filePath, sizeof(filePath) - 1, fileName, strlen(fileName)) != EOK) { in FileRead() 150 if (memcpy_s(filePath, sizeof(filePath) - 1, fileName, strlen(fileName)) != EOK) { in FileWrite()
|
/test/xts/dcts/common/ |
D | shm_utils.cpp | 133 if (strncpy_s(data, strlen("0") + 1, str + STR_KEY, 1) != EOK) { in waitDataWithCode() 167 if (strcpy_s(str, MAX_DATA_LENGTH, codeStr) != EOK) { in writeCodeDataToShm() 171 if (strcat_s(str, MAX_DATA_LENGTH, ":") != EOK) { in writeCodeDataToShm() 180 if (strcat_s(str, MAX_DATA_LENGTH, buf) != EOK) { in writeCodeDataToShm()
|
/test/xts/acts/appexecfwk_lite/appexecfwk_hal/src/ |
D | bundle_mgr_test.c | 64 TEST_ASSERT_EQUAL(err, EOK); 87 TEST_ASSERT_EQUAL(err, EOK); 110 TEST_ASSERT_EQUAL(err, EOK); 133 TEST_ASSERT_EQUAL(err, EOK); 156 TEST_ASSERT_EQUAL(err, EOK); 179 TEST_ASSERT_EQUAL(err, EOK);
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/ |
D | TaskpoolSharedTaskTest.cpp | 321 if (error != EOK) { 345 if (error != EOK) { 377 if (error != EOK) { 401 if (error != EOK) { 429 if (error != EOK) { 445 if (error != EOK) { 473 if (error != EOK) { 489 if (error != EOK) {
|
D | SendRequestTest.cpp | 190 if (error != EOK) { in FEATURE_OnMessage() 394 if (error != EOK) { 434 if (error != EOK) { 473 if (error != EOK) { 506 if (error != EOK) { 546 if (error != EOK) { 584 if (error != EOK) { 604 if (error != EOK) { 635 if (error != EOK) { 682 if (error != EOK) {
|
D | TaskpoolSpecifiedTaskTest.cpp | 290 if (error != EOK) { 314 if (error != EOK) { 346 if (error != EOK) { 370 if (error != EOK) { 398 if (error != EOK) { 415 if (error != EOK) {
|
D | TaskpoolSingleTaskTest.cpp | 373 if (error != EOK) { 397 if (error != EOK) { 429 if (error != EOK) { 452 if (error != EOK) { 484 if (error != EOK) { 507 if (error != EOK) { 539 if (error != EOK) { 562 if (error != EOK) {
|
D | SendResponseTest.cpp | 378 if (error != EOK) { 413 if (error != EOK) { 447 if (error != EOK) { 481 if (error != EOK) {
|
/test/xts/acts/security/huks_napi_BasicTest/src/ |
D | huks_wrapped_test_common.cpp | 65 sizeof(blobArray[i]->size)) != EOK) in BuildWrappedKeyData() 73 blobArray[i]->size) != EOK) in BuildWrappedKeyData() 190 …(memcpy_s(kekTag.data, tagSize, plainCipher->data + (plainCipher->size - tagSize), tagSize) != EOK) in ImportWrappedKey() 192 EXPECT_EQ(OH_HUKS_ERR_CODE_ILLEGAL_ARGUMENT, EOK) << "memcpy kek tag failed."; in ImportWrappedKey() 199 …_s(agreeKeyTagBuf, tagSize, kekCipherText->data + (kekCipherText->size - tagSize), tagSize) != EOK) in ImportWrappedKey() 201 EXPECT_EQ(OH_HUKS_ERR_CODE_ILLEGAL_ARGUMENT, EOK) << "memcpy agreekey tag failed."; in ImportWrappedKey()
|
/test/xts/hats/powermgr/thermal/hdi_thermal/common/ |
D | hdi_thermal_test.cpp | 162 if (snprintf_s(cpuBuf, MAX_PATH, sizeof(cpuBuf) - 1, CPU_FREQ_PATH.c_str()) < EOK) { 195 if (snprintf_s(cpuBuf, MAX_PATH, sizeof(cpuBuf) - 1, GPU_FREQ_PATH.c_str()) < EOK) { 228 …if (snprintf_s(cpuBuf, MAX_PATH, sizeof(cpuBuf) - 1, BATTERY_CHARGER_CURRENT_PATH.c_str()) < EOK) { 333 if (snprintf_s(path, MAX_PATH, sizeof(path) - 1, ISOLATE_PATH.c_str()) < EOK) {
|
/test/xts/device_attest/test/fuzztest/devattestservice_fuzzer/ |
D | devattestservice_fuzzer.cpp | 39 if (ret != EOK) { in GetData()
|
/test/xts/device_attest/test/fuzztest/devattestclient_fuzzer/ |
D | devattestclient_fuzzer.cpp | 39 if (ret != EOK) { in GetData()
|
/test/xts/device_attest/test/fuzztest/devattestservicestub_fuzzer/ |
D | devattestservicestub_fuzzer.cpp | 51 if (ret != EOK) { in GetData()
|
/test/xts/device_attest_lite/test/tdd/gtest/ |
D | attest_tdd_test.cpp | 148 if (rc != EOK) { in TddGenActiveMsg() 173 if (rc != EOK) { in TddGenAuthMsg() 197 if (rc != EOK) { in TddGenResetMsg()
|
/test/xts/device_attest/test/fuzztest/devattestnetworkcallback_fuzzer/ |
D | devattestnetworkcallback_fuzzer.cpp | 42 if (ret != EOK) { in GetData()
|
/test/xts/device_attest/test/fuzztest/devattestadapteroem_fuzzer/ |
D | devattestadapteroem_fuzzer.cpp | 43 if (ret != EOK) { in GetData()
|
/test/xts/hats/hdf/hdf_lite/display/ |
D | loadbmp_test.c | 28 #define EOK 0 macro 217 if (ret != EOK) { in LoadData() 263 if (ret != EOK) { in Copy2BitsAnd4Bits()
|
/test/xts/hats/useriam/common/src/ |
D | iam_hat_test.cpp | 46 if (memcpy_s(p, len, buffer, len) != EOK) { in FillTestBuffer()
|
/test/xts/acts/ai_lite/ai_engine_posix/base/src/sample/source/ |
D | sample_plugin_1.cpp | 60 if (retCode != EOK) { in ReturnDataCopyOrDefaultData()
|
D | sample_plugin_2.cpp | 60 if (retCode != EOK) { in ReturnDataCopyOrDefaultData()
|
/test/xts/hats/powermgr/power/hdi_power/common/ |
D | hdi_power_test.cpp | 211 EXPECT_FALSE(ret < EOK); 260 EXPECT_FALSE(ret < EOK); 288 EXPECT_FALSE(ret < EOK);
|
/test/xts/hats/hdf/wlan/hdi_service/ |
D | wlan_callback_impl.c | 49 … if (hdr->datalen < MAX_SSID_LEN && memcpy_s(ssid, MAX_SSID_LEN, pos, hdr->datalen) == EOK) { in PrintSsid()
|