Home
last modified time | relevance | path

Searched refs:Alloc (Results 1 – 25 of 27) 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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dhash.h214 typename Alloc = std::allocator< std::pair<const Key, Data> > >
215 class hash_map : public std::map<Key, Data, HashFcn, Alloc> {
216 typedef std::map<Key, Data, HashFcn, Alloc> BaseClass;
221 const Alloc& d = Alloc()) : BaseClass(b, d) {}
273 typename Alloc = std::allocator< std::pair<const Key, Data> > >
276 Key, Data, InternalHashCompare<Key, HashFcn, EqualKey>, Alloc> {
278 Key, Data, InternalHashCompare<Key, HashFcn, EqualKey>, Alloc> BaseClass;
282 const EqualKey& c = EqualKey(), const Alloc& d = Alloc())
304 typename Alloc = std::allocator< std::pair<const Key, Data> > >
307 Key, Data, HashFcn, EqualKey, Alloc> {
[all …]
/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.cc197 entry = Alloc<ir::String>(); in GetOrAddString()
209 auto* class_def = Alloc<ir::Class>(); in MakeClass()
224 ir::Type* type = Alloc<ir::Type>(); in GetOrAddType()
233 auto* proto = dex->Alloc<ir::Proto>(); in Encode()
237 proto->param_types = dex->Alloc<ir::TypeList>(); in Encode()
278 auto* method = dex_->Alloc<ir::EncodedMethod>(); in Encode()
284 auto* code = dex_->Alloc<ir::Code>(); in Encode()
564 ir::MethodDecl* decl = dex_file_->Alloc<ir::MethodDecl>(); in GetOrDeclareMethod()
Ddex_builder.h471 T* Alloc() { in Alloc() function
472 return dex_file_->Alloc<T>(); in Alloc()
/frameworks/compile/mclinker/include/mcld/MC/
DInputFactory.h31 typedef GCFactory<Input, 0> Alloc; typedef
/frameworks/av/media/bufferpool/1.0/vts/
Dallocator.cpp90 static AllocationAshmem *Alloc(size_t size) { in Alloc() function in __anonf2016fac0211::AllocationAshmem
133 AllocationAshmem::Alloc(ashmemParams.data.capacity)); in allocate()
/frameworks/av/media/bufferpool/2.0/tests/
Dallocator.cpp90 static AllocationAshmem *Alloc(size_t size) { in Alloc() function in __anon09e498630211::AllocationAshmem
133 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/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap.h961 Node* node = Alloc<Node>(1); in insert()
980 Node* node = Alloc<Node>(1); in insert()
1290 U* Alloc(size_type n) { in Alloc() function
1316 void** result = Alloc<void*>(n); in CreateEmptyTable()
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp123 mMemOperator->Alloc = cmnMemAlloc; in initEncoder()
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrWbEnc.cpp198 mMemOperator->Alloc = cmnMemAlloc; in initEncoder()

12