Lines Matching refs:descriptor
242 int descriptor, in simple_object_mach_o_match() argument
305 if (!simple_object_internal_read (descriptor, offset, buf, in simple_object_mach_o_match()
467 if (!simple_object_internal_read (sobj->descriptor, offset + seghdrsize, in simple_object_mach_o_segment()
534 if (!simple_object_internal_read (sobj->descriptor, in simple_object_mach_o_segment()
550 if (!simple_object_internal_read (sobj->descriptor, in simple_object_mach_o_segment()
592 if (!simple_object_internal_read (sobj->descriptor, in simple_object_mach_o_segment()
774 if (!simple_object_internal_read (sobj->descriptor, in simple_object_mach_o_find_sections()
790 if (!simple_object_internal_read (sobj->descriptor, in simple_object_mach_o_find_sections()
889 simple_object_mach_o_write_header (simple_object_write *sobj, int descriptor, in simple_object_mach_o_write_header() argument
933 return simple_object_internal_write (descriptor, 0, hdrbuf, wrsize, in simple_object_mach_o_write_header()
941 int descriptor, in simple_object_mach_o_write_section_header() argument
1008 return simple_object_internal_write (descriptor, sechdr_offset, hdr, in simple_object_mach_o_write_section_header()
1029 simple_object_mach_o_write_segment (simple_object_write *sobj, int descriptor, in simple_object_mach_o_write_segment() argument
1140 if (!simple_object_internal_write (descriptor, offset, zeroes, write, in simple_object_mach_o_write_segment()
1149 if (!simple_object_internal_write (descriptor, offset + secsize, in simple_object_mach_o_write_segment()
1186 if (!simple_object_mach_o_write_section_header (sobj, descriptor, in simple_object_mach_o_write_segment()
1211 if (!simple_object_mach_o_write_section_header (sobj, descriptor, in simple_object_mach_o_write_segment()
1234 if (!simple_object_mach_o_write_section_header (sobj, descriptor, in simple_object_mach_o_write_segment()
1245 if (!simple_object_internal_write (descriptor, offset, in simple_object_mach_o_write_segment()
1259 if (!simple_object_mach_o_write_section_header (sobj, descriptor, in simple_object_mach_o_write_segment()
1270 if (!simple_object_internal_write (descriptor, offset, in simple_object_mach_o_write_segment()
1333 return simple_object_internal_write (descriptor, hdrsize, hdr, seghdrsize, in simple_object_mach_o_write_segment()
1340 simple_object_mach_o_write_to_file (simple_object_write *sobj, int descriptor, in simple_object_mach_o_write_to_file() argument
1346 if (!simple_object_mach_o_write_segment (sobj, descriptor, &nsects, in simple_object_mach_o_write_to_file()
1350 if (!simple_object_mach_o_write_header (sobj, descriptor, nsects, in simple_object_mach_o_write_to_file()