Lines Matching refs:bufTotal
78 size_t bufTotal; member
140 p->bufPos = p->bufConv = p->bufTotal = 0; in BraState_Init()
206 p->bufTotal -= p->bufPos; in BraState_Code2()
207 memmove(p->buf, p->buf + p->bufPos, p->bufTotal); in BraState_Code2()
211 size_t size = BRA_BUF_SIZE - p->bufTotal; in BraState_Code2()
214 memcpy(p->buf + p->bufTotal, src, size); in BraState_Code2()
218 p->bufTotal += size; in BraState_Code2()
220 if (p->bufTotal == 0) in BraState_Code2()
223 p->bufConv = BraState_Filter(pp, p->buf, p->bufTotal); in BraState_Code2()
229 p->bufConv = p->bufTotal; in BraState_Code2()
233 if (p->bufTotal == p->bufPos && srcRem == 0 && srcWasFinished) in BraState_Code2()