Lines Matching refs:ret
104 int ret = strncpy_s(OsGetShellCb()->shellWorkingDirectory, sizeof(OsGetShellCb()->shellWorkingDirectory),
106 if (ret != SH_OK) {
118 int ret;
120 ret = OsStrSeparateTabStrGet(&tabStr, &parsed, tabStrLen);
121 if (ret != SH_OK) {
122 return ret;
214 int ret;
226 ret = OsSurePrintAll(count);
227 if (ret != 1) {
228 return ret;
243 ret = OsShowPageControl(timesPrint, lineCap, count);
244 if (ret != 1) {
248 return ret;
390 int ret;
439 ret = strncpy_s(cmdOut, size, output, len);
440 if (ret != SH_OK) {
441 printf("%s,%d strncpy_s failed, err:%d!\n", __FUNCTION__, __LINE__, ret);
544 int ret;
573 ret = memcpy_s(shellCB->shellBuf, SHOW_MAX_LEN, cmdMask->cmdString, shellCB->shellBufOffset);
574 if (ret != SH_OK) {
587 unsigned int ret = SH_OK;
589 ret = SH_NOK;
592 return ret;