Searched refs:alloc (Results 1 – 7 of 7) sorted by relevance
54 test_struct_nominal* ptr1 = allocator.alloc(); in TEST()56 test_struct_nominal* ptr2 = allocator.alloc(); in TEST()70 char* ptr1 = reinterpret_cast<char*>(allocator.alloc()); in TEST()71 char* ptr2 = reinterpret_cast<char*>(allocator.alloc()); in TEST()81 test_struct_larger* ptr1 = allocator.alloc(); in TEST()82 test_struct_larger* ptr2 = allocator.alloc(); in TEST()93 ASSERT_TRUE(allocator.alloc() != nullptr); in TEST()96 test_struct_larger* ptr_to_free = allocator.alloc(); in TEST()106 test_struct_larger* page1_ptr = allocator.alloc(); in protect_all()109 allocator.alloc(); in protect_all()[all …]
34 static entry_t* alloc() { in alloc() function in __anon1f4d86ba0111::LinkedListTestAllocator
37 void* alloc();63 T* alloc() { return reinterpret_cast<T*>(block_allocator_.alloc()); } in alloc() function
40 LinkedListEntry<T>* new_entry = Allocator::alloc(); in push_front()50 LinkedListEntry<T>* new_entry = Allocator::alloc(); in push_back()
39 void* LinkerBlockAllocator::alloc() { in alloc() function in LinkerBlockAllocator
107 static LinkedListEntry<soinfo>* alloc();
272 LinkedListEntry<soinfo>* SoinfoListAllocator::alloc() { in alloc() function in SoinfoListAllocator273 return g_soinfo_links_allocator.alloc(); in alloc()291 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(name, file_stat, file_offset); in soinfo_alloc()573 static void* alloc() { in alloc() function in SizeBasedAllocator574 return allocator_.alloc(); in alloc()591 static T* alloc() { in alloc() function in TypeBasedAllocator592 return reinterpret_cast<T*>(SizeBasedAllocator<sizeof(T)>::alloc()); in alloc()613 LoadTask* ptr = TypeBasedAllocator<LoadTask>::alloc(); in create()