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

/freebsd-10-stable/include/
H A Dcpio.h53 #define MAGIC "070707" macro
/freebsd-10-stable/contrib/file/tests/
H A DMakefile.am17 MAGIC=$(top_builddir)/magic/magic ./test
18 set -e; for i in $T/*.testfile; do echo Running test: $$i; TZ=UTC MAGIC=$(top_builddir)/magic/magic ./test $$i $${i%%.testfile}.result; done
H A DMakefile.in612 MAGIC=$(top_builddir)/magic/magic ./test
613 set -e; for i in $T/*.testfile; do echo Running test: $$i; TZ=UTC MAGIC=$(top_builddir)/magic/magic ./test $$i $${i%%.testfile}.result; done
/freebsd-10-stable/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-stable/contrib/file/src/
H A DMakefile.am0 MAGIC = $(pkgdatadir)/magic
7 AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"'
H A Dmagic.c189 return MAGIC;
192 return MAGIC;
196 return MAGIC;
202 return MAGIC;
208 if (asprintf(&default_magic, "%s:%s", hmagicpath, MAGIC) < 0)
215 return MAGIC;
243 /* Avoid MAGIC constant - it likely points to a file within MSys tree */
255 magicfile = getenv("MAGIC");
259 return action == FILE_LOAD ? get_default_magic() : MAGIC;
H A Dfile.h78 #ifndef MAGIC
79 #define MAGIC "/etc/magic" macro
H A DMakefile.in340 MAGIC = $(pkgdatadir)/magic
343 AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"'
/freebsd-10-stable/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-stable/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-stable/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-stable/contrib/file/magic/
H A DMakefile.am298 MAGIC = magic.mgc
299 CLEANFILES = ${MAGIC} $(MAGIC_FRAGMENT_DIR)/Localstuff
311 ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
315 echo "Using ${FILE_COMPILE} to generate ${MAGIC}" > /dev/null; \
H A DMakefile.in570 MAGIC = magic.mgc
571 CLEANFILES = ${MAGIC} $(MAGIC_FRAGMENT_DIR)/Localstuff
796 ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
800 echo "Using ${FILE_COMPILE} to generate ${MAGIC}" > /dev/null; \
/freebsd-10-stable/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-stable/contrib/tcsh/
H A Dtc.alloc.c102 * be zero. When in use, the first byte is set to MAGIC, and the second
128 #define MAGIC 0xfd /* magic # on accounting info */ macro
230 p->ov_magic = MAGIC;
328 CHECK(op->ov_magic != MAGIC,
401 if (op->ov_magic == MAGIC) {
471 if (op->ov_magic == MAGIC)
/freebsd-10-stable/usr.sbin/mtree/
H A Dspec.c143 #define MAGIC "?*[" macro
144 if (strpbrk(p, MAGIC))
/freebsd-10-stable/lib/libc/db/hash/
H A Dhash.h288 #define MAGIC hdr.magic macro
H A Dhash.c150 if (hashp->MAGIC != HASHMAGIC)
486 hashp->MAGIC = HASHMAGIC;
/freebsd-10-stable/contrib/less/
H A Dregexp.c171 #define MAGIC 0234 macro
227 regc(MAGIC);
244 regc(MAGIC);
740 if (UCHARAT(prog->program) != MAGIC) {
/freebsd-10-stable/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-stable/contrib/mtree/
H A Dspec.c212 #define MAGIC "?*[" macro
213 if (strpbrk(p, MAGIC))
/freebsd-10-stable/sys/boot/i386/pmbr/
H A Dpmbr.s39 .set MAGIC,0xaa55 # Magic: bootable
252 .word MAGIC # Magic number
/freebsd-10-stable/contrib/ncurses/ncurses/tinfo/
H A Dwrite_entry.c645 LITTLE_ENDIAN(buf, MAGIC);

Completed in 132 milliseconds