Home
last modified time | relevance | path

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

12

/external/python/cpython3/Modules/
D_stat.c99 #ifndef S_ISSOCK
100 # define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) macro
301 stat_S_ISFUNC(S_ISSOCK,
357 if (S_ISSOCK(mode)) return 's'; in filetype()
/external/python/cpython2/Lib/
Dstat.py58 def S_ISSOCK(mode): function
/external/kernel-headers/original/uapi/linux/
Dstat.h27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
/external/vboot_reference/futility/
Dfile_type.c114 } else if (S_ISSOCK(sb.st_mode)) { in futil_file_type()
/external/python/cpython3/Lib/
Dstat.py70 def S_ISSOCK(mode): function
Dpathlib.py12 from stat import S_ISDIR, S_ISLNK, S_ISREG, S_ISSOCK, S_ISBLK, S_ISCHR, S_ISFIFO
1450 return S_ISSOCK(self.stat().st_mode)
/external/u-boot/include/linux/
Dstat.h28 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
/external/u-boot/fs/yaffs2/
Dyportenv.h252 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) macro
/external/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()
/external/autotest/client/site_tests/security_OpenFDs/
Dsecurity_OpenFDs.py173 stat.S_ISSOCK(x) or
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/
Dhog.c118 if (S_ISSOCK(file_stat.st_mode)) { in main()
/external/toybox/toys/posix/
Dls.c113 if (S_ISSOCK(mode)) return '='; in endtype()
281 else if (S_ISSOCK(mode)) color = 256+35; in color_from_mode()
Dfile.c439 else if (S_ISSOCK(sb.st_mode)) what = "socket"; in file_main()
/external/python/cpython3/Lib/asyncio/
Dunix_events.py274 if stat.S_ISSOCK(os.stat(path).st_mode):
437 stat.S_ISSOCK(mode) or
564 is_socket = stat.S_ISSOCK(mode)
/external/gptfdisk/
Ddiskio-unix.cc85 else if (S_ISSOCK(st.st_mode)) in OpenForRead()
/external/selinux/libselinux/src/
Dstringrep.c214 if (S_ISSOCK(m)) in mode_to_security_class()
/external/e2fsprogs/misc/
De2fuzz.c145 S_ISSOCK(inode.i_mode)) in find_metadata_blocks()
/external/f2fs-tools/fsck/
Dsload.c145 } else if (S_ISSOCK(stat.st_mode)) { in set_inode_metadata()
/external/selinux/python/sepolicy/sepolicy/
Dgenerate.py996 if os.path.exists(i) and stat.S_ISSOCK(os.stat(i)[stat.ST_MODE]):
1061 if os.path.exists(i) and stat.S_ISSOCK(os.stat(i)[stat.ST_MODE]):
1094 if os.path.exists(i) and stat.S_ISSOCK(os.stat(i)[stat.ST_MODE]):
/external/python/cpython2/Lib/plat-atheos/
DIN.py593 def S_ISSOCK(m): return (((m) & S_IFMT) == S_IFSOCK) function
/external/python/cpython2/Doc/library/
Dstat.rst51 .. function:: S_ISSOCK(mode)
/external/python/cpython3/Doc/library/
Dstat.rst56 .. function:: S_ISSOCK(mode)
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPathV2.inc339 else if (S_ISSOCK(status.st_mode))
/external/mksh/src/
Dsh.h353 #ifndef S_ISSOCK
354 #define S_ISSOCK(m) ((m & 0170000) == 0140000) macro
/external/wayland/src/
Dwayland-server.c1327 if (sock_fd < 0 || fstat(sock_fd, &buf) < 0 || !S_ISSOCK(buf.st_mode)) { in wl_display_add_socket_fd()

12