Home
last modified time | relevance | path

Searched full:unix (Results 1 – 25 of 4925) sorted by relevance

12345678910>>...197

/external/rust/crates/grpcio-sys/grpc/third_party/
Dlibuv.BUILD10 "include/uv/unix.h",
11 "src/unix/atomic-ops.h",
12 "src/unix/internal.h",
13 "src/unix/spinlock.h",
18 "src/unix/linux-syscalls.h",
58 "src/unix/async.c",
59 "src/unix/atomic-ops.h",
60 "src/unix/core.c",
61 "src/unix/dl.c",
62 "src/unix/fs.c",
[all …]
/external/libwebsockets/lib/plat/unix/
DCMakeLists.txt45 plat/unix/unix-caps.c
46 plat/unix/unix-misc.c
47 plat/unix/unix-init.c
50 list(APPEND SOURCES plat/unix/unix-file.c)
54 plat/unix/unix-pipe.c
55 plat/unix/unix-service.c
56 plat/unix/unix-sockets.c
57 plat/unix/unix-fds.c
61 list(APPEND SOURCES plat/unix/android/android-resolv.c)
63 list(APPEND SOURCES plat/unix/unix-resolv.c)
[all …]
/external/rust/crates/tokio/src/net/unix/
Ducred.rs1 use crate::net::unix;
7 pid: Option<unix::pid_t>,
9 uid: unix::uid_t,
11 gid: unix::gid_t,
16 pub fn uid(&self) -> unix::uid_t { in uid()
21 pub fn gid(&self) -> unix::gid_t { in gid()
29 pub fn pid(&self) -> Option<unix::pid_t> { in pid()
51 use crate::net::unix::{self, UnixStream};
62 use std::os::unix::io::AsRawFd; in get_peer_cred()
90 uid: ucred.uid as unix::uid_t, in get_peer_cred()
[all …]
/external/python/cpython2/Doc/library/
Dos.rst28 * An "Availability: Unix" note means that this function is commonly found on
29 Unix systems. It does not make any claims about its existence on a specific
32 * If not separately noted, all functions that claim "Availability: Unix" are
33 supported on Mac OS X, which builds on a Unix core.
125 Availability: Unix.
133 Availability: Unix.
142 Availability: Unix.
151 Availability: Unix.
158 Availability: Unix.
163 other Unix platforms. If the Python interpreter was built with a
[all …]
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DUnixPathTypeTest.java43 PathType unix = PathType.unix(); in testUnix() local
44 assertThat(unix.getSeparator()).isEqualTo("/"); in testUnix()
45 assertThat(unix.getOtherSeparators()).isEqualTo(""); in testUnix()
48 PathType.ParseResult path = unix.parsePath("//foo/bar"); in testUnix()
50 assertThat(unix.toString(path.root(), path.names())).isEqualTo("/foo/bar"); in testUnix()
52 PathType.ParseResult path2 = unix.parsePath("foo/bar/"); in testUnix()
54 assertThat(unix.toString(path2.root(), path2.names())).isEqualTo("foo/bar"); in testUnix()
59 URI fileUri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo", "bar"), false); in testUnix_toUri()
64 PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo", "bar"), true); in testUnix_toUri()
68 URI rootUri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.<String>of(), true); in testUnix_toUri()
[all …]
DConfigurationTest.java59 Configuration config = Configuration.unix(); in testDefaultUnixConfiguration()
61 assertThat(config.pathType).isEqualTo(PathType.unix()); in testDefaultUnixConfiguration()
77 FileSystem fs = Jimfs.newFileSystem(Configuration.unix()); in testFileSystemForDefaultUnixConfiguration()
95 assertThat(config.pathType).isEqualTo(PathType.unix()); in testDefaultOsXConfiguration()
171 AttributeProvider unixProvider = StandardAttributeProviders.get("unix"); in testBuilder()
174 Configuration.builder(PathType.unix()) in testBuilder()
189 assertThat(config.pathType).isEqualTo(PathType.unix()); in testBuilder()
207 Configuration.builder(PathType.unix()) in testFileSystemForCustomConfiguration()
216 .setAttributeViews("unix") in testFileSystemForCustomConfiguration()
228 assertThat(fs.supportedFileAttributeViews()).containsExactly("basic", "owner", "posix", "unix"); in testFileSystemForCustomConfiguration()
[all …]
/external/freetype/builds/unix/
Ddetect.mk2 # FreeType 2 configuration file to detect a UNIX host platform.
27 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
61 # If a Unix platform is detected, the configure script is called and
62 # `unix-def.mk' together with `unix-cc.mk' is created.
74 CONFIG_FILE := unix.mk
[all …]
Dunix.mk2 # FreeType 2 configuration rules for UNIX platforms
15 # 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
/external/crosvm/docs/book/src/contributing/
Dstyle_guide_platform_specific_code.md21 platforms, in `unix.rs` and `windows.rs`, implement traits defined in `print.rs`. Finally `sys.rs`
25 exported by platform specific code, `unix/print.rs` and `windows/print.rs`, and adds some more
38 │ ├── unix
40 │ ├── unix.rs
99 File: `sys/unix/print.rs`
119 println!("from unix");
128 if #[cfg(unix)] {
129 mod unix;
140 When conditionally importing and using modules, use `cfg(unix)` and `cfg(windows)` for describing
141 the platform. Order imports such that common comes first followed by unix and windows dependencies.
[all …]
/external/clang/test/Driver/
Dps4-analyzer-defaults.cpp6 // unix
8 // unix.API
9 // unix.Vfork
19 // Check for all unix checkers except API and Vfork
21 // RUN: | FileCheck %s --check-prefix=CHECK-PS4-UNIX-CHECKERS
30 // CHECK-PS4-UNIX-CHECKERS: analyzer-checker=unix
31 // CHECK-PS4-UNIX-CHECKERS-DAG: analyzer-disable-checker=unix.API
32 // CHECK-PS4-UNIX-CHECKERS-DAG: analyzer-disable-checker=unix.Vfork
33 // CHECK-PS4-UNIX-CHECKERS-NOT: analyzer-checker=unix.{{API|Vfork}}
/external/strace/tests-m32/
Dnet-yy-unix.c2 * This file is part of net-yy-unix strace test.
43 #define TEST_SOCKET "net-yy-unix.socket"
65 printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:[%lu]>\n", in main()
71 printf("bind(%d<UNIX:[%lu]>, {sa_family=AF_UNIX, sun_path=\"%s\"}" in main()
77 printf("listen(%d<UNIX:[%lu,\"%s\"]>, 1) = 0\n", in main()
84 printf("getsockopt(%d<UNIX:[%lu,\"%s\"]>, SOL_SOCKET, SO_PASSCRED" in main()
92 printf("getsockname(%d<UNIX:[%lu,\"%s\"]>, {sa_family=AF_UNIX" in main()
100 printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:[%lu]>\n", in main()
105 printf("connect(%d<UNIX:[%lu]>, {sa_family=AF_UNIX" in main()
116 printf("accept(%d<UNIX:[%lu,\"%s\"]>, {sa_family=AF_UNIX}" in main()
[all …]
/external/strace/tests/
Dnet-yy-unix.c2 * This file is part of net-yy-unix strace test.
43 #define TEST_SOCKET "net-yy-unix.socket"
65 printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:[%lu]>\n", in main()
71 printf("bind(%d<UNIX:[%lu]>, {sa_family=AF_UNIX, sun_path=\"%s\"}" in main()
77 printf("listen(%d<UNIX:[%lu,\"%s\"]>, 1) = 0\n", in main()
84 printf("getsockopt(%d<UNIX:[%lu,\"%s\"]>, SOL_SOCKET, SO_PASSCRED" in main()
92 printf("getsockname(%d<UNIX:[%lu,\"%s\"]>, {sa_family=AF_UNIX" in main()
100 printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:[%lu]>\n", in main()
105 printf("connect(%d<UNIX:[%lu]>, {sa_family=AF_UNIX" in main()
116 printf("accept(%d<UNIX:[%lu,\"%s\"]>, {sa_family=AF_UNIX}" in main()
[all …]
/external/strace/tests-mx32/
Dnet-yy-unix.c2 * This file is part of net-yy-unix strace test.
43 #define TEST_SOCKET "net-yy-unix.socket"
65 printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:[%lu]>\n", in main()
71 printf("bind(%d<UNIX:[%lu]>, {sa_family=AF_UNIX, sun_path=\"%s\"}" in main()
77 printf("listen(%d<UNIX:[%lu,\"%s\"]>, 1) = 0\n", in main()
84 printf("getsockopt(%d<UNIX:[%lu,\"%s\"]>, SOL_SOCKET, SO_PASSCRED" in main()
92 printf("getsockname(%d<UNIX:[%lu,\"%s\"]>, {sa_family=AF_UNIX" in main()
100 printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:[%lu]>\n", in main()
105 printf("connect(%d<UNIX:[%lu]>, {sa_family=AF_UNIX" in main()
116 printf("accept(%d<UNIX:[%lu,\"%s\"]>, {sa_family=AF_UNIX}" in main()
[all …]
/external/curl/lib/
Dftplistparser.c28 * 1) Unix version 1
30 * 2) Unix version 2
32 * 3) Unix version 3
34 * 4) Unix symlink
162 } UNIX; member
435 switch(parser->state.UNIX.main) { in Curl_ftp_parselist()
437 switch(parser->state.UNIX.sub.total_dirsize) { in Curl_ftp_parselist()
440 parser->state.UNIX.sub.total_dirsize = PL_UNIX_TOTALSIZE_READING; in Curl_ftp_parselist()
444 parser->state.UNIX.main = PL_UNIX_FILETYPE; in Curl_ftp_parselist()
470 parser->state.UNIX.main = PL_UNIX_FILETYPE; in Curl_ftp_parselist()
[all …]
/external/clang/test/Analysis/
Danalyzer-checker-config.c1 // RUN: not %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-config unix.mallo:Opti…
2 // RUN: not %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-config uni:Optimistic=…
3 // RUN: not %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-config uni.:Optimistic…
4 // RUN: not %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-config ..:Optimistic=t…
5 // RUN: not %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-config unix.:Optimisti…
6 // RUN: not %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-config unrelated:Optim…
7 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-config unix.Malloc:Optimis…
/external/libwebsockets/READMEs/
DREADME.unix-domain-reverse-proxy.md1 ## Unix Domain Sockets Reverse Proxy
7 These are particularly useful when using Unix Domain Sockets, basically
15 data from the unix socket owner is in a different process than the server
16 that serves on the unix socket. If it has problems, they do not affect
17 the actual public-facing web server. The unix domain socket server may
20 Compared to CGI, there are no forks to make a connection to the unix
25 Unix Domain Sockets are effectively "files" in the server filesystem, and
34 LWSMPRO_HTTPS depending on the protocol the unix socket understands, and the
35 origin address has the form `+/path/to/unix/socket:/path/inside/mount`.
37 The + at the start indicates it is a local unix socket we are proxying, and
[all …]
/external/rust/crates/tokio/src/net/
Dmod.rs3 //! TCP/UDP/Unix bindings for `tokio`.
5 //! This module contains the TCP/UDP/Unix networking types, similar to the standard
13 //! Unix Domain Stream Socket **(available on Unix only)**
15 //! over Unix Domain Datagram Socket **(available on Unix only)**
48 pub mod unix;
49 pub use unix::datagram::socket::UnixDatagram;
50 pub use unix::listener::UnixListener;
51 pub use unix::stream::UnixStream;
/external/rust/crates/libloading/src/
Dchangelog.rs29 /// Additionally, on platforms `libloading` has no support (today: `not(any(unix, windows))`), we
37 /// [target.'cfg(any(unix, windows))'.dependencies.libloading]
54 /// be `unsafe`. The affected functions are: [`Library::new`], [`os::unix::Library::new`],
55 /// [`os::unix::Library::open`], [`os::windows::Library::new`],
108 /// ### Better & more consistent default behaviour on UNIX systems
110 /// On UNIX systems the [`Library::new`], [`os::unix::Library::new`] and
111 /// [`os::unix::Library::this`] methods have been changed to use
118 /// * On most UNIX systems (macOS being a notable exception) `RTLD_LOCAL` is the default when
138 /// [`os::unix::Library::this`]: crate::os::unix::Library::this
139 /// [`os::unix::Library::new`]: crate::os::unix::Library::new
[all …]
/external/golang-protobuf/types/known/timestamppb/
Dtimestamp_test.go36 {in: time.Unix(0, 0), want: &tspb.Timestamp{Seconds: 0, Nanos: 0}},
37 {in: time.Unix(math.MinInt64, 0), want: &tspb.Timestamp{Seconds: math.MinInt64, Nanos: 0}},
38 …{in: time.Unix(math.MaxInt64, 1e9-1), want: &tspb.Timestamp{Seconds: math.MaxInt64, Nanos: 1e9 - 1…
62 {in: nil, wantTime: time.Unix(0, 0), wantErr: textError("invalid nil Timestamp")},
63 {in: new(tspb.Timestamp), wantTime: time.Unix(0, 0)},
65 …{in: &tspb.Timestamp{Seconds: -1, Nanos: -1}, wantTime: time.Unix(-1, -1), wantErr: textError("tim…
66 {in: &tspb.Timestamp{Seconds: -1, Nanos: 0}, wantTime: time.Unix(-1, 0)},
67 {in: &tspb.Timestamp{Seconds: -1, Nanos: +1}, wantTime: time.Unix(-1, +1)},
68 …{in: &tspb.Timestamp{Seconds: 0, Nanos: -1}, wantTime: time.Unix(0, -1), wantErr: textError("times…
69 {in: &tspb.Timestamp{Seconds: 0, Nanos: 0}, wantTime: time.Unix(0, 0)},
[all …]
/external/libwebsockets/
DAndroid.bp94 "lib/plat/unix/unix-caps.c",
95 "lib/plat/unix/unix-fds.c",
96 "lib/plat/unix/unix-file.c",
97 "lib/plat/unix/unix-init.c",
98 "lib/plat/unix/unix-misc.c",
99 "lib/plat/unix/unix-pipe.c",
100 "lib/plat/unix/unix-service.c",
101 "lib/plat/unix/unix-sockets.c",
167 "lib/plat/unix",
/external/python/cpython3/Doc/library/
Dos.rst116 * On Unix, :func:`os.device_encoding` returns ``'UTF-8'``. rather than the
168 .. availability:: Unix.
187 On Unix, keys and values use :func:`sys.getfilesystemencoding` and
297 On Unix, keys and values are decoded with :func:`sys.getfilesystemencoding`
301 .. availability:: most flavors of Unix, Windows.
312 .. availability:: most flavors of Unix.
333 .. availability:: Unix.
342 .. availability:: Unix.
351 .. availability:: Unix.
360 .. availability:: Unix.
[all …]
/external/rust/crates/libloading/tests/
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::Symbol<*const ()>>(); in check_unix_symbol_sync()
/external/crosvm/cros_async/src/
Dio_ext.rs12 #[cfg(unix)]
17 #[cfg(unix)]
26 Poll(crate::sys::unix::poll_source::Error),
29 Uring(crate::sys::unix::uring_executor::Error),
48 #[cfg(unix)]
49 impl From<crate::sys::unix::uring_executor::Error> for Error {
50 fn from(err: crate::sys::unix::uring_executor::Error) -> Self { in from()
55 #[cfg(unix)]
56 impl From<crate::sys::unix::poll_source::Error> for Error {
57 fn from(err: crate::sys::unix::poll_source::Error) -> Self { in from()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DREADME.txt1 llvm/lib/Support/Unix README
5 are common to two or more variants of UNIX. For example, the directory
8 Unix - only code that is truly generic to all UNIX platforms
9 Posix - code that is specific to Posix variants of UNIX
10 SUS - code that is specific to the Single Unix Specification
11 SysV - code that is specific to System V variants of UNIX
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DREADME.txt1 llvm/lib/Support/Unix README
5 are common to two or more variants of UNIX. For example, the directory
8 Unix - only code that is truly generic to all UNIX platforms
9 Posix - code that is specific to Posix variants of UNIX
10 SUS - code that is specific to the Single Unix Specification
11 SysV - code that is specific to System V variants of UNIX

12345678910>>...197