HomeSort by relevance Sort by last modified time
    Searched refs:Allocate (Results 1 - 25 of 1118) 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/tensorflow/tensorflow/contrib/lite/
simple_memory_arena_test.cc 29 arena.Allocate(&context, 32, 2047, &allocs[0]);
30 arena.Allocate(&context, 32, 2047, &allocs[1]);
31 arena.Allocate(&context, 32, 2047, &allocs[2]);
33 arena.Allocate(&context, 32, 1023, &allocs[3]);
34 arena.Allocate(&context, 32, 2047, &allocs[4]);
36 arena.Allocate(&context, 32, 1023, &allocs[5]);
51 arena.Allocate(&context, 32, 2047, &allocs[0]);
52 arena.Allocate(&context, 32, 2047, &allocs[1]);
53 arena.Allocate(&context, 32, 2047, &allocs[2]);
63 arena.Allocate(&context, 32, 1023, &allocs[3])
    [all...]
  /external/llvm/unittests/Support/
AllocatorTest.cpp 20 int *a = (int*)Alloc.Allocate(sizeof(int), 1);
21 int *b = (int*)Alloc.Allocate(sizeof(int) * 10, 1);
22 int *c = (int*)Alloc.Allocate(sizeof(int), 1);
49 // Allocate enough bytes to create three slabs.
52 Alloc.Allocate(3000, 1);
54 Alloc.Allocate(3000, 1);
56 Alloc.Allocate(3000, 1);
60 // Allocate enough bytes to create two slabs, reset the allocator, and do it
65 // Allocate something larger than the SizeThreshold=4096.
66 (void)Alloc.Allocate(5000, 1)
    [all...]
  /external/perfetto/src/tracing/core/
id_allocator_unittest.cc 32 auto id = id_allocator.Allocate();
39 ASSERT_EQ(0u, id_allocator.Allocate());
44 auto id = id_allocator.Allocate();
51 ASSERT_EQ(kMaxId, id_allocator.Allocate());
52 ASSERT_EQ(1u, id_allocator.Allocate());
55 ASSERT_EQ(0u, id_allocator.Allocate());
67 uint8_t id = id_allocator.Allocate();
70 ASSERT_EQ(0u, id_allocator.Allocate());
72 ASSERT_EQ(0xff, id_allocator.Allocate());
  /external/swiftshader/third_party/LLVM/unittests/Support/
AllocatorTest.cpp 21 int *a = (int*)Alloc.Allocate(sizeof(int), 0);
22 int *b = (int*)Alloc.Allocate(sizeof(int) * 10, 0);
23 int *c = (int*)Alloc.Allocate(sizeof(int), 0);
35 // Allocate enough bytes to create three slabs.
38 Alloc.Allocate(3000, 0);
40 Alloc.Allocate(3000, 0);
42 Alloc.Allocate(3000, 0);
46 // Allocate enough bytes to create two slabs, reset the allocator, and do it
50 Alloc.Allocate(3000, 0);
52 Alloc.Allocate(3000, 0)
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/service/
pool_test.cc 29 auto ptr = pool.Allocate();
34 auto ptr = pool.Allocate();
  /external/swiftshader/third_party/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); }
63 return Allocator.Allocate();
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);
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...]
  /external/libmojo/mojo/public/cpp/bindings/tests/
buffer_unittest.cc 31 void* a = buf.Allocate(10);
36 void* b = buf.Allocate(10);
52 ptr = buf.Allocate(8);
76 EXPECT_EQ(reinterpret_cast<void*>(0), buf.Allocate(32));
79 EXPECT_NE(reinterpret_cast<void*>(0), buf.Allocate(16));
83 buf.Allocate(std::numeric_limits<size_t>::max() - 1024u));
87 buf.Allocate(std::numeric_limits<size_t>::max() - 8u));
  /external/llvm/lib/Support/
StringSaver.cpp 15 char *P = Alloc.Allocate<char>(S.size() + 1);
  /external/dng_sdk/source/
dng_memory.cpp 40 Allocate (size);
52 Allocate (count, elementSize);
67 void dng_memory_data::Allocate (uint32 size)
90 void dng_memory_data::Allocate (uint32 count, std::size_t elementSize)
100 // Compute required number of bytes and allocate memory.
106 Allocate(numBytes);
131 dng_memory_block * result = allocator.Allocate (size);
218 dng_memory_block * dng_memory_allocator::Allocate (uint32 size)
  /external/libmojo/mojo/public/cpp/bindings/lib/
message_builder.cc 16 void Allocate(Buffer* buf, Header** header) {
17 *header = static_cast<Header*>(buf->Allocate(sizeof(Header)));
33 Allocate(message_.buffer(), &header);
45 Allocate(message_.buffer(), &header);
53 Allocate(message_.buffer(), &header);
  /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();
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/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();
  /prebuilts/clang/host/darwin-x86/clang-4393122/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();
  /prebuilts/clang/host/darwin-x86/clang-4479392/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();
  /prebuilts/clang/host/darwin-x86/clang-4579689/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();
  /prebuilts/clang/host/darwin-x86/clang-4630689/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();
  /prebuilts/clang/host/darwin-x86/clang-4639204/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();
  /prebuilts/clang/host/darwin-x86/clang-4691093/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();
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/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();
  /prebuilts/clang/host/linux-x86/clang-4393122/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();
  /prebuilts/clang/host/linux-x86/clang-4479392/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();
  /prebuilts/clang/host/linux-x86/clang-4579689/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();
  /prebuilts/clang/host/linux-x86/clang-4630689/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();

Completed in 916 milliseconds

1 2 3 4 5 6 7 8 91011>>