Home
last modified time | relevance | path

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

12345

/kernel/liteos_a/shell/full/src/cmds/
Ddmesg.c141 if (ret != EOK) { in OsDmesgRead()
149 if (ret != EOK) { in OsDmesgRead()
156 if (ret != EOK) { in OsDmesgRead()
162 if (ret != EOK) { in OsDmesgRead()
207 if (ret != EOK) { in OsCopyToNew()
385 if (ret != EOK) { in OsBufFullWrite()
390 if (ret != EOK) { in OsBufFullWrite()
399 if (ret != EOK) { in OsBufFullWrite()
404 if (ret != EOK) { in OsBufFullWrite()
413 if (ret != EOK) { in OsBufFullWrite()
[all …]
Dwatch_shellcmd.c175 if (err != EOK) { in OsWatchCmdSplice()
180 if (err != EOK) { in OsWatchCmdSplice()
/kernel/liteos_m/components/exchook/
Dlos_exc_info.c71 if (ret != EOK) { in OsExcSaveIntStatus()
79 if (ret != EOK) { in OsExcSaveIntStatus()
87 if (ret != EOK) { in OsExcSaveIntStatus()
95 if (ret != EOK) { in OsExcSaveIntStatus()
103 if (ret != EOK) { in OsExcSaveIntStatus()
111 if (ret != EOK) { in OsExcSaveIntStatus()
119 if (ret != EOK) { in OsExcSaveIntStatus()
164 if (ret != EOK) { in OsExcContentGet()
171 if (ret != EOK) { in OsExcContentGet()
/kernel/uniproton/src/arch/cpu/armv7-m/common/exc/
Dprt_exc.c41 if (memset_s(&taskInfo, sizeof(struct TskInfo), 0, sizeof(struct TskInfo)) != EOK) { in OsExcGetThreadInfo()
94 version, sizeof(excInfo->osVer) - 1) != EOK) { in OsExcSaveInfo()
168 if (memset_s(OS_EXC_INFO_ADDR, EXC_RECORD_SIZE, 0, EXC_RECORD_SIZE) != EOK) { in OsExcHandleEntryM4()
/kernel/liteos_a/lib/libscrew/src/
Dlos_cir_buf.c67 if (err != EOK) { in OsCirBufWriteLinear()
86 if (err != EOK) { in OsCirBufWriteLoop()
144 if (err != EOK) { in OsCirBufReadLinear()
163 if (err != EOK) { in OsCirBufReadLoop()
/kernel/liteos_a/kernel/extended/dynload/src/
Dlos_exec_elf.c67 if (strncpy_s(buf, maxLen, workingDirectory, workPathLen) != EOK) { in OsGetRealPath()
72 if (strncpy_s(buf + workPathLen + 1, maxLen - workPathLen - 1, fileName, len) != EOK) { in OsGetRealPath()
105 if (err != EOK) { in OsCopyUserParam()
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
DIt_ipc_mkfifo_003.cpp45 ICUNIT_ASSERT_EQUAL(ret1, EOK, ret1); in Testcase()
48 ICUNIT_ASSERT_EQUAL(ret1, EOK, ret1); in Testcase()
DIt_ipc_mkfifo_002.cpp45 ICUNIT_ASSERT_EQUAL(ret1, EOK, ret1); in Testcase()
48 ICUNIT_ASSERT_EQUAL(ret1, EOK, ret1); in Testcase()
/kernel/liteos_a/shell/full/src/base/
Dshow.c72 if (memset_s(shellCB, sizeof(ShellCB), 0, sizeof(ShellCB)) != EOK) {
90 if (strncpy_s(shellCB->shellWorkingDirectory, PATH_MAX, "/", 2) != EOK) { /* 2:space for "/" */
/kernel/uniproton/src/mem/fsc/
Dprt_fscmem.c165 … if (memset_s(nextBlk, sizeof(struct TagFscMemCtrl), 0, sizeof(struct TagFscMemCtrl)) != EOK) { in OsFscMemFree()
177 … if (memset_s(currBlk, sizeof(struct TagFscMemCtrl), 0, sizeof(struct TagFscMemCtrl)) != EOK) { in OsFscMemFree()
239 if (memset_s((void *)(uintptr_t)addr, size, 0, size) != EOK) { in OsFscMemInit()
/kernel/liteos_a/kernel/extended/blackbox/
Dlos_blackbox_core.c83 …y_s(info->event, sizeof(info->event), event, Min(strlen(event), sizeof(info->event) - 1)) != EOK) { in FormatErrorInfo()
86 …nfo->module, sizeof(info->module), module, Min(strlen(module), sizeof(info->module) - 1)) != EOK) { in FormatErrorInfo()
90 Min(strlen(errorDesc), sizeof(info->errorDesc) - 1)) != EOK) { in FormatErrorInfo()
360 if (memcpy_s(&newOps->ops, sizeof(newOps->ops), ops, sizeof(*ops)) != EOK) { in BBoxRegisterModuleOps()
/kernel/liteos_m/components/shell/src/cmds/
Dvfs_shellcmd.c108 if (ret != EOK) { in OsShellCmdDoChdir()
340 if (strncpy_s(buf, SHOW_MAX_LEN, shellWorkingDirectory, SHOW_MAX_LEN - 1) != EOK) { in OsShellCmdPwd()
753 if (ret != EOK) { in OsWildcardExtractDirectory()
760 if (ret != EOK) { in OsWildcardExtractDirectory()
764 if (ret != EOK) { in OsWildcardExtractDirectory()
786 if (ret != EOK) { in OsWildcardExtractDirectory()
790 if (ret != EOK) { in OsWildcardExtractDirectory()
/kernel/liteos_a/syscall/
Dmisc_syscall.c79 if (ret != EOK) { in SysSetHostName()
170 if (err != EOK) { in SysShellExec()
/kernel/liteos_a/kernel/base/ipc/
Dlos_queue.c244 sizeof(UINT32)) != EOK) { in OsQueueBufferOperate()
249 if (memcpy_s(bufferAddr, *bufferSize, queueNode, msgDataSize) != EOK) { in OsQueueBufferOperate()
256 if (memcpy_s(queueNode, queueCB->queueSize, bufferAddr, *bufferSize) != EOK) { in OsQueueBufferOperate()
261 sizeof(UINT32)) != EOK) { in OsQueueBufferOperate()
/kernel/liteos_m/testsuites/sample/posix/mqueue/
DIt_posix_queue_015.c47 ICUNIT_ASSERT_EQUAL(ret, EOK, ret); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/
DIt_posix_queue_025.cpp48 ICUNIT_ASSERT_EQUAL(ret, EOK, ret); in Testcase()
/kernel/liteos_a/fs/vfs/vfs_cmd/
Dvfs_shellcmd.c113 if (ret != EOK) { in osShellCmdDoChdir()
490 if (strncpy_s(buf, SHOW_MAX_LEN, shell_working_directory, SHOW_MAX_LEN - 1) != EOK) { in osShellCmdPwd()
949 if (ret != EOK) { in os_wildcard_extract_directory()
956 if (ret != EOK) { in os_wildcard_extract_directory()
960 if (ret != EOK) { in os_wildcard_extract_directory()
982 if (ret != EOK) { in os_wildcard_extract_directory()
986 if (ret != EOK) { in os_wildcard_extract_directory()
/kernel/liteos_a/testsuites/unittest/libc/io/full/
DIt_stdio_getc_unlocked_001.cpp47 ICUNIT_ASSERT_EQUAL(ret, EOK, ret); in Testcase()
DIt_stdio_fwprintf_001.cpp48 ICUNIT_ASSERT_EQUAL(ret, EOK, ret); in Testcase()
DIt_stdio_putwc_001.cpp49 ICUNIT_ASSERT_EQUAL(ret, EOK, ret); in Testcase()
/kernel/liteos_a/fs/fat/os_adapt/
Dformat.c111 if (err != EOK) { in set_label()
/kernel/liteos_a/apps/tftp/include/
Dtypes_adapt.h66 #define EOK 0 macro
/kernel/liteos_a/apps/tftp/src/
Dtftpc.c487 (char *)szErrMsg, (TFTP_MAXERRSTRSIZE - 1)) != EOK) { in lwip_tftp_send_error()
1017 if (ulErrCode != EOK) { in lwip_tftp_put_file_by_filename()
1136 (void *)pucBuffer, (u32_t)iErrCode) != EOK) { in lwip_tftp_put_file_by_filename()
1229 (void *)pstServerAddr, sizeof(stFromAddr)) != EOK) { in lwip_tftp_inner_put_file()
1495 if (ulErrCode != EOK) { in lwip_tftp_get_file_by_filename_to_rawmem()
1650 … (void *)pstRecvBuf->u.stTFTP_Data.ucDataBuf, (size_t)ulRecvSize) != EOK) { in lwip_tftp_get_file_by_filename_to_rawmem()
1682 (void *)pstRecvBuf->u.stTFTP_Data.ucDataBuf, (size_t)ulRecvSize) != EOK) { in lwip_tftp_get_file_by_filename_to_rawmem()
/kernel/uniproton/src/core/ipc/queue/
Dprt_queue.c174 if (memcpy_s(bufferAddr, bufLen, (void *)queueNode->buf, *len) != EOK) { in PRT_QueueRead()
245 (void *)bufferAddr, bufferSize) != EOK) { in OsQueueCpData2Node()
/kernel/uniproton/src/core/kernel/timer/swtmr/
Dprt_swtmr_init.c250 if (memset_s(listObject, size, 0, size) != EOK) { in OsSwTmrResInit()
272 if (memset_s(swtmr, size, 0, size) != EOK) { in OsSwTmrResInit()

12345