/ast/src/lib/libardir/ |
H A D | ar-pdp11.c | 30 #define MAGIC 0177545 macro 78 if (swapget(0, buf, MAGIC_SIZE) == MAGIC) 80 else if (swapget(1, buf, MAGIC_SIZE) == MAGIC)
|
H A D | ar-s5r0.c | 30 #define MAGIC "<ar>" macro 35 char ar_magic[MAGIC_SIZE]; /* MAGIC */ 112 if (memcmp(hdr->ar_magic, MAGIC, MAGIC_SIZE))
|
H A D | ar-aix.c | 29 #define MAGIC "<aiaff>\n" macro 102 if (memcmp(hdr->fl_magic, MAGIC, MAGIC_SIZE))
|
H A D | ar-aixbig.c | 29 #define MAGIC "<bigaf>\n" macro 103 if (memcmp(hdr->fl_magic, MAGIC, MAGIC_SIZE))
|
H A D | ar-port.c | 30 #define MAGIC "!<arch>\n" macro 121 if (memcmp(buf, MAGIC, MAGIC_SIZE))
|
/ast/src/cmd/paxlib/arj/ |
H A D | arj.c | 31 #define MAGIC 0xea60 macro 73 if (size < 4 || swapget(3, buf, 2) != MAGIC || size < ((n = swapget(3, buf+2, 2)) + 8) || n > 2600) 123 if (n < 32 || n > 2600 || swapget(3, buf, 2) != MAGIC || !(buf = (unsigned char*)paxget(pax, ap, n + 4, NiL)))
|
/ast/src/cmd/paxlib/zoo/ |
H A D | zoo.c | 34 #define MAGIC 0xfdc4a7dc macro 69 if (size < 34 || swapget(3, buf + 20, 4) != MAGIC) 115 swapget(3, buf, 4) != MAGIC)
|
/ast/src/cmd/tw/ |
H A D | find.c | 132 NOGROUP, NOUSER, FAST, ICASE, MAGIC, MIME, XARGS, enumerator in enum:Command 348 "magic", MAGIC, Str, 0, "pattern", 0, 1133 case MAGIC: 1567 case MAGIC:
|
/ast/src/lib/libtksh/tcl/ |
H A D | regexp.c | 193 #define MAGIC 0234 macro 257 regc(MAGIC, rcstate); 274 regc(MAGIC, rcstate); 782 if (UCHARAT(prog->program) != MAGIC) {
|
/ast/src/cmd/ksh93/tests/ |
H A D | types.sh | 364 MAGIC='stdinstall (at&t research) 2009-08-25' 370 typeset magic=$MAGIC
|
/ast/src/cmd/paxlib/calib/ |
H A D | calib.c | 47 #define MAGIC "\301\304\331\100\323\311\302\331\306" macro 298 if (memcmp(hdr, MAGIC, sizeof(MAGIC) - 1))
|
/ast/src/cmd/nmake/ |
H A D | object.c | 129 #define MAGIC "\015\001\013\005" macro 130 #define MAGICSIZE (sizeof(MAGIC)-1) 978 sfwrite(sp, MAGIC, MAGICSIZE); 991 sfwrite(sp, MAGIC, MAGICSIZE); 1254 if (n >= MAGICSIZE && !memcmp(s, MAGIC, MAGICSIZE) || n >= sizeof(old) && ((old = OLD_MAGIC, swapop(s, &old, sizeof(old)) >= 0) || (old = OLD_OLD_MAGIC, swapop(s, &old, sizeof(old)) >= 0))) 1532 if (memcmp(s, MAGIC, MAGICSIZE) || !(s = getstring(sp)) || streq(s, OLD_VERSION)) 1597 if (!(s = sfreserve(sp, MAGICSIZE, 0)) || memcmp(s, MAGIC, MAGICSIZE))
|