Home
last modified time | relevance | path

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

/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dmemory_mock.c24 static uint32_t g_mallocNum = 0; variable
33 if (g_mallocNum == g_mallocMockIndex) { in HcfMalloc()
37 g_mallocNum++; in HcfMalloc()
67 return g_mallocNum; in GetMallocNum()
72 g_mallocNum = 0; in ResetRecordMallocNum()
/ohos5.0/base/security/certificate_framework/test/unittest/v1.0/src/
H A Dmemory_mock.c24 static uint32_t g_mallocNum = 0; variable
38 if (g_mallocNum == g_mallocMockIndex) { in CfMalloc()
42 g_mallocNum++; in CfMalloc()
72 return g_mallocNum; in GetMallocNum()
77 g_mallocNum = 0; in ResetRecordMallocNum()