Searched refs:ELF_C_WRITE (Results 1 – 10 of 10) sorted by relevance
133 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()
48 if (e->e_cmd == ELF_C_WRITE) { in elf_cntl()
42 else if ((ptr = e->e_rawfile) == NULL && e->e_cmd == ELF_C_WRITE) in elf_rawfile()
44 if (e->e_cmd == ELF_C_WRITE && e->e_rawfile == NULL) { in elf_getident()
147 if (e->e_cmd != ELF_C_WRITE && in elf_getscn()200 if (e->e_cmd != ELF_C_WRITE && in elf_newscn()
49 case ELF_C_WRITE: in elf_begin()
146 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()
184 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()
130 if ((flags & ELF_F_ARCHIVE) && e->e_cmd != ELF_C_WRITE) { in elf_flagelf()
213 ELF_C_WRITE, enumerator