Lines Matching refs:filetype
77 uint32_t filetype;
155 u_int *filetype, u_int *ncmds);
161 u_int *filetype, u_int *ncmds);
258 object->filetype = mach_hdr->filetype;
261 object->filetype = mach_hdr->filetype;
264 switch (object->filetype) {
285 kKxldLogFiletypeNotSupported, object->filetype);
518 u_int filetype = 0;
529 object->file, offset, &filetype, &ncmds);
699 if (filetype_out) *filetype_out = filetype;
714 u_int filetype = 0;
727 rval = init_from_final_linked_image(object, &filetype, &symtab_hdr);
730 require_action(filetype == MH_EXECUTE, finish, rval=KERN_FAILURE;
797 u_int filetype = 0;
806 rval = init_from_final_linked_image(object, &filetype, &symtab_hdr);
809 require_action(filetype == MH_KEXT_BUNDLE, finish,
844 u_int filetype = 0;
859 object->file, offset, &filetype, &ncmds);
861 require_action(filetype == MH_OBJECT, finish, rval=KERN_FAILURE);
1020 get_macho_cmd_data_32(u_char *file, u_long offset, u_int *filetype, u_int *ncmds)
1024 if (filetype) *filetype = mach_hdr->filetype;
1036 get_macho_cmd_data_64(u_char *file, u_long offset, u_int *filetype, u_int *ncmds)
1040 if (filetype) *filetype = mach_hdr->filetype;
1555 object->filetype = 0;
1865 mach->filetype = object->filetype;
1900 mach->filetype = object->filetype;