Lines Matching defs:host_order
51 static void unswap_macho_32(u_char *file, enum NXByteOrder host_order,
53 static void unswap_macho_64(u_char *file, enum NXByteOrder host_order,
269 , enum NXByteOrder host_order
303 (void) swap_mach_header(mach_hdr, host_order);
349 if (swap) swap_segment_command(seg_hdr, host_order);
355 if (swap) swap_section(sects, seg_hdr->nsects, host_order);
389 host_order);
399 if (swap) swap_symtab_command(symtab_hdr, host_order);
416 if (swap) swap_nlist(symtab, symtab_hdr->nsyms, host_order);
423 if (swap) swap_load_command(load_hdr, host_order);
440 , enum NXByteOrder host_order
474 (void) swap_mach_header_64(mach_hdr, host_order);
518 if (swap) swap_segment_command_64(seg_hdr, host_order);
524 if (swap) swap_section_64(sects, seg_hdr->nsects, host_order);
558 host_order);
568 if (swap) swap_symtab_command(symtab_hdr, host_order);
585 if (swap) swap_nlist_64(symtab, symtab_hdr->nsyms, host_order);
592 if (swap) swap_load_command(load_hdr, host_order);
607 void unswap_macho(u_char *file, enum NXByteOrder host_order,
615 unswap_macho_32(file, host_order, target_order);
617 unswap_macho_64(file, host_order, target_order);
624 unswap_macho_32(u_char *file, enum NXByteOrder host_order,
640 if (target_order == host_order) return;
680 unswap_macho_64(u_char *file, enum NXByteOrder host_order,
696 if (target_order == host_order) return;