Home
last modified time | relevance | path

Searched refs:unix (Results 1 - 25 of 210) sorted by relevance

123456789

/third_party/rust/crates/rustix/src/backend/libc/net/
H A Daddr.rs4 #[cfg(unix)]
6 #[cfg(unix)]
8 #[cfg(unix)]
12 #[cfg(unix)]
14 #[cfg(unix)]
18 #[cfg(unix)]
22 pub(crate) unix: c::sockaddr_un,
34 #[cfg(unix)]
44 let mut unix = Self::init(); in _new() variables
46 if bytes.len() > unix in _new()
83 let mut unix = Self::init(); new_abstract_name() variables
[all...]
H A Dwrite_sockaddr.rs6 #[cfg(unix)]
19 #[cfg(unix)]
20 SocketAddrAny::Unix(unix) => write_sockaddr_unix(unix, storage),
98 #[cfg(unix)]
99 unsafe fn write_sockaddr_unix(unix: &SocketAddrUnix, storage: *mut SocketAddrStorage) -> usize { in write_sockaddr_unix()
100 core::ptr::write(storage.cast(), unix.unix); in write_sockaddr_unix()
101 unix.len() in write_sockaddr_unix()
/third_party/rust/crates/io-lifetimes/src/
H A Dimpls_mio.rs5 #[cfg(any(unix, target_os = "wasi"))]
9 #[cfg(unix)]
10 use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd};
16 #[cfg(any(unix, target_os = "wasi"))]
32 #[cfg(any(unix, target_os = "wasi"))]
40 #[cfg(any(unix, target_os = "wasi"))]
64 #[cfg(any(unix, target_os = "wasi"))]
72 #[cfg(any(unix, target_os = "wasi"))]
96 #[cfg(any(unix, target_os = "wasi"))]
112 #[cfg(any(unix, target_o
[all...]
H A Dimpls_std.rs3 #[cfg(any(unix, target_os = "wasi"))]
7 #[cfg(any(unix, target_os = "wasi"))]
11 #[cfg(unix)]
12 use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd};
20 #[cfg(any(unix, target_os = "wasi"))]
44 #[cfg(any(unix, target_os = "wasi"))]
68 #[cfg(any(unix, target_os = "wasi"))]
92 #[cfg(any(unix, target_os = "wasi"))]
132 #[cfg(any(unix, target_os = "wasi"))]
148 #[cfg(any(unix, target_o
[all...]
H A Dimpls_async_std.rs5 #[cfg(any(unix, target_os = "wasi"))]
12 #[cfg(unix)]
13 use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd};
23 #[cfg(any(unix, target_os = "wasi"))]
39 #[cfg(any(unix, target_os = "wasi"))]
47 #[cfg(any(unix, target_os = "wasi"))]
71 #[cfg(any(unix, target_os = "wasi"))]
79 #[cfg(any(unix, target_os = "wasi"))]
103 #[cfg(any(unix, target_os = "wasi"))]
119 #[cfg(any(unix, target_o
[all...]
H A Dviews.rs12 #[cfg(any(unix, target_os = "wasi"))]
210 #[cfg(any(unix, target_os = "wasi"))] in fmt()
220 #[cfg(unix)]
221 unsafe impl SocketlikeViewType for std::os::unix::net::UnixStream {}
222 #[cfg(unix)]
223 unsafe impl SocketlikeViewType for std::os::unix::net::UnixListener {}
225 #[cfg(unix)]
226 unsafe impl SocketlikeViewType for std::os::unix::net::UnixDatagram {}
247 #[cfg(unix)]
249 unsafe impl SocketlikeViewType for async_std::os::unix
[all...]
H A Draw.rs7 #[cfg(unix)]
8 use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
21 #[cfg(any(unix, target_os = "wasi"))]
35 #[cfg(any(unix, target_os = "wasi"))]
49 #[cfg(any(unix, target_os = "wasi"))]
55 #[cfg(any(unix, target_os = "wasi"))]
81 #[cfg(any(unix, target_os = "wasi"))]
87 #[cfg(any(unix, target_os = "wasi"))]
113 #[cfg(any(unix, target_os = "wasi"))]
119 #[cfg(any(unix, target_o
[all...]
H A Dportability.rs8 #[cfg(any(unix, target_os = "wasi"))]
17 #[cfg(any(unix, target_os = "wasi"))]
31 #[cfg(any(unix, target_os = "wasi"))]
45 #[cfg(any(unix, target_os = "wasi"))]
59 #[cfg(any(unix, target_os = "wasi"))]
74 #[cfg(any(unix, target_os = "wasi"))]
109 #[cfg(any(unix, target_os = "wasi"))] in as_filelike()
181 #[cfg(any(unix, target_os = "wasi"))] in as_filelike()
204 #[cfg(any(unix, target_os = "wasi"))]
262 #[cfg(any(unix, target_o in as_socketlike()
[all...]
H A Dimpls_tokio.rs5 #[cfg(any(unix, target_os = "wasi"))]
9 #[cfg(unix)]
10 use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd};
16 #[cfg(any(unix, target_os = "wasi"))]
32 #[cfg(any(unix, target_os = "wasi"))]
40 #[cfg(any(unix, target_os = "wasi"))]
64 #[cfg(any(unix, target_os = "wasi"))]
80 #[cfg(any(unix, target_os = "wasi"))]
96 #[cfg(any(unix, target_os = "wasi"))]
112 #[cfg(any(unix, target_o
[all...]
H A Dimpls_os_pipe.rs5 #[cfg(any(unix, target_os = "wasi"))]
9 #[cfg(unix)]
10 use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd};
16 #[cfg(any(unix, target_os = "wasi"))]
32 #[cfg(any(unix, target_os = "wasi"))]
40 #[cfg(any(unix, target_os = "wasi"))]
64 #[cfg(any(unix, target_os = "wasi"))]
72 #[cfg(any(unix, target_os = "wasi"))]
96 #[cfg(any(unix, target_os = "wasi"))]
112 #[cfg(any(unix, target_o
[all...]
H A Dimpls_socket2.rs5 #[cfg(any(unix, target_os = "wasi"))]
9 #[cfg(unix)]
10 use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd};
16 #[cfg(any(unix, target_os = "wasi"))]
32 #[cfg(any(unix, target_os = "wasi"))]
40 #[cfg(any(unix, target_os = "wasi"))]
64 #[cfg(any(unix, target_os = "wasi"))]
72 #[cfg(any(unix, target_os = "wasi"))]
H A Dimpls_fs_err.rs5 #[cfg(any(unix, target_os = "wasi"))]
9 #[cfg(unix)]
10 use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd};
16 #[cfg(any(unix, target_os = "wasi"))]
32 #[cfg(any(unix, target_os = "wasi"))]
40 #[cfg(any(unix, target_os = "wasi"))]
H A Dlib.rs34 #![cfg(any(unix, windows, target_os = "wasi"))]
45 #[cfg(any(unix, target_os = "wasi"))]
50 #[cfg(any(unix, target_os = "wasi"))]
58 #[cfg(any(unix, target_os = "wasi"))]
68 #[cfg(unix)]
69 pub use std::os::unix::io::{AsFd, BorrowedFd, OwnedFd};
92 #[cfg(any(unix, target_os = "wasi"))]
101 #[cfg(any(unix, target_os = "wasi"))]
H A Dtraits.rs2 #[cfg(any(unix, target_os = "wasi"))]
4 #[cfg(any(unix, target_os = "wasi"))]
14 /// This is only available on unix platforms and must be imported in order to
18 #[cfg(any(unix, target_os = "wasi"))]
66 #[cfg(any(unix, target_os = "wasi"))] in as_socket()
126 #[cfg(any(unix, target_os = "wasi"))]
239 #[cfg(any(unix, target_os = "wasi"))]
248 #[cfg(any(unix, target_os = "wasi"))] in as_fd()
H A Dexample_ffi.rs6 #[cfg(any(unix, target_os = "wasi"))]
11 #[cfg(any(unix, target_os = "wasi"))]
26 #[cfg(all(io_safety_is_in_std, any(unix, target_os = "wasi")))]
30 #[cfg(any(unix, target_os = "wasi"))]
35 #[cfg(any(unix, target_os = "wasi"))] in read()
H A Dtypes.rs4 #[cfg(unix)]
5 use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
50 #[cfg(any(unix, target_os = "wasi"))]
115 #[cfg(any(unix, target_os = "wasi"))]
121 #[cfg(any(unix, target_os = "wasi"))]
130 #[cfg(any(unix, target_os = "wasi"))]
137 #[cfg(unix)] in try_clone_to_owned()
430 #[cfg(any(unix, target_os = "wasi"))]
561 #[cfg(any(unix, target_os = "wasi"))]
585 #[cfg(any(unix, target_o
[all...]
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
H A Daddr.rs18 pub(crate) unix: c::sockaddr_un,
31 let mut unix = Self::init(); in _new() variables
33 if bytes.len() > unix.sun_path.len() { in _new()
37 unix.sun_path[i] = *b as c::c_char; in _new()
41 Ok(Self { unix, len }) in _new()
47 let mut unix = Self::init(); in new_abstract_name() variables
48 if 1 + name.len() > unix.sun_path.len() { in new_abstract_name()
51 unix.sun_path[0] = b'\0' as c::c_char; in new_abstract_name()
53 unix.sun_path[1 + i] = *b as c::c_char; in new_abstract_name()
57 Ok(Self { unix, le in new_abstract_name()
[all...]
H A Dwrite_sockaddr.rs16 SocketAddrAny::Unix(unix) => write_sockaddr_unix(unix, storage),
57 unsafe fn write_sockaddr_unix(unix: &SocketAddrUnix, storage: *mut SocketAddrStorage) -> usize { in write_sockaddr_unix()
58 core::ptr::write(storage.cast(), unix.unix); in write_sockaddr_unix()
59 unix.len() in write_sockaddr_unix()
/third_party/skia/third_party/externals/freetype/builds/unix/
H A Dunix.mk15 # We need these declarations here since unix-def.mk is a generated file.
16 PLATFORM_DIR := $(TOP_DIR)/builds/unix
17 PLATFORM := unix
19 have_mk := $(wildcard $(OBJ_DIR)/unix-def.mk)
22 include $(OBJ_DIR)/unix-def.mk
23 include $(OBJ_DIR)/unix-cc.mk
25 include $(PLATFORM_DIR)/unix-def.mk
26 include $(PLATFORM_DIR)/unix-cc.mk
57 include $(TOP_DIR)/builds/unix/install.mk
H A Ddetect.mk27 PLATFORM := unix
32 ifeq ($(PLATFORM),unix)
38 # file named `unix-dev.mk'. It disables optimization and libtool.
41 CONFIG_FILE := unix-dev.mk
50 # file named `unix-lcc.mk'. It disables libtool for LCC.
53 CONFIG_FILE := unix-lcc.mk
62 # `unix-def.mk' together with `unix-cc.mk' is created.
74 CONFIG_FILE := unix.mk
77 .PHONY: unix
[all...]
/third_party/skia/third_party/externals/freetype/builds/
H A Dtoplevel.mk133 # Note: This test is duplicated in `builds/unix/detect.mk'.
142 $(RM) builds/unix/config.cache
143 $(RM) builds/unix/config.log
144 $(RM) builds/unix/config.status
145 $(RM) builds/unix/unix-def.mk
146 $(RM) builds/unix/unix-cc.mk
147 $(RM) builds/unix/freetype2.pc
292 rm -f builds/unix/acloca
[all...]
/third_party/rust/crates/libloading/tests/
H A Dconstants.rs5 #[cfg(all(test, unix))]
6 mod unix { modules
9 const_assert_eq!(libloading::os::unix::RTLD_LOCAL, libc::RTLD_LOCAL);
10 const_assert_eq!(libloading::os::unix::RTLD_GLOBAL, libc::RTLD_GLOBAL);
11 const_assert_eq!(libloading::os::unix::RTLD_NOW, libc::RTLD_NOW);
12 const_assert_eq!(libloading::os::unix::RTLD_LAZY, libc::RTLD_LAZY);
H A Dmarkers.rs30 #[cfg(unix)]
33 assert_send::<libloading::os::unix::Library>(); in check_unix_library_send()
47 #[cfg(unix)]
50 assert_sync::<libloading::os::unix::Library>(); in check_unix_library_sync()
65 #[cfg(unix)]
68 assert_send::<libloading::os::unix::Symbol<fn() -> ()>>(); in check_unix_symbol_send()
69 // assert_not_send::<libloading::os::unix::Symbol<*const ()>>(); in check_unix_symbol_send()
84 #[cfg(unix)]
87 assert_sync::<libloading::os::unix::Symbol<fn() -> ()>>(); in check_unix_symbol_sync()
88 // assert_not_sync::<libloading::os::unix in check_unix_symbol_sync()
[all...]
/third_party/rust/crates/which-rs/tests/
H A Dbasic.rs3 #[cfg(all(unix, feature = "regex"))]
24 #[cfg(unix)]
26 use std::os::unix::fs::OpenOptionsExt; in mk_bin()
103 #[cfg(unix)] in _which_all()
120 #[cfg(unix)]
134 #[cfg(all(unix, feature = "regex"))]
155 #[cfg(all(unix, feature = "regex"))]
169 #[cfg(all(unix, feature = "regex"))]
186 #[cfg(unix)]
250 #[cfg(unix)]
[all...]
/third_party/rust/crates/rustix/src/net/
H A Dsocket.rs6 #[cfg(unix)]
116 #[cfg(unix)] in _bind_any()
117 SocketAddrAny::Unix(unix) => backend::net::syscalls::bind_unix(sockfd, unix), in _bind_any()
172 #[cfg(unix)]
223 #[cfg(unix)] in _connect_any()
224 SocketAddrAny::Unix(unix) => backend::net::syscalls::connect_unix(sockfd, unix), in _connect_any()
279 #[cfg(unix)]

Completed in 9 milliseconds

123456789