Lines Matching refs:sec
46 #define DASM_SEC2POS(sec) ((sec)<<24) argument
170 dasm_Section *sec = D->section; in dasm_put() local
171 int pos = sec->pos, ofs = sec->ofs, mrm = -1; in dasm_put()
174 if (pos >= sec->epos) { in dasm_put()
175 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
176 sec->bsize + 2*DASM_MAXSECPOS*sizeof(int)); in dasm_put()
177 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
178 sec->epos = (int)sec->bsize/sizeof(int) - DASM_MAXSECPOS+DASM_POS2BIAS(pos); in dasm_put()
181 b = sec->rbuf; in dasm_put()
271 sec->pos = pos; in dasm_put()
272 sec->ofs = ofs; in dasm_put()
304 dasm_Section *sec = D->sections + secnum; in dasm_link() local
305 int *b = sec->rbuf; in dasm_link()
307 int lastpos = sec->pos; in dasm_link()
360 ofs += sec->ofs; /* Next section starts right after current section. */ in dasm_link()
404 dasm_Section *sec = D->sections + secnum; in dasm_encode() local
405 int *b = sec->buf; in dasm_encode()
406 int *endb = DASM_PTR_ADD(sec->rbuf, sec->pos); in dasm_encode()