Lines Matching refs:descriptor

355 			 int descriptor, off_t offset,  in simple_object_elf_match()  argument
411 if (!simple_object_internal_read (descriptor, offset, ehdr, sizeof ehdr, in simple_object_elf_match()
438 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr, in simple_object_elf_match()
518 if (!simple_object_internal_read (sobj->descriptor, in simple_object_elf_find_sections()
536 if (!simple_object_internal_read (sobj->descriptor, in simple_object_elf_find_sections()
690 simple_object_elf_write_ehdr (simple_object_write *sobj, int descriptor, in simple_object_elf_write_ehdr() argument
759 return simple_object_internal_write (descriptor, 0, buf, ehdr_size, in simple_object_elf_write_ehdr()
766 simple_object_elf_write_shdr (simple_object_write *sobj, int descriptor, in simple_object_elf_write_shdr() argument
798 return simple_object_internal_write (descriptor, offset, buf, shdr_size, in simple_object_elf_write_shdr()
811 simple_object_elf_write_to_file (simple_object_write *sobj, int descriptor, in simple_object_elf_write_to_file() argument
829 if (!simple_object_elf_write_ehdr (sobj, descriptor, &errmsg, err)) in simple_object_elf_write_to_file()
864 if (!simple_object_elf_write_shdr (sobj, descriptor, shdr_offset, in simple_object_elf_write_to_file()
891 if (!simple_object_internal_write (descriptor, sh_offset, zeroes, in simple_object_elf_write_to_file()
900 if (!simple_object_internal_write (descriptor, sh_offset + sh_size, in simple_object_elf_write_to_file()
908 if (!simple_object_elf_write_shdr (sobj, descriptor, shdr_offset, in simple_object_elf_write_to_file()
919 if (!simple_object_elf_write_shdr (sobj, descriptor, shdr_offset, in simple_object_elf_write_to_file()
927 if (!simple_object_internal_write (descriptor, sh_offset, &zero, 1, in simple_object_elf_write_to_file()
937 if (!simple_object_internal_write (descriptor, sh_offset, in simple_object_elf_write_to_file()
944 if (!simple_object_internal_write (descriptor, sh_offset, in simple_object_elf_write_to_file()