Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 1 of 1) sorted by relevance

/mbedtls-3.5.0/library/
Dmemory_buffer_alloc.c83 static void debug_header(memory_header *hdr) in debug_header() argument
91 (size_t) hdr, (size_t) hdr->prev, (size_t) hdr->next, in debug_header()
92 hdr->alloc, hdr->size); in debug_header()
94 (size_t) hdr->prev_free, (size_t) hdr->next_free); in debug_header()
98 for (i = 0; i < hdr->trace_count; i++) { in debug_header()
99 mbedtls_fprintf(stderr, "%s\n", hdr->trace[i]); in debug_header()
125 static int verify_header(memory_header *hdr) in verify_header() argument
127 if (hdr->magic1 != MAGIC1) { in verify_header()
134 if (hdr->magic2 != MAGIC2) { in verify_header()
141 if (hdr->alloc > 1) { in verify_header()
[all …]