Searched refs:alloc (Results 1 – 11 of 11) sorted by relevance
66 test_struct_nominal* ptr1 = allocator.alloc(); in TEST()69 test_struct_nominal* ptr2 = allocator.alloc(); in TEST()84 char* ptr1 = reinterpret_cast<char*>(allocator.alloc()); in TEST()85 char* ptr2 = reinterpret_cast<char*>(allocator.alloc()); in TEST()97 test_struct_larger* ptr1 = allocator.alloc(); in TEST()98 test_struct_larger* ptr2 = allocator.alloc(); in TEST()111 ASSERT_TRUE(allocator.alloc() != nullptr); in TEST()114 test_struct_larger* ptr_to_free = allocator.alloc(); in TEST()124 test_struct_larger* page1_ptr = allocator.alloc(); in protect_all()127 allocator.alloc(); in protect_all()[all …]
66 void* ptr = allocator.alloc(0); in TEST()78 uint32_t* array = reinterpret_cast<uint32_t*>(allocator.alloc(512)); in TEST()137 reinterpret_cast<test_struct_small*>(allocator.alloc(sizeof(test_struct_small))); in TEST()139 reinterpret_cast<test_struct_small*>(allocator.alloc(sizeof(test_struct_small))); in TEST()158 reinterpret_cast<test_struct_huge*>(allocator.alloc(sizeof(test_struct_huge))); in TEST()160 reinterpret_cast<test_struct_huge*>(allocator.alloc(sizeof(test_struct_huge))); in TEST()177 reinterpret_cast<test_struct_large*>(allocator.alloc(sizeof(test_struct_large))); in TEST()179 reinterpret_cast<test_struct_large*>(allocator.alloc(1024)); in TEST()194 reinterpret_cast<test_struct_large*>(allocator.alloc(sizeof(test_struct_large))); in TEST()200 reinterpret_cast<test_struct_large*>(allocator.alloc(sizeof(test_struct_large))); in TEST()
46 static entry_t* alloc() { in alloc() function in __anon1f4d86ba0111::LinkedListTestAllocator
48 void* alloc();84 T* alloc() { return reinterpret_cast<T*>(block_allocator_.alloc()); } in alloc() function
47 static LinkedListEntry<soinfo>* alloc();57 static LinkedListEntry<android_namespace_t>* alloc();
72 return get_allocator().alloc(byte_count); in malloc()76 return get_allocator().alloc(item_count*item_size); in calloc()
90 void* LinkerSmallObjectAllocator::alloc() { in alloc() function in LinkerSmallObjectAllocator264 void* LinkerMemoryAllocator::alloc(size_t size) { in alloc() function in LinkerMemoryAllocator280 return get_small_object_allocator(log2_size)->alloc(); in alloc()294 return alloc(size); in realloc()318 void *result = alloc(size); in realloc()
117 void* alloc();140 void* alloc(size_t size);
94 LinkedListEntry<T>* new_entry = Allocator::alloc(); in push_front()104 LinkedListEntry<T>* new_entry = Allocator::alloc(); in push_back()
59 void* LinkerBlockAllocator::alloc() { in alloc() function in LinkerBlockAllocator
129 } alloc; member