Home
last modified time | relevance | path

Searched refs:MALLOC_SIZE (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/tdd_helper/memory_monitor/src/
H A Dmemory_monitor.cpp30 static const int MALLOC_SIZE[] = { 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192 }; variable
34 for (unsigned int i = 0; i < sizeof(MALLOC_SIZE) / sizeof(int); ++i) { in GetRealMallocSize()
35 if (size <= MALLOC_SIZE[i]) { in GetRealMallocSize()
36 return MALLOC_SIZE[i]; in GetRealMallocSize()
/ohos5.0/base/hiviewdfx/hidumper/test/unittest/common/
H A Dhidumper_innerkits_test.cpp29 static constexpr int MALLOC_SIZE = 1024; variable
84 void* p = malloc(MALLOC_SIZE); in StartTestProcess()