Home
last modified time | relevance | path

Searched defs:RawPtrHookableImpl (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/pointers/
H A Draw_ptr_hookable_impl.h50 struct RawPtrHookableImpl { struct
52 static constexpr bool kMustZeroOnConstruct = true;
53 static constexpr bool kMustZeroOnMove = true;
54 static constexpr bool kMustZeroOnDestruct = true;
58 PA_ALWAYS_INLINE static constexpr T* WrapRawPtr(T* ptr) { in WrapRawPtr()
69 PA_ALWAYS_INLINE static constexpr void ReleaseWrappedPtr(T* ptr) { in ReleaseWrappedPtr()
80 PA_ALWAYS_INLINE static constexpr T* SafelyUnwrapPtrForDereference( in SafelyUnwrapPtrForDereference()
94 PA_ALWAYS_INLINE static constexpr T* SafelyUnwrapPtrForExtraction( in SafelyUnwrapPtrForExtraction()
108 PA_ALWAYS_INLINE static constexpr T* UnsafelyUnwrapPtrForComparison( in UnsafelyUnwrapPtrForComparison()
121 PA_ALWAYS_INLINE static constexpr To* Upcast(From* wrapped_ptr) { in Upcast()
[all …]