/external/llvm/unittests/Support/ |
D | AllocatorTest.cpp | 20 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/ |
D | b2Joint.cpp | 45 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/ |
D | StmtOpenMP.cpp | 63 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 …]
|
D | OpenMPClause.cpp | 43 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 …]
|
D | ExprCXX.cpp | 298 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/ |
D | dng_memory.cpp | 40 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
|
D | dng_ref_counted_block.cpp | 40 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/ |
D | register-allocator-unittest.cc | 85 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 …]
|
D | zone-pool-unittest.cc | 33 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()
|
D | escape-analysis-unittest.cc | 61 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/ |
D | Allocator.h | 46 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 …]
|
D | RecyclingAllocator.h | 44 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()
|
D | Recycler.h | 82 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/ |
D | minidump_file_writer-inl.h | 45 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()
|
D | minidump_file_writer.h | 125 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/ |
D | sanitizer_allocator_test.cc | 103 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 …]
|
D | sanitizer_allocator_testlib.cc | 76 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/ |
D | lsan_interceptors.cc | 54 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/ |
D | new_array_cookie_with_new_from_class.cc | 12 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/ |
D | expect.1 | 12 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/ |
D | relayserver_unittest.cc | 62 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/ |
D | p11.cpp | 9 void Allocate(unsigned Alignment in Allocate() function 13 void f1(A<int> x) { x.Allocate(); } in f1()
|
/external/google-breakpad/src/client/solaris/handler/ |
D | minidump_generator.cc | 142 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/ |
D | constant-array-builder.cc | 36 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/ |
D | SymbolManager.cpp | 157 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()
|