Home
last modified time | relevance | path

Searched refs:NullAllocator (Results 1 – 7 of 7) sorted by relevance

/external/libcxx/test/support/
Dcontrolled_allocators.hpp45 class NullAllocator;
444 class NullAllocator class
449 NullAllocator() = delete;
450 explicit NullAllocator(AllocController& PP) : P(&PP) {} in NullAllocator() function in NullAllocator
452 NullAllocator(NullAllocator const& other) : P(other.P) { in NullAllocator() function in NullAllocator
456 NullAllocator(NullAllocator&& other) : P(other.P) { in NullAllocator() function in NullAllocator
461 NullAllocator(NullAllocator<U> const& other) TEST_NOEXCEPT : P(other.P) { in NullAllocator() function in NullAllocator
466 NullAllocator(NullAllocator<U>&& other) TEST_NOEXCEPT : P(other.P) { in NullAllocator() function in NullAllocator
485 template <class Tp> friend class NullAllocator;
490 inline bool operator==(NullAllocator<T> const& x, in operator ==()
[all …]
/external/llvm-project/libcxx/test/support/
Dcontrolled_allocators.h44 class NullAllocator; variable
443 class NullAllocator
448 NullAllocator() = delete;
449 explicit NullAllocator(AllocController& PP) : P(&PP) {} in NullAllocator() function
451 NullAllocator(NullAllocator const& other) : P(other.P) { in NullAllocator() function
455 NullAllocator(NullAllocator&& other) : P(other.P) { in NullAllocator() function
460 NullAllocator(NullAllocator<U> const& other) TEST_NOEXCEPT : P(other.P) { in NullAllocator() function
465 NullAllocator(NullAllocator<U>&& other) TEST_NOEXCEPT : P(other.P) { in NullAllocator() function
484 template <class Tp> friend class NullAllocator;
489 inline bool operator==(NullAllocator<T> const& x,
[all …]
/external/llvm-project/compiler-rt/lib/builtins/
Dos_version_check.c109 const void *NullAllocator = dlsym(RTLD_DEFAULT, "kCFAllocatorNull"); in _initializeAvailabilityCheck() local
110 if (!NullAllocator) in _initializeAvailabilityCheck()
112 const CFAllocatorRef AllocatorNull = *(const CFAllocatorRef *)NullAllocator; in _initializeAvailabilityCheck()
/external/libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
Ddb_deallocate.pass.cpp32 using Alloc = NullAllocator<char>; in main()
/external/llvm-project/libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
Ddb_deallocate.pass.cpp33 using Alloc = NullAllocator<char>; in main()
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
Ddo_allocate_and_deallocate.pass.cpp61 using Alloc = NullAllocator<char>; in check_alloc_max_size()
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
Ddo_allocate_and_deallocate.pass.cpp63 using Alloc = NullAllocator<char>; in check_alloc_max_size()