Home
last modified time | relevance | path

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

/Zephyr-latest/lib/heap/
Dheap_validate.c21 #define VALIDATE(cond) do { if (!(cond)) { return false; } } while (0) macro
25 VALIDATE(c >= right_chunk(h, 0)); in in_bounds()
26 VALIDATE(c < h->end_chunk); in in_bounds()
27 VALIDATE(chunk_size(h, c) < h->end_chunk); in in_bounds()
33 VALIDATE(chunk_size(h, c) > 0); in valid_chunk()
34 VALIDATE((c + chunk_size(h, c)) <= h->end_chunk); in valid_chunk()
35 VALIDATE(in_bounds(h, c)); in valid_chunk()
36 VALIDATE(right_chunk(h, left_chunk(h, c)) == c); in valid_chunk()
37 VALIDATE(left_chunk(h, right_chunk(h, c)) == c); in valid_chunk()
39 VALIDATE(!solo_free_header(h, c)); in valid_chunk()
[all …]