Lines Matching refs:bufBase
269 Byte *bufBase; member
509 p->bufBase = NULL; in RangeEnc_Construct()
512 #define RangeEnc_GetProcessed(p) ((p)->processed + ((p)->buf - (p)->bufBase) + (p)->cacheSize)
517 if (!p->bufBase) in RangeEnc_Alloc()
519 p->bufBase = (Byte *)alloc->Alloc(alloc, RC_BUF_SIZE); in RangeEnc_Alloc()
520 if (!p->bufBase) in RangeEnc_Alloc()
522 p->bufLim = p->bufBase + RC_BUF_SIZE; in RangeEnc_Alloc()
529 alloc->Free(alloc, p->bufBase); in RangeEnc_Free()
530 p->bufBase = 0; in RangeEnc_Free()
541 p->buf = p->bufBase; in RangeEnc_Init()
552 num = p->buf - p->bufBase; in RangeEnc_FlushStream()
553 if (num != p->outStream->Write(p->outStream, p->bufBase, num)) in RangeEnc_FlushStream()
556 p->buf = p->bufBase; in RangeEnc_FlushStream()