Home
last modified time | relevance | path

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

12

/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/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/libstagefright/codecs/amrwbenc/src/
Dmem_align.c50 ret = pMemop->Alloc(CodecID, &MemInfo); in mem_malloc()
65 ret = pMemop->Alloc(CodecID, &MemInfo); in mem_malloc()
/frameworks/av/media/libstagefright/codecs/common/include/
DvoMem.h43 VO_U32 (VO_API * Alloc) (VO_S32 uID, VO_MEM_INFO * pMemInfo);
56 (pMemOP)->Alloc(ID, &voMemInfo); \
/frameworks/base/startop/view_compiler/
Ddex_builder.cc214 entry = Alloc<ir::String>(); in GetOrAddString()
226 auto* class_def = Alloc<ir::Class>(); in MakeClass()
241 ir::Type* type = Alloc<ir::Type>(); in GetOrAddType()
256 ir::FieldDecl* field = Alloc<ir::FieldDecl>(); in GetOrAddField()
267 auto* proto = dex->Alloc<ir::Proto>(); in Encode()
271 proto->param_types = dex->Alloc<ir::TypeList>(); in Encode()
312 auto* method = dex_->Alloc<ir::EncodedMethod>(); in Encode()
318 auto* code = dex_->Alloc<ir::Code>(); in Encode()
664 ir::MethodDecl* decl = dex_file_->Alloc<ir::MethodDecl>(); in GetOrDeclareMethod()
Ddex_builder.h543 T* Alloc() { in Alloc() function
544 return dex_file_->Alloc<T>(); in Alloc()
/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/av/media/bufferpool/2.0/tests/
Dallocator.cpp90 static AllocationAshmem *Alloc(size_t size) { in Alloc() function in __anon2502185a0211::AllocationAshmem
133 AllocationAshmem::Alloc(ashmemParams.data.capacity)); in allocate()
/frameworks/av/media/bufferpool/1.0/vts/
Dallocator.cpp90 static AllocationAshmem *Alloc(size_t size) { in Alloc() function in __anon510085e30211::AllocationAshmem
133 AllocationAshmem::Alloc(ashmemParams.data.capacity)); in allocate()
/frameworks/compile/mclinker/include/mcld/MC/
DInputFactory.h31 typedef GCFactory<Input, 0> Alloc; typedef
/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/codec2/vndk/
DC2AllocatorIon.cpp209 …static Impl *Alloc(int ionFd, size_t size, size_t align, unsigned heapMask, unsigned flags, C2Allo…
411 C2AllocationIon::Impl *C2AllocationIon::Impl::Alloc(int ionFd, size_t size, size_t align, in Alloc() function in android::C2AllocationIon::Impl
480 mImpl(Impl::Alloc(ionFd, size, align, heapMask, flags, id)) { } in C2AllocationIon()
/frameworks/av/media/codec2/core/include/
DC2ParamDef.h241 inline static std::ptr##_ptr<_Type> Alloc##Ptr(size_t flexCount, const Args(&... args)) { \
245 inline static std::ptr##_ptr<_Type> Alloc##Ptr( \
250 inline static std::ptr##_ptr<_Type> Alloc##Ptr( \
255 inline static std::ptr##_ptr<_Type> Alloc##Ptr(const U(&init)[N], const Args(&... args)) { \
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp535 return Alloc(pool, format); in toArrayMode()
545 sp<Codec2Buffer> LinearInputBuffers::Alloc( in Alloc() function in android::LinearInputBuffers
567 return Alloc(mPool, mFormat); in createNewBuffer()
613 return Alloc(pool, format, usage, memoryVector); in toArrayMode()
620 sp<Codec2Buffer> EncryptedLinearInputBuffers::Alloc( in Alloc() function in android::EncryptedLinearInputBuffers
DCCodecBuffers.h578 static sp<Codec2Buffer> Alloc(
607 static sp<Codec2Buffer> Alloc(
/frameworks/native/services/vr/bufferhubd/
Dproducer_channel.cpp61 if (int ret = buffer_.Alloc(width, height, layer_count, format, usage)) { in ProducerChannel()
68 if (int ret = metadata_buffer_.Alloc(metadata_buf_size_, /*height=*/1, in ProducerChannel()
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c123 moper.Alloc = cmnMemAlloc; in encode()
/frameworks/av/media/libstagefright/codecs/amrwbenc/test/
DAmrwbEncoderTest.cpp44 mMemOperator.Alloc = cmnMemAlloc; in AmrwbEncoderTest()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dsingle_source_alloc.rscript424 rsDebug("Single Source Alloc Test Failed", 0);
428 rsDebug("Single Source Alloc Test Passed", 0);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dsingle_source_alloc.rscript426 rsDebug("Single Source Alloc Test Failed", 0);
430 rsDebug("Single Source Alloc Test Passed", 0);

12