Searched refs:type_safety_check (Results 1 – 1 of 1) sorted by relevance
101 pub(crate) unsafe fn type_safety_check(ptr: *const c_void, tar_type: SafetyCheckId) -> bool { in type_safety_check() function135 type_safety_check(obj as *const _ as *const c_void, typ) in from_ptr()145 if type_safety_check(obj as *const _ as *const c_void, typ) { in get_inner_ref()158 if type_safety_check(obj as *const _ as *const c_void, typ) { in get_inner_mut()