Lines Matching refs:first
63 memory_header *first;
107 memory_header *cur = heap.first;
167 memory_header *prv = heap.first, *cur;
171 mbedtls_fprintf(stderr, "FATAL: verification of first header "
177 if (heap.first->prev != NULL) {
180 "first->prev != NULL\n");
185 cur = heap.first->next;
222 if (heap.buf == NULL || heap.first == NULL) {
377 if (ptr == NULL || heap.buf == NULL || heap.first == NULL) {
515 if (heap.first->next == NULL) {
589 /* Adjust len first since buf is used in the computation */
601 heap.first = (memory_header *) buf;
602 heap.first->size = len - sizeof(memory_header);
603 heap.first->magic1 = MAGIC1;
604 heap.first->magic2 = MAGIC2;
605 heap.first_free = heap.first;
636 heap.first != heap.first_free ||
637 (void *) heap.first != (void *) heap.buf) {