Home
last modified time | relevance | path

Searched refs:ELF_C_WRITE (Results 1 – 10 of 10) sorted by relevance

/openbsd/lib/libelf/
H A Dlibelf_open.c133 assert(c == ELF_C_READ || c == ELF_C_RDWR || c == ELF_C_WRITE); in _libelf_open_object()
155 if (c == ELF_C_WRITE) { in _libelf_open_object()
H A Delf_cntl.c48 if (e->e_cmd == ELF_C_WRITE) { in elf_cntl()
H A Delf_rawfile.c42 else if ((ptr = e->e_rawfile) == NULL && e->e_cmd == ELF_C_WRITE) in elf_rawfile()
H A Delf_getident.c44 if (e->e_cmd == ELF_C_WRITE && e->e_rawfile == NULL) { in elf_getident()
H A Delf_scn.c147 if (e->e_cmd != ELF_C_WRITE && in elf_getscn()
200 if (e->e_cmd != ELF_C_WRITE && in elf_newscn()
H A Delf_begin.c49 case ELF_C_WRITE: in elf_begin()
H A Dlibelf_ehdr.c146 if (e->e_cmd != ELF_C_WRITE && e->e_rawsize < (off_t) fsz) { in _libelf_ehdr()
170 if (e->e_cmd == ELF_C_WRITE) in _libelf_ehdr()
H A Delf_update.c184 if (e->e_cmd != ELF_C_WRITE && elf_getdata(s, NULL) == NULL) in _libelf_compute_section_extents()
567 if (e->e_cmd != ELF_C_WRITE && eh_byteorder != e->e_byteorder) { in _libelf_resync_elf()
648 if (e->e_cmd != ELF_C_WRITE && in _libelf_resync_elf()
1040 assert(e->e_cmd == ELF_C_RDWR || e->e_cmd == ELF_C_WRITE); in _libelf_write_elf()
1206 (c != ELF_C_NULL && c != ELF_C_WRITE)) { in elf_update()
1219 if (c == ELF_C_WRITE && e->e_cmd == ELF_C_READ) { in elf_update()
H A Delf_flag.c130 if ((flags & ELF_F_ARCHIVE) && e->e_cmd != ELF_C_WRITE) { in elf_flagelf()
H A Dlibelf.h213 ELF_C_WRITE, enumerator