S_IFREG
sb->st_mode |= S_IFREG;
sb->st_mode = f->de.attr & FA_DIR ? S_IFDIR | 0555 : S_IFREG | 0444;
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK, S_IFSOCK, S_IFIFO, 0 };
sb->st_mode = 0444 | S_IFREG;
} else if ((Wtstat.st_mode & S_IFMT) == S_IFREG) {
case S_IFREG: ftype = 'F'; break;
if( (statb.st_mode|S_IFMT) == S_IFREG ||
if( (statb.st_mode&S_IFMT) == S_IFREG )
((stbuf.st_mode != (DFILEMODE|S_IFREG)) ||
((stbuf.st_mode != (DFILEMODE|S_IFREG)) ||
do_unlink = ((sbuf.st_mode & S_IFMT) == S_IFREG);
if (stat(self_assembly, &st) >= 0 && (st.st_mode & S_IFMT) == S_IFREG) {
if ((st.st_mode & S_IFMT) != S_IFREG) {
if ((st.st_mode & S_IFMT) != S_IFREG) {
if ((st.st_mode & S_IFMT) != S_IFREG) {
(st.st_mode&S_IFMT) != S_IFREG) {
case S_IFREG:
(st.st_mode & S_IFMT) == S_IFREG)
case S_IFREG:
if (mode != S_IFREG && mode != S_IFLNK) {
recvf(cp, S_IFREG);
case S_IFREG:
if ((stb.st_mode & S_IFMT) == S_IFREG && stb.st_nlink > 1)
case S_IFREG:
case S_IFREG:
if (stat(file, &stbuf) >= 0 && (stbuf.st_mode & S_IFMT) != S_IFREG)
if ((sbuf.st_mode & S_IFMT) != S_IFREG) {
((statb.st_mode & S_IFMT) != S_IFREG))
if (!(sbuf.st_mode & S_IFREG)) {
case S_IFREG: str = "Regular file"; break;
S_IFMT /* 0170000 */) != S_IFREG /* 0100000 */) {
if (ftype == S_IFREG || ftype == S_IFLNK)
(DesSt.st_mode & (uint_t)Ftype) == S_IFREG &&
(G_p->g_mode & (uint_t)Ftype) == S_IFREG) {
case (S_IFREG): /* was initialized to '-' */
case S_IFREG:
mode = S_IFREG;
i = (stb.st_mode & S_IFMT) == S_IFREG;
if (ftype != S_IFREG || mode != S_IEXEC)
if (((statb.st_mode & S_IFMT) == S_IFREG) &&
if (((file_stat.st_mode & S_IFMT) == S_IFREG) &&
if (fmt1 == S_IFREG) {
if (fmt2 == S_IFREG) {
if (fmt1 != S_IFREG || fmt2 != S_IFREG) {
case S_IFREG:
stb1.st_mode = S_IFREG;
stb2.st_mode = S_IFREG;
#define ISREG(A) ((A.st_mode & S_IFMT) == S_IFREG)
case S_IFREG:
if ((dp->f_type == S_IFREG && sp->f_type == S_IFREG) &&
case S_IFREG:
dp->f_type = S_IFREG;
case S_IFREG:
if (fp->f_info[OPT_BASE].f_type != S_IFREG)
if (fp->f_info[OPT_SRC].f_type != S_IFREG)
if (fp->f_info[OPT_DST].f_type != S_IFREG)
#ifdef S_IFREG
case S_IFREG: /* regular */
i == 'f' ? S_IFREG :
case S_IFREG:
if ((stb.st_mode & S_IFMT) == S_IFREG) {
case S_IFREG:
if ((stbuf.st_mode & S_IFMT) != S_IFREG) {
case S_IFREG:
#define next_file(base, ptr) next_x(base, ptr, S_IFREG)
case S_IFREG:
if ((statb.st_mode & S_IFMT) != S_IFREG) {
if (stbuf.st_size == 0L || (stbuf.st_mode&S_IFMT) != S_IFREG) {
stbuf.st_size == mailsize || (stbuf.st_mode&S_IFMT) != S_IFREG) {
if(!(make_state_stat.st_mode & S_IFREG) ) {
if ((ff->fts_statp->st_mode & S_IFMT) != S_IFREG)
((buf.st_mode & S_IFMT) == S_IFREG)) {
FTYPE(s2) = S_IFREG;
#define ISREG(A) (((A).st_mode & S_IFMT) == S_IFREG)
case S_IFREG:
&& (sbuf.st_mode & S_IFMT) == S_IFREG) {
(statbuf.st_mode & S_IFMT) != S_IFREG ||
else if ((statbuf.st_mode & S_IFMT) != S_IFREG)
if ((stbuf.st_mode & S_IFMT) == S_IFREG) {
case S_IFREG: s = "S_IFREG"; break;
(mode & (S_IFMT|S_ENFMT|S_IXGRP)) == (S_IFREG|S_ENFMT),
if ((statbuf.st_mode & S_IFMT) != S_IFREG) {
if ((statbuf.st_mode & S_IFMT) != S_IFREG) {
if (!(sb.st_mode & S_IFREG))
# define S_ISREG(foo) ((foo & S_IFMT) == S_IFREG)
(st.st_mode & S_IFMT) != S_IFREG)
if ((st.st_mode & S_IFMT) == S_IFREG &&
if (!bitset(S_IFREG, sbuf.st_mode))
if ((noexist == 0) && ((status.st_mode & S_IFMT) != S_IFREG)) {
if ((_status.st_mode & S_IFMT) != S_IFREG)
if ((status.st_mode & S_IFMT) != S_IFREG) {
if(mode == S_IEXEC && regflag && ftype != S_IFREG)
if (ftype != S_IFREG || mode != S_IEXEC)
return(filtyp(nxtarg(0), S_IFREG));
(sb.st_size > 0) && (sb.st_mode & S_IFREG)) {
} else if (sb.st_mode & S_IFREG) {
} else if (sb.st_mode & S_IFREG) {
if (!(statbuf.st_mode & S_IFREG)) {
if (statbuf.st_mode & S_IFREG) {
if (!(statbuf.st_mode & S_IFREG)) {
!(statbuf.st_mode & S_IFREG)) {
(statbuf.st_mode & S_IFREG)) {
(statbuf.st_mode & S_IFREG)) {
if ((stat(host, &statbuf) == 0) && (statbuf.st_mode & S_IFREG))
if (stat(copy, &statbuf) || !(statbuf.st_mode & S_IFREG)) {
sp->st_mode |= S_IFREG;
sp->st_mode |= S_IFREG;
case S_IFREG:
case (S_IFREG): /* was initialized to '-' */
case S_IFREG:
if ((statbuf.st_mode & S_IFMT) != S_IFREG) {
if ((filestat.st_mode & S_IFMT) != S_IFREG &&
if ((statbuf.st_mode & S_IFMT) == S_IFREG) {
#define ISREG(A) ((A.st_mode & S_IFMT) == S_IFREG)
#define ISREG(A) ((A.st_mode & S_IFMT) == S_IFREG)
stp->st_mode = S_IFREG;
stp->st_mode = S_IFREG;
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
if (stat(argv[4], &statbuf) == 0 && (statbuf.st_mode & S_IFREG)) {
(statbuf.st_mode & S_IFMT) == S_IFREG &&
if ((fstatb.st_uid != me) || ((fstatb.st_mode & S_IFMT) != S_IFREG)) {
if (((fstatb.st_mode & S_IFMT) != S_IFREG)) {
if (!err && (statbuf.st_mode & S_IFMT) == S_IFREG) {
switch (mode & (S_ISGID|S_IXGRP|S_IFREG)) {
case S_ISGID|S_IFREG:
{ S_IFMT, S_IFREG, "S_IFREG" },
if ((status.st_mode & S_IFMT) == S_IFREG) {
if ((pflags & P_REG) && ((status.st_mode & S_IFMT) != S_IFREG)) {
if ((sb.st_mode & S_IFMT) != S_IFREG) {
#define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
#define FFLAG S_IFREG /* normal file - also type 0 */
if ((statbuf.st_mode & S_IFMT) != S_IFREG) {
case S_IFREG:
regular = (sb.st_mode & S_IFREG);
case S_IFREG:
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK, S_IFIFO,
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK, S_IFIFO,
stp->st_mode = S_IFREG;
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK, S_IFIFO,
stp->st_mode = S_IFREG;
if (lstat(path, &st) != 0 || (st.st_mode & S_IFREG) == 0) {
} else if ((sbuf.st_mode & S_IFMT) == S_IFREG ||
case S_IFREG:
if (!devnull && !((from_sb.st_mode&S_IFMT) == S_IFREG)) {
if ((to_sb.st_mode&S_IFMT) != S_IFREG) {
if ((statp->st_mode & S_IFMT) != S_IFREG) {
S_IFREG | 0555, /* va_mode */
vap->va_mode |= S_IFREG;
0, S_IFREG, S_IFDIR, S_IFBLK, S_IFCHR, S_IFLNK, S_IFIFO,
vattr.va_mode = S_IFREG|0777;
fmode |= S_IFREG;