Home
last modified time | relevance | path

Searched refs:S_ISSOCK (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/sendmail/libmilter/
H A Dlistener.c495 else if (!S_ISSOCK(s.st_mode))
608 # ifdef S_ISSOCK in mi_closener()
609 || S_ISSOCK(sockinfo.st_mode) in mi_closener()
625 # ifdef S_ISSOCK in mi_closener()
626 || S_ISSOCK(fileinfo.st_mode) in mi_closener()
631 # ifdef S_ISSOCK in mi_closener()
632 || S_ISSOCK(fileinfo.st_mode) in mi_closener()
/freebsd/contrib/wireguard-tools/
H A Dipc-uapi-unix.h37 if (!S_ISSOCK(sbuf.st_mode)) in userspace_interface_file()
76 if (!S_ISSOCK(sbuf.st_mode)) in userspace_has_wireguard_interface()
/freebsd/contrib/elftoolchain/ar/
H A Dutil.c124 #if defined(S_ISSOCK) in bsdar_strmode()
125 else if (S_ISSOCK(m)) in bsdar_strmode()
/freebsd/contrib/tcsh/
H A Dtc.os.h236 # undef S_ISSOCK
261 # if !defined(S_ISSOCK) && defined(S_IFSOCK)
262 # define S_ISSOCK(a) (((a) & S_IFMT) == S_IFSOCK) macro
H A Dsh.misc.c257 #ifdef S_ISSOCK in closem()
277 #ifdef S_ISSOCK in closem()
285 && fstat(f, &st) == 0 && !S_ISSOCK(st.st_mode) in closem()
H A Dtw.parse.c2046 #ifdef S_ISSOCK in filetype()
2047 if (S_ISSOCK(statb.st_mode)) /* Socket */ in filetype()
2112 #ifdef S_ISSOCK in isadirectory()
2113 if (S_ISSOCK(statb.st_mode)) /* Socket */ in isadirectory()
H A Dsh.exp.c790 # ifdef S_ISSOCK in filetest()
791 i = S_ISSOCK(st->st_mode); in filetest()
/freebsd/contrib/llvm-project/libc/include/llvm-libc-macros/linux/
H A Dsys-stat-macros.h31 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
/freebsd/sbin/hastd/
H A Dhastd.c156 else if (S_ISSOCK(mode)) in dtype2str()
219 if (!S_ISSOCK(mode)) { in descriptors_assert()
232 if (!S_ISSOCK(mode)) { in descriptors_assert()
246 if (!S_ISSOCK(mode)) { in descriptors_assert()
269 if (!S_ISSOCK(mode)) { in descriptors_assert()
283 if (!S_ISSOCK(mode)) { in descriptors_assert()
/freebsd/contrib/elftoolchain/libpe/
H A Dlibpe_init.c52 !S_ISSOCK(mode)) { in libpe_open_object()
/freebsd/contrib/unbound/compat/
H A Dgetentropy_osx.c369 S_ISSOCK(st.st_mode)) { in getentropy_fallback()
380 } else if (S_ISSOCK(st.st_mode)) { in getentropy_fallback()
H A Dgetentropy_solaris.c393 S_ISSOCK(st.st_mode)) { in getentropy_fallback()
402 } else if (S_ISSOCK(st.st_mode)) { in getentropy_fallback()
H A Dgetentropy_linux.c492 S_ISSOCK(st.st_mode)) { in getentropy_fallback()
503 } else if (S_ISSOCK(st.st_mode)) { in getentropy_fallback()
/freebsd/usr.sbin/makefs/
H A Dwalk.c168 #ifdef S_ISSOCK in walk_dir()
169 if (S_ISSOCK(stbuf.st_mode & S_IFMT)) { in walk_dir()
615 if (S_ISSOCK(mode)) in inode_type()
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/include/
H A Ddb-int.h277 #define S_ISSOCK(m) ((m & 0170000) == 0140000) /* socket */ macro
/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_open.c147 !S_ISSOCK(mode)) { in _libelf_open_object()
/freebsd/crypto/heimdal/appl/ftp/ftpd/
H A Dls.c131 #ifndef S_ISSOCK
132 #define S_ISSOCK(mode) (((mode) & _S_IFMT) == S_IFSOCK) macro
180 else if(S_ISSOCK(st->st_mode)) { in make_fileinfo()
/freebsd/contrib/mtree/
H A Dcompare.c174 #ifdef S_ISSOCK in compare()
176 if (!S_ISSOCK(p->fts_statp->st_mode)) in compare()
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dposix_compat.h114 # undef S_ISSOCK
122 # define S_ISSOCK(m) (((m) & _S_IFMT) == _S_IFSOCK) macro
H A Dfile_descriptor.h227 else if (S_ISSOCK(mode)) in create_file_status()
/freebsd/contrib/pkgconf/libpkgconf/
H A Dwin-dirent.h200 #if !defined(S_ISSOCK)
201 # define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) macro
/freebsd/sys/sys/
H A Dstat.h289 #define S_ISSOCK(m) (((m) & 0170000) == 0140000) /* socket */ macro
/freebsd/libexec/flua/lfs/
H A Dlfs.c265 else if (S_ISSOCK(mode)) in PUSH_INTEGER()
/freebsd/crypto/openssh/
H A Dmisc-agent.c323 if (!S_ISSOCK(sb.st_mode)) in agent_cleanup_stale()
/freebsd/usr.bin/hexdump/
H A Ddisplay.c400 if (!statok || S_ISFIFO(sb.st_mode) || S_ISSOCK(sb.st_mode) || \ in doskip()

12