/external/tinyxml2/ |
H A D | tinyxml2.h | 238 virtual void* Alloc() = 0;
261 virtual void* Alloc() {
function in class:tinyxml2::MemPoolT
|
/external/skia/src/core/ |
H A D | SkAAClip.cpp | 76 static RunHead* Alloc(int rowCount, size_t dataSize) { function in struct:SkAAClip::RunHead 100 RunHead* head = RunHead::Alloc(1, rowSize); 786 RunHead* head = RunHead::Alloc(yArray.count(), xArray.bytes()); 1024 RunHead* head = RunHead::Alloc(fRows.count(), dataSize);
|
H A D | SkDescriptor.h | 23 static SkDescriptor* Alloc(size_t length) { function in class:SkDescriptor 84 SkDescriptor* desc = SkDescriptor::Alloc(fLength); 141 fDesc = SkDescriptor::Alloc(size);
|
H A D | SkMetaData.cpp | 120 Rec* rec = Rec::Alloc(sizeof(Rec) + dataSize * count + len + 1); 330 SkMetaData::Rec* SkMetaData::Rec::Alloc(size_t size) { function in class:SkMetaData::Rec
|
H A D | SkRegionPriv.h | 62 static RunHead* Alloc(int count) { function in struct:SkRegion::RunHead 77 static RunHead* Alloc(int count, int yspancount, int intervalCount) { function in struct:SkRegion::RunHead 81 RunHead* head = Alloc(count); 102 writable = Alloc(fRunCount, fYSpanCount, fIntervalCount);
|
H A D | SkTRefArray.h | 25 static SkTRefArray<T>* Alloc(int count) { function in class:SkTRefArray 42 SkTRefArray<T>* obj = Alloc(count); 56 SkTRefArray<T>* obj = Alloc(count);
|
/external/pdfium/core/include/fxcrt/ |
H A D | fx_memory.h | 20 void* (*Alloc)(struct _FXMEM_SystemMgr* pMgr, size_t size, int flags);
member in struct:_FXMEM_SystemMgr 242 return Alloc(size);
245 void* Alloc(size_t size);
|
/external/pdfium/core/src/fxcrt/ |
H A D | fx_basic_memmgr.cpp | 34 return ((FX_DefAllocator*)pAllocator)->m_pFoxitMgr->Alloc(size, 0);
70 void* CFX_MemoryMgr::Alloc(size_t size, int flags)
function in class:CFX_MemoryMgr 72 void* p = m_pSystemMgr->Alloc(m_pSystemMgr, size, flags);
112 return g_pDefFoxitMgr->Alloc(size, flags);
116 return g_pDefFoxitMgr->Alloc(size * unit, flags);
164 return g_pDefFoxitMgr->Alloc(size, 0);
168 return g_pDefFoxitMgr->Alloc(size, 0);
211 void* p = pAllocator ? pAllocator->m_Alloc(pAllocator, size) : g_pDefFoxitMgr->Alloc(size, 0);
234 return ((CFX_GrowOnlyPool*)pAllocator)->Alloc(size);
238 return ((CFX_GrowOnlyPool*)pAllocator)->Alloc(siz 287 void* CFX_GrowOnlyPool::Alloc(size_t size) function in class:CFX_GrowOnlyPool [all...] |
H A D | fx_basic_memmgr_mini.cpp | 45 return ((CFXMEM_FixedMgr*)pMgr->user)->Alloc(size);
49 return ((CFXMEM_FixedMgr*)pMgr->user)->Alloc(size);
105 CFX_MemoryMgr* p = (CFX_MemoryMgr*)pHeader->Alloc(sizeof(CFX_MemoryMgr));
161 *new_memory = pProxyMgr->m_pFixedPage->Alloc(alloc_size);
187 FX_LPVOID CFXMEM_Page::Alloc(CFXMEM_Block* pPrevBlock, CFXMEM_Block* pNextBlock, size_t size, size_t oldsize)
function in class:CFXMEM_Page 203 FX_LPVOID CFXMEM_Page::Alloc(size_t size)
function in class:CFXMEM_Page 226 return Alloc(pPrevBlock, pNextBlock, size, oldsize);
291 return Alloc(pPrevBlock, pCurBlock, newSize, oldnewSize);
354 FX_LPVOID CFXMEM_Pages::Alloc(size_t size)
function in class:CFXMEM_Pages 358 FX_LPVOID p = m_pCurPage->Alloc(siz 656 FX_LPVOID CFXMEM_FixedMgr::Alloc(size_t size) function in class:CFXMEM_FixedMgr [all...] |
H A D | mem_int.h | 20 void* Alloc(size_t size, int flags);
48 FX_LPVOID Alloc(size_t size)
function in class:CFXMEM_FixedPage 105 FX_LPVOID Alloc(size_t size)
function in class:CFXMEM_FixedPages 111 return ((T*)m_pCurPage)->Alloc(size);
147 FX_LPVOID Alloc(size_t size);
151 FX_LPVOID Alloc(CFXMEM_Block* pPrevBlock, CFXMEM_Block* pNextBlock, size_t size, size_t oldsize);
162 FX_LPVOID Alloc(size_t size);
189 FX_LPVOID Alloc(size_t size);
|
/external/llvm/unittests/Support/ |
H A D | AllocatorTest.cpp | 19 BumpPtrAllocator Alloc; local 20 int *a = (int*)Alloc.Allocate(sizeof(int), 0); 21 int *b = (int*)Alloc.Allocate(sizeof(int) * 10, 0); 22 int *c = (int*)Alloc.Allocate(sizeof(int), 0); 31 EXPECT_EQ(1U, Alloc.GetNumSlabs()); 33 BumpPtrAllocator Alloc2 = std::move(Alloc); 34 EXPECT_EQ(0U, Alloc.GetNumSlabs()); 44 Alloc = std::move(Alloc2); 46 EXPECT_EQ(1U, Alloc.GetNumSlabs()); 51 BumpPtrAllocator Alloc; local 63 BumpPtrAllocator Alloc; local 78 BumpPtrAllocator Alloc; local 99 BumpPtrAllocator Alloc; local 112 BumpPtrAllocator Alloc; local 155 BumpPtrAllocatorImpl<MockSlabAllocator> Alloc; local [all...] |
/external/lzma/C/ |
H A D | Types.h | 229 void *(*Alloc)(void *p, size_t size);
member in struct:__anon26738 233 #define IAlloc_Alloc(p, size) (p)->Alloc((p), size)
|
/external/lzma/CPP/7zip/Common/ |
H A D | CWrappers.cpp | 5 #include "../../../C/Alloc.h"
140 bool CByteInBufWrap::Alloc(UInt32 size)
function in class:CByteInBufWrap 189 bool CByteOutBufWrap::Alloc(size_t size)
function in class:CByteOutBufWrap
|
H A D | StreamObjects.cpp | 5 #include "../../../C/Alloc.h"
132 bool CCachedInStream::Alloc(unsigned blockSizeLog, unsigned numBlocksLog)
function in class:CCachedInStream
|
/external/lzma/CPP/7zip/UI/Common/ |
H A D | Bench.cpp | 32 #include "../../../../C/Alloc.h"
86 bool Alloc(size_t bufferSize)
function in class:CBenchBuffer 558 if (!rg.Alloc(kBufferSize))
564 if (!outStreamSpec->Alloc(kCompressedBufferSize))
575 if (!propStreamSpec->Alloc(kMaxLzmaPropSize))
951 if (!buffer.Alloc(kBufferSize0 + kBufferSize1))
978 if (!buffer.Alloc(totalSize))
|
/external/llvm/unittests/ADT/ |
H A D | ArrayRefTest.cpp | 19 BumpPtrAllocator Alloc; local 24 ArrayRef<uint16_t> Array1c = Array1.copy(Alloc); 25 ArrayRef<uint16_t> Array2c = Array2.copy(Alloc);;
|
H A D | StringRefTest.cpp | 538 BumpPtrAllocator Alloc; local 541 StringRef Str1c = Str1.copy(Alloc); 542 StringRef Str2c = Str2.copy(Alloc);
|
/external/llvm/include/llvm/ADT/ |
H A D | ImmutableList.h | 159 ImmutableListFactory(BumpPtrAllocator& Alloc) argument 160 : Allocator(reinterpret_cast<uintptr_t>(&Alloc) | 0x1) {}
|
H A D | ImmutableMap.h | 105 Factory(BumpPtrAllocator& Alloc, bool canonicalize = true) argument 106 : F(Alloc), Canonicalize(canonicalize) {}
|
H A D | ImmutableSet.h | 393 ImutAVLFactory(BumpPtrAllocator& Alloc) argument 394 : Allocator(reinterpret_cast<uintptr_t>(&Alloc) | 0x1) {} 978 Factory(BumpPtrAllocator& Alloc, bool canonicalize = true) argument 979 : F(Alloc), Canonicalize(canonicalize) {}
|
/external/llvm/include/llvm/Support/ |
H A D | YAMLParser.h | 148 void *operator new(size_t Size, BumpPtrAllocator &Alloc, argument 150 return Alloc.Allocate(Size, Alignment); 153 void operator delete(void *Ptr, BumpPtrAllocator &Alloc, size_t Size) throw() { argument 154 Alloc.Deallocate(Ptr, Size);
|
/external/llvm/lib/CodeGen/ |
H A D | LiveIntervalUnion.cpp | 184 void LiveIntervalUnion::Array::init(LiveIntervalUnion::Allocator &Alloc, argument 194 new(LIUs + i) LiveIntervalUnion(Alloc);
|
H A D | LiveRangeCalc.h | 41 VNInfo::Allocator *Alloc; member in class:llvm::LiveRangeCalc 129 DomTree(nullptr), Alloc(nullptr) {} 160 /// single existing value, Alloc may be null.
|
/external/llvm/lib/MC/MCParser/ |
H A D | COFFAsmParser.cpp | 160 Alloc = 1 << 0, enumerator in enum:__anon25889 180 SecFlags |= Alloc; 188 if (SecFlags & Alloc) 247 if ((SecFlags & Alloc) && (SecFlags & Load) == 0)
|
/external/llvm/lib/Support/ |
H A D | MemoryBuffer.cpp | 72 void *operator new(size_t N, const NamedBufferAlloc &Alloc) { argument 73 char *Mem = static_cast<char *>(operator new(N + Alloc.Name.size() + 1)); 74 CopyStringRef(Mem + N, Alloc.Name);
|