Searched refs:S_IFMT (Results 51 - 75 of 148) sorted by relevance

123456

/netbsd-6-1-5-RELEASE/external/bsd/less/dist/
H A Ddefines.ds387 #define S_IFMT _S_IFMT
/netbsd-6-1-5-RELEASE/gnu/dist/gmake/
H A Dmake.h186 # define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
189 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_support_format_mtree.c622 if ((st->st_mode & S_IFMT) == S_IFREG &&
625 if ((st->st_mode & S_IFMT) == S_IFLNK &&
631 if ((st->st_mode & S_IFMT) == S_IFCHR &&
634 if ((st->st_mode & S_IFMT) == S_IFBLK &&
637 if ((st->st_mode & S_IFMT) == S_IFDIR &&
640 if ((st->st_mode & S_IFMT) == S_IFIFO &&
/netbsd-6-1-5-RELEASE/usr.sbin/sup/source/
H A Dsupcmeat.c573 if (exists && (sbuf.st_mode & S_IFMT) == (t->Tmode & S_IFMT)) {
762 if (mode == (statp->st_mode & S_IFMT))
765 switch (statp->st_mode & S_IFMT) {
828 if (prepare(t->Tname, t->Tmode & S_IFMT, &new, &sbuf)) {
840 switch (t->Tmode & S_IFMT) {
851 goaway("Unknown file type %o\n", t->Tmode & S_IFMT);
H A Dexpand.c349 (stb.st_mode & S_IFMT) == S_IFDIR) {
/netbsd-6-1-5-RELEASE/bin/pax/
H A Dftree.c483 != (statbuf.st_mode & S_IFMT)) {
659 switch(S_IFMT & arcn->sb.st_mode) {
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/conf/nfs_prot/
H A Dnfs_prot_nextstep.h270 # ifdef S_IFMT
271 # define S_ISDIR(mode) (((mode) & (S_IFMT)) == (S_IFDIR))
272 # else /* not S_IFMT */
274 # endif /* not S_IFMT */
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/
H A Dfilesubr.c609 if ((sb1.st_mode & S_IFMT) != (sb2.st_mode & S_IFMT))
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/bindings/lua/
H A Dglue.c84 if ((st.st_mode & S_IFMT) == S_IFDIR) {
/netbsd-6-1-5-RELEASE/external/bsd/file/dist/src/
H A Dfsmagic.c161 switch (sb->st_mode & S_IFMT) {
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc63 # define _GLIBCXX_ISREG(x) (((x) & S_IFMT) == S_IFREG)
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/lib/
H A Dtempname.c76 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/netbsd-6-1-5-RELEASE/gnu/usr.bin/rcs/lib/
H A Dconf.h302 #define S_ISREG(n) (((n) & S_IFMT) == S_IFREG)
/netbsd-6-1-5-RELEASE/sbin/badsect/
H A Dbadsect.c187 if (mknod(*argv, S_IFMT|S_IRUSR|S_IWUSR,
/netbsd-6-1-5-RELEASE/sbin/gpt/
H A Dbiosboot.c306 if ((sb.st_mode & S_IFMT) != S_IFREG &&
/netbsd-6-1-5-RELEASE/lib/libc/time/
H A Dgetdate.c80 if ((sb.st_mode & S_IFMT) != S_IFREG) {
/netbsd-6-1-5-RELEASE/lib/libpuffs/
H A Dsubr.c245 switch (mode & S_IFMT) {
/netbsd-6-1-5-RELEASE/gnu/dist/diffutils/lib/
H A Dtempname.c74 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc67 # define _GLIBCXX_ISREG(x) (((x) & S_IFMT) == S_IFREG)
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/v7fs/
H A Dv7fs_estimate.c137 switch (cur->type & S_IFMT) {
/netbsd-6-1-5-RELEASE/usr.sbin/mtree/
H A Dmisc.c283 switch (type & S_IFMT) {
/netbsd-6-1-5-RELEASE/usr.sbin/tcpdmatch/
H A Dtcpdmatch.c47 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dglob.c513 #if defined(S_IFLNK) && defined(S_IFMT)
514 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/
H A De_os.h246 # ifndef S_IFMT
247 # define S_IFMT _S_IFMT macro
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-c/detail/
H A Dfs.c559 int type = st->m_sb.st_mode & S_IFMT;
611 return st->m_sb.st_mode & ~S_IFMT;

Completed in 322 milliseconds

123456