Lines Matching defs:alloc
97 allocated *alloc = NULL;
98 MALLOC(alloc, allocated *, allocSz, type, flags);
99 if (!alloc) {
104 char *ret = (char*)&alloc[1];
107 alloc->allocSz = allocSz;
108 alloc->magic = 0xdadadada;
109 alloc->file = file;
110 alloc->line = line;
112 *alloc2 = *alloc;
127 allocated *alloc = (allocated*)ret;
128 alloc--;
129 uint32_t sz = alloc->allocSz - 2 * sizeof(allocated);
132 if (alloc->magic != 0xdadadada) {
136 if (memcmp(alloc, alloc2, sizeof(*alloc)) != 0) {
143 FREE(alloc, type);