Home
last modified time | relevance | path

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

/external/cronet/base/allocator/partition_allocator/src/partition_alloc/pointers/
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 T* WrapRawPtr(T* ptr) { in WrapRawPtr()
34 PA_ALWAYS_INLINE static void ReleaseWrappedPtr(T* ptr) { in ReleaseWrappedPtr()
40 PA_ALWAYS_INLINE static T* SafelyUnwrapPtrForDereference(T* wrapped_ptr) { in SafelyUnwrapPtrForDereference()
46 PA_ALWAYS_INLINE static T* SafelyUnwrapPtrForExtraction(T* wrapped_ptr) { in SafelyUnwrapPtrForExtraction()
52 PA_ALWAYS_INLINE static T* UnsafelyUnwrapPtrForComparison(T* wrapped_ptr) { in UnsafelyUnwrapPtrForComparison()
[all …]