Home
last modified time | relevance | path

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

12

/third_party/python/Modules/
D_stat.c103 #ifndef S_ISSOCK
104 # define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) macro
305 stat_S_ISFUNC(S_ISSOCK,
361 if (S_ISSOCK(mode)) return 's'; in filetype()
/third_party/ntfs-3g/include/ntfs-3g/
Ddir.h46 #ifndef S_ISSOCK
47 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
/third_party/ffmpeg/libavformat/
Dfile.c60 #ifndef S_ISSOCK
62 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
64 # define S_ISSOCK(m) 0 macro
320 else if (S_ISSOCK(st.st_mode)) in file_read_dir()
/third_party/boost/boost/config/platform/
Dvxworks.hpp350 #ifndef S_ISSOCK
351 # define S_ISSOCK(mode) ((mode & S_IFMT) == S_IFSOCK) // Is file a socket? macro
/third_party/node/deps/uvwasi/src/
Duv_mapping.c215 #ifdef S_ISSOCK in uvwasi__stat_to_filetype()
216 if (S_ISSOCK(mode)) in uvwasi__stat_to_filetype()
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstfilesrc.c91 #ifndef S_ISSOCK
92 #define S_ISSOCK(x) (0) macro
483 if (S_ISSOCK (stat_results.st_mode)) in gst_file_src_start()
/third_party/python/Lib/
Dstat.py74 def S_ISSOCK(mode): function
/third_party/musl/libc-test/src/api/
Dftw.c50 C(S_ISSOCK(0)) in f()
Dsys_stat.c74 C(S_ISSOCK(0)) in f()
/third_party/uboot/u-boot-2020.01/include/linux/
Dstat.h28 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
/third_party/uboot/u-boot-2020.01/fs/yaffs2/
Dyportenv.h252 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
/third_party/boost/boost/process/detail/posix/
Dhandles.hpp82 …|| S_ISSOCK (stat_.st_mode) ;// This macro returns non-zero if the file is a socket. See section 1… in is_stream_handle()
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dstat.h50 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dstat.h50 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) macro
/third_party/musl/include/sys/
Dstat.h50 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) macro
/third_party/toybox/toys/pending/
Dlsof.c268 if (S_ISSOCK(sb.st_mode)) find_socket(fi, sb.st_ino); in fill_stat()
272 if (!S_ISSOCK(sb.st_mode)) in fill_stat()
/third_party/pulseaudio/src/pulsecore/
Dsocket-util.c78 if (S_ISSOCK(st.st_mode)) in pa_socket_peer_to_string()
/third_party/toybox/porting/liteos_a/toys/posix/
Dls.c112 if (S_ISSOCK(mode)) return '='; in endtype()
280 else if (S_ISSOCK(mode)) color = 256+35; in color_from_mode()
/third_party/toybox/toys/posix/
Dls.c113 if (S_ISSOCK(mode)) return '='; in endtype()
288 else if (S_ISSOCK(mode)) color = 256+35; in color_from_mode()
/third_party/libuv/src/unix/
Dtty.c357 if (!S_ISSOCK(s.st_mode)) in uv_guess_handle()
/third_party/selinux/libselinux/src/
Dstringrep.c215 if (S_ISSOCK(m)) in mode_to_security_class()
/third_party/e2fsprogs/misc/
De2fuzz.c145 S_ISSOCK(inode.i_mode)) in find_metadata_blocks()
/third_party/gptfdisk/
Ddiskio-unix.cc89 else if (S_ISSOCK(st.st_mode)) in OpenForRead()
/third_party/f2fs-tools/fsck/
Dsload.c162 } else if (S_ISSOCK(stat.st_mode)) { in set_inode_metadata()
/third_party/python/Lib/asyncio/
Dunix_events.py286 if stat.S_ISSOCK(os.stat(path).st_mode):
452 stat.S_ISSOCK(mode) or
588 is_socket = stat.S_ISSOCK(mode)

12