Home
last modified time | relevance | path

Searched refs:Allocate (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/external/llvm/unittests/Support/
DAllocatorTest.cpp20 int *a = (int*)Alloc.Allocate(sizeof(int), 1); in TEST()
21 int *b = (int*)Alloc.Allocate(sizeof(int) * 10, 1); in TEST()
22 int *c = (int*)Alloc.Allocate(sizeof(int), 1); in TEST()
52 Alloc.Allocate(3000, 1); in TEST()
54 Alloc.Allocate(3000, 1); in TEST()
56 Alloc.Allocate(3000, 1); in TEST()
66 (void)Alloc.Allocate(5000, 1); in TEST()
71 Alloc.Allocate(3000, 1); in TEST()
73 Alloc.Allocate(3000, 1); in TEST()
77 Alloc.Allocate(3000, 1); in TEST()
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/
Db2Joint.cpp45 void* mem = allocator->Allocate(sizeof(b2DistanceJoint)); in Create()
52 void* mem = allocator->Allocate(sizeof(b2MouseJoint)); in Create()
59 void* mem = allocator->Allocate(sizeof(b2PrismaticJoint)); in Create()
66 void* mem = allocator->Allocate(sizeof(b2RevoluteJoint)); in Create()
73 void* mem = allocator->Allocate(sizeof(b2PulleyJoint)); in Create()
80 void* mem = allocator->Allocate(sizeof(b2GearJoint)); in Create()
87 void* mem = allocator->Allocate(sizeof(b2WheelJoint)); in Create()
94 void* mem = allocator->Allocate(sizeof(b2WeldJoint)); in Create()
101 void* mem = allocator->Allocate(sizeof(b2FrictionJoint)); in Create()
108 void* mem = allocator->Allocate(sizeof(b2RopeJoint)); in Create()
[all …]
/external/clang/lib/AST/
DStmtOpenMP.cpp63 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
78 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + sizeof(Stmt *)); in CreateEmpty()
90 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
118 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
131 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
167 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
180 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + in Create()
215 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
226 C.Allocate(Size + sizeof(OMPClause *) * Clauses.size() + sizeof(Stmt *)); in Create()
241 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + sizeof(Stmt *)); in CreateEmpty()
[all …]
DOpenMPClause.cpp43 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPPrivateClause), in Create()
55 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPPrivateClause), in CreateEmpty()
78 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPFirstprivateClause), in Create()
91 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPFirstprivateClause), in CreateEmpty()
129 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPLastprivateClause), in Create()
143 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPLastprivateClause), in CreateEmpty()
154 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPSharedClause), in Create()
164 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPSharedClause), in CreateEmpty()
201 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPLinearClause), in Create()
224 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPLinearClause), in CreateEmpty()
[all …]
DExprCXX.cpp298 void *Mem = C.Allocate(sizeof(UnresolvedLookupExpr) + in Create()
314 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>()); in CreateEmpty()
358 C.Allocate(sizeof(DeclAccessPair) * NumResults, in OverloadExpr()
398 C.Allocate(sizeof(DeclAccessPair) * NumResults, in initializeResults()
457 void *Mem = C.Allocate(size); in Create()
469 void *Mem = C.Allocate(size); in CreateEmpty()
590 void *Buffer = C.Allocate(sizeof(CXXStaticCastExpr) in Create()
602 C.Allocate(sizeof(CXXStaticCastExpr) + PathSize * sizeof(CXXBaseSpecifier*)); in CreateEmpty()
615 void *Buffer = C.Allocate(sizeof(CXXDynamicCastExpr) in Create()
627 C.Allocate(sizeof(CXXDynamicCastExpr) + PathSize * sizeof(CXXBaseSpecifier*)); in CreateEmpty()
[all …]
/external/dng_sdk/source/
Ddng_memory.cpp40 Allocate (size); in dng_memory_data()
52 Allocate (count, elementSize); in dng_memory_data()
67 void dng_memory_data::Allocate (uint32 size) in Allocate() function in dng_memory_data
90 void dng_memory_data::Allocate (uint32 count, std::size_t elementSize) in Allocate() function in dng_memory_data
106 Allocate(numBytes); in Allocate()
131 dng_memory_block * result = allocator.Allocate (size); in Clone()
218 dng_memory_block * dng_memory_allocator::Allocate (uint32 size) in Allocate() function in dng_memory_allocator
Ddng_ref_counted_block.cpp40 Allocate (size); in dng_ref_counted_block()
55 void dng_ref_counted_block::Allocate (uint32 size) in Allocate() function in dng_ref_counted_block
172 Allocate ((uint32)possiblySharedHeader->fSize); in EnsureWriteable()
/external/v8/test/unittests/compiler/
Dregister-allocator-unittest.cc85 void Allocate() { in Allocate() function in v8::internal::compiler::RegisterAllocatorTest
101 Allocate(); in TEST_F()
124 Allocate(); in TEST_F()
142 Allocate(); in TEST_F()
162 Allocate(); in TEST_F()
183 Allocate(); in TEST_F()
215 Allocate(); in TEST_F()
254 Allocate(); in TEST_F()
303 Allocate(); in TEST_F()
325 Allocate(); in TEST_F()
[all …]
Dzone-pool-unittest.cc33 size_t Allocate(Zone* zone) { in Allocate() function in v8::internal::compiler::ZonePoolTest
70 before_stats += Allocate(scopes[i]->zone()); // Add some stuff. in TEST_F()
79 before_deletion += Allocate(scopes[i]->zone()); // Add some stuff. in TEST_F()
98 after_deletion += Allocate(scopes[i]->zone()); // Add some stuff. in TEST_F()
129 size_t bytes = Allocate(outer_scope.zone()); in TEST_F()
138 size_t bytes = Allocate(inner_scope.zone()); in TEST_F()
Descape-analysis-unittest.cc61 Node* Allocate(Node* size, Node* effect = nullptr, Node* control = nullptr) { in Allocate() function in v8::internal::compiler::EscapeAnalysisTest
68 return effect_ = graph()->NewNode(simplified()->Allocate(), size, effect, in Allocate()
187 Node* allocation = Allocate(Constant(kPointerSize)); in TEST_F()
208 Node* allocation = Allocate(Constant(kPointerSize)); in TEST_F()
231 Node* allocation1 = Allocate(Constant(kPointerSize)); in TEST_F()
236 Node* allocation2 = Allocate(Constant(kPointerSize)); in TEST_F()
259 Node* allocation = Allocate(Constant(kPointerSize)); in TEST_F()
289 Node* allocation = Allocate(Constant(kPointerSize)); in TEST_F()
314 Node* allocation = Allocate(Constant(kPointerSize)); in TEST_F()
353 Node* allocation = Allocate(Constant(kPointerSize * 2)); in TEST_F()
/external/llvm/include/llvm/Support/
DAllocator.h46 void *Allocate(size_t Size, size_t Alignment) { in Allocate() function
49 &AllocatorBase::Allocate) != in Allocate()
51 &DerivedT::Allocate), in Allocate()
55 return static_cast<DerivedT *>(this)->Allocate(Size, Alignment); in Allocate()
76 template <typename T> T *Allocate(size_t Num = 1) {
77 return static_cast<T *>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment));
93 LLVM_ATTRIBUTE_RETURNS_NONNULL void *Allocate(size_t Size, in Allocate() function
99 using AllocatorBase<MallocAllocator>::Allocate;
208 Allocate(size_t Size, size_t Alignment) { in Allocate() function
233 void *NewSlab = Allocator.Allocate(PaddedSize, 0); in Allocate()
[all …]
DRecyclingAllocator.h44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } in Allocate() function
46 T *Allocate() { return Base.Allocate(Allocator); } in Allocate() function
67 return Allocator.Allocate(); in new()
DRecycler.h82 SubClass *Allocate(AllocatorType &Allocator) { in Allocate() function
88 : static_cast<SubClass *>(Allocator.Allocate(Size, Align)); in Allocate()
92 T *Allocate(AllocatorType &Allocator) { in Allocate() function
93 return Allocate<T>(Allocator); in Allocate()
/external/google-breakpad/src/client/
Dminidump_file_writer-inl.h45 inline bool TypedMDRVA<MDType>::Allocate() { in Allocate() function
47 return UntypedMDRVA::Allocate(minidump_size<MDType>::size()); in Allocate()
51 inline bool TypedMDRVA<MDType>::Allocate(size_t additional) { in Allocate() function
53 return UntypedMDRVA::Allocate(minidump_size<MDType>::size() + additional); in Allocate()
60 return UntypedMDRVA::Allocate(minidump_size<MDType>::size() * count); in AllocateArray()
68 return UntypedMDRVA::Allocate(minidump_size<MDType>::size() + count * length); in AllocateObjectAndArray()
Dminidump_file_writer.h125 MDRVA Allocate(size_t size);
165 bool Allocate(size_t size);
228 bool Allocate();
233 bool Allocate(size_t additional);
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc103 char *x = (char*)cache.Allocate(a, class_id0); in TestSizeClassAllocator()
172 void *x = cache.Allocate(a, 1 + i % 50); in SizeClassAllocatorMetadataStress()
216 void *x = cache.Allocate(a, max_size_class); in SizeClassAllocatorGetBlockBeginStress()
306 void *x = a.Allocate(&stats, 1 << 20, 1); in TEST()
346 allocated[i] = (char *)a.Allocate(&stats, size, 1); in TEST()
361 char *x = (char *)a.Allocate(&stats, size, 1); in TEST()
390 char *p = allocated[i] = (char *)a.Allocate(&stats, size, alignment); in TEST()
404 char *p = (char *)a.Allocate(&stats, page_size, 1); in TEST()
425 EXPECT_EQ(a->Allocate(&cache, -1, 1), (void*)0); in TestCombinedAllocator()
426 EXPECT_EQ(a->Allocate(&cache, -1, 1024), (void*)0); in TestCombinedAllocator()
[all …]
Dsanitizer_allocator_testlib.cc76 void *p = allocator.Allocate(&cache, size, 8); in malloc()
92 void *p = allocator.Allocate(&cache, size, 8, false); in calloc()
114 void *p = allocator.Allocate(&cache, size, alignment); in memalign()
122 *memptr = allocator.Allocate(&cache, size, alignment); in posix_memalign()
132 void *p = allocator.Allocate(&cache, size, GetPageSizeCached()); in valloc()
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc54 return Allocate(stack, size, 1, kAlwaysClearMemory); in INTERCEPTOR()
78 return Allocate(stack, size, 1, true); in INTERCEPTOR()
90 return Allocate(stack, size, alignment, kAlwaysClearMemory); in INTERCEPTOR()
96 return Allocate(stack, size, alignment, kAlwaysClearMemory); in INTERCEPTOR()
102 *memptr = Allocate(stack, size, alignment, kAlwaysClearMemory); in INTERCEPTOR()
112 return Allocate(stack, size, GetPageSizeCached(), kAlwaysClearMemory); in INTERCEPTOR()
143 return Allocate(stack, size, GetPageSizeCached(), kAlwaysClearMemory); in INTERCEPTOR()
151 return Allocate(stack, size, 1, kAlwaysClearMemory);
/external/compiler-rt/test/asan/TestCases/Posix/
Dnew_array_cookie_with_new_from_class.cc12 void *operator new(size_t s) { return Allocate(s); } in operator new()
13 void *operator new[] (size_t s) { return Allocate(s); } in operator new[]()
16 static void *Allocate(size_t s) { in Allocate() function
/external/e2fsprogs/tests/f_holedir/
Dexpect.112 Directory inode 11 has an unallocated block #0. Allocate? yes
14 Directory inode 11 has an unallocated block #3. Allocate? yes
16 Directory inode 11 has an unallocated block #6. Allocate? yes
/external/webrtc/webrtc/p2p/base/
Drelayserver_unittest.cc62 void Allocate() { in Allocate() function in RelayServerTest
259 Allocate(); in TEST_F()
289 Allocate(); in TEST_F()
324 Allocate(); in TEST_F()
334 Allocate(); in TEST_F()
357 Allocate(); in TEST_F()
382 Allocate(); in TEST_F()
406 Allocate(); in TEST_F()
431 Allocate(); in TEST_F()
456 Allocate(); in TEST_F()
[all …]
/external/clang/test/CXX/temp/temp.spec/temp.inst/
Dp11.cpp9 void Allocate(unsigned Alignment in Allocate() function
13 void f1(A<int> x) { x.Allocate(); } in f1()
/external/google-breakpad/src/client/solaris/handler/
Dminidump_generator.cc142 if (!memory->Allocate(size)) in WriteLwpStack()
248 if (!context.Allocate()) in WriteCrashedLwpStream()
262 if (!context.Allocate()) in WriteCrashedLwpStream()
287 if (!context.Allocate()) in WriteLwpStream()
302 if (!context.Allocate()) in WriteLwpStream()
566 if (!sys_info.Allocate()) in WriteSystemInfoStream()
584 if (!exception.Allocate()) in WriteExceptionStream()
603 if (!context.Allocate()) in WriteExceptionStream()
618 if (!context.Allocate()) in WriteExceptionStream()
633 if (!info.Allocate()) in WriteMiscInfoStream()
[all …]
/external/v8/src/interpreter/
Dconstant-array-builder.cc36 size_t ConstantArrayBuilder::ConstantArraySlice::Allocate( in Allocate() function in v8::internal::interpreter::ConstantArrayBuilder::ConstantArraySlice
111 index = idx8_slice_.Allocate(object); in AllocateEntry()
113 index = idx16_slice_.Allocate(object); in AllocateEntry()
149 *entry = static_cast<index_t>(idx8_slice_.Allocate(object)); in CommitReservedEntry()
/external/clang/lib/StaticAnalyzer/Core/
DSymbolManager.cpp157 SD = (SymExpr*) BPAlloc.Allocate<SymbolRegionValue>(); in getRegionValueSymbol()
176 SD = (SymExpr*) BPAlloc.Allocate<SymbolConjured>(); in conjureSymbol()
194 SD = (SymExpr*) BPAlloc.Allocate<SymbolDerived>(); in getDerivedSymbol()
210 SD = (SymExpr*) BPAlloc.Allocate<SymbolExtent>(); in getExtentSymbol()
228 SD = (SymExpr*) BPAlloc.Allocate<SymbolMetadata>(); in getMetadataSymbol()
245 data = (SymbolCast*) BPAlloc.Allocate<SymbolCast>(); in getCastSymbol()
263 data = (SymIntExpr*) BPAlloc.Allocate<SymIntExpr>(); in getSymIntExpr()
281 data = (IntSymExpr*) BPAlloc.Allocate<IntSymExpr>(); in getIntSymExpr()
299 data = (SymSymExpr*) BPAlloc.Allocate<SymSymExpr>(); in getSymSymExpr()

12345678910>>...19