Home
last modified time | relevance | path

Searched refs:unix (Results 26 - 50 of 210) sorted by relevance

123456789

/third_party/rust/crates/atty/src/
H A Dlib.rs18 #![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 Dmod.rs13 //! #[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 Dmod.rs41 #[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 Dsend_recv.rs3 #[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 Dsocket_addr_any.rs12 #[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 Dsafe.rs3 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 Dlib.rs38 #![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 Dniche-optimizations.rs6 #[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 Dffi.rs4 #[cfg(any(unix, windows))]
15 #[cfg(all(io_safety_is_in_std, unix))]
53 #[cfg(all(io_safety_is_in_std, unix))]
H A Dassumptions.rs6 #[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 Dchecker.rs2 #[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 Drandom_common.rs4 #[cfg(unix)]
5 use std::os::unix::ffi::OsStringExt;
21 #[cfg(unix)]
/third_party/rust/crates/cxx/gen/src/
H A Dfs.rs135 #[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 Dfs.rs135 #[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 Dfs.rs135 #[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 Dfs.rs135 #[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 Dmain.rs13 #[cfg(unix)]
14 mod unix; modules
/third_party/rust/crates/nix/test/
H A Dtest_mount.rs12 use std::os::unix::fs::OpenOptionsExt;
13 use std::os::unix::fs::PermissionsExt;
/third_party/rust/crates/libc/src/
H A Dlib.rs130 } else if #[cfg(unix)] {
134 mod unix; modules
135 pub use unix::*;
/third_party/rust/crates/io-lifetimes/examples/
H A Dhello.rs14 #[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 Dread_sockaddr.rs2 #[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 Dmod.rs58 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 Dmod.rs11 #[cfg(any(target_os = "hermit", unix))]
12 use std::os::unix as os;
/third_party/gn/misc/vim/ftdetect/
H A Dgnfiletype.vim15 set fileencodings=utf-8 fileformats=unix
25 au BufNewFile *.gn,*.gni setlocal filetype=gn fileencoding=utf-8 fileformat=unix
/third_party/curl/
H A DMakefile57 unix: all
59 unix-ssl: ssl

Completed in 7 milliseconds

123456789