/external/pigweed/pw_allocator/public/pw_allocator/ |
D | freelist_heap.h | 42 void* Calloc(size_t num, size_t size); 70 void* Calloc(size_t num, size_t size) { return heap_.Calloc(num, size); } in Calloc() function
|
/external/pigweed/pw_malloc_freelist/ |
D | freelist_malloc.cc | 58 return pw_freelist_heap->Calloc(num, size); in __wrap_calloc() 72 return pw_freelist_heap->Calloc(num, size); in __wrap__calloc_r()
|
/external/pigweed/pw_allocator/ |
D | freelist_heap_test.cc | 241 reinterpret_cast<std::byte*>(allocator.Calloc(kNum, kAllocSize)); in TEST() 260 reinterpret_cast<std::byte*>(allocator.Calloc(kNum, kAllocSize)); in TEST() 275 EXPECT_EQ(allocator.Calloc(1, kAllocSize), nullptr); in TEST()
|
D | freelist_heap.cc | 158 void* FreeListHeap::Calloc(size_t num, size_t size) { in Calloc() function in pw::allocator::FreeListHeap
|
/external/llvm-project/compiler-rt/lib/lsan/ |
D | lsan_allocator.cpp | 107 static void *Calloc(uptr nmemb, uptr size, const StackTrace &stack) { in Calloc() function 207 return SetErrnoOnNull(Calloc(nmemb, size, stack)); in lsan_calloc()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 789 Value *Calloc = M->getOrInsertFunction("calloc", Attrs, B.getInt8PtrTy(), in emitCalloc() local 791 CallInst *CI = B.CreateCall(Calloc, { Num, Size }, "calloc"); in emitCalloc() 793 if (const auto *F = dyn_cast<Function>(Calloc->stripPointerCasts())) in emitCalloc() 831 Value *Calloc = emitCalloc(ConstantInt::get(SizeType, 1), in foldMallocMemset() local 834 if (!Calloc) in foldMallocMemset() 837 Malloc->replaceAllUsesWith(Calloc); in foldMallocMemset() 840 return Calloc; in foldMallocMemset() 844 if (auto *Calloc = foldMallocMemset(CI, B, *TLI)) in optimizeMemSet() local 845 return Calloc; in optimizeMemSet()
|
/external/libtextclassifier/native/utils/base/ |
D | arena.h | 212 char* Calloc(const size_t size) { in Calloc() function
|
D | arena_test.cc | 157 char* m2 = a->Calloc(2000); in TestArena()
|
/external/libchrome/base/process/ |
D | memory_unittest.cc | 191 TEST_F(OutOfMemoryDeathTest, Calloc) { in TEST_F() argument
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_allocator.cpp | 679 void *Calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) { in Calloc() function 777 return SetErrnoOnNull(instance.Calloc(nmemb, size, stack)); in memprof_calloc()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | wrappers_c_test.cpp | 59 TEST(ScudoWrappersCTest, Calloc) { in TEST() argument
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.cc | 564 void *Calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) { in Calloc() function 738 return instance.Calloc(nmemb, size, stack); in asan_calloc()
|
/external/scudo/standalone/tests/ |
D | wrappers_c_test.cpp | 70 TEST(ScudoWrappersCTest, Calloc) { in TEST() argument
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_allocator.cpp | 742 void *Calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) { in Calloc() function 984 return SetErrnoOnNull(instance.Calloc(nmemb, size, stack)); in asan_calloc()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 1460 FunctionCallee Calloc = M->getOrInsertFunction( in emitCalloc() local 1463 CallInst *CI = B.CreateCall(Calloc, {Num, Size}, CallocName); in emitCalloc() 1466 dyn_cast<Function>(Calloc.getCallee()->stripPointerCasts())) in emitCalloc()
|
D | SimplifyLibCalls.cpp | 1204 if (Value *Calloc = emitCalloc(ConstantInt::get(SizeType, 1), in foldMallocMemset() local 1207 substituteInParent(Malloc, Calloc); in foldMallocMemset() 1208 return Calloc; in foldMallocMemset() 1220 if (auto *Calloc = foldMallocMemset(CI, B)) in optimizeMemSet() local 1221 return Calloc; in optimizeMemSet()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 1301 FunctionCallee Calloc = M->getOrInsertFunction( in emitCalloc() local 1304 CallInst *CI = B.CreateCall(Calloc, {Num, Size}, CallocName); in emitCalloc() 1307 dyn_cast<Function>(Calloc.getCallee()->stripPointerCasts())) in emitCalloc()
|
D | SimplifyLibCalls.cpp | 1222 if (Value *Calloc = emitCalloc(ConstantInt::get(SizeType, 1), in foldMallocMemset() local 1225 substituteInParent(Malloc, Calloc); in foldMallocMemset() 1226 return Calloc; in foldMallocMemset() 1238 if (auto *Calloc = foldMallocMemset(CI, B)) in optimizeMemSet() local 1239 return Calloc; in optimizeMemSet()
|
/external/llvm-project/llvm/test/Transforms/Attributor/ |
D | heap_to_stack.ll | 606 ; Malloc/Calloc too large
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 351 TEST(MemorySanitizer, Calloc) { in TEST() argument
|
/external/llvm-project/compiler-rt/lib/msan/tests/ |
D | msan_test.cpp | 366 TEST(MemorySanitizer, Calloc) { in TEST() argument
|