/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/ |
D | allocator_tests.cc | 29 EXPECT_EQ(allocator.Alloc().value(), x86_64::Assembler::rbx); in TEST() 30 EXPECT_EQ(allocator.Alloc().value(), x86_64::Assembler::rsi); in TEST() 31 EXPECT_EQ(allocator.Alloc().value(), x86_64::Assembler::rdi); in TEST() 32 EXPECT_EQ(allocator.Alloc().value(), x86_64::Assembler::r8); in TEST() 33 EXPECT_EQ(allocator.Alloc().value(), x86_64::Assembler::r9); in TEST() 34 EXPECT_EQ(allocator.Alloc().value(), x86_64::Assembler::r10); in TEST() 35 EXPECT_EQ(allocator.Alloc().value(), x86_64::Assembler::r11); in TEST() 36 EXPECT_EQ(allocator.Alloc().value(), x86_64::Assembler::r12); in TEST() 37 EXPECT_EQ(allocator.Alloc().value(), x86_64::Assembler::r13); in TEST() 38 EXPECT_EQ(allocator.Alloc().value(), x86_64::Assembler::r14); in TEST() [all …]
|
D | allocator.h | 73 std::optional<RegType> Alloc() { in Alloc() function
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | TreeAllocator.h | 34 typedef GCFactory<Node<DataType>, 64> Alloc; typedef 38 typedef typename Alloc::iterator iterator; 39 typedef typename Alloc::const_iterator const_iterator; 44 NodeType* result = Alloc::allocate(); in produce() 45 Alloc::construct(result); in produce() 59 if (Alloc::empty()) { in delegate() 72 void renounce() { Alloc::reset(); } in renounce() 76 Alloc::m_pRoot = pClient.Alloc::m_pRoot; in replace() 77 Alloc::m_pCurrent = pClient.Alloc::m_pCurrent; in replace() 78 Alloc::m_AllocatedNum = pClient.Alloc::m_AllocatedNum; in replace() [all …]
|
D | ilist_sort.h | 21 template <typename T, typename Alloc, typename Comparator> 22 void sort(llvm::iplist<T, Alloc>& xs, size_t size, Comparator is_less_than) { in sort() 23 typedef llvm::iplist<T, Alloc> iplist; in sort() 76 template <typename T, typename Alloc, typename Comparator = std::less<T> > 77 void sort(llvm::iplist<T, Alloc>& list,
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | GCFactory.h | 102 template <typename Alloc> 103 class GCFactoryBase : public Alloc { 105 typedef DataIterator<typename Alloc::chunk_type, 106 NonConstTraits<typename Alloc::value_type> > iterator; 107 typedef DataIterator<typename Alloc::chunk_type, 108 ConstTraits<typename Alloc::value_type> > const_iterator; 110 typedef typename Alloc::value_type value_type; 111 typedef typename Alloc::pointer pointer; 112 typedef typename Alloc::reference reference; 113 typedef typename Alloc::size_type size_type; [all …]
|
D | UniqueGCFactory.h | 27 typedef GCFactoryBase<LinearAllocator<DataType, ChunkSize> > Alloc; typedef 60 DataType* data = Alloc::allocate(); in produce() 73 DataType* data = Alloc::allocate(); in produce()
|
/frameworks/libs/binary_translation/base/ |
D | mmap_pool_test.cc | 49 MunmapOrDie(Pool::Alloc(), kBlockSize); in SetUp() 57 char* p1 = static_cast<char*>(Pool::Alloc()); in TEST_F() 62 char* p2 = static_cast<char*>(Pool::Alloc()); in TEST_F() 69 char* p3 = static_cast<char*>(Pool::Alloc()); in TEST_F() 96 char* block = static_cast<char*>(Pool::Alloc()); in TEST_F()
|
D | arena_test.cc | 65 p = static_cast<char*>(arena_.Alloc(1, 1)); in TEST_F() 70 p = static_cast<char*>(arena_.Alloc(100, 2)); in TEST_F() 75 p = static_cast<char*>(arena_.Alloc(kBlockSize / 10, 4)); in TEST_F() 80 p = static_cast<char*>(arena_.Alloc(kReallyBigSize, 4)); in TEST_F() 86 TEST_F(ArenaTest, Alloc) { in TEST_F() argument 91 char* p = static_cast<char*>(arena_.Alloc(n, 1)); in TEST_F()
|
D | forever_pool_test.cc | 33 Foo* p1 = ForeverPool<Foo>::Alloc(); in TEST() 36 Foo* p2 = ForeverPool<Foo>::Alloc(); in TEST() 43 Foo* p3 = ForeverPool<Foo>::Alloc(); in TEST()
|
/frameworks/libs/binary_translation/base/include/berberis/base/ |
D | arena_alloc.h | 55 return new (MmapPoolForArena::Alloc()) ArenaBlock{kDefaultArenaBlockSize, blocks}; in AllocArenaBlock() 85 void* Alloc(size_t size, size_t align) { in Alloc() function 125 void* ptr = arena->Alloc(sizeof(T), alignof(T)); in NewInArena() 131 void* ptr = arena->Alloc(sizeof(T) * size, alignof(T)); in NewArrayInArena() 149 return reinterpret_cast<T*>(arena()->Alloc(size, alignof(T))); in allocate()
|
D | forever_pool.h | 34 static T* Alloc() { in Alloc() function 73 return ForeverPool<T>::Alloc(); in allocate()
|
D | mmap_pool.h | 39 static void* Alloc() { in Alloc() function
|
/frameworks/compile/mclinker/unittests/ |
D | LinearAllocatorTest.h | 65 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc; typedef 68 Alloc* m_pTestee;
|
/frameworks/compile/mclinker/lib/MC/ |
D | InputFactory.cpp | 37 Input* result = Alloc::allocate(); in produce() 46 Input* result = Alloc::allocate(); in produce()
|
/frameworks/av/media/module/codecs/amrwb/enc/src/ |
D | mem_align.c | 50 ret = pMemop->Alloc(CodecID, &MemInfo); in mem_malloc() 65 ret = pMemop->Alloc(CodecID, &MemInfo); in mem_malloc()
|
/frameworks/av/media/module/codecs/common/include/ |
D | voMem.h | 43 VO_U32 (VO_API * Alloc) (VO_S32 uID, VO_MEM_INFO * pMemInfo); 56 (pMemOP)->Alloc(ID, &voMemInfo); \
|
/frameworks/base/tools/lock_agent/ |
D | agent.cpp | 180 auto instruction = cIr->Alloc<Bytecode>(); in addInst() 197 VRegList* paramRegs = cIr->Alloc<VRegList>(); in addCall() 203 { paramRegs, cIr->Alloc<Method>(method, method->orig_index) }); in addCall() 212 VRegRange* args = cIr->Alloc<VRegRange>(paramVReg, 1); in addCall() 215 { args, cIr->Alloc<Method>(method, method->orig_index) }); in addCall()
|
/frameworks/libs/binary_translation/runtime_primitives/ |
D | code_pool.cc | 35 result = arena_.Alloc(size, /* align = */ 16); in AddRaw()
|
D | signal_queue.cc | 26 Node* node = ForeverPool<Node>::Alloc(); in AllocSignal()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | InputFactory.h | 31 typedef GCFactory<Input, 0> Alloc; typedef
|
/frameworks/av/media/module/bufferpool/1.0/vts/ |
D | allocator.cpp | 90 static AllocationAshmem *Alloc(size_t size) { in Alloc() function in __anonc171d4cc0211::AllocationAshmem 133 AllocationAshmem::Alloc(ashmemParams.data.capacity)); in allocate()
|
/frameworks/av/media/module/bufferpool/2.0/tests/ |
D | allocator.cpp | 90 static AllocationAshmem *Alloc(size_t size) { in Alloc() function in __anon7702c5830211::AllocationAshmem 151 AllocationAshmem::Alloc(ashmemParams.data.capacity)); in allocate()
|
/frameworks/native/libs/vr/libbufferhub/ |
D | ion_buffer.cpp | 23 Alloc(width, height, kDefaultGraphicBufferLayerCount, format, usage); in IonBuffer() 74 int IonBuffer::Alloc(uint32_t width, uint32_t height, uint32_t layer_count, in Alloc() function in android::dvr::IonBuffer
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | ion_buffer.h | 37 int Alloc(uint32_t width, uint32_t height, uint32_t layer_count,
|
/frameworks/av/media/module/codecs/amrwb/enc/fuzzer/ |
D | amrwb_enc_fuzzer.cpp | 60 mMemOperator->Alloc = cmnMemAlloc; in initEncoder()
|