Searched refs:tmpLen (Results 1 – 3 of 3) sorted by relevance
/kernel/liteos_m/kal/posix/src/ |
D | pipe.c | 501 size_t tmpLen; in PipeRead() local 528 tmpLen = PipeRingbufferRead(dev, (CHAR *)buf + nread, len - nread); in PipeRead() 529 if (tmpLen == 0) { in PipeRead() 547 nread += tmpLen; in PipeRead() 563 size_t tmpLen; in PipeWrite() local 578 tmpLen = PipeRingbufferWrite(dev, (char *)buf + nwrite, len - nwrite); in PipeWrite() 579 if (tmpLen == 0) { in PipeWrite() 592 nwrite += tmpLen; in PipeWrite()
|
/kernel/liteos_a/shell/full/src/base/ |
D | shell_lk.c | 172 UINT32 tmpLen; in OsLogCycleRecord() local 174 tmpLen = strlen(OsLogLvGet(level)); in OsLogCycleRecord() 176 (VOID)OsLogRecordStr(tmpPtr, tmpLen); in OsLogCycleRecord()
|
/kernel/liteos_m/components/fs/vfs/ |
D | vfs_fs.c | 143 size_t tmpLen = strlen(cwd) + strlen(path) + offset; in GetCanonicalPath() local 144 char *tmpBuf = (char *)LOSCFG_FS_MALLOC_HOOK(tmpLen); in GetCanonicalPath() 149 if (-1 == sprintf_s(tmpBuf, tmpLen, "/%s/%s/", cwd, path)) { in GetCanonicalPath() 158 … if (EOK != memmove_s(p, tmpLen - (p - tmpBuf), p + offset, tmpLen - (p - tmpBuf) - offset)) { in GetCanonicalPath() 166 if (EOK != memmove_s(p, tmpLen - (p - tmpBuf), p + 1, tmpLen - (p - tmpBuf) - 1)) { in GetCanonicalPath() 179 …if (EOK != memmove_s(start, tmpLen - (start - tmpBuf), p + offset, tmpLen - (p - tmpBuf) - offset)… in GetCanonicalPath()
|