Searched refs:to_ptr (Results 1 – 2 of 2) sorted by relevance
146 #define to_ptr(T, x) ((T *)(uintptr_t)(x)) in trace_exec() macro148 to_ptr(typeof(*exec_objects), execbuffer2->buffers_ptr); in trace_exec()167 to_ptr(typeof(*relocs), obj->relocs_ptr); in trace_exec()186 #undef to_ptr in trace_exec()
347 fn to_ptr(self, is_const: bool) -> proc_macro2::TokenStream; in to_ptr() method351 fn to_ptr(self, is_const: bool) -> proc_macro2::TokenStream { in to_ptr() method1740 .to_ptr(true); in codegen()3468 TypeKind::NullPtr => Ok(c_void(ctx).to_ptr(true)), in try_to_rust_ty()3573 return Ok(void.to_ptr(/* is_const = */ false)); in try_to_rust_ty()3627 Ok(ty.to_ptr(is_const)) in try_to_rust_ty()4580 stream.to_ptr(ctx.resolve_type(t).is_const()) in fnsig_arguments()