Lines Matching defs:AllocSize
32 static unsigned char *CreatePayload(void *DtorF, size_t AllocSize,
34 if (AllocSize < sizeof(Canary))
35 AllocSize = sizeof(Canary);
37 new unsigned char[ValueStorage::getPayloadOffset() + AllocSize];
38 ValueStorage *VS = new (Buf) ValueStorage(DtorF, AllocSize, ElementsSize);
65 size_t Stride = AllocSize / Elements;
81 ValueStorage(void *DtorF, size_t AllocSize, size_t ElementsNum)
83 AllocSize(AllocSize), Elements(ElementsNum) {}
87 size_t AllocSize = 0;
160 size_t AllocSize =
163 ValueStorage::CreatePayload(DtorF, AllocSize, ElementsSize);