Lines Matching refs:size
25 static void Print_Alloc(const char *s, size_t size, int *counter)
27 const unsigned size2 = (unsigned)size;
38 void *SzAlloc(ISzAllocPtr p, size_t size)
41 if (size == 0)
44 Print_Alloc("Alloc", size, &g_allocCount);
46 return malloc(size);
59 void *SzAllocTemp(ISzAllocPtr p, size_t size)
62 if (size == 0)
65 Print_Alloc("Alloc_temp", size, &g_allocCountTemp);
68 return HeapAlloc(GetProcessHeap(), 0, size);
72 return malloc(size);