Searched refs:magic (Results 1 - 25 of 32) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/mach-o/
H A Dfat.h53 unsigned long magic; /* FAT_MAGIC */ member in struct:fat_header
H A Dloader.h62 uint32_t magic; /* mach magic number identifier */ member in struct:mach_header
71 /* Constant for the magic field of the mach_header (32-bit architectures) */
72 #define MH_MAGIC 0xfeedface /* the mach magic number */
80 uint32_t magic; /* mach magic number identifier */ member in struct:mach_header_64
90 /* Constant for the magic field of the mach_header_64 (64-bit architectures) */
91 #define MH_MAGIC_64 0xfeedfacf /* the 64-bit mach magic number */
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_hotfiles.h91 u_int32_t magic; member in struct:HotFilesInfo
H A Dhfs_hotfiles.c206 (SWAP_BE32 (hotfileinfo.magic) == HFC_MAGIC) &&
471 hotfileinfo.magic = SWAP_BE32 (HFC_MAGIC);
1857 hotfileinfo->magic = SWAP_BE32 (HFC_MAGIC);
/macosx-10.5.8/xnu-1228.15.4/libsa/libsa/
H A Dmkext.h32 u_int32_t magic; // 'MKXT' member in struct:mkext_header
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dbridge.h86 u_long magic; member in struct:bdg_softc
H A Dbridge.c165 if (ifp2sc[ifp->if_index].magic != 0xDEADBEEF) { x ; }
504 bp->magic = 0xDEADBEEF ;
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dmach_loader.c360 if (header->magic == MH_MAGIC_64 ||
361 header->magic == MH_CIGAM_64) {
1479 if (header->magic == MH_MAGIC_64 ||
1480 header->magic == MH_CIGAM_64) {
1627 if (header.mach_header.magic == MH_MAGIC ||
1628 header.mach_header.magic == MH_MAGIC_64)
1630 else if (header.fat_header.magic == FAT_MAGIC ||
1631 header.fat_header.magic == FAT_CIGAM)
1654 if (header.mach_header.magic != MH_MAGIC &&
1655 header.mach_header.magic !
[all...]
H A Dkern_core.c307 mh64->magic = MH_MAGIC_64;
316 mh->magic = MH_MAGIC;
H A Dkern_exec.c334 * Implicitly invoke the PowerPC handler for a byte-swapped image magic
367 if (mach_header->magic != MH_CIGAM) {
372 if (mach_header->magic == MH_CIGAM_64)
601 if ((fat_header->magic != FAT_MAGIC) &&
602 (fat_header->magic != FAT_CIGAM)) {
731 if ((mach_header->magic != MH_MAGIC) &&
732 (mach_header->magic != MH_MAGIC_64)) {
H A Dubc_subr.c154 uint32_t magic; /* magic number */ member in struct:__SuperBlob
166 uint32_t magic; /* magic number (CSMAGIC_CODEDIRECTORY) */ member in struct:__CodeDirectory
197 ntohl(embedded->magic) == CSMAGIC_EMBEDDED_SIGNATURE) {
233 ntohl(cd->magic) == CSMAGIC_CODEDIRECTORY) {
H A Dkern_bsm_token.c1266 * trailer magic number 2 bytes
1273 u_int16_t magic = TRAILER_PAD_MAGIC; local
1282 ADD_U_INT16(dptr, magic);
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dkld_patch.c682 if (MH_CIGAM != mh->magic)
776 unsigned long magic; local
782 magic = ((const struct mach_header *) file->fMachO)->magic;
787 ("%s isn't a valid object file - no magic\n", pathName));
792 if (magic == FAT_MAGIC || magic == FAT_CIGAM) {
803 magic = ((const struct mach_header *) file->fMachO)->magic;
809 if (magic
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_xattr.c1151 u_int32_t magic; /* == ADH_MAGIC */ member in struct:apple_double_header
1175 u_int32_t magic; /* == ATTR_HDR_MAGIC */ member in struct:attr_header
1293 * - magic field
1319 header->magic = SWAP32(header->magic);
1324 if (header->magic != ADH_MAGIC ||
2654 attrhdr->magic = ATTR_HDR_MAGIC;
2732 xah->appledouble.magic = SWAP32 (ADH_MAGIC);
2744 xah->magic = SWAP32 (ATTR_HDR_MAGIC);
2819 count = (adh->magic
[all...]
H A Dvfs_journal.h92 int32_t magic; member in struct:journal_header
H A Dvfs_journal.c138 if (jnl->jhdr->magic != JOURNAL_HEADER_MAGIC) {\
139 panic("%s:%d: jhdr magic corrupted (0x%x != 0x%x)\n",\
140 __FILE__, __LINE__, jnl->jhdr->magic, JOURNAL_HEADER_MAGIC);\
638 jnl->jhdr->magic = SWAP32(jnl->jhdr->magic);
1564 jnl->jhdr->magic = JOURNAL_HEADER_MAGIC;
1674 if (jnl->jhdr->magic == SWAP32(JOURNAL_HEADER_MAGIC)) {
1684 if (jnl->jhdr->magic != JOURNAL_HEADER_MAGIC && jnl->jhdr->magic != OLD_JOURNAL_HEADER_MAGIC) {
1685 printf("jnl: %s: open: journal magic i
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach-o/
H A Dloader.h61 unsigned long magic; /* mach magic number identifier */ member in struct:mach_header
70 /* Constant for the magic field of the mach_header */
71 #define MH_MAGIC 0xfeedface /* the mach magic number */
H A Dmach_header.c573 if(header->magic != MH_MAGIC) { /* Check if this is a valid header format */
574 printf("Attempt to use invalid header (magic = %08lX) to find symbol table\n",
575 header->magic); /* Tell them what's wrong */
/macosx-10.5.8/xnu-1228.15.4/libkern/mach-o/
H A Dloader.h58 uint32_t magic; /* mach magic number identifier */ member in struct:mach_header
67 /* Constant for the magic field of the mach_header (32-bit architectures) */
68 #define MH_MAGIC 0xfeedface /* the mach magic number */
71 /* Constant for the magic field of the mach_header_64 (64-bit architectures) */
72 #define MH_MAGIC_64 0xfeedfacf /* the 64-bit mach magic number */
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/
H A Diso.h454 u_int32_t magic; member in struct:apple_double_header
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/
H A Dmakedis.c340 char **stringp, char *magic, enum type targettype);
960 character in the `magic' string other than { or $. *stringp is updated
966 char **stringp, char *magic, enum type targettype) {
973 if (magic == NULL)
974 magic = MAKESTRING_MAGIC;
983 if (strchr(magic, *q) != NULL) {
965 makestring(struct function *fp, struct string **stringlink, char **stringp, char *magic, enum type targettype) argument
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dkmod.c1407 header->magic = orig_header->magic;
1798 if (header->magic != MH_MAGIC) {
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Dfbt_ppc.c356 if (mh->magic != MH_MAGIC)
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/i386/
H A Dkdp_vm.c350 mh->magic = MH_MAGIC;
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/
H A Dkdp_vm.c373 mh->magic = MH_MAGIC;

Completed in 135 milliseconds

12