Lines Matching refs:descriptor
229 int descriptor, off_t offset, in simple_object_coff_match() argument
271 if (!simple_object_internal_read (descriptor, offset, hdrbuf, sizeof hdrbuf, in simple_object_coff_match()
313 if (!simple_object_internal_read (sobj->descriptor, strtab_offset, in simple_object_coff_read_strtab()
320 if (!simple_object_internal_read (sobj->descriptor, strtab_offset, in simple_object_coff_read_strtab()
353 if (!simple_object_internal_read (sobj->descriptor, in simple_object_coff_find_sections()
504 simple_object_coff_write_filehdr (simple_object_write *sobj, int descriptor, in simple_object_coff_write_filehdr() argument
535 return simple_object_internal_write (descriptor, 0, hdrbuf, in simple_object_coff_write_filehdr()
543 simple_object_coff_write_scnhdr (simple_object_write *sobj, int descriptor, in simple_object_coff_write_scnhdr() argument
591 return simple_object_internal_write (descriptor, scnhdr_offset, hdrbuf, in simple_object_coff_write_scnhdr()
599 simple_object_coff_write_to_file (simple_object_write *sobj, int descriptor, in simple_object_coff_write_to_file() argument
660 if (!simple_object_internal_write (descriptor, offset, zeroes, write, in simple_object_coff_write_to_file()
668 if (!simple_object_internal_write (descriptor, offset + scnsize, in simple_object_coff_write_to_file()
676 if (!simple_object_coff_write_scnhdr (sobj, descriptor, section->name, in simple_object_coff_write_to_file()
711 if (!simple_object_internal_write (descriptor, offset + name_offset, in simple_object_coff_write_to_file()
718 if (!simple_object_internal_write (descriptor, symtab_offset, in simple_object_coff_write_to_file()
726 if (!simple_object_internal_write (descriptor, offset, strsizebuf, 4, in simple_object_coff_write_to_file()
754 if (!simple_object_internal_write (descriptor, offset + name_offset, in simple_object_coff_write_to_file()
769 if (!simple_object_internal_write (descriptor, secsym_offset, in simple_object_coff_write_to_file()
776 if (!simple_object_coff_write_filehdr (sobj, descriptor, nscns, in simple_object_coff_write_to_file()