Lines Matching refs:dest
88 static int ef_read(elf_file_t ef, Elf_Off offset, size_t len, void *dest);
93 void *dest);
95 void *dest);
97 char *dest);
432 ef_read(elf_file_t ef, Elf_Off offset, size_t len, void *dest)
441 r = read(ef->ef_fd, dest, len);
463 ef_seg_read(elf_file_t ef, Elf_Off offset, size_t len, void *dest)
474 return (ef_read(ef, ofs, len, dest));
478 ef_seg_read_rel(elf_file_t ef, Elf_Off offset, size_t len, void *dest)
492 if ((error = ef_read(ef, ofs, len, dest)) != 0)
497 dest);
503 dest);
511 ef_seg_read_string(elf_file_t ef, Elf_Off offset, size_t len, char *dest)
524 r = pread(ef->ef_fd, dest, len, ofs);
527 if (strnlen(dest, len) == len)