Lines Matching refs:base
61 Vcchar_t* base; /* buffer for encoded data */
63 Vcchar_t* endb; /* end of base buffer */
279 Vcchar_t *base, *oldbase;
285 oldbase = sfdc->base;
286 if(!(base = (Vcchar_t*)malloc(size)) )
289 memcpy(base, oldbase, sfdc->endb - oldbase);
290 sfdc->endb = base + (sfdc->endb - oldbase);
291 sfdc->code = base + (sfdc->code - oldbase);
292 sfdc->base = base;
311 { sfdc->endb = sfdc->code = sfdc->base;
314 else if(sfdc->code > sfdc->base)
315 { memcpy(sfdc->base, sfdc->code, sz);
316 sfdc->endb = (sfdc->code = sfdc->base) + sz;
451 if(loop > 0 && (sfdc->endb - sfdc->base) >= sfdc->bssz &&
533 Vcchar_t *base;
537 vcioinit(&io, sfdc->base, sfdc->bssz);
597 if(!(base = (Vcchar_t*)malloc(bssz)) )
599 memcpy(base, sfdc->base, vciosize(&io));
600 if(sfdc->base)
601 free(sfdc->base);
602 sfdc->base = base;
605 vcioinit(&io, sfdc->base, sfdc->bssz);
627 sfdc->code = sfdc->base; sfdc->cdsz = vciosize(&io);
891 vcioinit(&io, sfdc->base, sfdc->bssz);
902 if(sz > 0 && sfwr(f, sfdc->base, sz, NIL(Sfdisc_t*)) != sz)
918 if(sfdc->base)
919 free(sfdc->base);
1046 if(!(sfdc->base = (Vcchar_t*)malloc(sfdc->bssz)) )
1055 if(!(sfdc->base = (Vcchar_t*)malloc(sfdc->bssz)) )
1060 sfdc->code = sfdc->endb = sfdc->base;
1081 free(sfdc->base);
1120 if(sfdc->base)
1121 free(sfdc->base);