Lines Matching defs:next
50 memory_header *next;
91 (size_t) hdr, (size_t) hdr->prev, (size_t) hdr->next,
112 cur = cur->next;
148 if (hdr->prev != NULL && hdr->prev == hdr->next) {
150 mbedtls_fprintf(stderr, "FATAL: prev == next\n");
185 cur = heap.first->next;
205 cur = cur->next;
314 new->next = cur->next;
322 if (new->next != NULL) {
323 new->next->prev = new;
342 cur->next = new;
424 hdr->prev->next = hdr->next;
428 if (hdr->next != NULL) {
429 hdr->next->prev = hdr;
437 if (hdr->next != NULL && hdr->next->alloc == 0) {
441 hdr->size += sizeof(memory_header) + hdr->next->size;
442 old = hdr->next;
443 hdr->next = hdr->next->next;
470 if (hdr->next != NULL) {
471 hdr->next->prev = hdr;
478 // (Does not have to stay in same order as prev / next list)
515 if (heap.first->next == NULL) {
680 /* Memorize end to compare with the next test */