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

12

/freebsd-10.2-release/contrib/file/doc/
H A DMakefile.am0 MAGIC = $(pkgdatadir)/magic
18 -e s@__MAGIC__@${MAGIC}@g $(srcdir)/file.man > $@
25 -e s@__MAGIC__@${MAGIC}@g $(srcdir)/magic.man > $@
32 -e s@__MAGIC__@${MAGIC}@g $(srcdir)/libmagic.man > $@
H A DMakefile.in279 MAGIC = $(pkgdatadir)/magic
663 -e s@__MAGIC__@${MAGIC}@g $(srcdir)/file.man > $@
670 -e s@__MAGIC__@${MAGIC}@g $(srcdir)/magic.man > $@
677 -e s@__MAGIC__@${MAGIC}@g $(srcdir)/libmagic.man > $@
/freebsd-10.2-release/contrib/file/tests/
H A DMakefile.am15 MAGIC=$(top_builddir)/magic/magic ./test
16 for i in $T/*.testfile; do echo Running test: $$i; MAGIC=$(top_builddir)/magic/magic ./test $$i $${i%%.testfile}.result; done
H A DMakefile.in610 MAGIC=$(top_builddir)/magic/magic ./test
611 for i in $T/*.testfile; do echo Running test: $$i; MAGIC=$(top_builddir)/magic/magic ./test $$i $${i%%.testfile}.result; done
/freebsd-10.2-release/include/
H A Dcpio.h53 #define MAGIC "070707" macro
/freebsd-10.2-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.2-release/contrib/file/src/
H A DMakefile.am0 MAGIC = $(pkgdatadir)/magic
7 AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"'
H A Dmagic.c181 return MAGIC;
184 return MAGIC;
188 return MAGIC;
194 return MAGIC;
200 if (asprintf(&default_magic, "%s:%s", hmagicpath, MAGIC) < 0)
207 return MAGIC;
235 /* Avoid MAGIC constant - it likely points to a file within MSys tree */
247 magicfile = getenv("MAGIC");
251 return action == FILE_LOAD ? get_default_magic() : MAGIC;
H A Dfile.h76 #ifndef MAGIC
77 #define MAGIC "/etc/magic" macro
/freebsd-10.2-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.c445 if (ul_asc((u_long)MAGIC, hd->c_magic, sizeof(hd->c_magic), OCT) ||
863 if (((u_short)SHRT_EXT(blk)) == MAGIC)
865 if (((u_short)RSHRT_EXT(blk)) == MAGIC) {
1069 hd->h_magic[0] = CHR_WR_2(MAGIC);
1070 hd->h_magic[1] = CHR_WR_3(MAGIC);
/freebsd-10.2-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
218 op->ov_magic = MAGIC;
309 ASSERT(op->ov_magic == MAGIC); /* make sure it was in use */
311 if (op->ov_magic != MAGIC)
354 if (op->ov_magic == MAGIC) {
/freebsd-10.2-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.2-release/contrib/file/magic/
H A DMakefile.am275 MAGIC = magic.mgc
276 CLEANFILES = ${MAGIC} $(MAGIC_FRAGMENT_DIR)/Localstuff
288 ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
292 echo "Using ${FILE_COMPILE} to generate ${MAGIC}" > /dev/null; \
H A DMakefile.in547 MAGIC = magic.mgc
548 CLEANFILES = ${MAGIC} $(MAGIC_FRAGMENT_DIR)/Localstuff
773 ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
777 echo "Using ${FILE_COMPILE} to generate ${MAGIC}" > /dev/null; \
/freebsd-10.2-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.2-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.2-release/usr.sbin/mtree/
H A Dspec.c143 #define MAGIC "?*[" macro
144 if (strpbrk(p, MAGIC))
/freebsd-10.2-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.2-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.2-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.2-release/contrib/mtree/
H A Dspec.c212 #define MAGIC "?*[" macro
213 if (strpbrk(p, MAGIC))
/freebsd-10.2-release/sys/boot/i386/pmbr/
H A Dpmbr.s39 .set MAGIC,0xaa55 # Magic: bootable
252 .word MAGIC # Magic number

Completed in 319 milliseconds

12