Searched refs:S_ISSOCK (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-11-stable/contrib/binutils/binutils/
H A Dfilemode.c167 #ifndef S_ISSOCK
169 #define S_ISSOCK(i) (((i) & S_IFMT) == S_IFSOCK)
171 #define S_ISSOCK(i) 0
173 #endif /* ! defined (S_ISSOCK) */
194 if (S_ISSOCK (bits))
168 #define S_ISSOCK macro
170 #define S_ISSOCK macro
/freebsd-11-stable/contrib/gdb/gdb/
H A Dgdb_stat.h34 #undef S_ISSOCK macro
58 #if !defined(S_ISSOCK) && defined(S_IFSOCK)
59 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
/freebsd-11-stable/contrib/diff/lib/
H A Dfile-type.h46 # undef S_ISSOCK macro
132 # ifndef S_ISSOCK
134 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
136 # define S_ISSOCK(m) 0 macro
H A Dfile-type.c59 if (S_ISSOCK (st->st_mode))
/freebsd-11-stable/contrib/libreadline/
H A Dposixstat.h103 #if defined (S_IFSOCK) && !defined (S_ISSOCK)
104 #define S_ISSOCK(m) (((m)&S_IFMT) == S_IFSOCK) /* socket */ macro
/freebsd-11-stable/contrib/elftoolchain/ar/
H A Dutil.c124 #if defined(S_ISSOCK)
125 else if (S_ISSOCK(m))
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Dsystem.h313 #ifndef S_ISSOCK
315 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
317 # define S_ISSOCK(m) 0 macro
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_stat.c90 #define BSD_TO_SVR4_MODE(mode) (S_ISSOCK(mode) ? S_IFIFO : (mode))
180 if (S_ISSOCK(st.st_mode))
206 if (S_ISSOCK(st.st_mode))
251 if (S_ISSOCK(st.st_mode))
279 if (S_ISSOCK(st.st_mode))
322 if (S_ISSOCK(st.st_mode))
349 if (S_ISSOCK(st.st_mode))
/freebsd-11-stable/contrib/sendmail/libmilter/
H A Dlistener.c495 else if (!S_ISSOCK(s.st_mode))
608 # ifdef S_ISSOCK
609 || S_ISSOCK(sockinfo.st_mode)
625 # ifdef S_ISSOCK
626 || S_ISSOCK(fileinfo.st_mode)
631 # ifdef S_ISSOCK
632 || S_ISSOCK(fileinfo.st_mode)
/freebsd-11-stable/contrib/tcsh/
H A Dtc.os.h236 # undef S_ISSOCK macro
261 # if !defined(S_ISSOCK) && defined(S_IFSOCK)
262 # define S_ISSOCK(a) (((a) & S_IFMT) == S_IFSOCK) macro
263 # endif /* ! S_ISSOCK && S_IFSOCK */
H A Dsh.misc.c257 #ifdef S_ISSOCK
259 #endif /*S_ISSOCK*/
277 #ifdef S_ISSOCK
285 && fstat(f, &st) == 0 && !S_ISSOCK(st.st_mode)
/freebsd-11-stable/contrib/elftoolchain/libpe/
H A Dlibpe_init.c52 !S_ISSOCK(mode)) {
/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Dlibelf_open.c147 !S_ISSOCK(mode)) {
/freebsd-11-stable/contrib/libreadline/examples/rlfe/
H A Dos.h347 #if defined(S_IFSOCK) && defined(S_IFMT) && !defined(S_ISSOCK)
348 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) macro
/freebsd-11-stable/contrib/apr/file_io/unix/
H A Dfilestat.c60 #if !defined(BEOS) && !defined(S_IFSOCK) && defined(S_ISSOCK)
61 if (S_ISSOCK(mode)) {
/freebsd-11-stable/contrib/opie/
H A Dopieauto.c320 if ((st.st_uid != myuid) || (!S_ISSOCK(st.st_mode)) || ((st.st_mode & 07777) != 0600))
367 if ((st.st_uid != myuid) || (!S_ISSOCK(st.st_mode)) || ((st.st_mode & 07777) != 0600))
/freebsd-11-stable/contrib/unbound/compat/
H A Dgetentropy_solaris.c393 S_ISSOCK(st.st_mode)) {
402 } else if (S_ISSOCK(st.st_mode)) {
H A Dgetentropy_linux.c473 S_ISSOCK(st.st_mode)) {
484 } else if (S_ISSOCK(st.st_mode)) {
H A Dgetentropy_osx.c369 S_ISSOCK(st.st_mode)) {
380 } else if (S_ISSOCK(st.st_mode)) {
/freebsd-11-stable/sbin/hastd/
H A Dhastd.c159 else if (S_ISSOCK(mode))
222 if (!S_ISSOCK(mode)) {
235 if (!S_ISSOCK(mode)) {
249 if (!S_ISSOCK(mode)) {
272 if (!S_ISSOCK(mode)) {
286 if (!S_ISSOCK(mode)) {
/freebsd-11-stable/contrib/gcc/
H A Dsystem.h483 #ifndef S_ISSOCK
485 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
487 # define S_ISSOCK(m) 0 macro
/freebsd-11-stable/usr.sbin/makefs/
H A Dwalk.c129 #ifdef S_ISSOCK
130 if (S_ISSOCK(stbuf.st_mode & S_IFMT)) {
612 if (S_ISSOCK(mode))
/freebsd-11-stable/contrib/mtree/
H A Dcompare.c172 #ifdef S_ISSOCK
174 if (!S_ISSOCK(p->fts_statp->st_mode))
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Dentropy.c512 #if defined(S_ISSOCK)
513 if (S_ISSOCK(_stat.st_mode))
/freebsd-11-stable/contrib/opie/libopie/
H A Dgenerator.c121 if ((st.st_uid != myuid) || (!S_ISSOCK(st.st_mode)) || ((st.st_mode & 07777) != 0600)) {

Completed in 245 milliseconds

12