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

/vbox/src/VBox/Runtime/generic/
H A Dmemsafer-generic.cpp44 #define RTMEMSAFER_PAD_BEFORE 96 macro
67 AssertMsg(*(size_t *)((char *)pv - RTMEMSAFER_PAD_BEFORE) == cb,
68 ("*pvStart=%#zx cb=%#zx\n", *(size_t *)((char *)pv- RTMEMSAFER_PAD_BEFORE), cb));
87 AssertMsg(*(size_t *)((char *)pv - RTMEMSAFER_PAD_BEFORE) == cb,
88 ("*pvStart=%#zx cb=%#zx\n", *(size_t *)((char *)pv - RTMEMSAFER_PAD_BEFORE), cb));
121 void *pvNew = RTMemAlloc(cbUser + RTMEMSAFER_PAD_BEFORE + RTMEMSAFER_PAD_AFTER);
125 memset(pvNew, 0xad, RTMEMSAFER_PAD_BEFORE);
126 memset((char *)pvNew + RTMEMSAFER_PAD_BEFORE + cb, 0xda, RTMEMSAFER_PAD_AFTER + (cbUser - cb));
130 void *pvUser = (char *)pvNew + RTMEMSAFER_PAD_BEFORE;
151 void *pvStart = (char *)pv - RTMEMSAFER_PAD_BEFORE;
[all...]

Completed in 31 milliseconds