Lines Matching refs:sections
48 #define DASM_POS2PTR(D, pos) (D->sections[DASM_POS2SEC(pos)].rbuf + (pos))
76 dasm_Section sections[1]; /* All sections. Alloc-extended. */ member
101 memset((void *)D->sections, 0, maxsection * sizeof(dasm_Section)); in dasm_init()
110 if (D->sections[i].buf) in dasm_free()
111 DASM_M_FREE(Dst, D->sections[i].buf, D->sections[i].bsize); in dasm_free()
141 D->section = &D->sections[0]; in dasm_setup()
145 D->sections[i].pos = DASM_SEC2POS(i); in dasm_setup()
146 D->sections[i].rbuf = DASM_PTR_SUB(D->sections[i].buf, D->sections[i].pos); in dasm_setup()
147 D->sections[i].ofs = 0; in dasm_setup()
264 n = *p; CK(n < D->maxsection, RANGE_SEC); D->section = &D->sections[n]; in dasm_put()
304 dasm_Section *sec = D->sections + secnum; in dasm_link()
330 lofs += D->sections[i].ofs; in dasm_link()
404 dasm_Section *sec = D->sections + secnum; in dasm_encode()
537 D->section != &D->sections[secmatch]) in dasm_checkstep()
538 D->status = DASM_S_MATCH_SEC|(int)(D->section-D->sections); in dasm_checkstep()