Searched refs:SyncConstPtr (Results 1 – 1 of 1) sorted by relevance
79 pub struct SyncConstPtr<T>(*const T); struct80 unsafe impl<T> Sync for SyncConstPtr<T> {} implementation82 impl<T> SyncConstPtr<T> { implementation96 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()