| /external/compiler-rt/lib/tsan/tests/unit/ |
| tsan_dense_alloc_test.cc | 25 typedef DenseSlabAlloc<int, 128, 128> Alloc; 26 typedef Alloc::Cache Cache; 27 typedef Alloc::IndexT IndexT; 30 Alloc alloc; local 32 alloc.InitCache(&cache); 37 IndexT idx = alloc.Alloc(&cache); 40 int *v = alloc.Map(idx); 46 int *v = alloc.Map(idx) [all...] |
| /frameworks/av/media/libstagefright/codecs/common/include/ |
| voMem.h | 43 VO_U32 (VO_API * Alloc) (VO_S32 uID, VO_MEM_INFO * pMemInfo); 56 pMemOP->Alloc(ID, &voMemInfo); \
|
| /frameworks/compile/mclinker/include/mcld/Support/ |
| UniqueGCFactory.h | 27 typedef GCFactoryBase<LinearAllocator<DataType, ChunkSize> > Alloc; 63 DataType* data = Alloc::allocate(); 76 DataType* data = Alloc::allocate();
|
| /frameworks/compile/mclinker/unittests/ |
| LinearAllocatorTest.h | 67 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc; 69 Alloc* m_pTestee;
|
| /art/runtime/base/ |
| allocator.cc | 37 virtual void* Alloc(size_t size) { 56 virtual void* Alloc(size_t size) { 57 LOG(FATAL) << "NoopAllocator::Alloc should not be called";
|
| /external/chromium_org/gpu/command_buffer/client/ |
| mapped_memory.cc | 45 void* MappedMemoryManager::Alloc( 57 void* mem = chunk->Alloc(size); 70 TRACE_EVENT0("gpu", "MappedMemoryManager::Alloc::wait"); 74 void* mem = chunk->Alloc(size); 98 void* mem = mc->Alloc(size);
|
| transfer_buffer.cc | 141 return ring_buffer_->Alloc(*size_allocated); 144 void* TransferBuffer::Alloc(unsigned int size) { 157 return ring_buffer_->Alloc(size);
|
| fenced_allocator.cc | 63 FencedAllocator::Offset FencedAllocator::Alloc(unsigned int size) { 65 // have it succeed. Example: Alloc(SizeOfBuffer), Alloc(0).
|
| /external/chromium_org/third_party/skia/src/core/ |
| SkRegionPriv.h | 62 static RunHead* Alloc(int count) { 64 //SkDEBUGF(("************** gRgnAllocCounter::alloc %d\n", gRgnAllocCounter)); 77 static RunHead* Alloc(int count, int yspancount, int intervalCount) { 81 RunHead* head = Alloc(count); 99 // We need to alloc & copy the current region before we call 102 writable = Alloc(fRunCount, fYSpanCount, fIntervalCount);
|
| SkTRefArray.h | 25 static SkTRefArray<T>* Alloc(int count) { 42 SkTRefArray<T>* obj = Alloc(count); 56 SkTRefArray<T>* obj = Alloc(count);
|
| /external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
| system-alloc_unittest.cc | 34 #include "system-alloc.h" 58 void* Alloc(size_t size, size_t *actual_size, size_t alignment) {
|
| /external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
| system-alloc_unittest.cc | 34 #include "system-alloc.h" 58 void* Alloc(size_t size, size_t *actual_size, size_t alignment) {
|
| /external/clang/include/clang/Lex/ |
| PTHManager.h | 42 /// Alloc - Allocator used for IdentifierInfo objects. 43 llvm::BumpPtrAllocator Alloc;
|
| /external/llvm/unittests/Support/ |
| AllocatorTest.cpp | 19 BumpPtrAllocator Alloc; 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; [all...] |
| /external/skia/src/core/ |
| SkRegionPriv.h | 62 static RunHead* Alloc(int count) { 64 //SkDEBUGF(("************** gRgnAllocCounter::alloc %d\n", gRgnAllocCounter)); 77 static RunHead* Alloc(int count, int yspancount, int intervalCount) { 81 RunHead* head = Alloc(count); 99 // We need to alloc & copy the current region before we call 102 writable = Alloc(fRunCount, fYSpanCount, fIntervalCount);
|
| SkTRefArray.h | 25 static SkTRefArray<T>* Alloc(int count) { 42 SkTRefArray<T>* obj = Alloc(count); 56 SkTRefArray<T>* obj = Alloc(count);
|
| /frameworks/compile/mclinker/include/mcld/ADT/ |
| TreeAllocator.h | 32 typedef GCFactory<Node<DataType>, 64> Alloc; 36 typedef typename Alloc::iterator iterator; 37 typedef typename Alloc::const_iterator const_iterator; 42 NodeType* result = Alloc::allocate(); 43 Alloc::construct(result); 57 if (Alloc::empty()) { 71 { Alloc::reset(); } 75 Alloc::m_pRoot = pClient.Alloc::m_pRoot; 76 Alloc::m_pCurrent = pClient.Alloc::m_pCurrent [all...] |
| /art/runtime/gc/space/ |
| zygote_space.cc | 78 mirror::Object* ZygoteSpace::Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
| /external/chromium_org/third_party/tcmalloc/chromium/src/ |
| memfs_malloc.cc | 99 void* Alloc(size_t size, size_t *actual_size, size_t alignment); 116 // us with an internal lock held (see tcmalloc/system-alloc.cc). 117 void* HugetlbSysAllocator::Alloc(size_t size, size_t *actual_size, 120 return fallback_->Alloc(size, actual_size, alignment); 126 return fallback_->Alloc(size, actual_size, alignment); 135 return fallback_->Alloc(size, actual_size, alignment); 148 return fallback_->Alloc(size, actual_size, alignment); 169 "alloc too large (size, bytes left)", size, limit-hugetlb_base_); 259 SysAllocator* alloc = MallocExtension::instance()->GetSystemAllocator(); 260 HugetlbSysAllocator* hp = new (hugetlb_space) HugetlbSysAllocator(alloc); [all...] |
| /external/chromium_org/third_party/tcmalloc/vendor/src/ |
| memfs_malloc.cc | 99 void* Alloc(size_t size, size_t *actual_size, size_t alignment); 116 // us with an internal lock held (see tcmalloc/system-alloc.cc). 117 void* HugetlbSysAllocator::Alloc(size_t size, size_t *actual_size, 120 return fallback_->Alloc(size, actual_size, alignment); 126 return fallback_->Alloc(size, actual_size, alignment); 135 return fallback_->Alloc(size, actual_size, alignment); 148 return fallback_->Alloc(size, actual_size, alignment); 169 "alloc too large (size, bytes left)", size, limit-hugetlb_base_); 259 SysAllocator* alloc = MallocExtension::instance()->GetSystemAllocator(); 260 HugetlbSysAllocator* hp = new (hugetlb_space) HugetlbSysAllocator(alloc); [all...] |
| /external/compiler-rt/lib/tsan/rtl/ |
| tsan_dense_alloc.h | 47 // Check that it makes sense to use the dense alloc. 61 IndexT Alloc(Cache *c) {
|
| /external/llvm/lib/CodeGen/ |
| LiveRangeCalc.h | 41 VNInfo::Allocator *Alloc; 129 DomTree(nullptr), Alloc(nullptr) {} 160 /// single existing value, Alloc may be null.
|
| /external/lzma/CPP/7zip/Common/ |
| StreamObjects.cpp | 5 #include "../../../C/Alloc.h"
132 bool CCachedInStream::Alloc(unsigned blockSizeLog, unsigned numBlocksLog)
|
| /art/runtime/mirror/ |
| object_array-inl.h | 35 inline ObjectArray<T>* ObjectArray<T>::Alloc(Thread* self, Class* object_array_class, 37 Array* array = Array::Alloc<true>(self, object_array_class, length, 47 inline ObjectArray<T>* ObjectArray<T>::Alloc(Thread* self, Class* object_array_class, 49 return Alloc(self, object_array_class, length, 253 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length, allocator_type);
|
| string.cc | 80 String* string = Alloc(self, utf16_length); 106 String* string = Alloc(self, utf16_length); 117 String* String::Alloc(Thread* self, int32_t utf16_length) { 119 Handle<CharArray> array(hs.NewHandle(CharArray::Alloc(self, utf16_length))); 123 return Alloc(self, array); 126 String* String::Alloc(Thread* self, Handle<CharArray> array) {
|