Home
last modified time | relevance | path

Searched refs:assume_init (Results 1 – 25 of 64) sorted by relevance

123

/external/rust/crates/tokio/src/net/unix/
Ducred.rs125 uid: uid.assume_init(), in get_peer_cred()
126 gid: gid.assume_init(), in get_peer_cred()
166 assert!(pid_size.assume_init() == (size_of::<pid_t>() as u32)); in get_peer_cred()
172 uid: uid.assume_init(), in get_peer_cred()
173 gid: gid.assume_init(), in get_peer_cred()
174 pid: Some(pid.assume_init()), in get_peer_cred()
/external/rust/crates/nix/src/sys/socket/
Dsockopt.rs98 Ok(getter.assume_init())
389 unsafe fn assume_init(self) -> T; in assume_init() method
426 unsafe fn assume_init(self) -> T { in assume_init() method
428 self.val.assume_init() in assume_init()
473 unsafe fn assume_init(self) -> bool { in assume_init() method
475 self.val.assume_init() != 0 in assume_init()
520 unsafe fn assume_init(self) -> u8 { in assume_init() method
522 self.val.assume_init() in assume_init()
567 unsafe fn assume_init(self) -> usize { in assume_init() method
569 self.val.assume_init() as usize in assume_init()
[all …]
/external/rust/crates/half/src/binary16/
Dconvert.rs423 let retval = _mm_cvtph_ps(vec.assume_init()); in f16_to_f32_x86_f16c()
432 let retval = _mm_cvtps_ph(vec.assume_init(), _MM_FROUND_TO_NEAREST_INT); in f32_to_f16_x86_f16c()
443 let retval = _mm_cvtph_ps(vec.assume_init());
454 let retval = _mm_cvtps_ph(vec.assume_init(), _MM_FROUND_TO_NEAREST_INT);
465 let retval = _mm_cvtph_ps(vec.assume_init());
488 let retval = _mm_cvtps_ph(vec.assume_init(), _MM_FROUND_TO_NEAREST_INT);
/external/rust/cxx/src/
Dshared_ptr.rs34 shared_ptr.assume_init() in null()
47 shared_ptr.assume_init() in new()
81 weak_ptr.assume_init() in downgrade()
99 shared_ptr.assume_init() in clone()
Dweak_ptr.rs35 weak_ptr.assume_init() in null()
52 shared_ptr.assume_init() in upgrade()
70 weak_ptr.assume_init() in clone()
/external/rust/crates/ryu/src/
Dd2s.rs171 vp = unsafe { vp_uninit.assume_init() }; in d2d()
172 vm = unsafe { vm_uninit.assume_init() }; in d2d()
230 vp = unsafe { vp_uninit.assume_init() }; in d2d()
231 vm = unsafe { vm_uninit.assume_init() }; in d2d()
/external/rust/crates/nix/src/
Dmqueue.rs58 MqAttr { mq_attr: attr.assume_init() } in new()
139 Errno::result(res).map(|_| unsafe{MqAttr { mq_attr: attr.assume_init() }}) in mq_getattr()
152 Errno::result(res).map(|_| unsafe{ MqAttr { mq_attr: attr.assume_init() }}) in mq_setattr()
Difaddrs.rs131 base: addrs.assume_init(), in getifaddrs()
132 next: addrs.assume_init(), in getifaddrs()
Dpty.rs292 master: master.assume_init(), in openpty()
293 slave: slave.assume_init(), in openpty()
337 master: master.assume_init(), in forkpty()
Dtime.rs213 let res = unsafe { c_time.assume_init() }; in clock_getres()
223 let res = unsafe { c_time.assume_init() }; in clock_gettime()
255 let res = unsafe { clk_id.assume_init() }; in clock_getcpuclockid()
Ducontext.rs21 UContext { context: context.assume_init()} in get()
/external/rust/crates/nix/src/sys/
Dstat.rs89 Ok(unsafe{dst.assume_init()}) in stat()
102 Ok(unsafe{dst.assume_init()}) in lstat()
111 Ok(unsafe{dst.assume_init()}) in fstat()
123 Ok(unsafe{dst.assume_init()}) in fstatat()
Dstatvfs.rs132 Errno::result(res).map(|_| Statvfs(stat.assume_init())) in statvfs()
142 .map(|_| Statvfs(stat.assume_init())) in fstatvfs()
Dsignal.rs417 unsafe{ SigSet { sigset: sigset.assume_init() } } in all()
424 unsafe{ SigSet { sigset: sigset.assume_init() } } in empty()
461 Ok(unsafe{ SigSet{sigset: oldmask.assume_init()}}) in thread_get_mask()
483 Ok(unsafe{ SigSet{sigset: oldmask.assume_init()}}) in thread_swap_mask()
494 Signal::try_from(signum.assume_init()).unwrap() in wait()
564 SigAction { sigaction: s.assume_init() } in new()
619 Errno::result(res).map(|_| SigAction { sigaction: oldact.assume_init() }) in sigaction()
857 let mut sev = unsafe { mem::MaybeUninit::<libc::sigevent>::zeroed().assume_init() }; in new()
Dutsname.rs36 UtsName(ret.assume_init()) in uname()
Dsysinfo.rs78 Errno::result(res).map(|_| unsafe{ SysInfo(info.assume_init()) }) in sysinfo()
/external/rust/crates/crossbeam-epoch/src/
Ddeferred.rs49 data: data.assume_init(), in new()
67 data: data.assume_init(), in new()
/external/rust/crates/tokio/src/sync/mpsc/
Dblock.rs133 Some(Read::Value(value.assume_init())) in read()
377 Values(vals.assume_init()) in uninitialized()
/external/rust/crates/parking_lot_core/src/thread_parker/
Dunix.rs193 let now = unsafe { now.assume_init() }; in timespec_now()
213 unsafe { now.assume_init() } in timespec_now()
/external/rust/crates/tokio/src/net/
Dudp.rs678 buf.assume_init(n); in poll_recv()
1066 buf.assume_init(n); in poll_recv_from()
1205 buf.assume_init(n); in poll_peek_from()
/external/rust/crates/mio/src/sys/windows/
Dudp.rs51 let optval = unsafe { optval.assume_init() }; in only_v6()
/external/rust/crates/crossbeam-deque/src/
Ddeque.rs1108 unsafe { MaybeUninit::zeroed().assume_init() } in new()
1366 let task = slot.task.get().read().assume_init(); in steal()
1489 let task = slot.task.get().read().assume_init(); in steal_batch()
1501 let task = slot.task.get().read().assume_init(); in steal_batch()
1643 let task = slot.task.get().read().assume_init(); in steal_batch_and_pop()
1652 let task = slot.task.get().read().assume_init(); in steal_batch_and_pop()
1665 let task = slot.task.get().read().assume_init(); in steal_batch_and_pop()
/external/rust/crates/tokio/src/io/util/
Dvec_with_initialized.rs88 read_buf.assume_init(num_initialized); in get_read_buf()
Dtake.rs94 buf.assume_init(n); in poll_read()
/external/rust/crates/mio/src/sys/unix/uds/
Dlistener.rs36 let mut sockaddr = unsafe { sockaddr.assume_init() }; in accept()

123