/external/clang/test/CXX/temp/temp.spec/temp.inst/ |
H A D | p11.cpp | 9 void Allocate(unsigned Alignment function in struct:test0::A 13 void f1(A<int> x) { x.Allocate(); }
|
/external/clang/test/Index/ |
H A D | index-file.cpp | 4 template < typename T > *Allocate() { } function
|
/external/chromium_org/third_party/libjingle/overrides/allocator_shim/ |
H A D | allocator_stub.cc | 11 void* Allocate(std::size_t n) { function
|
H A D | allocator_stub.h | 19 void* Allocate(std::size_t n);
|
/external/chromium_org/base/memory/ |
H A D | discardable_memory_ashmem_allocator_unittest.cc | 48 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(size)); 54 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(0)); 60 allocator_.Allocate(kMaxAllowedAllocationSize + 1)); 75 allocator_.Allocate(kMaxAllowedAllocationSize)); 85 scoped_ptr<DiscardableAshmemChunk> memory(allocator.Allocate(kPageSize)); 93 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(size)); 99 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(kPageSize)); 106 scoped_ptr<DiscardableAshmemChunk> memory(allocator_.Allocate(kPageSize)); 110 allocator_.Allocate(kPageSize)); 115 memory = allocator_.Allocate(kPageSiz [all...] |
/external/llvm/unittests/Support/ |
H A D | 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); 49 // Allocate enough bytes to create three slabs. 52 Alloc.Allocate(3000, 0); 54 Alloc.Allocate(3000, 0); 56 Alloc.Allocate(3000, 0); 60 // Allocate enough bytes to create two slabs, reset the allocator, and do it 64 Alloc.Allocate(3000, 0); 66 Alloc.Allocate(300 126 void *Allocate(size_t Size, size_t /*Alignment*/) { function in class:__anon26521::MockSlabAllocator [all...] |
/external/chromium_org/content/browser/loader/ |
H A D | 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( [all...] |
H A D | 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/chromium_org/mojo/public/cpp/bindings/tests/ |
H A D | buffer_unittest.cc | 29 void* a = buf.Allocate(10); 34 void* b = buf.Allocate(10); 50 ptr = buf.Allocate(8); 74 EXPECT_EQ(reinterpret_cast<void*>(0), buf.Allocate(32)); 77 EXPECT_NE(reinterpret_cast<void*>(0), buf.Allocate(16)); 81 buf.Allocate(std::numeric_limits<size_t>::max() - 1024u)); 85 buf.Allocate(std::numeric_limits<size_t>::max() - 8u));
|
/external/chromium_org/mojo/public/cpp/bindings/lib/ |
H A D | buffer.h | 18 virtual void* Allocate(size_t num_bytes) = 0;
|
H A D | message_builder.cc | 13 void Allocate(Buffer* buf, Header** header) { function in namespace:mojo::internal 14 *header = static_cast<Header*>(buf->Allocate(sizeof(Header))); 21 Allocate(&buf_, &header); 44 Allocate(&buf_, &header);
|
H A D | fixed_buffer.h | 15 // of memory. Objects are allocated by calling the |Allocate| method, which 26 // int* a = static_cast<int*>(buf->Allocate(sizeof(int))); 29 // double* b = static_cast<double*>(buf->Allocate(sizeof(double))); 46 virtual void* Allocate(size_t num_bytes) MOJO_OVERRIDE;
|
H A D | fixed_buffer.cc | 29 void* FixedBuffer::Allocate(size_t delta) { function in class:mojo::internal::FixedBuffer
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
H A D | heap-profiler_unittest.cc | 59 static ATTRIBUTE_NOINLINE void Allocate(int start, int end, int size) { function 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/ |
H A D | heap-profiler_unittest.cc | 59 static ATTRIBUTE_NOINLINE void Allocate(int start, int end, int size) { function 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/llvm/include/llvm/Support/ |
H A D | RecyclingAllocator.h | 40 /// Allocate - Return a pointer to storage for an object of type 44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } function in class:llvm::RecyclingAllocator 46 T *Allocate() { return Base.Allocate(Allocator); } function in class:llvm::RecyclingAllocator 67 return Allocator.Allocate();
|
/external/chromium_org/courgette/third_party/ |
H A D | paged_array_unittest.cc | 20 EXPECT_TRUE(a.Allocate(kSize)); 27 EXPECT_TRUE(a.Allocate(kSize)); 35 a.Allocate(kAccessSize);
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_ashmem_unittest.cpp | 18 TEST(AshmemRegion, Allocate) { 21 EXPECT_TRUE(region.Allocate(kSize, __FUNCTION__));
|
H A D | crazy_linker_ashmem.cpp | 21 bool AshmemRegion::Allocate(size_t region_size, const char* region_name) { function in class:crazy::AshmemRegion 55 if (map.Allocate(NULL, map_size, MemoryMapping::CAN_WRITE, fd)) { 69 if (!map.Allocate(NULL, map_size, MemoryMapping::CAN_READ, fd)) {
|
H A D | crazy_linker_ashmem.h | 38 bool Allocate(size_t region_size, const char* region_name);
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
H A D | 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) { function in class:leveldb::Arena
|
/external/compiler-rt/lib/lsan/ |
H A D | lsan_allocator.h | 23 void *Allocate(const StackTrace &stack, uptr size, uptr alignment,
|
/external/opencv/ |
H A D | WLNonFileByteStream.h | 41 void Allocate(int data_size);
|
/external/chromium_org/cc/resources/ |
H A D | scoped_resource.h | 28 void Allocate(const gfx::Size& size,
|
/external/clang/lib/AST/ |
H A D | DeclGroup.cpp | 23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment);
|