Home
last modified time | relevance | path

Searched refs:S_IFSOCK (Results 1 - 25 of 67) sorted by relevance

123

/third_party/ntfs-3g/include/ntfs-3g/
H A Ddir.h43 #ifndef S_IFSOCK
44 #define S_IFSOCK 0140000 macro
47 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
/third_party/python/Lib/
H A 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/python/Modules/
H A D_stat.c70 #ifndef S_IFSOCK
71 # define S_IFSOCK 0140000 macro
104 # define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
441 S_IFSOCK: socket file\n\
515 ADD_INT_MACRO(module, S_IFSOCK); in stat_exec()
/third_party/backends/sanei/
H A Dsanei_init_debug.c120 #elif defined (S_IFMT) && defined(S_IFSOCK) in is_socket()
121 return (sbuf.st_mode & S_IFMT) == S_IFSOCK; in is_socket()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A 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/
H A Dstat.h37 #define S_IFSOCK 0140000 macro
50 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A 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/
H A 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/
H A Dstat.h37 #define S_IFSOCK 0140000 macro
50 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
/third_party/musl/include/sys/
H A Dstat.h44 #define S_IFSOCK 0140000 macro
57 #define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
/third_party/libwebsockets/win32port/dirent/
H A 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/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dtypes.rs267 /// `S_IFSOCK`
268 Socket = linux_raw_sys::general::S_IFSOCK as isize,
290 linux_raw_sys::general::S_IFSOCK => Self::Socket,
305 Self::Socket => linux_raw_sys::general::S_IFSOCK,
/third_party/ltp/testcases/kernel/syscalls/getxattr/
H A Dgetxattr02.c143 if (mknod(SOCK, S_IFSOCK | 0777, 0) == -1) in setup()
/third_party/musl/libc-test/src/api/
H A Dftw.c43 C(S_IFSOCK) in f()
H A Dsys_stat.c66 C(S_IFSOCK) in f()
/third_party/eudev/src/shared/
H A 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/node/lib/internal/fs/
H A Dutils.js90 S_IFSOCK,
451 return this._checkModeProperty(S_IFSOCK);
503 property === S_IFSOCK)) {
533 property === S_IFSOCK)) {
/third_party/curl/tests/server/
H A Dutil.c848 #ifdef S_IFSOCK in bind_unix_socket()
849 if((statbuf.st_mode & S_IFSOCK) != S_IFSOCK) { in bind_unix_socket()
/third_party/ltp/testcases/kernel/syscalls/mknod/
H A Dmknod07.c58 #define SOCKET_MODE (S_IFSOCK | S_IRWXU | S_IRWXG | S_IRWXO)
/third_party/ltp/testcases/kernel/syscalls/mknodat/
H A Dmknodat02.c51 #define SOCKMODE (S_IFSOCK | S_IRUSR | S_IRGRP | S_IROTH)
/third_party/selinux/libselinux/utils/
H A Dmatchpathcon.c63 return S_IFSOCK; in string_to_mode()
H A Dselabel_lookup_best_match.c47 return S_IFSOCK; in string_to_mode()
/third_party/ltp/testcases/kernel/syscalls/setxattr/
H A Dsetxattr02.c192 SAFE_MKNOD(SOCK, S_IFSOCK | 0777, 0); in setup()
/third_party/ffmpeg/libavformat/
H A Dfile.c63 # ifdef S_IFSOCK
64 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
/third_party/rust/crates/rustix/src/backend/libc/fs/
H A Dtypes.rs392 /// `S_IFSOCK`
393 #[cfg(not(target_os = "wasi"))] // TODO: Use WASI's `S_IFSOCK`.
394 Socket = c::S_IFSOCK as isize,
416 #[cfg(not(target_os = "wasi"))] // TODO: Use WASI's `S_IFSOCK`.
417 c::S_IFSOCK => Self::Socket,
432 #[cfg(not(target_os = "wasi"))] // TODO: Use WASI's `S_IFSOCK`.
433 Self::Socket => c::S_IFSOCK as RawMode,

Completed in 14 milliseconds

123