/external/rust/crates/nix/src/ |
D | errno.rs | 2 use libc::{c_int, c_void}; 13 libc::__error() 19 libc::__errno() 26 libc::__errno_location() 96 impl ErrnoSentinel for libc::sighandler_t { 97 fn sentinel() -> Self { libc::SIG_ERR } in sentinel() 640 EPERM = libc::EPERM, 641 ENOENT = libc::ENOENT, 642 ESRCH = libc::ESRCH, 643 EINTR = libc::EINTR, [all …]
|
D | fcntl.rs | 2 use libc::{self, c_char, c_int, c_uint, size_t, ssize_t}; 168 unsafe { libc::open(cstr.as_ptr(), oflag.bits(), mode.bits() as c_uint) } in open() 184 unsafe { libc::openat(dirfd, cstr.as_ptr(), oflag.bits(), mode.bits() as c_uint) } in openat() 198 libc::renameat( in renameat() 219 ) -> Result<libc::ssize_t> { in readlink_maybe_at() 225 Some(dirfd) => libc::readlinkat( in readlink_maybe_at() 231 None => libc::readlink( in readlink_maybe_at() 241 let mut v = Vec::with_capacity(libc::PATH_MAX as usize); in inner_readlink() 261 (libc::PATH_MAX as usize).max(128) << 1 in inner_readlink() 295 None => libc::AT_FDCWD, in at_rawfd() [all …]
|
/external/llvm-project/libc/config/linux/x86_64/ |
D | entrypoints.txt | 3 libc.src.assert.__assert_fail 6 libc.src.ctype.isalnum 7 libc.src.ctype.isalpha 8 libc.src.ctype.isblank 9 libc.src.ctype.iscntrl 10 libc.src.ctype.isdigit 11 libc.src.ctype.isgraph 12 libc.src.ctype.islower 13 libc.src.ctype.isprint 14 libc.src.ctype.ispunct [all …]
|
/external/llvm-project/libc/test/src/math/ |
D | CMakeLists.txt | 37 libc.include.errno 38 libc.src.math.cosf 39 libc.utils.CPP.standalone_cpp 40 libc.utils.FPUtil.fputil 53 libc.include.errno 54 libc.src.math.sinf 55 libc.utils.CPP.standalone_cpp 56 libc.utils.FPUtil.fputil 69 libc.include.errno 70 libc.src.math.sincosf [all …]
|
/external/llvm-project/libc/config/linux/aarch64/ |
D | entrypoints.txt | 3 libc.src.ctype.isalnum 4 libc.src.ctype.isalpha 5 libc.src.ctype.isblank 6 libc.src.ctype.iscntrl 7 libc.src.ctype.isdigit 8 libc.src.ctype.isgraph 9 libc.src.ctype.islower 10 libc.src.ctype.isprint 11 libc.src.ctype.ispunct 12 libc.src.ctype.isspace [all …]
|
/external/llvm-project/libc/fuzzing/math/ |
D | CMakeLists.txt | 11 libc.src.math.ceil 12 libc.src.math.ceilf 13 libc.src.math.ceill 14 libc.src.math.fdim 15 libc.src.math.fdimf 16 libc.src.math.fdiml 17 libc.src.math.floor 18 libc.src.math.floorf 19 libc.src.math.floorl 20 libc.src.math.frexp [all …]
|
/external/llvm-project/libc/test/src/signal/ |
D | CMakeLists.txt | 10 libc.include.signal 11 libc.src.signal.raise 21 libc.include.errno 22 libc.include.signal 23 libc.src.signal.raise 24 libc.src.signal.sigaction 25 libc.test.errno_setter_matcher 35 libc.include.errno 36 libc.src.errno.__errno_location 37 libc.src.signal.raise [all …]
|
/external/llvm-project/libc/src/math/ |
D | CMakeLists.txt | 8 libc.include.errno 9 libc.include.math 10 libc.src.errno.__errno_location 31 libc.include.math 32 libc.src.errno.__errno_location 43 libc.include.math 44 libc.src.errno.__errno_location 55 libc.include.math 56 libc.src.errno.__errno_location 66 libc.utils.FPUtil.fputil [all …]
|
/external/rust/crates/mio/src/sys/unix/ |
D | tcp.rs | 13 use libc::SO_KEEPALIVE as KEEPALIVE_TIME; 15 use libc::TCP_KEEPALIVE as KEEPALIVE_TIME; 23 use libc::TCP_KEEPIDLE as KEEPALIVE_TIME; 24 pub type TcpSocket = libc::c_int; 27 new_socket(libc::AF_INET, libc::SOCK_STREAM) in new_v4_socket() 31 new_socket(libc::AF_INET6, libc::SOCK_STREAM) in new_v6_socket() 44 Err(err) if err.raw_os_error() != Some(libc::EINPROGRESS) => { in connect() 64 let val: libc::c_int = if reuseaddr { 1 } else { 0 }; in set_reuseaddr() 67 libc::SOL_SOCKET, in set_reuseaddr() 68 libc::SO_REUSEADDR, in set_reuseaddr() [all …]
|
D | net.rs | 5 pub(crate) fn new_ip_socket(addr: SocketAddr, socket_type: libc::c_int) -> io::Result<libc::c_int> { in new_ip_socket() 7 SocketAddr::V4(..) => libc::AF_INET, in new_ip_socket() 8 SocketAddr::V6(..) => libc::AF_INET6, in new_ip_socket() 15 pub(crate) fn new_socket(domain: libc::c_int, socket_type: libc::c_int) -> io::Result<libc::c_int> { in new_socket() 25 let socket_type = socket_type | libc::SOCK_NONBLOCK | libc::SOCK_CLOEXEC; in new_socket() 36 libc::SOL_SOCKET, in new_socket() 37 libc::SO_NOSIGPIPE, in new_socket() 38 &1 as *const libc::c_int as *const libc::c_void, in new_socket() 39 size_of::<libc::c_int>() as libc::socklen_t in new_socket() 50 syscall!(fcntl(socket, libc::F_SETFL, libc::O_NONBLOCK)) in new_socket() [all …]
|
/external/rust/crates/mio/src/sys/unix/selector/ |
D | kqueue.rs | 17 type Count = libc::c_int; 19 type Count = libc::size_t; 23 type Filter = libc::c_short; 31 type Flags = libc::c_ushort; 44 type Data = libc::intptr_t; 50 type UData = *mut libc::c_void; 52 type UData = libc::intptr_t; 56 libc::kevent { 57 ident: $id as libc::uintptr_t, 79 .and_then(|kq| syscall!(fcntl(kq, libc::F_SETFD, libc::FD_CLOEXEC)).map(|_| kq)) in new() [all …]
|
D | epoll.rs | 3 use libc::{EPOLLET, EPOLLIN, EPOLLOUT, EPOLLRDHUP}; 30 let flag = libc::O_CLOEXEC; in new() 32 let flag = libc::EPOLL_CLOEXEC; in new() 61 const MAX_SAFE_TIMEOUT: u128 = libc::c_int::max_value() as u128; in select() 64 .map(|to| cmp::min(to.as_millis(), MAX_SAFE_TIMEOUT) as libc::c_int) in select() 82 let mut event = libc::epoll_event { in register() 87 syscall!(epoll_ctl(self.ep, libc::EPOLL_CTL_ADD, fd, &mut event)).map(|_| ()) in register() 91 let mut event = libc::epoll_event { in reregister() 96 syscall!(epoll_ctl(self.ep, libc::EPOLL_CTL_MOD, fd, &mut event)).map(|_| ()) in reregister() 100 syscall!(epoll_ctl(self.ep, libc::EPOLL_CTL_DEL, fd, ptr::null_mut())).map(|_| ()) in deregister() [all …]
|
/external/llvm-project/llvm/docs/Proposals/ |
D | LLVMLibC.rst | 2 "llvm-libc" C Standard Library 12 This is a proposal to start *llvm-libc*, an implementation of the 14 llvm-libc will also provide platform specific extensions as relevant. 21 llvm-libc will be developed to have a certain minimum set of features: 24 - A modular libc with individual pieces implemented in the "as a 26 - Ability to layer this libc over the system libc if possible and desired 42 to test llvm-libc against another battle-tested libc. This is 45 battle-tested libc implementation. 50 Implementing a libc is no small task and is not be taken lightly. A 55 - Most libc implementations are monolithic. It is a non-trivial [all …]
|
/external/llvm-project/libc/src/signal/linux/ |
D | CMakeLists.txt | 10 libc.config.linux.linux_syscall_h 11 libc.include.signal 12 libc.include.sys_syscall 28 libc.config.linux.linux_syscall_h 29 libc.include.sys_syscall 41 libc.config.linux.linux_syscall_h 42 libc.include.signal 43 libc.include.sys_syscall 44 libc.src.errno.__errno_location 55 libc.config.linux.linux_syscall_h [all …]
|
/external/libcxx/docs/ |
D | UsingLibcxx.rst | 2 Using libc++ 11 If you already have libc++ installed you can use it with clang. 15 $ clang++ -stdlib=libc++ test.cpp 16 $ clang++ -std=c++11 -stdlib=libc++ test.cpp 18 On OS X and FreeBSD libc++ is the default standard library 19 and the ``-stdlib=libc++`` is not required. 23 If you want to select an alternate installation of libc++ you 28 $ clang++ -std=c++11 -stdlib=libc++ -nostdinc++ \ 35 search path. Meaning that the systems dynamic linker will look for libc++ in 44 $ clang++ -stdlib=libc++ -nostdinc++ \ [all …]
|
D | BuildingLibcxx.rst | 4 Building libc++ 19 The basic steps needed to build libc++ are: 26 #. Checkout libc++: 32 #. Checkout libc++abi: 38 #. Configure and build libc++ with libc++abi: 42 Clang is the preferred compiler when building and using libc++. 49 For more information about configuring libc++ see :ref:`CMake Options`. 51 * ``make cxx`` --- will build libc++ and libc++abi. 54 Shared libraries for libc++ and libc++ abi should now be present in llvm/build/lib. 55 See :ref:`using an alternate libc++ installation <alternate libcxx>` [all …]
|
/external/rust/crates/nix/src/sys/socket/ |
D | sockopt.rs | 6 use libc::{self, c_int, c_void, socklen_t}; 34 /// (`libc::SOL_SOCKET`), *ip protocol* (libc::IPPROTO_IP), *tcp protocol* (`libc::IPPROTO_TCP`), 37 /// * `$flag:path`: a flag name to set. Some examples: `libc::SO_REUSEADDR`, `libc::TCP_NODELAY`, 38 /// `libc::IP_ADD_MEMBERSHIP` and others. Will be passed as the third argument (`option_name`) 52 let res = libc::setsockopt(fd, $level, $flag, 75 /// protocol* (libc::IPPROTO_IP), *tcp protocol* (`libc::IPPROTO_TCP`), and more. Please refer 78 /// * A flag to set. Some examples: `libc::SO_REUSEADDR`, `libc::TCP_NODELAY`, 79 /// `libc::SO_ORIGINAL_DST` and others. Will be passed as the third argument (`option_name`) to 93 let res = libc::getsockopt(fd, $level, $flag, 121 /// (`lic::SOL_SOCKET`), *ip protocol* (libc::IPPROTO_IP), *tcp protocol* (`libc::IPPROTO_TCP`), [all …]
|
/external/llvm-project/libcxx/docs/ |
D | UsingLibcxx.rst | 2 Using libc++ 11 If you already have libc++ installed you can use it with clang. 15 $ clang++ -stdlib=libc++ test.cpp 16 $ clang++ -std=c++11 -stdlib=libc++ test.cpp 18 On macOS and FreeBSD libc++ is the default standard library 19 and the ``-stdlib=libc++`` is not required. 23 If you want to select an alternate installation of libc++ you 28 $ clang++ -std=c++11 -stdlib=libc++ -nostdinc++ \ 35 search path. Meaning that the systems dynamic linker will look for libc++ in 44 $ clang++ -stdlib=libc++ -nostdinc++ \ [all …]
|
D | BuildingLibcxx.rst | 4 Building libc++ 20 (optionally) install libc++ and libc++abi. 22 If your system already provides a libc++ installation it is important to be 24 ``CMAKE_INSTALL_PREFIX`` to select a safe place to install libc++. 27 * Replacing your systems libc++ installation could render the system non-functional. 28 * macOS will not boot without a valid copy of ``libc++.1.dylib`` in ``/usr/lib``. 43 For more information about configuring libc++ see :ref:`CMake Options`. You may 47 Shared libraries for libc++ and libc++ abi should now be present in 48 ``build/lib``. See :ref:`using an alternate libc++ installation <alternate 49 libcxx>` for information on how to use this libc++. [all …]
|
/external/rust/crates/parking_lot_core/src/thread_parker/ |
D | unix.rs | 15 use libc; 25 type tv_nsec_t = libc::c_long; 30 mutex: UnsafeCell<libc::pthread_mutex_t>, 31 condvar: UnsafeCell<libc::pthread_cond_t>, 44 mutex: UnsafeCell::new(libc::PTHREAD_MUTEX_INITIALIZER), in new() 45 condvar: UnsafeCell::new(libc::PTHREAD_COND_INITIALIZER), in new() 64 let r = libc::pthread_mutex_lock(self.mutex.get()); in timed_out() 67 let r = libc::pthread_mutex_unlock(self.mutex.get()); in timed_out() 74 let r = libc::pthread_mutex_lock(self.mutex.get()); in park() 77 let r = libc::pthread_cond_wait(self.condvar.get(), self.mutex.get()); in park() [all …]
|
/external/llvm-project/libc/src/threads/linux/ |
D | CMakeLists.txt | 19 libc.config.linux.linux_syscall_h 20 libc.include.sys_syscall 21 libc.include.threads 40 libc.config.linux.linux_syscall_h 41 libc.include.errno 42 libc.include.sys_syscall 43 libc.include.threads 44 libc.src.__support.common 45 libc.src.errno.__errno_location 46 libc.src.sys.mman.mmap [all …]
|
/external/llvm-project/libc/test/src/threads/ |
D | CMakeLists.txt | 10 libc.include.threads 11 libc.src.threads.call_once 12 libc.src.threads.mtx_init 13 libc.src.threads.mtx_lock 14 libc.src.threads.mtx_unlock 15 libc.src.threads.thrd_create 16 libc.src.threads.thrd_join 26 libc.include.threads 27 libc.src.errno.__errno_location 28 libc.src.threads.thrd_create [all …]
|
/external/crosvm/devices/src/virtio/fs/ |
D | passthrough.rs | 119 ino: libc::ino64_t, 120 dev: libc::dev_t, 130 impl From<libc::mode_t> for FileType { 131 fn from(mode: libc::mode_t) -> Self { in from() 132 match mode & libc::S_IFMT { in from() 133 libc::S_IFREG => FileType::Regular, in from() 134 libc::S_IFDIR => FileType::Directory, in from() 143 file: Mutex<(File, libc::c_int)>, 185 // libc uses signals to ensure that when one thread changes its 195 let res = unsafe { libc::syscall($syscall_nr, -1, val, -1) }; [all …]
|
/external/vm_tools/p9/src/server/ |
D | mod.rs | 42 // Mapping from 9P flags to libc flags. 44 (P9_WRONLY, libc::O_WRONLY), 45 (P9_RDWR, libc::O_RDWR), 46 (P9_CREATE, libc::O_CREAT), 47 (P9_EXCL, libc::O_EXCL), 48 (P9_NOCTTY, libc::O_NOCTTY), 49 (P9_TRUNC, libc::O_TRUNC), 50 (P9_APPEND, libc::O_APPEND), 51 (P9_NONBLOCK, libc::O_NONBLOCK), 52 (P9_DSYNC, libc::O_DSYNC), [all …]
|
/external/crosvm/sys_util/src/ |
D | signal.rs | 5 use libc::{ 107 Abort = libc::SIGABRT, 108 Alarm = libc::SIGALRM, 109 Bus = libc::SIGBUS, 110 Child = libc::SIGCHLD, 111 Continue = libc::SIGCONT, 112 ExceededFileSize = libc::SIGXFSZ, 113 FloatingPointException = libc::SIGFPE, 114 HangUp = libc::SIGHUP, 115 IllegalInstruction = libc::SIGILL, [all …]
|