Symbol: S_ISREG
bin/cat/cat.c
257
if (!S_ISREG(st.st_mode)) {
bin/cp/utils.c
185
bool need_copy = S_ISREG(fs->st_mode) || fs->st_size > 0;
bin/cp/utils.c
198
if (S_ISREG(fs->st_mode) && fs->st_size && fs->st_size <= MMAP_MAX_SIZE) {
bin/csh/exec.c
591
return (stat(strname, &stbuf) != -1 && ((S_ISREG(stbuf.st_mode) &&
bin/csh/exp.c
516
i = S_ISREG(stb.st_mode);
bin/ksh/c_test.c
264
return test_stat(opnd1, &b1) == 0 && S_ISREG(b1.st_mode);
bin/ksh/exec.c
1028
&& (!S_ISREG(statb.st_mode)
bin/ksh/exec.c
1153
&& (stat(cp, &statb) < 0 || S_ISREG(statb.st_mode)))
bin/ksh/io.c
213
return fstat(fd, &statb) == 0 && !S_ISREG(statb.st_mode) ?
bin/ksh/mail.c
110
if (p && stat(p, &stbuf) == 0 && S_ISREG(stbuf.st_mode))
bin/ksh/mail.c
183
if (stat(mbp->mb_path, &stbuf) == 0 && S_ISREG(stbuf.st_mode))
bin/ksh/mail.c
69
&& S_ISREG(stbuf.st_mode))
bin/mv/mv.c
264
return (S_ISREG(sb.st_mode) ?
bin/pax/ar_io.c
400
if (can_unlnk && (fstat(arfd, &arsb) == 0) && (S_ISREG(arsb.st_mode)) &&
bin/pax/file_subs.c
305
*payload = S_ISREG(arcn->sb.st_mode) &&
bin/rm/rm.c
402
if (!S_ISREG(sbp->st_mode))
bin/rm/rm.c
414
!S_ISREG(sb2.st_mode)) {
bin/sh/exec.c
678
if (!S_ISREG(statb.st_mode))
bin/sh/histedit.c
970
if (!S_ISREG(statb.st_mode))
bin/sh/input.c
505
if (fstat(fd, &sb) == 0 && S_ISREG(sb.st_mode) &&
bin/sh/redir.c
420
} else if (S_ISREG(sb.st_mode)) {
bin/test/test.c
737
return S_ISREG(s.st_mode);
lib/libc/citrus/citrus_mmap.c
71
if (!S_ISREG(st.st_mode)) {
lib/libc/db/mpool/mpool.c
89
if (!S_ISREG(sb.st_mode)) {
lib/libc/gen/fts.c
997
if (S_ISREG(sbp->st_mode))
lib/libc/net/rcmd.c
716
else if (!S_ISREG(sbuf.st_mode))
lib/libc/stdio/fdopen.c
100
if (!S_ISREG(st.st_mode)) {
lib/libc/stdio/fseeko.c
160
!S_ISREG(st.st_mode)) {
lib/libc/time/localtime.c
1140
if (!S_ISREG(st.st_mode))
lib/libc/time/localtime.c
64
# ifndef S_ISREG
lib/libkvm/kvm.c
318
if (rc != -1 && !S_ISREG(st.st_mode))
lib/libutil/secure_path.c
62
else if (!S_ISREG(sb.st_mode))
libexec/atrun/atrun.c
479
if (!S_ISREG(buf.st_mode))
libexec/ftpd/cmds.c
460
if (stat(filename, &stbuf) < 0 || !S_ISREG(stbuf.st_mode))
libexec/ftpd/cmds.c
477
if (fstat(fileno(fin), &stbuf) < 0 || !S_ISREG(stbuf.st_mode)) {
libexec/ftpd/cmds.c
660
if (wok && CURCLASS_FLAGS_ISSET(upload) && S_ISREG(fe->stat->st_mode))
libexec/ftpd/cmds.c
714
if (rok && S_ISREG(fe->stat->st_mode))
libexec/ftpd/cmds.c
718
if (wok && CURCLASS_FLAGS_ISSET(upload) && S_ISREG(fe->stat->st_mode))
libexec/ftpd/cmds.c
728
if (S_ISREG(fe->stat->st_mode))
libexec/ftpd/conf.c
573
if (!S_ISREG(st.st_mode))
libexec/ftpd/conf.c
791
if (S_ISREG(mode))
libexec/ftpd/ftpcmd.y
831
else if (!S_ISREG(stbuf.st_mode)) {
libexec/ftpd/ftpd.c
1755
&& (fstat(fileno(fin), &st) < 0 || !S_ISREG(st.st_mode))) {
libexec/ftpd/ftpd.c
3481
if (S_ISREG(st.st_mode)) {
libexec/ftpd/ftpd.c
3530
S_ISREG(st.st_mode))) {
libexec/identd/identd.c
904
if (fstat(fd, &sb) < 0 || !S_ISREG(sb.st_mode)) {
libexec/mail.local/mail.local.c
182
if (!S_ISREG(sb->st_mode)) {
libexec/tftpd/tftpd.c
810
if (!S_ISREG(stbuf.st_mode))
libexec/tftpd/tftpd.c
860
if (!S_ISREG(stbuf.st_mode))
sbin/disklabel/main.c
684
if (!Fflag && fstat(f, &sb) == 0 && S_ISREG(sb.st_mode))
sbin/fdisk/fdisk.c
539
if (!F_flag && stat(disk, &sb) == 0 && S_ISREG(sb.st_mode))
sbin/newfs_lfs/newfs.c
314
if (!S_ISREG(st.st_mode)) {
sbin/newfs_msdos/mkfs_msdos.c
475
if (!S_ISREG(sb.st_mode) || sb.st_size % bpb.bps ||
sbin/newfs_udf/udf_core.c
3177
if (S_ISREG(dev_fd_stat.st_mode)) {
sbin/newfs_udf/udf_core.c
3372
if (S_ISREG(dev_fd_stat.st_mode)) {
sbin/newfs_udf/udf_core.c
3445
if (S_ISREG(dev_fd_stat.st_mode))
sbin/rcorder/rcorder.c
427
if (!S_ISREG(st.st_mode)) {
sbin/resize_ffs/resize_ffs.c
190
return S_ISREG(stb.st_mode);
sbin/resize_ffs/resize_ffs.c
2133
if (fstat(fd, &st) != -1 && S_ISREG(st.st_mode))
sbin/routed/trace.c
348
if (stat(filename, &stbuf) >= 0 && !S_ISREG(stbuf.st_mode)) {
sbin/veriexecctl/veriexecctl.c
268
if (!S_ISDIR(sb.st_mode) && !S_ISREG(sb.st_mode))
sbin/veriexecctl/veriexecctl_parse.y
79
if (!S_ISREG(sb.st_mode)) {
share/man/tools/noso.c
19
if (!S_ISREG(sb.st_mode))
sys/arch/alpha/stand/mkbootimage/mkbootimage.c
107
if (!S_ISREG(insb.st_mode))
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
173
if (!S_ISREG(sb.st_mode))
sys/arch/macppc/stand/installboot/installboot.c
119
if (!S_ISREG(params->s1stat.st_mode))
sys/arch/macppc/stand/installboot/installboot.c
175
if (S_ISREG(params->fsstat.st_mode)) {
sys/arch/macppc/stand/installboot/installboot.c
206
if (S_ISREG(params->fsstat.st_mode)) {
sys/arch/mipsco/stand/installboot/installboot.c
177
if (!S_ISREG(bootstrapsb.st_mode))
sys/arch/sgimips/stand/sgivol/sgivol.c
220
if (!S_ISREG(st.st_mode))
tests/include/t_paths.c
195
ATF_CHECK(S_ISREG(m) != 0);
tests/lib/libc/stdlib/t_mktemp.c
47
if (dir == 0 && S_ISREG(sa.st_mode) == 0)
tests/lib/libc/sys/t_mknod.c
172
if (S_ISREG(st.st_mode) == 0)
usr.bin/at/at.c
455
if (!S_ISREG(buf.st_mode)
usr.bin/audio/play/play.c
345
if (!S_ISREG(sb.st_mode) ||
usr.bin/calendar/calendar.c
540
if (!S_ISREG(st.st_mode)) {
usr.bin/cmp/cmp.c
142
if (!S_ISREG(sb1.st_mode))
usr.bin/cmp/cmp.c
147
if (!S_ISREG(sb2.st_mode))
usr.bin/compress/compress.c
211
if (!force && exists && S_ISREG(sb.st_mode) && !permission(out))
usr.bin/compress/compress.c
213
oreg = !exists || S_ISREG(sb.st_mode);
usr.bin/compress/compress.c
228
if (!S_ISREG(isb.st_mode))
usr.bin/compress/compress.c
309
if (!force && exists && S_ISREG(sb.st_mode) && !permission(out))
usr.bin/compress/compress.c
311
oreg = !exists || S_ISREG(sb.st_mode);
usr.bin/compress/compress.c
326
if (!S_ISREG(sb.st_mode))
usr.bin/crunch/crunchgen/crunchgen.c
1191
return S_ISREG(buf.st_mode) && buf.st_size > 0;
usr.bin/diff/diffdir.c
216
if (!S_ISREG(stb1.st_mode) && !S_ISDIR(stb1.st_mode))
usr.bin/diff/diffdir.c
218
else if (!S_ISREG(stb2.st_mode) && !S_ISDIR(stb2.st_mode))
usr.bin/diff/diffreg.c
307
if (!S_ISREG(stb1.st_mode)) {
usr.bin/diff/diffreg.c
330
if (!S_ISREG(stb2.st_mode)) {
usr.bin/find/function.c
535
if (S_ISREG(entry->fts_statp->st_mode) &&
usr.bin/ftp/ftp.c
1087
if (fstat(fileno(fout), &st) != -1 && !S_ISREG(st.st_mode)) {
usr.bin/ftp/ftp.c
773
if (fstat(fileno(fin), &st) < 0 || !S_ISREG(st.st_mode)) {
usr.bin/gzip/gzip.c
1466
if (S_ISREG(isb.st_mode))
usr.bin/gzip/gzip.c
1863
if (S_ISREG(isb.st_mode))
usr.bin/gzip/gzip.c
1989
if (S_ISREG(sb.st_mode)) {
usr.bin/gzip/gzip.c
2056
if (S_ISREG(sb.st_mode))
usr.bin/hexdump/display.c
369
S_ISREG(sb.st_mode) && skip >= sb.st_size) {
usr.bin/hexdump/display.c
377
if (S_ISREG(sb.st_mode)) {
usr.bin/last/want.c
131
if (!S_ISREG(stb.st_mode))
usr.bin/mail/collect.c
94
if (stat(name, &junk) >= 0 && S_ISREG(junk.st_mode)) {
usr.bin/mail/fio.c
379
if (!S_ISREG(sb.st_mode)) {
usr.bin/mail/mime_attach.c
354
if (sb.st_size < 2 && S_ISREG(sb.st_mode)) {
usr.bin/mail/mime_attach.c
737
if (!S_ISREG(sb.st_mode)) {
usr.bin/mail/mime_detach.c
225
if (stat(fname, &sb) == 0 && !S_ISREG(sb.st_mode)) {
usr.bin/make/parse.c
354
bufSize = fstat(fd, &st) == 0 && S_ISREG(st.st_mode) &&
usr.bin/newsyslog/newsyslog.c
464
if (!S_ISREG(sb.st_mode)) {
usr.bin/patch/inp.c
280
if (!S_ISREG(filemode))
usr.bin/rdist/server.c
1021
if (!S_ISREG(stb.st_mode) && !S_ISLNK(stb.st_mode)) {
usr.bin/rdist/server.c
352
if (S_ISREG(stb.st_mode) && stb.st_nlink > 1)
usr.bin/rump_allserver/rump_allserver.c
455
if (S_ISREG(sb.st_mode) && sb.st_size < fendoff) {
usr.bin/script/script.c
453
reg = S_ISREG(pst.st_mode);
usr.bin/sdiff/sdiff.c
112
if (S_ISREG(sb.st_mode))
usr.bin/tail/forward.c
131
if (S_ISREG(sbp->st_mode) && sbp->st_size > 0) {
usr.bin/tail/forward.c
149
if (S_ISREG(sbp->st_mode) && sbp->st_size > 0) {
usr.bin/tail/forward.c
99
if (S_ISREG(sbp->st_mode) && sbp->st_size > 0) {
usr.bin/tail/reverse.c
82
if (S_ISREG(sbp->st_mode) && sbp->st_size > 0)
usr.bin/unzip/unzip.c
616
if (S_ISREG(sb.st_mode) && sb.st_mtime >= mtime)
usr.bin/unzip/unzip.c
720
if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) {
usr.bin/unzip/unzip.c
773
if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) {
usr.bin/utoppya/utoppya.c
405
if (!S_ISREG(st.st_mode))
usr.bin/utoppya/utoppya.c
508
if (!S_ISREG(st.st_mode))
usr.bin/wc/wc.c
243
(S_ISREG(sb.st_mode) ||
usr.bin/whereis/whereis.c
118
if (!S_ISREG(sb.st_mode))
usr.bin/whereis/whereis.c
143
if (!S_ISREG(sb.st_mode))
usr.bin/xinstall/xinstall.c
424
if (!S_ISREG(to_sb.st_mode))
usr.bin/xinstall/xinstall.c
549
if (S_ISREG(to_sb.st_mode)) {
usr.bin/xinstall/xinstall.c
703
if (!S_ISREG(from_sb.st_mode))
usr.bin/xlint/xlint/xlint.c
465
&& S_ISREG(sbuf.st_mode)
usr.sbin/catman/catman.c
458
if (!S_ISREG(manstat.st_mode)) {
usr.sbin/fssconfig/fssconfig.c
134
if (S_ISREG(sbuf.st_mode) && sbuf.st_dev == mountdev) {
usr.sbin/fssconfig/fssconfig.c
177
isreg = S_ISREG(sbuf.st_mode);
usr.sbin/fstyp/fstyp.c
176
if (S_ISREG(sb.st_mode))
usr.sbin/inetd/parse.c
1311
if (!S_ISREG(sb.st_mode) && !S_ISLNK(sb.st_mode)) {
usr.sbin/installboot/arch/alpha.c
273
if (!S_ISREG(filesyssb.st_mode)) {
usr.sbin/installboot/arch/amiga.c
93
if (!S_ISREG(bootstrapsb.st_mode)) {
usr.sbin/installboot/arch/hp300.c
130
if (S_ISREG(params->fsstat.st_mode)) {
usr.sbin/installboot/arch/hp300.c
177
if (!S_ISREG(params->fsstat.st_mode)) {
usr.sbin/installboot/arch/hppa.c
163
if (!S_ISREG(bootstrapsb.st_mode)) {
usr.sbin/installboot/arch/pmax.c
224
if (! S_ISREG(params->fsstat.st_mode)) {
usr.sbin/installboot/arch/vax.c
199
if (!S_ISREG(bootstrapsb.st_mode)) {
usr.sbin/installboot/arch/vax.c
237
if (!S_ISREG(filesyssb.st_mode)) {
usr.sbin/installboot/arch/x68k.c
145
if (!S_ISREG(bootstrapsb.st_mode)) {
usr.sbin/installboot/bbinfo.c
237
if (S_ISREG(params->fsstat.st_mode)) {
usr.sbin/installboot/evboards.c
1913
if (!S_ISREG(sb.st_mode)) {
usr.sbin/installboot/fstypes.c
99
if (!S_ISREG(s2sb.st_mode)) {
usr.sbin/installboot/installboot.c
311
if (!S_ISREG(params->s1stat.st_mode)) {
usr.sbin/installboot/installboot.c
373
if (S_ISREG(params->fsstat.st_mode)) {
usr.sbin/makefs/ffs.c
846
} else if (S_ISREG(cur->type)) {
usr.sbin/makefs/ffs.c
896
isfile = S_ISREG(DIP(din, mode));
usr.sbin/makefs/msdos.c
261
} else if (!S_ISREG(cur->type)) {
usr.sbin/makefs/udf.c
1139
if (S_ISREG(dev_fd_stat.st_mode)) {
usr.sbin/makefs/udf.c
1266
if (S_ISREG(dev_fd_stat.st_mode) &&
usr.sbin/makemandb/apropos-utils.c
362
if (!(stat(dbpath, &sb) == 0 && S_ISREG(sb.st_mode))) {
usr.sbin/makemandb/makemandb.c
494
if (!S_ISREG(sb.st_mode))
usr.sbin/mountd/mountd.c
2392
if (!S_ISDIR(sb.st_mode) && !S_ISREG(sb.st_mode)) {
usr.sbin/mountd/mountd.c
642
(!S_ISDIR(stb.st_mode) && !S_ISREG(stb.st_mode)) ||
usr.sbin/mtree/compare.c
167
if (!S_ISREG(p->fts_statp->st_mode))
usr.sbin/mtree/create.c
239
if (!S_ISREG(p->fts_statp->st_mode) && (flavor == F_NETBSD6 || !dflag))
usr.sbin/mtree/create.c
269
(flavor == F_FREEBSD9 || S_ISREG(p->fts_statp->st_mode)))
usr.sbin/mtree/create.c
281
if (S_ISREG(p->fts_statp->st_mode)) {
usr.sbin/ndbootd/ndbootd.c
430
} else if (!S_ISREG(stat_buffer.st_mode)) {
usr.sbin/puffs/rump_nqmfs/rump_nqmfs.c
110
if (!S_ISREG(sb.st_mode))
usr.sbin/rbootd/parseconf.c
343
if (stat(dp->d_name, &statb) < 0 || !S_ISREG(statb.st_mode))
usr.sbin/sysinst/arch/luna68k/md.c
280
if (stat(bootpath, &sb) == 0 && S_ISREG(sb.st_mode))
usr.sbin/sysinst/main.c
688
S_ISREG(sb.st_mode) && sb.st_size > 0)
usr.sbin/sysinst/util.c
1895
if (S_ISREG(sb.st_mode))