Lines Matching refs:base
282 zextendPool(MemPool *mp, void *base, uintptr_t bytes)
285 mp->mp_Base = base;
287 mp->mp_End = (char *)base + bytes;
292 if (base < mp->mp_Base) {
293 mp->mp_Size += (char *)mp->mp_Base - (char *)base;
294 mp->mp_Used += (char *)mp->mp_Base - (char *)base;
295 mp->mp_Base = base;
297 base = (char *)base + bytes;
298 if (base > pend) {
299 mp->mp_Size += (char *)base - (char *)pend;
300 mp->mp_Used += (char *)base - (char *)pend;
301 mp->mp_End = (char *)base;