MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / pass_usize

Function pass_usize

src/backend/linux_raw/conv.rs:104–106  ·  view source on GitHub ↗
(t: usize)

Source from the content-addressed store, hash-verified

102/// pointer instead of casting to `usize`, so that provenance is preserved.
103#[inline]
104pub(super) fn pass_usize<'a, Num: ArgNumber>(t: usize) -> ArgReg<'a, Num> {
105 raw_arg(t as *mut _)
106}
107
108impl<'a, Num: ArgNumber, T> From<*mut T> for ArgReg<'a, Num> {
109 #[inline]

Callers 15

x86_sysFunction · 0.85
loFunction · 0.85
hiFunction · 0.85
size_ofFunction · 0.85
raw_fdFunction · 0.85
no_fdFunction · 0.85
sliceFunction · 0.85
slice_mutFunction · 0.85
c_intFunction · 0.85
c_uintFunction · 0.85
loff_tFunction · 0.85
loff_t_from_u64Function · 0.85

Calls 1

raw_argFunction · 0.85

Tested by

no test coverage detected