| /freebsd/contrib/sendmail/libmilter/ |
| H A D | listener.c | 495 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 D | ipc-uapi-unix.h | 37 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 D | util.c | 124 #if defined(S_ISSOCK) in bsdar_strmode() 125 else if (S_ISSOCK(m)) in bsdar_strmode()
|
| /freebsd/contrib/tcsh/ |
| H A D | tc.os.h | 236 # undef S_ISSOCK 261 # if !defined(S_ISSOCK) && defined(S_IFSOCK) 262 # define S_ISSOCK(a) (((a) & S_IFMT) == S_IFSOCK) macro
|
| H A D | sh.misc.c | 257 #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 D | tw.parse.c | 2046 #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 D | sh.exp.c | 790 # 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 D | sys-stat-macros.h | 31 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
|
| /freebsd/sbin/hastd/ |
| H A D | hastd.c | 156 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 D | libpe_init.c | 52 !S_ISSOCK(mode)) { in libpe_open_object()
|
| /freebsd/contrib/unbound/compat/ |
| H A D | getentropy_osx.c | 369 S_ISSOCK(st.st_mode)) { in getentropy_fallback() 380 } else if (S_ISSOCK(st.st_mode)) { in getentropy_fallback()
|
| H A D | getentropy_solaris.c | 393 S_ISSOCK(st.st_mode)) { in getentropy_fallback() 402 } else if (S_ISSOCK(st.st_mode)) { in getentropy_fallback()
|
| H A D | getentropy_linux.c | 492 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 D | walk.c | 168 #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 D | db-int.h | 277 #define S_ISSOCK(m) ((m & 0170000) == 0140000) /* socket */ macro
|
| /freebsd/contrib/elftoolchain/libelf/ |
| H A D | libelf_open.c | 147 !S_ISSOCK(mode)) { in _libelf_open_object()
|
| /freebsd/crypto/heimdal/appl/ftp/ftpd/ |
| H A D | ls.c | 131 #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 D | compare.c | 174 #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 D | posix_compat.h | 114 # undef S_ISSOCK 122 # define S_ISSOCK(m) (((m) & _S_IFMT) == _S_IFSOCK) macro
|
| H A D | file_descriptor.h | 227 else if (S_ISSOCK(mode)) in create_file_status()
|
| /freebsd/contrib/pkgconf/libpkgconf/ |
| H A D | win-dirent.h | 200 #if !defined(S_ISSOCK) 201 # define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) macro
|
| /freebsd/sys/sys/ |
| H A D | stat.h | 289 #define S_ISSOCK(m) (((m) & 0170000) == 0140000) /* socket */ macro
|
| /freebsd/libexec/flua/lfs/ |
| H A D | lfs.c | 265 else if (S_ISSOCK(mode)) in PUSH_INTEGER()
|
| /freebsd/crypto/openssh/ |
| H A D | misc-agent.c | 323 if (!S_ISSOCK(sb.st_mode)) in agent_cleanup_stale()
|
| /freebsd/usr.bin/hexdump/ |
| H A D | display.c | 400 if (!statok || S_ISFIFO(sb.st_mode) || S_ISSOCK(sb.st_mode) || \ in doskip()
|