Home | History | Annotate | Download | only in make

Lines Matching full:ofst

298 #define COPY_STRUCT(dst, buf, ofst, sz) do {\
299 if(ofst + sizeof((*(dst))) > sz) goto bail;\
300 memcpy(dst, buf+ofst, sizeof((*(dst))));\
460 int parse_elf_symbol(elf_obj_t *elf, unsigned int ofst, Elf32_Sym *sym32, Elf64_Sym *sym64)
464 COPY_STRUCT(sym32, elf->buf, ofst, elf->sz);
474 COPY_STRUCT(sym64, elf->buf, ofst, elf->sz);
490 unsigned int ofst;
558 for (ofst = shdr.sh_offset;
559 ofst < shdr.sh_offset + shdr.sh_size;
560 ofst += shdr.sh_entsize)
564 ofst, &sym, NULL);
650 for (ofst = shdr.sh_offset;
651 ofst < shdr.sh_offset + shdr.sh_size;
652 ofst += shdr.sh_entsize)
656 parse_elf_symbol(&elf, ofst, NULL, &sym);