Searched refs:Allocate (Results 1 - 25 of 360) 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/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);
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(300
111 virtual MemSlab *Allocate(size_t Size) { function in class:__anon21845::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/llvm/include/llvm/Support/
H A DAllocator.h36 void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); } function in class:llvm::MallocAllocator
39 T *Allocate() { return static_cast<T*>(malloc(sizeof(T))); } function in class:llvm::MallocAllocator
42 T *Allocate(size_t Num) { function in class:llvm::MallocAllocator
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
128 /// StartNewSlab - Allocate a new slab and move the bump pointers over into
148 /// Allocate - Allocate space at the specified alignment.
150 void *Allocate(size_
155 T *Allocate() { function in class:llvm::BumpPtrAllocator
162 T *Allocate(size_t Num) { function in class:llvm::BumpPtrAllocator
169 T *Allocate(size_t Num, size_t Alignment) { function in class:llvm::BumpPtrAllocator
219 T *Allocate(size_t num = 1) { function in class:llvm::SpecificBumpPtrAllocator
[all...]
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
66 return Allocator.Allocate();
H A DRecycler.h102 SubClass *Allocate(AllocatorType &Allocator) { function in class:llvm::Recycler
109 static_cast<SubClass *>(Allocator.Allocate(Size, Align));
113 T *Allocate(AllocatorType &Allocator) { function in class:llvm::Recycler
114 return Allocate<T>(Allocator);
/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);
H A Dheap-profiler_unittest.sh129 VerifyMemFunction Allocate "$HEAPPROFILE.1448.heap" "$HEAPPROFILE.1548.heap"
133 VerifyMemFunction Allocate "$HEAPPROFILE"_*.1448.heap "$HEAPPROFILE"_*.1548.heap
/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);
H A Dheap-profiler_unittest.sh129 VerifyMemFunction Allocate "$HEAPPROFILE.1448.heap" "$HEAPPROFILE.1548.heap"
133 VerifyMemFunction Allocate "$HEAPPROFILE"_*.1448.heap "$HEAPPROFILE"_*.1548.heap
/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/media/video/capture/
H A Dvideo_capture_device_dummy.cc19 void VideoCaptureDeviceDummy::Allocate( function in class:media::VideoCaptureDeviceDummy
H A Dvideo_capture_device_dummy.h22 virtual void Allocate(const VideoCaptureCapability& capture_format,
/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 bool Allocate(gfx::Size size,
H A Dscoped_resource_unittest.cc37 texture->Allocate(
58 texture->Allocate(
69 texture->Allocate(
87 texture->Allocate(
/external/chromium_org/v8/src/
H A Dtransitions.cc49 MaybeObject* TransitionArray::Allocate(int number_of_transitions) { function in class:v8::internal::TransitionArray
84 maybe_result = Allocate(1);
97 MaybeObject* maybe_result = Allocate(nof);
119 maybe_array = TransitionArray::Allocate(new_size);
/external/clang/lib/AST/
H A DDeclGroup.cpp23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment);
/external/chromium_org/content/test/plugin/
H A Dplugin_npobject_identity_test.cc16 static NPObject* Allocate(NPP npp, NPClass* npclass) { function in class:__anon8136::NPThingy
28 NPThingy::Allocate,

Completed in 543 milliseconds

1234567891011>>