Searched refs:archs (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/loader/
H A Dmacho.c80 struct grub_macho_fat_arch *archs; local
88 archs = grub_malloc (sizeof (struct grub_macho_fat_arch) * narchs);
89 if (!archs)
91 if (grub_file_read (macho->file, archs,
95 grub_free (archs);
104 (grub_be_to_cpu32 (archs[i].cputype)))
106 macho->offset32 = grub_be_to_cpu32 (archs[i].offset);
107 macho->end32 = grub_be_to_cpu32 (archs[i].offset)
108 + grub_be_to_cpu32 (archs[i].size);
111 (grub_be_to_cpu32 (archs[
[all...]
H A Dxnu.c775 struct grub_macho_fat_arch *archs; local
804 archs = grub_malloc (sizeof (struct grub_macho_fat_arch) * narchs);
805 if (! archs)
811 if (grub_file_read (file, archs,
815 grub_free (archs);
824 (grub_be_to_cpu32 (archs[i].cputype)))
826 readoff = grub_be_to_cpu32 (archs[i].offset);
827 readlen = grub_be_to_cpu32 (archs[i].size);
830 (grub_be_to_cpu32 (archs[i].cputype)))
832 readoff = grub_be_to_cpu32 (archs[
[all...]

Completed in 50 milliseconds