Searched defs:s_aOpsCopy (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Runtime/testcase/
H A DtstRTHeapOffset.cpp155 static struct TstHeapOffsetOps s_aOpsCopy[RT_ELEMENTS(s_aOps)]; local
156 memcpy(&s_aOpsCopy[0], &s_aOps[0], sizeof(s_aOps));
191 for (i = 0; i < RT_ELEMENTS(s_aOpsCopy); i++)
194 for (j = 0; j < RT_ELEMENTS(s_aOpsCopy); j++)
196 if ( s_aOpsCopy[j].iFreeOrder != i
197 || !s_aOpsCopy[j].pvAlloc)
199 //RTPrintf("j=%d i=%d free=%d cb=%d pv=%p\n", j, i, RTHeapOffsetGetFreeSize(hHeapCopy), s_aOpsCopy[j].cb, s_aOpsCopy[j].pvAlloc);
200 RTHeapOffsetFree(hHeapCopy, (uint8_t *)s_aOpsCopy[j].pvAlloc + offDelta);
201 s_aOpsCopy[
[all...]
H A DtstRTHeapSimple.cpp151 static struct TstHeapSimpleOps s_aOpsCopy[RT_ELEMENTS(s_aOps)]; local
152 memcpy(&s_aOpsCopy[0], &s_aOps[0], sizeof(s_aOps));
191 for (i = 0; i < RT_ELEMENTS(s_aOpsCopy); i++)
194 for (j = 0; j < RT_ELEMENTS(s_aOpsCopy); j++)
196 if ( s_aOpsCopy[j].iFreeOrder != i
197 || !s_aOpsCopy[j].pvAlloc)
199 //RTPrintf("j=%d i=%d free=%d cb=%d pv=%p\n", j, i, RTHeapSimpleGetFreeSize(hHeapCopy), s_aOpsCopy[j].cb, s_aOpsCopy[j].pvAlloc);
200 RTHeapSimpleFree(hHeapCopy, (uint8_t *)s_aOpsCopy[j].pvAlloc + offDelta);
201 s_aOpsCopy[
[all...]

Completed in 32 milliseconds