Lines Matching refs:sz
67 #define ALLOCSIZE(sz) (sz + DATA_OFFSET)
71 sanei_hp_alloc (size_t sz)
73 Alloc * new = malloc(ALLOCSIZE(sz));
83 sanei_hp_allocz (size_t sz)
85 void * new = sanei_hp_alloc(sz);
89 memset(new, 0, sz);
94 sanei_hp_memdup (const void * src, size_t sz)
96 char * new = sanei_hp_alloc(sz);
99 return memcpy(new, src, sz);
109 sanei_hp_realloc (void * ptr, size_t sz)
115 Alloc * new = realloc(old, ALLOCSIZE(sz));
123 return sanei_hp_alloc(sz);