Lines Matching refs:MY_ALLOC
13 #define MY_ALLOC(T, p, size, alloc) { \ macro
16 #define MY_ALLOC_ZE(T, p, size, alloc) { if ((size) == 0) p = NULL; else MY_ALLOC(T, p, size, alloc…
19 { MY_ALLOC(Byte, to, size, alloc); memcpy(to, from, size); }
72 MY_ALLOC(Byte, p->Defs, (num + 7) >> 3, alloc); in SzBitUi32s_Alloc()
73 MY_ALLOC(UInt32, p->Vals, num, alloc); in SzBitUi32s_Alloc()
325 MY_ALLOC(Byte, *v, numBytes, alloc); in ReadBitVector()
388 MY_ALLOC(UInt64, p->PackPositions, (size_t)p->NumPackStreams + 1, alloc); in ReadPackInfo()
666 MY_ALLOC(size_t, p->FoCodersOffsets, (size_t)numFolders + 1, alloc); in ReadUnpackInfo()
667 MY_ALLOC(UInt32, p->FoStartPackStreamIndex, (size_t)numFolders + 1, alloc); in ReadUnpackInfo()
668 MY_ALLOC(UInt32, p->FoToCoderUnpackSizes, (size_t)numFolders + 1, alloc); in ReadUnpackInfo()
669 MY_ALLOC(Byte, p->FoToMainUnpackSizeIndex, (size_t)numFolders, alloc); in ReadUnpackInfo()
1213 MY_ALLOC(size_t, p->FileNameOffsets, numFiles + 1, allocMain); in SzReadHeader2()
1305 MY_ALLOC(UInt32, p->FolderToFile, p->db.NumFolders + 1, allocMain); in SzReadHeader2()
1307 MY_ALLOC(UInt64, p->UnpackPositions, p->NumFiles + 1, allocMain); in SzReadHeader2()