Home | History | Annotate | Download | only in src

Lines Matching defs:heap_size

58 static const size_t HEAP_SIZE = 512;
59 char heap [ HEAP_SIZE ] __attribute__((aligned));
62 typedef unsigned short heap_size;
66 heap_size len; // size in units of "sizeof(heap_node)"
69 static const heap_node *list_end = (heap_node *) ( &heap [ HEAP_SIZE ] ); // one past the end of the heap
81 freelist->len = HEAP_SIZE / sizeof (heap_node);
89 { return ptr >= heap && ptr < ( heap + HEAP_SIZE ); }
106 p->len = static_cast<heap_size>(p->len - nelems);
109 q->len = static_cast<heap_size>(nelems);
151 p->len = static_cast<heap_size>(p->len + cp->len); // make the free heap_node larger
158 cp->len = static_cast<heap_size>(cp->len + p->len);
179 heap_size total_free = 0;