Home
last modified time | relevance | path

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

/AliOS-Things-master/kernel/rhino/
A Dk_ringbuf.c7 #define RING_BUF_LEN sizeof(size_t) macro
27 uint8_t c_len[RING_BUF_LEN] = {0}; in ringbuf_push()
47 len_bytes = RING_BUF_LEN; in ringbuf_push()
54 memcpy(c_len, &len, RING_BUF_LEN); in ringbuf_push()
108 uint8_t c_len[RING_BUF_LEN] = {0}; in ringbuf_pop()
127 len_bytes = RING_BUF_LEN; in ringbuf_pop()
147 memcpy(&len, c_len, RING_BUF_LEN); in ringbuf_pop()
173 if (p_ringbuf->type == RINGBUF_TYPE_DYN && p_ringbuf->freesize < (RING_BUF_LEN + 1)) { in ringbuf_is_full()

Completed in 3 milliseconds