Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/support/
H A Dcontrolled_allocators.h44 class NullAllocator; variable
448 class NullAllocator
453 NullAllocator() = delete;
456 NullAllocator(NullAllocator const& other) : P(other.P) { in NullAllocator() function
460 NullAllocator(NullAllocator&& other) : P(other.P) { in NullAllocator() function
465 NullAllocator(NullAllocator<U> const& other) TEST_NOEXCEPT : P(other.P) { in NullAllocator() function
470 NullAllocator(NullAllocator<U>&& other) TEST_NOEXCEPT : P(other.P) { in NullAllocator() function
489 template <class Tp> friend class NullAllocator;
494 inline bool operator==(NullAllocator<T> const& x,
495 NullAllocator<U> const& y) {
[all …]
/llvm-project-15.0.7/compiler-rt/lib/builtins/
H A 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()
/llvm-project-15.0.7/libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
H A Dassert.deallocate.pass.cpp30 using Alloc = NullAllocator<char>; in main()
/llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
H A Ddo_allocate_and_deallocate.pass.cpp64 using Alloc = NullAllocator<char>; in check_alloc_max_size()