Lines Matching refs:sec
46 #define DASM_SEC2POS(sec) ((sec)<<24) argument
175 dasm_Section *sec = D->section; in dasm_put() local
176 int pos = sec->pos, ofs = sec->ofs, mrm = -1; in dasm_put()
179 if (pos >= sec->epos) { in dasm_put()
180 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
181 sec->bsize + 2*DASM_MAXSECPOS*sizeof(int)); in dasm_put()
182 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
183 sec->epos = (int)sec->bsize/sizeof(int) - DASM_MAXSECPOS+DASM_POS2BIAS(pos); in dasm_put()
186 b = sec->rbuf; in dasm_put()
274 sec->pos = pos; in dasm_put()
275 sec->ofs = ofs; in dasm_put()
307 dasm_Section *sec = D->sections + secnum; in dasm_link() local
308 int *b = sec->rbuf; in dasm_link()
310 int lastpos = sec->pos; in dasm_link()
359 ofs += sec->ofs; /* Next section starts right after current section. */ in dasm_link()
403 dasm_Section *sec = D->sections + secnum; in dasm_encode() local
404 int *b = sec->buf; in dasm_encode()
405 int *endb = DASM_PTR_ADD(sec->rbuf, sec->pos); in dasm_encode()