Searched refs:alloc (Results 1 - 6 of 6) sorted by relevance

/art/compiler/utils/
H A Dswap_space_test.cc40 SwapAllocator<void> alloc(use_file ? &pool : nullptr);
42 SwapVector<int32_t> v(alloc);
49 SwapVector<int32_t> v2(alloc);
56 SwapVector<int32_t> v3(alloc);
H A Ddedupe_set.h101 explicit DedupeSet(const char* set_name, SwapAllocator<void>& alloc) argument
102 : allocator_(alloc), hash_time_(0) {
155 SwapAllocator<StoreKey> alloc(allocator_);
156 alloc.destroy(key);
157 alloc.deallocate(key, 1);
/art/runtime/
H A Dmonitor_pool_test.cc63 bool alloc; local
65 alloc = true;
67 alloc = false;
70 alloc = r.next() % 2 == 0;
73 if (alloc) {
/art/compiler/
H A Dcompiled_method.cc208 SwapAllocator<CompiledMethod> alloc(driver->GetSwapSpaceAllocator());
209 CompiledMethod* ret = alloc.allocate(1);
210 alloc.construct(ret, driver, instruction_set, quick_code, frame_size_in_bytes, core_spill_mask,
221 SwapAllocator<CompiledMethod> alloc(driver->GetSwapSpaceAllocator());
222 CompiledMethod* ret = alloc.allocate(1);
223 alloc.construct(ret, driver, instruction_set, quick_code, frame_size_in_bytes, core_spill_mask,
229 SwapAllocator<CompiledMethod> alloc(driver->GetSwapSpaceAllocator());
230 alloc.destroy(m);
231 alloc.deallocate(m, 1);
H A Delf_writer_quick.h170 const std::string& str_name, Elf32_Word str_type, bool alloc)
171 : ElfSectionBuilder(sec_name, type, ((alloc) ? SHF_ALLOC : 0U), &strtab_, 0,
174 strtab_(str_name, str_type, ((alloc) ? SHF_ALLOC : 0U), NULL, 0, 1, 1) {}
169 ElfSymtabBuilder(const std::string& sec_name, Elf32_Word type, const std::string& str_name, Elf32_Word str_type, bool alloc) argument
/art/runtime/base/
H A Dallocator.h106 TrackingAllocatorImpl(const TrackingAllocatorImpl<U, kTag>& alloc) throw() { argument

Completed in 280 milliseconds