Home
last modified time | relevance | path

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

/third_party/rust/crates/rustix/src/backend/linux_raw/param/
Dmustang_auxv.rs79 pub struct SyncConstPtr<T>(*const T); struct
80 unsafe impl<T> Sync for SyncConstPtr<T> {} implementation
82 impl<T> SyncConstPtr<T> { implementation
96 static mut SYSINFO_EHDR: SyncConstPtr<Elf_Ehdr> = unsafe { SyncConstPtr::new(null()) };
97 static mut PHDR: SyncConstPtr<Elf_Phdr> = unsafe { SyncConstPtr::new(null()) };
99 static mut EXECFN: SyncConstPtr<c::c_char> = unsafe { SyncConstPtr::new(null()) };
136 AT_PHDR => PHDR = SyncConstPtr::new(a_val.cast::<Elf_Phdr>()), in init_from_auxp()
139 AT_EXECFN => EXECFN = SyncConstPtr::new(a_val.cast::<c::c_char>()), in init_from_auxp()
140 AT_SYSINFO_EHDR => SYSINFO_EHDR = SyncConstPtr::new(a_val.cast::<Elf_Ehdr>()), in init_from_auxp()