Home
last modified time | relevance | path

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

/kernel/liteos_a/lib/libscrew/src/
Dlos_seq_buf.c37 static int ExpandSeqBuf(struct SeqBuf *seqBuf, size_t oldCount) in ExpandSeqBuf() argument
54 (void)memset_s(newBuf + oldCount, seqBuf->size - oldCount, 0, seqBuf->size - oldCount); in ExpandSeqBuf()
56 ret = memcpy_s(newBuf, seqBuf->size, seqBuf->buf, oldCount); in ExpandSeqBuf()
61 seqBuf->count = oldCount; in ExpandSeqBuf()