Lines Matching defs:frame

27  *   The beginning of each frame is initialized with a frame structure
28 * that contains a pointer to the previous frame and a pointer to the
29 * end of the current frame.
46 * The first frame has structure
51 * struct frame
68 struct frame
70 char *prev; /* address of previous frame */
71 char *end; /* address of end this frame */
81 char *stkbase; /* beginning of current stack frame */
82 char *stkend; /* end of current stack frame */
154 register struct frame *fp;
164 fp = (struct frame*)cp;
218 register struct frame *fp;
232 bsize = init+sizeof(struct frame);
239 bsize -= sizeof(struct frame);
240 if(!(fp=newof((char*)0,struct frame, 1,bsize)))
326 register struct frame *fp;
327 for(fp=(struct frame*)sp->stkbase; fp; fp=(struct frame*)fp->prev)
342 register struct frame *fp;
350 fp = (struct frame*)sp->stkbase;
351 cp = sp->stkbase + roundof(sizeof(struct frame), STK_ALIGN);
361 /* see whether <loc> is in current stack frame */
373 sp->stkend = ((struct frame*)(fp->prev))->end;
489 * add a new stack frame of size >= <n> to the current stack.
491 * if <n> is zero, then copy the remainder of the stack frame from stkbot
492 * to the end is copied into the new stack frame
499 register struct frame *fp= (struct frame*)sp->stkbase;
503 n += (m + sizeof(struct frame)+1);
510 /* see whether current frame can be extended */
511 if(stkptr(stream,0)==sp->stkbase+sizeof(struct frame))
515 sp->stkbase = ((struct frame*)dp)->prev;
524 fp = (struct frame*)cp;
533 fp->aliases[nn-1] = dp + roundof(sizeof(struct frame),STK_ALIGN);