Home
last modified time | relevance | path

Searched refs:S_IFSOCK (Results 1 – 25 of 47) sorted by relevance

12

/third_party/python/Lib/
Dstat.py42 S_IFSOCK = 0o140000 # socket file variable
76 return S_IFMT(mode) == S_IFSOCK
130 (S_IFSOCK, "s"), # Must appear before IFREG and IFDIR as IFSOCK == IFREG | IFDIR
/third_party/ntfs-3g/include/ntfs-3g/
Ddir.h43 #ifndef S_IFSOCK
44 #define S_IFSOCK 0140000 macro
47 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
/third_party/python/Modules/
D_stat.c70 #ifndef S_IFSOCK
71 # define S_IFSOCK 0140000 macro
104 # define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
515 ADD_INT_MACRO(module, S_IFSOCK); in stat_exec()
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dstat.h37 #define S_IFSOCK 0140000 macro
50 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dstat.h37 #define S_IFSOCK 0140000 macro
50 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
/third_party/musl/include/sys/
Dstat.h37 #define S_IFSOCK 0140000 macro
50 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
/third_party/musl/porting/uniproton/kernel/include/sys/
Dstat.h37 #define S_IFSOCK 0140000 macro
50 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
/third_party/musl/porting/linux/user/include/sys/
Dstat.h37 #define S_IFSOCK 0140000 macro
50 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dstat.h37 #define S_IFSOCK 0140000 macro
50 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
/third_party/musl/ndk_musl_include/sys/
Dstat.h37 #define S_IFSOCK 0140000 macro
50 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
/third_party/libwebsockets/win32port/dirent/
Ddirent-win32.h107 #if !defined(S_IFSOCK)
108 # define S_IFSOCK 0 macro
172 #define DT_SOCK S_IFSOCK
200 # define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
/third_party/node/lib/internal/fs/
Dutils.js77 S_IFSOCK,
427 return this._checkModeProperty(S_IFSOCK);
477 property === S_IFSOCK)) {
507 property === S_IFSOCK)) {
/third_party/ltp/testcases/kernel/syscalls/getxattr/
Dgetxattr02.c152 if (mknod(SOCK, S_IFSOCK | 0777, 0) == -1) in setup()
/third_party/grpc/src/core/lib/iomgr/
Dunix_sockets_posix.cc87 if (stat(un->sun_path, &st) == 0 && (st.st_mode & S_IFMT) == S_IFSOCK) { in grpc_unlink_if_unix_domain_socket()
/third_party/eudev/src/shared/
Dselinux-util.c493 r = selabel_lookup_raw(label_hnd, &fcon, path, S_IFSOCK); in mac_selinux_bind()
501 r = selabel_lookup_raw(label_hnd, &fcon, newpath, S_IFSOCK); in mac_selinux_bind()
/third_party/selinux/libselinux/utils/
Dselabel_lookup_best_match.c47 return S_IFSOCK; in string_to_mode()
Dmatchpathcon.c63 return S_IFSOCK; in string_to_mode()
/third_party/musl/libc-test/src/api/
Dftw.c43 C(S_IFSOCK) in f()
Dsys_stat.c66 C(S_IFSOCK) in f()
/third_party/ffmpeg/libavformat/
Dfile.c61 # ifdef S_IFSOCK
62 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
/third_party/ltp/testcases/kernel/syscalls/mknod/
Dmknod07.c58 #define SOCKET_MODE (S_IFSOCK | S_IRWXU | S_IRWXG | S_IRWXO)
/third_party/ltp/testcases/kernel/syscalls/mknodat/
Dmknodat02.c51 #define SOCKMODE (S_IFSOCK | S_IRUSR | S_IRGRP | S_IROTH)
/third_party/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr02.c192 SAFE_MKNOD(SOCK, S_IFSOCK | 0777, 0); in setup()
/third_party/boost/boost/config/platform/
Dvxworks.hpp351 # define S_ISSOCK(mode) ((mode & S_IFMT) == S_IFSOCK) // Is file a socket?
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_file_test.c160 show_result(mknod(mknod_sock_path, S_IFSOCK, 0)); in stage_file_test()

12