Home
last modified time | relevance | path

Searched refs:srcLen (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/net/telnet/src/
Dtelnet_loop.c110 STATIC UINT8 *ReadFilter(const UINT8 *src, UINT32 srcLen, UINT32 *dstLen) in ReadFilter() argument
114 UINT32 left = srcLen; in ReadFilter()
179 STATIC ssize_t WriteToFd(INT32 fd, const CHAR *src, size_t srcLen) in WriteToFd() argument
184 sizeLeft = srcLen; in WriteToFd()
189 if (sizeLeft == srcLen) { in WriteToFd()
203 return (ssize_t)(srcLen - sizeLeft); in WriteToFd()
/kernel/liteos_a/kernel/extended/hilog/
Dlos_hilog.c129 …c int HiLogBufferCopy(unsigned char *dst, unsigned dstLen, const unsigned char *src, size_t srcLen) in HiLogBufferCopy() argument
132 size_t minLen = (dstLen > srcLen) ? srcLen : dstLen; in HiLogBufferCopy()
144 retval = memcpy_s(dst, dstLen, src, srcLen); in HiLogBufferCopy()