Lines Matching refs:sec
50 #define DASM_SEC2POS(sec) ((sec)<<24) argument
224 dasm_Section *sec = D->section; in dasm_put() local
225 int pos = sec->pos, ofs = sec->ofs; in dasm_put()
228 if (pos >= sec->epos) { in dasm_put()
229 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
230 sec->bsize + 2*DASM_MAXSECPOS*sizeof(int)); in dasm_put()
231 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
232 sec->epos = (int)sec->bsize/sizeof(int) - DASM_MAXSECPOS+DASM_POS2BIAS(pos); in dasm_put()
235 b = sec->rbuf; in dasm_put()
342 sec->pos = pos; in dasm_put()
343 sec->ofs = ofs; in dasm_put()
375 dasm_Section *sec = D->sections + secnum; in dasm_link() local
376 int *b = sec->rbuf; in dasm_link()
378 int lastpos = sec->pos; in dasm_link()
399 ofs += sec->ofs; /* Next section starts right after current section. */ in dasm_link()
433 dasm_Section *sec = D->sections + secnum; in dasm_encode() local
434 int *b = sec->buf; in dasm_encode()
435 int *endb = DASM_PTR_ADD(sec->rbuf, sec->pos); in dasm_encode()