HomeSort by relevance Sort by last modified time
    Searched refs:Allocate (Results 1 - 25 of 374) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/mojo/public/cpp/bindings/lib/
buffer.h 13 // Buffer provides a way to allocate memory. Allocations are 8-byte aligned and
18 virtual void* Allocate(size_t num_bytes) = 0;
fixed_buffer.h 14 // FixedBuffer provides a simple way to allocate objects within a fixed chunk
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;
message_builder.cc 13 void Allocate(Buffer* buf, Header** header) {
14 *header = static_cast<Header*>(buf->Allocate(sizeof(Header)));
21 Allocate(&buf_, &header);
44 Allocate(&buf_, &header);
  /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/chromium_org/base/memory/
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(kPageSize)
    [all...]
  /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);
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(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...]
  /external/chromium_org/mojo/public/cpp/bindings/tests/
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/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/llvm/include/llvm/Support/
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); }
67 return Allocator.Allocate();
Recycler.h 101 SubClass *Allocate(AllocatorType &Allocator) {
108 static_cast<SubClass *>(Allocator.Allocate(Size, Align));
112 T *Allocate(AllocatorType &Allocator) {
113 return Allocate<T>(Allocator);
  /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/third_party/android_crazy_linker/src/src/
crazy_linker_ashmem_unittest.cpp 18 TEST(AshmemRegion, Allocate) {
21 EXPECT_TRUE(region.Allocate(kSize, __FUNCTION__));
crazy_linker_ashmem.h 34 // Try to allocate a new ashmem region of |region_size|
38 bool Allocate(size_t region_size, const char* region_name);
crazy_linker_ashmem.cpp 21 bool AshmemRegion::Allocate(size_t region_size, const char* region_name) {
55 if (map.Allocate(NULL, map_size, MemoryMapping::CAN_WRITE, fd)) {
69 if (!map.Allocate(NULL, map_size, MemoryMapping::CAN_READ, fd)) {
  /ndk/sources/android/crazy_linker/src/
crazy_linker_ashmem_unittest.cpp 18 TEST(AshmemRegion, Allocate) {
21 EXPECT_TRUE(region.Allocate(kSize, __FUNCTION__));
crazy_linker_ashmem.h 34 // Try to allocate a new ashmem region of |region_size|
38 bool Allocate(size_t region_size, const char* region_name);
  /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) {
  /system/core/libion/tests/
allocate_test.cpp 24 class Allocate : public IonAllHeapsTest {
27 TEST_F(Allocate, Allocate)
42 TEST_F(Allocate, AllocateCached)
57 TEST_F(Allocate, AllocateCachedNeedsSync)
72 TEST_F(Allocate, RepeatedAllocate)
91 TEST_F(Allocate, Zeroed)
138 TEST_F(Allocate, Large)
  /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);

Completed in 603 milliseconds

1 2 3 4 5 6 7 8 91011>>