/external/clang/test/CXX/temp/temp.spec/temp.inst/ |
p11.cpp | 9 void Allocate(unsigned Alignment 13 void f1(A<int> x) { x.Allocate(); }
|
/external/chromium_org/base/memory/ |
discardable_memory_allocator_android_unittest.cc | 43 scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(size)); 52 scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(size)); 58 scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(kPageSize)); 65 scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(kPageSize)); 68 scoped_ptr<DiscardableMemory> memory_lock(allocator_.Allocate(kPageSize)); 73 memory = allocator_.Allocate(kPageSize); 81 scoped_ptr<DiscardableMemory> memory(allocator_.Allocate(kPageSize)); 88 memory = allocator_.Allocate(kPageSize); 94 scoped_ptr<DiscardableMemory> memory1(allocator_.Allocate(3 * kPageSize)); 96 scoped_ptr<DiscardableMemory> memory2(allocator_.Allocate(2 * kPageSize)) [all...] |
discardable_memory_allocator_android.h | 31 // although its Allocate() method can be invoked on any thread. See 46 scoped_ptr<DiscardableMemory> Allocate(size_t size);
|
/external/chromium_org/third_party/libjingle/overrides/allocator_shim/ |
allocator_stub.cc | 11 void* Allocate(std::size_t n) {
|
allocator_stub.h | 19 void* Allocate(std::size_t n);
|
/external/clang/test/Index/ |
index-file.cpp | 4 template < typename T > *Allocate() { }
|
/external/llvm/unittests/Support/ |
AllocatorTest.cpp | 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); 34 // Allocate enough bytes to create three slabs. 37 Alloc.Allocate(3000, 0); 39 Alloc.Allocate(3000, 0); 41 Alloc.Allocate(3000, 0); 45 // Allocate enough bytes to create two slabs, reset the allocator, and do it 49 Alloc.Allocate(3000, 0); 51 Alloc.Allocate(3000, 0) [all...] |
/external/chromium_org/content/browser/loader/ |
resource_buffer_unittest.cc | 18 char* ptr = buf->Allocate(&size); 33 char* ptr = buf->Allocate(&size); 53 buf->Allocate(&size); 59 buf->Allocate(&size); 69 buf->Allocate(&size); 72 buf->Allocate(&size); 78 buf->Allocate(&size); 90 buf->Allocate(&size); 93 buf->Allocate(&size); 96 buf->Allocate(&size) [all...] |
resource_buffer.h | 20 // You can think of the ResourceBuffer as a FIFO. The Allocate method reserves 21 // space in the buffer. Allocate may be called multiple times until the buffer 40 // char* ptr = buf->Allocate(&size); 56 // returning larger allocations from the Allocate method. 65 // the Allocate method. It will prefer to return segments that are 82 // Returns true if Allocate will succeed. 88 char* Allocate(int* size); 91 // returned by Allocate can be found. 94 // Called to reduce the size of the last allocation returned by Allocate. It
|
/external/llvm/include/llvm/Support/ |
Allocator.h | 36 void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); } 39 T *Allocate() { return static_cast<T*>(malloc(sizeof(T))); } 42 T *Allocate(size_t Num) { 61 /// by the JIT to allocate contiguous swathes of executable memory. The 67 virtual MemSlab *Allocate(size_t Size) = 0; 82 virtual MemSlab *Allocate(size_t Size) LLVM_OVERRIDE; 94 /// SlabSize - Allocate data into slabs of this size unless we get an 99 /// allocate a separate slab. 128 /// StartNewSlab - Allocate a new slab and move the bump pointers over into 148 /// Allocate - Allocate space at the specified alignment [all...] |
RecyclingAllocator.h | 40 /// Allocate - Return a pointer to storage for an object of type 44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } 46 T *Allocate() { return Base.Allocate(Allocator); } 66 return Allocator.Allocate();
|
Recycler.h | 102 SubClass *Allocate(AllocatorType &Allocator) { 109 static_cast<SubClass *>(Allocator.Allocate(Size, Align)); 113 T *Allocate(AllocatorType &Allocator) { 114 return Allocate<T>(Allocator);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
heap-profiler_unittest.cc | 59 static ATTRIBUTE_NOINLINE void Allocate(int start, int end, int size) { 91 Allocate(0, 40, 100); 110 Allocate(0, 40, 100); 133 Allocate(0, 40, 100); 136 Allocate(0, 40, 100); 137 Allocate(0, 40, 100); 142 Allocate(0, 100, 100000);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
heap-profiler_unittest.cc | 59 static ATTRIBUTE_NOINLINE void Allocate(int start, int end, int size) { 91 Allocate(0, 40, 100); 110 Allocate(0, 40, 100); 133 Allocate(0, 40, 100); 136 Allocate(0, 40, 100); 137 Allocate(0, 40, 100); 142 Allocate(0, 100, 100000);
|
/external/chromium_org/courgette/third_party/ |
paged_array_unittest.cc | 20 EXPECT_TRUE(a.Allocate(kSize)); 27 EXPECT_TRUE(a.Allocate(kSize)); 35 a.Allocate(kAccessSize);
|
/external/chromium_org/mojo/public/tests/ |
buffer_unittest.cc | 28 void* small = buf.Allocate(10); 33 void* large = buf.Allocate(100*1024); 38 small = buf.Allocate(10); 69 void* a = buf.Allocate(10); 74 void* b = buf.Allocate(10); 92 ptr = buf.Allocate(8);
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
arena.h | 21 char* Allocate(size_t bytes); 23 // Allocate memory with the normal alignment guarantees provided by malloc 52 inline char* Arena::Allocate(size_t bytes) {
|
/external/chromium_org/mojo/public/bindings/lib/ |
message_builder.cc | 15 static_cast<MessageHeader*>(buf_.Allocate(sizeof(MessageHeader)));
|
buffer.h | 16 // Buffer provides a way to allocate memory. Allocations are 8-byte aligned and 25 virtual void* Allocate(size_t num_bytes, Destructor func = NULL) = 0; 42 virtual void* Allocate(size_t num_bytes, Destructor func = NULL) 70 // FixedBuffer provides a simple way to allocate objects within a fixed chunk 71 // of memory. Objects are allocated by calling the |Allocate| method, which 82 // int* a = static_cast<int*>(buf->Allocate(sizeof(int))); 85 // double* b = static_cast<double*>(buf->Allocate(sizeof(double))); 102 virtual void* Allocate(size_t num_bytes, Destructor func = NULL)
|
/external/compiler-rt/lib/lsan/ |
lsan_allocator.h | 23 void *Allocate(const StackTrace &stack, uptr size, uptr alignment,
|
/external/opencv/ |
WLNonFileByteStream.h | 41 void Allocate(int data_size);
|
/external/chromium/base/win/ |
scoped_bstr.h | 34 // If you need to allocate a new BSTR instance, use |allocate| instead. 46 BSTR Allocate(const char16* str);
|
/external/chromium_org/base/win/ |
scoped_bstr.h | 33 // If you need to allocate a new BSTR instance, use |allocate| instead. 45 BSTR Allocate(const char16* str);
|
/external/chromium_org/cc/resources/ |
scoped_resource.h | 28 void Allocate(gfx::Size size,
|
/external/chromium_org/v8/src/ |
transitions.cc | 47 MaybeObject* TransitionArray::Allocate(Isolate* isolate, 84 maybe_result = Allocate(target->GetIsolate(), 1); 97 MaybeObject* maybe_result = Allocate(GetIsolate(), nof); 119 maybe_array = TransitionArray::Allocate(GetIsolate(), new_size);
|