Searched defs:SecureAllocator (Results 1 – 5 of 5) sorted by relevance
42 struct CRYPTO_EXPORT SecureAllocator { struct45 SecureAllocator() noexcept = default; argument47 T* allocate(std::size_t n) { return std::allocator<T>().allocate(n); } in allocate()49 void deallocate(T* p, std::size_t n) noexcept { in deallocate()
61 SecureAllocator() noexcept : std::allocator<T>() {} in SecureAllocator() function62 SecureAllocator(const SecureAllocator& other) noexcept in SecureAllocator() function66 SecureAllocator(const SecureAllocator<U>& other) noexcept in SecureAllocator() function
254 TEST(SecureAllocator, ErasureOnDeallocation) { in TEST() argument268 TEST(SecureAllocator, MultiPageCorrectness) { in TEST() argument
69 SecureAllocator() {} in SecureAllocator() function70 template <typename U> SecureAllocator(const SecureAllocator<U>&) {} in SecureAllocator() function