Home
last modified time | relevance | path

Searched refs:read_unaligned (Results 1 – 10 of 10) sorted by relevance

/third_party/rust/crates/memchr/src/memmem/
Dutil.rs76 let vx = (px as *const u32).read_unaligned(); in memcmp()
77 let vy = (py as *const u32).read_unaligned(); in memcmp()
84 let vx = (pxend as *const u32).read_unaligned(); in memcmp()
85 let vy = (pyend as *const u32).read_unaligned(); in memcmp()
/third_party/rust/crates/aho-corasick/src/packed/
Dpattern.rs305 let v1 = (p1 as *const u64).read_unaligned(); in equals()
306 let v2 = (p2 as *const u64).read_unaligned(); in equals()
313 let v1 = (p1end as *const u64).read_unaligned(); in equals()
314 let v2 = (p2end as *const u64).read_unaligned(); in equals()
/third_party/rust/crates/memchr/src/memchr/
Dfallback.rs60 let chunk = (ptr as *const usize).read_unaligned(); in memchr()
99 let chunk = (ptr as *const usize).read_unaligned(); in memchr2()
140 let chunk = (ptr as *const usize).read_unaligned(); in memchr3()
182 let chunk = (ptr.sub(USIZE_BYTES) as *const usize).read_unaligned(); in memrchr()
220 let chunk = (ptr.sub(USIZE_BYTES) as *const usize).read_unaligned(); in memrchr2()
260 let chunk = (ptr.sub(USIZE_BYTES) as *const usize).read_unaligned(); in memrchr3()
/third_party/rust/crates/nix/src/sys/socket/
Dmod.rs873 fds.push(ptr::read_unaligned(fdp));
879 let cred: libc::ucred = ptr::read_unaligned(p as *const _);
884 let cred: libc::cmsgcred = ptr::read_unaligned(p as *const _);
889 let tv: libc::timeval = ptr::read_unaligned(p as *const _);
894 let ts: libc::timespec = ptr::read_unaligned(p as *const _);
900 let ts: libc::timespec = ptr::read_unaligned(tp);
902 let ts: libc::timespec = ptr::read_unaligned(tp.add(1));
904 let ts: libc::timespec = ptr::read_unaligned(tp.add(2));
918 let info = ptr::read_unaligned(p as *const libc::in6_pktinfo);
930 let info = ptr::read_unaligned(p as *const libc::in_pktinfo);
[all …]
Daddr.rs1302 Some(Self(ptr::read_unaligned(addr as *const _))) in from_raw()
1421 Some(Self(ptr::read_unaligned(addr as *const _))) in from_raw()
2127 InetAddr::V4(ptr::read_unaligned(addr as *const _)), in from_libc_sockaddr()
2131 InetAddr::V6(ptr::read_unaligned(addr as *const _)), in from_libc_sockaddr()
2135 NetlinkAddr(ptr::read_unaligned(addr as *const _)), in from_libc_sockaddr()
2142 SysControlAddr(ptr::read_unaligned(addr as *const _)), in from_libc_sockaddr()
2147 ptr::read_unaligned(addr as *const _), in from_libc_sockaddr()
2161 LinkAddr(ptr::read_unaligned(addr as *const _)); in from_libc_sockaddr()
2170 ptr::read_unaligned(addr as *const _), in from_libc_sockaddr()
2389 Some(Self(ptr::read_unaligned(addr as *const _))) in from_raw()
[all …]
/third_party/rust/crates/pin-project-lite/tests/ui/pin_project/
Dpacked.stderr27 …local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unalig…
56 …local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unalig…
/third_party/rust/crates/rustix/src/backend/linux_raw/param/
Dauxv.rs19 use core::ptr::{null_mut, read_unaligned, NonNull};
204 let Elf_auxv_t { a_type, a_val } = read_unaligned(auxp); in init_from_auxp()
/third_party/elfutils/tests/
D.gitignore91 /read_unaligned
DMakefile.am63 getphdrnum leb128 read_unaligned \ program
200 leb128 read_unaligned \
DChangeLog689 * read_unaligned.c: New test.
690 * Makefile.am (check_PROGRAMS, TESTS): Add read_unaligned.