Lines Matching defs:sz
93 _malloc(uint32_t sz, __unused int type, __unused int flags, const char *file, int line)
95 uint32_t allocSz = sz + 2 * sizeof(allocated);
105 allocated *alloc2 = (allocated*)(ret + sz);
114 int s = OSAddAtomic(sz, &totalAlloc);
115 ErrorLog("malloc(%d) -> %p, total allocations %d\n", sz, ret, s + sz);
129 uint32_t sz = alloc->allocSz - 2 * sizeof(allocated);
130 allocated *alloc2 = (allocated*)(ret + sz);
140 memset(ret, 0xce, sz);
144 int s = OSAddAtomic(-sz, &totalAlloc);
145 ErrorLog("free(%p,%d) -> total allocations %d\n", ret, sz, s - sz);