Home
last modified time | relevance | path

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

/external/cronet/base/allocator/partition_allocator/pointers/
Draw_ptr_hookable_impl.h46 struct RawPtrHookableImpl { struct
48 static constexpr bool kMustZeroOnInit = true;
49 static constexpr bool kMustZeroOnMove = true;
50 static constexpr bool kMustZeroOnDestruct = true;
54 PA_ALWAYS_INLINE static constexpr T* WrapRawPtr(T* ptr) { in WrapRawPtr()
63 PA_ALWAYS_INLINE static constexpr void ReleaseWrappedPtr(T* ptr) { in ReleaseWrappedPtr()
72 PA_ALWAYS_INLINE static constexpr T* SafelyUnwrapPtrForDereference( in SafelyUnwrapPtrForDereference()
84 PA_ALWAYS_INLINE static constexpr T* SafelyUnwrapPtrForExtraction( in SafelyUnwrapPtrForExtraction()
96 PA_ALWAYS_INLINE static constexpr T* UnsafelyUnwrapPtrForComparison( in UnsafelyUnwrapPtrForComparison()
107 PA_ALWAYS_INLINE static constexpr To* Upcast(From* wrapped_ptr) { in Upcast()
[all …]