/third_party/rust/crates/atty/src/ |
H A D | lib.rs | 18 #![cfg_attr(unix, no_std)] 20 #[cfg(unix)] 39 #[cfg(all(unix, not(target_arch = "wasm32")))] 187 #[cfg(unix)] 193 #[cfg(unix)] 206 #[cfg(all(not(target_os = "macos"), unix))]
|
/third_party/rust/crates/libloading/src/os/ |
H A D | mod.rs | 13 //! #[cfg(unix)] 14 //! use libloading::os::unix::*; 20 #[cfg(any(unix, libloading_docs))] 21 #[cfg_attr(libloading_docs, doc(cfg(unix)))] 22 pub mod unix; modules
|
/third_party/rust/crates/rustix/src/backend/libc/ |
H A D | mod.rs | 41 #[cfg(unix)] 43 pub(crate) use std::os::unix::io::RawFd as LibcFd; 44 #[cfg(unix)] 45 pub use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd}; 99 /// used beyond that, this could be changed to e.g. `#[cfg(unix)]`. 100 #[cfg(all(unix, target_env = "gnu"))]
|
/third_party/rust/crates/rustix/src/net/ |
H A D | send_recv.rs | 3 #[cfg(unix)] 132 #[cfg(unix)] in _sendto_any() 133 SocketAddrAny::Unix(unix) => backend::net::syscalls::sendto_unix(fd, buf, flags, unix), in _sendto_any() 198 #[cfg(unix)]
|
H A D | socket_addr_any.rs | 12 #[cfg(unix)] 31 #[cfg(unix)] 49 #[cfg(unix)] 64 #[cfg(unix)] 99 #[cfg(unix)] in fmt() 100 Self::Unix(unix) => unix.fmt(fmt), in fmt()
|
/third_party/rust/crates/libloading/src/ |
H A D | safe.rs | 3 use super::os::unix as imp; // the implementation used here doesn't matter particularly much... 4 #[cfg(all(not(libloading_docs), unix))] 5 use super::os::unix as imp; 14 #[cfg_attr(libloading_docs, doc(cfg(any(unix, windows))))] 52 /// the platform specific [`os::unix::Library::new`] and [`os::windows::Library::new`] methods 58 /// [`os::unix::Library::new`]: crate::os::unix::Library::new 108 /// consider using the [`os::unix::Library::get_singlethreaded`] call. 110 /// [`os::unix::Library::get_singlethreaded`]: crate::os::unix [all...] |
H A D | lib.rs | 38 #![cfg_attr(any(unix, windows), deny(missing_docs, clippy::all, unreachable_pub, unused))] 48 #[cfg(any(unix, windows, libloading_docs))] 50 #[cfg(any(unix, windows, libloading_docs))]
|
/third_party/rust/crates/io-lifetimes/tests/ |
H A D | niche-optimizations.rs | 6 #[cfg(any(unix, target_os = "wasi"))] 11 #[cfg(unix)] 12 use std::os::unix::io::{FromRawFd, IntoRawFd, RawFd}; 18 #[cfg(all(io_safety_is_in_std, any(unix, target_os = "wasi")))]
|
H A D | ffi.rs | 4 #[cfg(any(unix, windows))] 15 #[cfg(all(io_safety_is_in_std, unix))] 53 #[cfg(all(io_safety_is_in_std, unix))]
|
H A D | assumptions.rs | 6 #[cfg(unix)] 9 assert_eq!(size_of::<std::os::unix::io::RawFd>(), size_of::<i32>()); in test_assumptions() 11 size_of::<std::os::unix::io::RawFd>(), in test_assumptions()
|
/third_party/rust/crates/which-rs/src/ |
H A D | checker.rs | 2 #[cfg(unix)] 5 #[cfg(unix)] 6 use std::os::unix::ffi::OsStrExt; 18 #[cfg(unix)]
|
/third_party/rust/crates/os_str_bytes/tests/ |
H A D | random_common.rs | 4 #[cfg(unix)] 5 use std::os::unix::ffi::OsStringExt; 21 #[cfg(unix)]
|
/third_party/rust/crates/cxx/gen/src/ |
H A D | fs.rs | 135 #[cfg(unix)] 139 #[cfg(not(any(unix, windows)))] 143 #[cfg(unix)] 145 symlink(original.as_ref(), link.as_ref(), std::os::unix::fs::symlink)
|
/third_party/rust/crates/cxx/gen/cmd/src/gen/ |
H A D | fs.rs | 135 #[cfg(unix)] 139 #[cfg(not(any(unix, windows)))] 143 #[cfg(unix)] 145 symlink(original.as_ref(), link.as_ref(), std::os::unix::fs::symlink)
|
/third_party/rust/crates/cxx/gen/build/src/gen/ |
H A D | fs.rs | 135 #[cfg(unix)] 139 #[cfg(not(any(unix, windows)))] 143 #[cfg(unix)] 145 symlink(original.as_ref(), link.as_ref(), std::os::unix::fs::symlink)
|
/third_party/rust/crates/cxx/gen/lib/src/gen/ |
H A D | fs.rs | 135 #[cfg(unix)] 139 #[cfg(not(any(unix, windows)))] 143 #[cfg(unix)] 145 symlink(original.as_ref(), link.as_ref(), std::os::unix::fs::symlink)
|
/third_party/rust/crates/rustix/tests/net/ |
H A D | main.rs | 13 #[cfg(unix)] 14 mod unix; modules
|
/third_party/rust/crates/nix/test/ |
H A D | test_mount.rs | 12 use std::os::unix::fs::OpenOptionsExt; 13 use std::os::unix::fs::PermissionsExt;
|
/third_party/rust/crates/libc/src/ |
H A D | lib.rs | 130 } else if #[cfg(unix)] { 134 mod unix; modules 135 pub use unix::*;
|
/third_party/rust/crates/io-lifetimes/examples/ |
H A D | hello.rs | 14 #[cfg(all(unix, feature = "close"))] 22 #[cfg(all(io_safety_is_in_std, unix, feature = "close"))] 123 not(all(io_safety_is_in_std, unix, feature = "close")),
|
/third_party/rust/crates/rustix/src/backend/libc/net/ |
H A D | read_sockaddr.rs | 2 #[cfg(unix)] 98 #[cfg(unix)] 135 #[cfg(unix)] 205 #[cfg(unix)] in inner_read_sockaddr_os() 228 #[cfg(unix)] in inner_read_sockaddr_os()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
H A D | mod.rs | 58 pub(crate) use std::os::unix::io::RawFd as LibcFd; 59 pub use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
|
/third_party/rust/crates/os_str_bytes/src/common/ |
H A D | mod.rs | 11 #[cfg(any(target_os = "hermit", unix))] 12 use std::os::unix as os;
|
/third_party/gn/misc/vim/ftdetect/ |
H A D | gnfiletype.vim | 15 set fileencodings=utf-8 fileformats=unix 25 au BufNewFile *.gn,*.gni setlocal filetype=gn fileencoding=utf-8 fileformat=unix
|
/third_party/curl/ |
H A D | Makefile | 57 unix: all 59 unix-ssl: ssl
|