MCPcopy Create free account
hub / github.com/cpputest/cpputest / allocMemory

Method allocMemory

src/CppUTest/MemoryLeakDetector.cpp:622–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622char* MemoryLeakDetector::allocMemory(TestMemoryAllocator* allocator, size_t size, bool allocatNodesSeperately)
623{
624 return allocMemory(allocator, size, UNKNOWN, 0, allocatNodesSeperately);
625}
626
627char* MemoryLeakDetector::allocateMemoryWithAccountingInformation(TestMemoryAllocator* allocator, size_t size, const char* file, size_t line, bool allocatNodesSeperately)
628{

Callers 14

mem_leak_mallocFunction · 0.80
UT_THROWFunction · 0.80
alloc_memoryMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
alloc_memoryMethod · 0.80
_testTwoLeaksFunction · 0.80

Calls

no outgoing calls

Tested by 7

alloc_memoryMethod · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
alloc_memoryMethod · 0.64
_testTwoLeaksFunction · 0.64
_testIgnore2Function · 0.64
_failAndLeakMemoryFunction · 0.64