/third_party/rust/crates/rustix/src/backend/linux_raw/termios/ |
D | types.rs | 125 pub const IGNBRK: c::c_uint = linux_raw_sys::general::IGNBRK; 128 pub const BRKINT: c::c_uint = linux_raw_sys::general::BRKINT; 131 pub const IGNPAR: c::c_uint = linux_raw_sys::general::IGNPAR; 134 pub const PARMRK: c::c_uint = linux_raw_sys::general::PARMRK; 137 pub const INPCK: c::c_uint = linux_raw_sys::general::INPCK; 140 pub const ISTRIP: c::c_uint = linux_raw_sys::general::ISTRIP; 143 pub const INLCR: c::c_uint = linux_raw_sys::general::INLCR; 146 pub const IGNCR: c::c_uint = linux_raw_sys::general::IGNCR; 149 pub const ICRNL: c::c_uint = linux_raw_sys::general::ICRNL; 152 pub const IUCLC: c::c_uint = linux_raw_sys::general::IUCLC; [all …]
|
D | syscalls.rs | 9 use super::super::conv::{by_ref, c_uint, ret}; 30 ret(syscall!(__NR_ioctl, fd, c_uint(TIOCGWINSZ), &mut result))?; in tcgetwinsize() 39 ret(syscall!(__NR_ioctl, fd, c_uint(TCGETS), &mut result))?; in tcgetattr() 48 ret(syscall!(__NR_ioctl, fd, c_uint(TIOCGPGRP), &mut result))?; in tcgetpgrp() 74 c_uint(request as u32), in tcsetattr() 82 unsafe { ret(syscall_readonly!(__NR_ioctl, fd, c_uint(TCSBRK), c_uint(0))) } in tcsendbreak() 87 unsafe { ret(syscall_readonly!(__NR_ioctl, fd, c_uint(TCSBRK), c_uint(1))) } in tcdrain() 96 c_uint(TCFLSH), in tcflush() 97 c_uint(queue_selector as u32) in tcflush() 108 c_uint(TCXONC), in tcflow() [all …]
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
D | issue-816.rs | 116 pub fn bit_1(&self) -> ::std::os::raw::c_uint { in bit_1() argument 122 pub fn set_bit_1(&mut self, val: ::std::os::raw::c_uint) { in set_bit_1() argument 129 pub fn bit_2(&self) -> ::std::os::raw::c_uint { in bit_2() argument 135 pub fn set_bit_2(&mut self, val: ::std::os::raw::c_uint) { in set_bit_2() argument 142 pub fn bit_3(&self) -> ::std::os::raw::c_uint { in bit_3() argument 148 pub fn set_bit_3(&mut self, val: ::std::os::raw::c_uint) { in set_bit_3() argument 155 pub fn bit_4(&self) -> ::std::os::raw::c_uint { in bit_4() argument 161 pub fn set_bit_4(&mut self, val: ::std::os::raw::c_uint) { in set_bit_4() argument 168 pub fn bit_5(&self) -> ::std::os::raw::c_uint { in bit_5() argument 174 pub fn set_bit_5(&mut self, val: ::std::os::raw::c_uint) { in set_bit_5() argument [all …]
|
D | bitfield_align.rs | 131 pub fn b1(&self) -> ::std::os::raw::c_uint { in b1() argument 137 pub fn set_b1(&mut self, val: ::std::os::raw::c_uint) { in set_b1() argument 144 pub fn b2(&self) -> ::std::os::raw::c_uint { in b2() argument 150 pub fn set_b2(&mut self, val: ::std::os::raw::c_uint) { in set_b2() argument 157 pub fn b3(&self) -> ::std::os::raw::c_uint { in b3() argument 163 pub fn set_b3(&mut self, val: ::std::os::raw::c_uint) { in set_b3() argument 170 pub fn b4(&self) -> ::std::os::raw::c_uint { in b4() argument 176 pub fn set_b4(&mut self, val: ::std::os::raw::c_uint) { in set_b4() argument 183 pub fn b5(&self) -> ::std::os::raw::c_uint { in b5() argument 189 pub fn set_b5(&mut self, val: ::std::os::raw::c_uint) { in set_b5() argument [all …]
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/ |
D | cms.rs | 4 pub const CMS_TEXT: c_uint = 0x1; 6 pub const CMS_NOCERTS: c_uint = 0x2; 8 pub const CMS_NO_CONTENT_VERIFY: c_uint = 0x4; 10 pub const CMS_NO_ATTR_VERIFY: c_uint = 0x8; 12 pub const CMS_NOSIGS: c_uint = 0x4 | 0x8; 14 pub const CMS_NOINTERN: c_uint = 0x10; 16 pub const CMS_NO_SIGNER_CERT_VERIFY: c_uint = 0x20; 18 pub const CMS_NOVERIFY: c_uint = 0x20; 20 pub const CMS_DETACHED: c_uint = 0x40; 22 pub const CMS_BINARY: c_uint = 0x80; [all …]
|
/third_party/rust/crates/clang-sys/src/ |
D | lib.rs | 43 pub type CXInclusionVisitor = extern "C" fn(CXFile, *mut CXSourceLocation, c_uint, CXClientData); 1350 pub NumResults: c_uint, 1425 pub numBases: c_uint, 1452 pub numAttributes: c_uint, 1453 pub flags: c_uint, 1468 pub numAttributes: c_uint, 1528 pub int_data: c_uint, 1588 pub numProtocols: c_uint, 1610 pub int_data: c_uint, 1619 pub begin_int_data: c_uint, [all …]
|
/third_party/rust/crates/rustix/src/backend/libc/termios/ |
D | types.rs | 141 pub const IGNBRK: c::c_uint = c::IGNBRK; 145 pub const BRKINT: c::c_uint = c::BRKINT; 149 pub const IGNPAR: c::c_uint = c::IGNPAR; 153 pub const PARMRK: c::c_uint = c::PARMRK; 157 pub const INPCK: c::c_uint = c::INPCK; 161 pub const ISTRIP: c::c_uint = c::ISTRIP; 165 pub const INLCR: c::c_uint = c::INLCR; 169 pub const IGNCR: c::c_uint = c::IGNCR; 173 pub const ICRNL: c::c_uint = c::ICRNL; 177 pub const IUCLC: c::c_uint = c::IUCLC; [all …]
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/ |
D | mod.rs | 2 pub type __priority_which_t = ::c_uint; 3 pub type __rlimit_resource_t = ::c_uint; 159 pub nm_block_size: ::c_uint, 160 pub nm_block_nr: ::c_uint, 161 pub nm_frame_size: ::c_uint, 162 pub nm_frame_nr: ::c_uint, 166 pub nm_status: ::c_uint, 167 pub nm_len: ::c_uint, 196 pub modes: ::c_uint, 672 pub const PIDFD_NONBLOCK: ::c_uint = O_NONBLOCK as ::c_uint; [all …]
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/ |
D | mod.rs | 240 pub modes: ::c_uint, 284 pub mem_unit: ::c_uint, 323 pub ut_addr_v6: [::c_uint; 4], 522 pub const BUFSIZ: ::c_uint = 1024; 523 pub const TMP_MAX: ::c_uint = 10000; 524 pub const FOPEN_MAX: ::c_uint = 1000; 525 pub const FILENAME_MAX: ::c_uint = 4096; 582 pub const FAN_MARK_INODE: ::c_uint = 0x0000_0000; 583 pub const FAN_MARK_MOUNT: ::c_uint = 0x0000_0010; 585 pub const FAN_MARK_FILESYSTEM: ::c_uint = 0x0000_0100; [all …]
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
D | conv.rs | 176 pass_usize(fd as c::c_uint as usize) in raw_fd() 252 pub(super) fn c_uint<'a, Num: ArgNumber>(i: c::c_uint) -> ArgReg<'a, Num> { in c_uint() function 312 c_uint(flags.bits()) in from() 320 c_uint(flags.bits()) in from() 328 c_uint(flags.bits()) in from() 336 c_uint(flags.bits()) in from() 343 c_uint(flags.bits()) in from() 350 c_uint(flags.bits()) in from() 357 c_uint(flags.bits()) in from() 364 c_uint(flags.bits()) in from() [all …]
|
/third_party/python/Lib/lib2to3/tests/data/ |
D | infinite_recursion.py | 27 __uint32_t = c_uint 31 __darwin_natural_t = c_uint 59 ('sc_eax', c_uint), 60 ('sc_ebx', c_uint), 61 ('sc_ecx', c_uint), 62 ('sc_edx', c_uint), 63 ('sc_edi', c_uint), 64 ('sc_esi', c_uint), 65 ('sc_ebp', c_uint), 66 ('sc_esp', c_uint), [all …]
|
/third_party/rust/crates/libc/libc-test/test/ |
D | makedev.rs | 17 use libc::{self, c_uint, dev_t}; 20 pub fn makedev_ffi(major: c_uint, minor: c_uint) -> dev_t; in makedev_ffi() argument 23 fn compare(major: c_uint, minor: c_uint) { in compare() argument 62 compare(major, c_uint::MAX); in test_fbsd11_like() 97 compare(major, c_uint::MAX); in test_fbsd12_like() 99 compare(c_uint::MAX, c_uint::MAX); in test_fbsd12_like()
|
/third_party/rust/crates/libc/src/unix/nto/ |
D | neutrino.rs | 5 pub value: ::c_uint, // volatile 63 pub num_pulses: ::c_uint, 64 pub rearm_threshold: ::c_uint, 65 pub options: ::c_uint, 66 reserved: [::c_uint; 3], 134 pub length: ::c_uint, 135 pub scale: ::c_uint, 139 pub hook_size: ::c_uint, 140 pub cmd: ::c_uint, 141 pub mode: ::c_uint, [all …]
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 14 pub type idtype_t = ::c_uint; 16 pub type pthread_key_t = ::c_uint; 22 pub type __u32 = ::c_uint; 164 pub if_index: ::c_uint, 487 pub ipi6_ifindex: ::c_uint, 514 pub svm_port: ::c_uint, 515 pub svm_cid: ::c_uint, 1215 pub const L_tmpnam: ::c_uint = 20; 1788 pub const RENAME_NOREPLACE: ::c_uint = 1; 1789 pub const RENAME_EXCHANGE: ::c_uint = 2; [all …]
|
/third_party/rust/crates/libc/src/unix/linux_like/ |
D | mod.rs | 2 pub type speed_t = ::c_uint; 3 pub type tcflag_t = ::c_uint; 7 pub type id_t = ::c_uint; 164 pub ifa_flags: ::c_uint, 209 pub msg_len: ::c_uint, 1203 pub const SPLICE_F_MOVE: ::c_uint = 0x01; 1204 pub const SPLICE_F_NONBLOCK: ::c_uint = 0x02; 1205 pub const SPLICE_F_MORE: ::c_uint = 0x04; 1206 pub const SPLICE_F_GIFT: ::c_uint = 0x08; 1230 pub const SI_LOAD_SHIFT: ::c_uint = 16; [all …]
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
D | ssl.rs | 15 session_id_length: c_uint, 17 sid_ctx_length: c_uint, 39 session_id_length: c_uint, 41 sid_ctx_length: c_uint, 69 key_arg_length: c_uint, 73 session_id_length: c_uint, 75 sid_ctx_length: c_uint, 78 krb5_client_princ_len: c_uint, 92 compress_meth: c_uint, 160 ext_type: c_uint, [all …]
|
D | types.rs | 140 key_length: c_uint, 490 sid_ctx_length: c_uint, 500 max_send_fragment: c_uint, 531 packet_length: c_uint, 557 sid_ctx_length: c_uint, 577 max_send_fragment: c_uint, 604 tlsext_heartbeat: c_uint, 605 tlsext_hb_pending: c_uint, 606 tlsext_hb_seq: c_uint, 608 alpn_client_proto_list_len: c_uint, [all …]
|
/third_party/rust/crates/libc/src/unix/newlib/horizon/ |
D | mod.rs | 7 pub type wchar_t = ::c_uint; 9 pub type u_register_t = ::c_uint; 12 pub type u_int = ::c_uint; 15 pub type uint = ::c_uint; 121 pub const CLOCK_ENABLED: ::c_uint = 1; 122 pub const CLOCK_DISABLED: ::c_uint = 0; 123 pub const CLOCK_ALLOWED: ::c_uint = 1; 124 pub const CLOCK_DISALLOWED: ::c_uint = 0; 125 pub const TIMER_ABSTIME: ::c_uint = 4; 134 pub const SOL_CONFIG: ::c_uint = 65534; [all …]
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
D | types.rs | 10 pub struct FdFlags: c::c_uint { 21 pub struct ReadWriteFlags: c::c_uint { 38 pub struct SpliceFlags: c::c_uint { 54 pub struct DupFlags: c::c_uint { 64 pub struct PipeFlags: c::c_uint { 78 pub struct EventfdFlags: c::c_uint { 92 pub(crate) const STDIN_FILENO: c::c_uint = linux_raw_sys::general::STDIN_FILENO; 93 pub(crate) const STDOUT_FILENO: c::c_uint = linux_raw_sys::general::STDOUT_FILENO; 94 pub(crate) const STDERR_FILENO: c::c_uint = linux_raw_sys::general::STDERR_FILENO;
|
D | syscalls.rs | 13 by_ref, c_int, c_uint, opt_mut, pass_usize, raw_fd, ret, ret_c_uint, ret_discarded_fd, 302 unsafe { ret_owned_fd(syscall_readonly!(__NR_eventfd2, c_uint(initval), flags)) } in eventfd() 309 ret(syscall!(__NR_ioctl, fd, c_uint(FIONREAD), &mut result))?; in ioctl_fionread() 321 c_uint(FIONBIO), in ioctl_fionbio() 329 unsafe { ret(syscall_readonly!(__NR_ioctl, fd, c_uint(TIOCEXCL))) } in ioctl_tiocexcl() 334 unsafe { ret(syscall_readonly!(__NR_ioctl, fd, c_uint(TIOCNXCL))) } in ioctl_tiocnxcl() 339 let mut result = MaybeUninit::<c::c_uint>::uninit(); in ioctl_blksszget() 341 ret(syscall!(__NR_ioctl, fd, c_uint(BLKSSZGET), &mut result))?; in ioctl_blksszget() 348 let mut result = MaybeUninit::<c::c_uint>::uninit(); in ioctl_blkpbszget() 350 ret(syscall!(__NR_ioctl, fd, c_uint(BLKPBSZGET), &mut result))?; in ioctl_blkpbszget() [all …]
|
/third_party/rust/crates/rustix/src/backend/linux_raw/process/ |
D | syscalls.rs | 11 by_mut, by_ref, c_int, c_uint, negative_pid, pass_usize, ret, ret_c_int, ret_c_uint, 53 c_uint(0) in membarrier_query() 71 unsafe { ret(syscall!(__NR_membarrier, cmd, c_uint(0))) } in membarrier() 80 c_uint(membarrier_cmd_flag::MEMBARRIER_CMD_FLAG_CPU as _), in membarrier_cpu() 107 ret_usize(syscall_readonly!(__NR_getpgid, c_uint(Pid::as_raw(pid))))? as __kernel_pid_t; in getpgid() 128 ret_usize_infallible(syscall_readonly!(__NR_getpgid, c_uint(0))) as __kernel_pid_t; in getpgrp() 201 c_uint(Pid::as_raw(pid)), in sched_getaffinity() 218 c_uint(Pid::as_raw(pid)), in sched_setaffinity() 264 c_uint(PRIO_USER), in getpriority_user() 265 c_uint(uid.as_raw()) in getpriority_user() [all …]
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/x86_64/ |
D | mod.rs | 286 pub mxcsr: ::c_uint, 287 pub mxcr_mask: ::c_uint, 288 pub st_space: [::c_uint; 32], 289 pub xmm_space: [::c_uint; 64], 290 padding: [::c_uint; 24], 545 pub const PTRACE_DETACH: ::c_uint = 17; 546 pub const PTRACE_GET_RSEQ_CONFIGURATION: ::c_uint = 0x420f; 628 pub const PTRACE_GETFPREGS: ::c_uint = 14; 629 pub const PTRACE_SETFPREGS: ::c_uint = 15; 630 pub const PTRACE_GETFPXREGS: ::c_uint = 18; [all …]
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
D | syscalls.rs | 12 by_ref, c_int, c_uint, dev_t, oflags_for_open_how, opt_mut, pass_usize, raw_fd, ret, ret_c_int, 162 c_uint(ow), in chownat() 163 c_uint(gr), in chownat() 173 ret(syscall_readonly!(__NR_fchown, fd, c_uint(ow), c_uint(gr))) in fchown() 222 pub(crate) fn _seek(fd: BorrowedFd<'_>, offset: i64, whence: c::c_uint) -> io::Result<u64> { in _seek() 234 c_uint(whence) in _seek() 244 c_uint(whence) in _seek() 407 unsafe { ret(syscall!(__NR_flock, fd, c_uint(operation as c::c_uint))) } in flock() 470 c_uint(0) in stat() 487 c_uint(0) in stat_old() [all …]
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io_uring/ |
D | syscalls.rs | 9 use super::super::conv::{by_mut, c_uint, pass_usize, ret, ret_c_uint, ret_owned_fd}; 20 c_uint(entries), in io_uring_setup() 36 c_uint(opcode as u32), in io_uring_register() 38 c_uint(nr_args) in io_uring_register() 57 c_uint(to_submit), in io_uring_enter() 58 c_uint(min_complete), in io_uring_enter()
|
/third_party/rust/crates/linux-raw-sys/src/ |
D | lib.rs | 27 pub type c_uint = u32; typedef 54 static_assertions::assert_type_eq_all!(ctypes::c_uint, libc::c_uint); 83 use crate::ctypes::{c_long, c_uint, c_uchar}; 88 pub unsafe fn CMSG_ALIGN(len: c_uint) -> c_uint { in CMSG_ALIGN() argument 89 let c_long_size = size_of::<c_long>() as c_uint; in CMSG_ALIGN() 97 pub unsafe fn CMSG_SPACE(len: c_uint) -> c_uint { in CMSG_SPACE() argument 98 size_of::<cmsghdr>() as c_uint + CMSG_ALIGN(len) in CMSG_SPACE() 101 pub unsafe fn CMSG_LEN(len: c_uint) -> c_uint { in CMSG_LEN() argument 102 size_of::<cmsghdr>() as c_uint + len in CMSG_LEN()
|