Lines Matching refs:sec
47 #define DASM_SEC2POS(sec) ((sec)<<24) argument
168 dasm_Section *sec = D->section; in dasm_put() local
169 int pos = sec->pos, ofs = sec->ofs; in dasm_put()
172 if (pos >= sec->epos) { in dasm_put()
173 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
174 sec->bsize + 2*DASM_MAXSECPOS*sizeof(int)); in dasm_put()
175 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
176 sec->epos = (int)sec->bsize/sizeof(int) - DASM_MAXSECPOS+DASM_POS2BIAS(pos); in dasm_put()
179 b = sec->rbuf; in dasm_put()
247 sec->pos = pos; in dasm_put()
248 sec->ofs = ofs; in dasm_put()
280 dasm_Section *sec = D->sections + secnum; in dasm_link() local
281 int *b = sec->rbuf; in dasm_link()
283 int lastpos = sec->pos; in dasm_link()
302 ofs += sec->ofs; /* Next section starts right after current section. */ in dasm_link()
327 dasm_Section *sec = D->sections + secnum; in dasm_encode() local
328 int *b = sec->buf; in dasm_encode()
329 int *endb = sec->rbuf + sec->pos; in dasm_encode()