Lines Matching defs:base
104 char *base, *limit, *avail;
251 #define GLOBAL ((struct symtab_slot *)TT.globals_table.base)
252 #define LOCAL ((struct symtab_slot *)TT.locals_table.base)
253 #define FUNC_DEF ((struct functab_slot *)TT.func_def_table.base)
255 #define LITERAL ((struct zvalue *)TT.literals.base)
256 #define STACK ((struct zvalue *)TT.stack.base)
257 #define FIELD ((struct zvalue *)TT.fields.base)
259 #define ZCODE ((int *)TT.zcode.base)
297 #define MAPSLOT ((struct zmap_slot *)(m->slot).base)
408 p->base = p->avail = xzalloc(count * size);
409 p->limit = p->base + size * count;
423 size_t offset = p->avail - p->base;
424 size_t cap = p->limit - p->base;
427 char *base = xrealloc(p->base, newcap);
428 p->base = base;
429 p->limit = base + newcap;
430 p->avail = base + offset;
448 return (p->avail - p->base - p->size) / p->size; // offset of updated slot
453 return (p->avail - p->base) / p->size;
648 xfree(m->slot.base);
1254 TT.stackp = (struct zvalue *)TT.stack.base;
2337 if (!FUNC_DEF[funcnum].function_locals.base) {
3081 #define stkn(n) ((int)(TT.stackp - (n) - (struct zvalue *)TT.stack.base))
3556 STKP = (struct zvalue *)TT.stack.base + k;
3851 struct symtab_slot *q = &((struct symtab_slot *)loctab->base)[nargs+1];