Searched refs:MAGIC (Results 1 - 20 of 20) sorted by relevance

/freebsd-10.1-release/include/
H A Dcpio.h53 #define MAGIC "070707" macro
/freebsd-10.1-release/contrib/libarchive/libarchive/test/
H A Dtest_open_failure.c28 #define MAGIC 123456789 macro
47 assertEqualInt(MAGIC, private->magic);
59 assertEqualInt(MAGIC, private->magic);
69 assertEqualInt(MAGIC, private->magic);
79 assertEqualInt(MAGIC, private->magic);
91 private.magic = MAGIC;
106 private.magic = MAGIC;
121 private.magic = MAGIC;
136 private.magic = MAGIC;
155 private.magic = MAGIC;
[all...]
/freebsd-10.1-release/bin/pax/
H A Dcpio.h72 #define MAGIC 070707 /* transportable archive id */ macro
75 #define AMAGIC "070707" /* ascii equivalent string of MAGIC */
H A Dcpio.c447 if (ul_asc((u_long)MAGIC, hd->c_magic, sizeof(hd->c_magic), OCT) ||
865 if (((u_short)SHRT_EXT(blk)) == MAGIC)
867 if (((u_short)RSHRT_EXT(blk)) == MAGIC) {
1071 hd->h_magic[0] = CHR_WR_2(MAGIC);
1072 hd->h_magic[1] = CHR_WR_3(MAGIC);
/freebsd-10.1-release/contrib/file/src/
H A Dmagic.c101 return MAGIC;
104 return MAGIC;
108 return MAGIC;
114 return MAGIC;
120 if (asprintf(&default_magic, "%s:%s", hmagicpath, MAGIC) < 0)
127 return MAGIC;
196 /* Don't put MAGIC constant - it likely points to a file within MSys
209 magicfile = getenv("MAGIC");
213 return action == FILE_LOAD ? get_default_magic() : MAGIC;
H A Dfile.h76 #ifndef MAGIC
77 #define MAGIC "/etc/magic" macro
/freebsd-10.1-release/libexec/rtld-elf/
H A Dmalloc.c72 * be zero. When in use, the first byte is set to MAGIC, and the second
95 #define MAGIC 0xef /* magic # on accounting info */ macro
229 op->ov_magic = MAGIC;
320 ASSERT(op->ov_magic == MAGIC); /* make sure it was in use */
322 if (op->ov_magic != MAGIC)
365 if (op->ov_magic == MAGIC) {
/freebsd-10.1-release/contrib/ncurses/include/
H A Dtic.h78 #define MAGIC 0432 /* first two bytes of a compiled entry */ macro
87 #define IS_TIC_MAGIC(p) (LOW_MSB(p) == MAGIC)
/freebsd-10.1-release/contrib/file/magic/
H A DMakefile.am273 MAGIC = magic.mgc
274 CLEANFILES = ${MAGIC} $(MAGIC_FRAGMENT_DIR)/Localstuff
286 ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
290 echo "Using ${FILE_COMPILE} to generate ${MAGIC}" > /dev/null; \
/freebsd-10.1-release/sys/boot/i386/mbr/
H A Dmbr.s23 .set MAGIC,0xaa55 # Magic: bootable
124 cmpw $MAGIC,0x1fe(%bx) # Bootable?
157 .word MAGIC # Magic number
/freebsd-10.1-release/contrib/tcsh/
H A Dtc.alloc.c99 * be zero. When in use, the first byte is set to MAGIC, and the second
125 #define MAGIC 0xfd /* magic # on accounting info */ macro
223 p->ov_magic = MAGIC;
321 CHECK(op->ov_magic != MAGIC,
391 if (op->ov_magic == MAGIC) {
461 if (op->ov_magic == MAGIC)
/freebsd-10.1-release/usr.sbin/mtree/
H A Dspec.c143 #define MAGIC "?*[" macro
144 if (strpbrk(p, MAGIC))
/freebsd-10.1-release/contrib/less/
H A Dregexp.c171 #define MAGIC 0234 macro
227 regc(MAGIC);
244 regc(MAGIC);
737 if (UCHARAT(prog->program) != MAGIC) {
/freebsd-10.1-release/lib/libc/db/hash/
H A Dhash.h288 #define MAGIC hdr.magic macro
H A Dhash.c150 if (hashp->MAGIC != HASHMAGIC)
481 hashp->MAGIC = HASHMAGIC;
/freebsd-10.1-release/sys/boot/i386/boot0/
H A Dboot0.S129 * MAGIC is the signature of a boot block.
139 .set MAGIC,0xaa55 # Magic: bootable
490 cmpw $MAGIC,0x1fe(%bx) # Bootable?
680 .word MAGIC # Magic number
H A Dboot0ext.S33 .set MAGIC,0xaa55 # Magic: bootable
308 cmpw $MAGIC,0x1fe(%bx) # Bootable?
432 .word MAGIC # Magic number
/freebsd-10.1-release/contrib/mtree/
H A Dspec.c212 #define MAGIC "?*[" macro
213 if (strpbrk(p, MAGIC))
/freebsd-10.1-release/sys/boot/i386/pmbr/
H A Dpmbr.s39 .set MAGIC,0xaa55 # Magic: bootable
252 .word MAGIC # Magic number
/freebsd-10.1-release/contrib/ncurses/ncurses/tinfo/
H A Dwrite_entry.c645 LITTLE_ENDIAN(buf, MAGIC);

Completed in 233 milliseconds