Home
last modified time | relevance | path

Searched refs:SecureAllocator (Results 1 – 5 of 5) sorted by relevance

/external/libbrillo/brillo/
Dsecure_allocator.h54 class BRILLO_PRIVATE SecureAllocator : public std::allocator<T> {
62 SecureAllocator() noexcept : std::allocator<T>() {} in SecureAllocator() function
63 SecureAllocator(const SecureAllocator& other) noexcept in SecureAllocator() function
67 SecureAllocator(const SecureAllocator<U>& other) noexcept in SecureAllocator() function
71 typedef SecureAllocator<U> other;
232 const typename SecureAllocator<T>::size_type SecureAllocator<T>::page_size_ =
233 SecureAllocator<T>::CalculatePageSize();
236 const typename SecureAllocator<T>::size_type SecureAllocator<T>::max_size_ =
237 SecureAllocator<T>::GetMaxSizeForType(SecureAllocator<T>::page_size_);
Dsecure_blob_test.cc233 class TestSecureAllocator : public SecureAllocator<T> {
235 using typename SecureAllocator<T>::pointer;
236 using typename SecureAllocator<T>::size_type;
237 using typename SecureAllocator<T>::value_type;
243 SecureAllocator<T>::clear_contents(p, n); in clear_contents()
255 TEST(SecureAllocator, ErasureOnDeallocation) { in TEST() argument
268 TEST(SecureAllocator, MultiPageCorrectness) { in TEST() argument
/external/jsoncpp/include/json/
Dallocator.h15 template <typename T> class SecureAllocator {
69 SecureAllocator() {} in SecureAllocator() function
70 template <typename U> SecureAllocator(const SecureAllocator<U>&) {} in SecureAllocator() function
71 template <typename U> struct rebind { using other = SecureAllocator<U>; };
75 bool operator==(const SecureAllocator<T>&, const SecureAllocator<U>&) {
80 bool operator!=(const SecureAllocator<T>&, const SecureAllocator<U>&) {
Dconfig.h130 typename std::conditional<JSONCPP_USING_SECURE_MEMORY, SecureAllocator<T>,
/external/deqp/external/jsoncpp/
Dconfig.h.cts131 typename std::conditional<JSONCPP_USING_SECURE_MEMORY, SecureAllocator<T>,