Lines Matching refs:bufBase
265 Byte *bufBase; member
536 p->bufBase = NULL; in RangeEnc_Construct()
539 #define RangeEnc_GetProcessed(p) ((p)->processed + ((p)->buf - (p)->bufBase) + (p)->cacheSize)
540 #define RangeEnc_GetProcessed_sizet(p) ((size_t)(p)->processed + ((p)->buf - (p)->bufBase) + (size_…
546 if (!p->bufBase) in RangeEnc_Alloc()
548 p->bufBase = (Byte *)ISzAlloc_Alloc(alloc, RC_BUF_SIZE); in RangeEnc_Alloc()
549 if (!p->bufBase) in RangeEnc_Alloc()
551 p->bufLim = p->bufBase + RC_BUF_SIZE; in RangeEnc_Alloc()
558 ISzAlloc_Free(alloc, p->bufBase); in RangeEnc_Free()
559 p->bufBase = 0; in RangeEnc_Free()
570 p->buf = p->bufBase; in RangeEnc_Init()
581 num = p->buf - p->bufBase; in RangeEnc_FlushStream()
582 if (num != ISeqOutStream_Write(p->outStream, p->bufBase, num)) in RangeEnc_FlushStream()
585 p->buf = p->bufBase; in RangeEnc_FlushStream()