Lines Matching refs:cbAlloc
48 size_t cbAlloc = RTRandS32Ex(1, _1M) * sizeof(uint8_t);
51 p + 1, cbAlloc);
53 void *pvBuf = RTMemAlloc(cbAlloc);
57 cbAlloc);
60 RTRandBytes(pvBuf, cbAlloc);
62 void *pvWipe = RTMemDup(pvBuf, cbAlloc);
68 cbAlloc);
71 size_t cbWipeRand = RTRandU32Ex(1, cbAlloc);
72 RTMemWipeThoroughly(pvWipe, RT_MIN(cbAlloc, cbWipeRand), p /* Passes */);
73 if (!memcmp(pvWipe, pvBuf, cbAlloc))
75 cbAlloc, pvWipe, pvBuf);