Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/tests/
H A Dfuzzer.c140 mallocCounter_t* const mcPtr = (mallocCounter_t*)counter; in FUZ_mallocDebug() local
145 mcPtr->totalMalloc += size; in FUZ_mallocDebug()
146 mcPtr->currentMalloc += size; in FUZ_mallocDebug()
147 if (mcPtr->currentMalloc > mcPtr->peakMalloc) in FUZ_mallocDebug()
148 mcPtr->peakMalloc = mcPtr->currentMalloc; in FUZ_mallocDebug()
149 mcPtr->nbMalloc += 1; in FUZ_mallocDebug()
155 mallocCounter_t* const mcPtr = (mallocCounter_t*)counter; in FUZ_freeDebug() local
157 mcPtr->nbFree += 1; in FUZ_freeDebug()
158 mcPtr->currentMalloc -= malloc_size(address); /* OS-X specific */ in FUZ_freeDebug()