Home
last modified time | relevance | path

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

/external/fastrpc/inc/
Dsbuf.h72 uintptr_t bufCur; //! current position, could be outside of valid range member
84 buf->bufStart = buf->bufCur = (uintptr_t)data - offset; in sbuf_init()
90 buf->bufCur += len; in sbuf_advance()
98 return buf->bufCur - buf->bufStart; in sbuf_needed()
105 return buf->bufEnd - buf->bufCur; in sbuf_left()
110 return (void*)buf->bufCur; in sbuf_head()
115 return buf->bufCur >= buf->buf && buf->bufCur < buf->bufEnd; in sbuf_valid()
133 if(buf->bufCur + srcLen > buf->buf) { in sbuf_write()
135 if(buf->bufCur < buf->buf) { in sbuf_write()
136 int len = buf->buf - buf->bufCur; in sbuf_write()
[all …]