Home
last modified time | relevance | path

Searched refs:Alloc (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/
Dallocator_tests.cc29 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 …]
Dallocator.h73 std::optional<RegType> Alloc() { in Alloc() function
/frameworks/compile/mclinker/include/mcld/ADT/
DTreeAllocator.h34 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 …]
Dilist_sort.h21 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/
DGCFactory.h102 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 …]
DUniqueGCFactory.h27 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/
Dmmap_pool_test.cc49 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()
Darena_test.cc65 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()
Dforever_pool_test.cc33 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/
Darena_alloc.h55 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()
Dforever_pool.h34 static T* Alloc() { in Alloc() function
73 return ForeverPool<T>::Alloc(); in allocate()
Dmmap_pool.h39 static void* Alloc() { in Alloc() function
/frameworks/compile/mclinker/unittests/
DLinearAllocatorTest.h65 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc; typedef
68 Alloc* m_pTestee;
/frameworks/compile/mclinker/lib/MC/
DInputFactory.cpp37 Input* result = Alloc::allocate(); in produce()
46 Input* result = Alloc::allocate(); in produce()
/frameworks/av/media/module/codecs/amrwb/enc/src/
Dmem_align.c50 ret = pMemop->Alloc(CodecID, &MemInfo); in mem_malloc()
65 ret = pMemop->Alloc(CodecID, &MemInfo); in mem_malloc()
/frameworks/av/media/module/codecs/common/include/
DvoMem.h43 VO_U32 (VO_API * Alloc) (VO_S32 uID, VO_MEM_INFO * pMemInfo);
56 (pMemOP)->Alloc(ID, &voMemInfo); \
/frameworks/base/tools/lock_agent/
Dagent.cpp180 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/
Dcode_pool.cc35 result = arena_.Alloc(size, /* align = */ 16); in AddRaw()
Dsignal_queue.cc26 Node* node = ForeverPool<Node>::Alloc(); in AllocSignal()
/frameworks/compile/mclinker/include/mcld/MC/
DInputFactory.h31 typedef GCFactory<Input, 0> Alloc; typedef
/frameworks/av/media/module/bufferpool/1.0/vts/
Dallocator.cpp90 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/
Dallocator.cpp90 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/
Dion_buffer.cpp23 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/
Dion_buffer.h37 int Alloc(uint32_t width, uint32_t height, uint32_t layer_count,
/frameworks/av/media/module/codecs/amrwb/enc/fuzzer/
Damrwb_enc_fuzzer.cpp60 mMemOperator->Alloc = cmnMemAlloc; in initEncoder()

12