Searched refs:major (Results 1 - 16 of 16) sorted by relevance

/ast/src/lib/libast/string/
H A Dfmtdev.c44 ma = major(mm);
/ast/src/cmd/pax/
H A Dpax-rpm.c36 uint8_t major; member in struct:__anon182
93 message((-2, "%s: magic swap=%d magic=%08x major=%d minor=%d", ap->name, swap, magic.magic, magic.major, magic.minor));
94 if (magic.major == 1)
109 else if (magic.major)
189 message((-2, "%s: verify magic=%08x major=%d minor=%d type=%d", ap->name, verify.magic, verify.major, verify.minor, verify.type));
212 error(2, "%s: %s format version %d.%d signature type %d not supported", ap->name, fp->name, magic.major, magic.minor, lead.sigtype);
218 error(2, "%s: %s format version %d.%d not supported", ap->name, fp->name, magic.major, magic.minor);
232 ap->package = strdup(sfprints("%s %d.%d", fp->name, magic.major, magi
[all...]
H A Dpax-cpio.c580 (long)major(f->st->st_dev),
582 (long)major(idevice(f->st)),
H A Dmisc.c548 n = major(st->st_dev);
H A Dpax-tar.c866 sfsprintf(tar->header.devmajor, TARSIZEOF(devmajor), "%0*o ", TARSIZEOF(devmajor) - 1, i ? major(idevice(f->st)) : 0);
/ast/src/lib/libast/port/
H A Diblocks.c35 #undef major macro
/ast/src/lib/libpz/
H A Dpzhead.c113 pz->major = PZ_MAJOR;
121 pz->major = sfgetc(pz->io);
123 switch (pz->major)
139 (*pz->disc->errorf)(pz, pz->disc, 2, "%s: data %d.%d not supported by implementation %d.%d", pz->path, pz->major, pz->minor, PZ_MAJOR, PZ_MINOR);
166 sfputc(op, pz->major = PZ_MAJOR);
239 sfprintf(op, "# pzip %d.%d partition\n", pz->major, pz->minor);
H A Dpzip.h215 int major; /* data major version number */ member in struct:Pz_s
H A Dpzopen.c115 pz->major = PZ_MAJOR;
H A Dpzpart.c1113 if (pz->major > 1)
1123 if (pz->major == 1)
/ast/src/lib/libcmd/
H A Dfds.c52 #ifndef major
53 #define major(x) (int)(((unsigned int)(x)>>8)&0xff) macro
/ast/src/lib/libcs/
H A Dcspath.c191 sfsprintf(state->path, sizeof(state->path), "/dev/%s-%u,%u", typ ? "blk" : "chr", major(idevice(&st)), minor(idevice(&st)));
/ast/src/cmd/std/
H A Dpss.c409 sfsprintf(pss->buf, sizeof(pss->buf), "%03d,%03d", major(dev), minor(dev));
H A Dls.c80 " [+dev?major/minor device numbers]"
81 " [+device?major/minor device numbers if block or character special device]"
82 " [+devmajor?major device number]"
552 n = (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) ? major(idevice(st)) : major(st->st_dev);
/ast/src/cmd/coshell/
H A Devent.c205 int major; /* db major version */ member in struct:State_s
206 int minor; /* db major version */
1043 state->major = (data.raise >> 16) & 0xffff;
/ast/src/cmd/nmake/
H A DMakerules.mk2081 * <name> [<major.minor>] [option ...] :LIBRARY: <source> -[lL]*

Completed in 57 milliseconds