Searched refs:alloc (Results 1 – 12 of 12) sorted by relevance
54 test_struct_nominal* ptr1 = allocator.alloc(); in TEST()57 test_struct_nominal* ptr2 = allocator.alloc(); in TEST()72 char* ptr1 = reinterpret_cast<char*>(allocator.alloc()); in TEST()73 char* ptr2 = reinterpret_cast<char*>(allocator.alloc()); in TEST()85 test_struct_larger* ptr1 = allocator.alloc(); in TEST()86 test_struct_larger* ptr2 = allocator.alloc(); in TEST()99 ASSERT_TRUE(allocator.alloc() != nullptr); in TEST()102 test_struct_larger* ptr_to_free = allocator.alloc(); in TEST()112 test_struct_larger* page1_ptr = allocator.alloc(); in protect_all()115 allocator.alloc(); in protect_all()[all …]
54 void* ptr = allocator.alloc(0); in TEST()66 uint32_t* array = reinterpret_cast<uint32_t*>(allocator.alloc(512)); in TEST()125 reinterpret_cast<test_struct_small*>(allocator.alloc(sizeof(test_struct_small))); in TEST()127 reinterpret_cast<test_struct_small*>(allocator.alloc(sizeof(test_struct_small))); in TEST()146 reinterpret_cast<test_struct_huge*>(allocator.alloc(sizeof(test_struct_huge))); in TEST()148 reinterpret_cast<test_struct_huge*>(allocator.alloc(sizeof(test_struct_huge))); in TEST()165 reinterpret_cast<test_struct_large*>(allocator.alloc(sizeof(test_struct_large))); in TEST()167 reinterpret_cast<test_struct_large*>(allocator.alloc(1024)); in TEST()182 reinterpret_cast<test_struct_large*>(allocator.alloc(sizeof(test_struct_large))); in TEST()188 reinterpret_cast<test_struct_large*>(allocator.alloc(sizeof(test_struct_large))); in TEST()
34 static entry_t* alloc() { in alloc() function in __anon1f4d86ba0111::LinkedListTestAllocator
37 void* alloc();73 T* alloc() { return reinterpret_cast<T*>(block_allocator_.alloc()); } in alloc() function
24 return g_linker_allocator.alloc(byte_count); in malloc()28 return g_linker_allocator.alloc(item_count*item_size); in calloc()
75 void* LinkerSmallObjectAllocator::alloc() { in alloc() function in LinkerSmallObjectAllocator249 void* LinkerMemoryAllocator::alloc(size_t size) { in alloc() function in LinkerMemoryAllocator265 return get_small_object_allocator(log2_size)->alloc(); in alloc()279 return alloc(size); in realloc()303 void *result = alloc(size); in realloc()
105 void* alloc();128 void* alloc(size_t size);
83 LinkedListEntry<T>* new_entry = Allocator::alloc(); in push_front()93 LinkedListEntry<T>* new_entry = Allocator::alloc(); in push_back()
47 void* LinkerBlockAllocator::alloc() { in alloc() function in LinkerBlockAllocator
109 static LinkedListEntry<soinfo>* alloc();119 static LinkedListEntry<android_namespace_t>* alloc();
352 LinkedListEntry<soinfo>* SoinfoListAllocator::alloc() { in alloc() function in SoinfoListAllocator353 return g_soinfo_links_allocator.alloc(); in alloc()360 LinkedListEntry<android_namespace_t>* NamespaceListAllocator::alloc() { in alloc() function in NamespaceListAllocator361 return g_namespace_list_allocator.alloc(); in alloc()376 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(ns, name, file_stat, in soinfo_alloc()1061 static void* alloc() { in alloc() function in SizeBasedAllocator1062 return allocator_.alloc(); in alloc()1079 static T* alloc() { in alloc() function in TypeBasedAllocator1080 return reinterpret_cast<T*>(SizeBasedAllocator<sizeof(T)>::alloc()); in alloc()1101 LoadTask* ptr = TypeBasedAllocator<LoadTask>::alloc(); in create()[all …]
130 } alloc; member