Lines Matching refs:D
24 #define D(fmt,...) fprintf(stderr, "%s: " fmt "\n", __func__, ##__VA_ARGS__); macro
28 #define D(fmt,...) macro
102 D("chunk size %zu log2 %zu numChunks %zu", in Block()
129 D("got %p element %zu chunkSize %zu", in getPtr()
156 D("alloc new ptr @ %p\n", nextFree); in alloc()
163 D("store %zu in %p as next free chunk", in alloc()
180 D("freeing %p: still have other chunks available.", toFree); in free()
181 D("nextFree: %p (end: %p)", nextFree, getPtr(numChunks)); in free()
182 D("nextFreeElt: %zu\n", getElement(nextFree)); in free()
187 D("freeing free %p: no other chunks available.", toFree); in free()
193 D("set next free to %p", nextFree); in free()
287 D("create heap for size %zu", allocSize); in Impl()
309 D("requested size %zu too large", wantedSize); in alloc()
319 D("wanted: %zu min serviceable: %zu heap index: %zu", in alloc()
325 D("heap %zu is full", index); in alloc()
334 D("for %p:", ptr); in free()
348 D("found heap to free %p.", ptr) in free()
354 D("%p not found in any heap.", ptr); in free()
393 D("delete fallback ptr %p\n", ptr); in ~Pool()
405 D("Fallback to malloc"); in alloc()
410 D("Failed to service allocation for %zu bytes", wantedSize); in alloc()
416 D("Fallback to malloc: got ptr %p", ptr); in alloc()
426 D("fallback to free for %p", ptr); in free()