Home
last modified time | relevance | path

Searched refs:EOK (Results 1 – 25 of 47) sorted by relevance

12

/test/testfwk/developer_test/aw/cxx/distributed/
Ddistributed_agent.cpp88 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 …]
Ddistributed_major.cpp252 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/
Dchecksum_file.c85 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/
Dhks_test_file_operator.c47 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/
Dshm_utils.cpp133 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/
Dbundle_mgr_test.c64 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/
DTaskpoolSharedTaskTest.cpp321 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) {
DSendRequestTest.cpp190 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) {
DTaskpoolSpecifiedTaskTest.cpp290 if (error != EOK) {
314 if (error != EOK) {
346 if (error != EOK) {
370 if (error != EOK) {
398 if (error != EOK) {
415 if (error != EOK) {
DTaskpoolSingleTaskTest.cpp373 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) {
DSendResponseTest.cpp378 if (error != EOK) {
413 if (error != EOK) {
447 if (error != EOK) {
481 if (error != EOK) {
/test/xts/acts/security/huks_napi_BasicTest/src/
Dhuks_wrapped_test_common.cpp65 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/
Dhdi_thermal_test.cpp162 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/
Ddevattestservice_fuzzer.cpp39 if (ret != EOK) { in GetData()
/test/xts/device_attest/test/fuzztest/devattestclient_fuzzer/
Ddevattestclient_fuzzer.cpp39 if (ret != EOK) { in GetData()
/test/xts/device_attest/test/fuzztest/devattestservicestub_fuzzer/
Ddevattestservicestub_fuzzer.cpp51 if (ret != EOK) { in GetData()
/test/xts/device_attest_lite/test/tdd/gtest/
Dattest_tdd_test.cpp148 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/
Ddevattestnetworkcallback_fuzzer.cpp42 if (ret != EOK) { in GetData()
/test/xts/device_attest/test/fuzztest/devattestadapteroem_fuzzer/
Ddevattestadapteroem_fuzzer.cpp43 if (ret != EOK) { in GetData()
/test/xts/hats/hdf/hdf_lite/display/
Dloadbmp_test.c28 #define EOK 0 macro
217 if (ret != EOK) { in LoadData()
263 if (ret != EOK) { in Copy2BitsAnd4Bits()
/test/xts/hats/useriam/common/src/
Diam_hat_test.cpp46 if (memcpy_s(p, len, buffer, len) != EOK) { in FillTestBuffer()
/test/xts/acts/ai_lite/ai_engine_posix/base/src/sample/source/
Dsample_plugin_1.cpp60 if (retCode != EOK) { in ReturnDataCopyOrDefaultData()
Dsample_plugin_2.cpp60 if (retCode != EOK) { in ReturnDataCopyOrDefaultData()
/test/xts/hats/powermgr/power/hdi_power/common/
Dhdi_power_test.cpp211 EXPECT_FALSE(ret < EOK);
260 EXPECT_FALSE(ret < EOK);
288 EXPECT_FALSE(ret < EOK);
/test/xts/hats/hdf/wlan/hdi_service/
Dwlan_callback_impl.c49 … if (hdr->datalen < MAX_SSID_LEN && memcpy_s(ssid, MAX_SSID_LEN, pos, hdr->datalen) == EOK) { in PrintSsid()

12