Searched refs:from_i32 (Results 1 – 9 of 9) sorted by relevance
436 fn from_i32(n: i32) -> Option<Self> { in from_i32() method541 fn from_i32(n: i32) -> Option<$T> {657 fn from_i32(i32);
62 pub const fn from_i32(err: i32) -> Errno { in from_i32() method63 from_i32(err) in from_i32()136 ioerror.raw_os_error().map(Errno::from_i32).ok_or(ioerror) in try_from()141 Errno::from_i32(errno()) in last()1266 pub const fn from_i32(e: i32) -> Errno { in from_i32() function1529 pub const fn from_i32(e: i32) -> Errno { in from_i32() function1756 pub const fn from_i32(e: i32) -> Errno { in from_i32() function1973 pub const fn from_i32(e: i32) -> Errno { in from_i32() function2185 pub const fn from_i32(e: i32) -> Errno { in from_i32() function2399 pub const fn from_i32(e: i32) -> Errno { in from_i32() function[all …]
281 Err(Errno::from_i32(ret)) in clock_getcpuclockid()
859 Err(Errno::from_i32(res))879 Ok(errno) => Err(Errno::from_i32(errno)),
3329 return Err(Errno::from_i32(ret));
52 if Errno::from_i32(e.raw_os_error().unwrap()) in test_mount_tmpfs_without_flags_allows_rwx()
164 num if num > 0 => Err(Errno::from_i32(num)), in error()
349 assert_eq_from!(from_i8 from_i16 from_i32 from_i64 from_isize); in newtype_from_primitive()
415 pub const fn from_i32(family: i32) -> Option<AddressFamily> { in from_i32() method1154 AddressFamily::from_i32(unsafe { in family()2123 match AddressFamily::from_i32(i32::from((*addr).sa_family)) { in from_libc_sockaddr()