Searched refs:Allocate (Results 1 - 25 of 364) sorted by relevance

1234567891011>>

/external/clang/test/CXX/temp/temp.spec/temp.inst/
H A Dp11.cpp9 void Allocate(unsigned Alignment function in struct:test0::A
13 void f1(A<int> x) { x.Allocate(); }
/external/clang/test/Index/
H A Dindex-file.cpp4 template < typename T > *Allocate() { } function
/external/chromium_org/third_party/libjingle/overrides/allocator_shim/
H A Dallocator_stub.cc11 void* Allocate(std::size_t n) { function
H A Dallocator_stub.h19 void* Allocate(std::size_t n);
/external/chromium_org/base/memory/
H A Ddiscardable_memory_ashmem_allocator_unittest.cc48 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 DAllocatorTest.cpp20 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 Dresource_buffer_unittest.cc18 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 Dresource_buffer.h20 // 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 Dbuffer_unittest.cc29 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 Dbuffer.h18 virtual void* Allocate(size_t num_bytes) = 0;
H A Dmessage_builder.cc13 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 Dfixed_buffer.h15 // 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 Dfixed_buffer.cc29 void* FixedBuffer::Allocate(size_t delta) { function in class:mojo::internal::FixedBuffer
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dheap-profiler_unittest.cc59 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 Dheap-profiler_unittest.cc59 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 DRecyclingAllocator.h40 /// 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 Dpaged_array_unittest.cc20 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 Dcrazy_linker_ashmem_unittest.cpp18 TEST(AshmemRegion, Allocate) {
21 EXPECT_TRUE(region.Allocate(kSize, __FUNCTION__));
H A Dcrazy_linker_ashmem.cpp21 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 Dcrazy_linker_ashmem.h38 bool Allocate(size_t region_size, const char* region_name);
/external/chromium_org/third_party/leveldatabase/src/util/
H A Darena.h21 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 Dlsan_allocator.h23 void *Allocate(const StackTrace &stack, uptr size, uptr alignment,
/external/opencv/
H A DWLNonFileByteStream.h41 void Allocate(int data_size);
/external/chromium_org/cc/resources/
H A Dscoped_resource.h28 void Allocate(const gfx::Size& size,
/external/clang/lib/AST/
H A DDeclGroup.cpp23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment);

Completed in 1526 milliseconds

1234567891011>>