Home
last modified time | relevance | path

Searched defs:RawPtrCountingImplForTest (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_counting_impl_for_test.h20 struct RawPtrCountingImplForTest : public base::internal::RawPtrNoOpImpl { struct
21 using SuperImpl = base::internal::RawPtrNoOpImpl;
23 static constexpr bool kMustZeroOnConstruct = false;
24 static constexpr bool kMustZeroOnMove = false;
25 static constexpr bool kMustZeroOnDestruct = false;
28 PA_ALWAYS_INLINE static constexpr T* WrapRawPtr(T* ptr) { in WrapRawPtr()
34 PA_ALWAYS_INLINE static constexpr void ReleaseWrappedPtr(T* ptr) { in ReleaseWrappedPtr()
40 PA_ALWAYS_INLINE static constexpr T* SafelyUnwrapPtrForDereference( in SafelyUnwrapPtrForDereference()
47 PA_ALWAYS_INLINE static constexpr T* SafelyUnwrapPtrForExtraction( in SafelyUnwrapPtrForExtraction()
54 PA_ALWAYS_INLINE static constexpr T* UnsafelyUnwrapPtrForComparison( in UnsafelyUnwrapPtrForComparison()
[all …]