Lines Matching full:assert
17 #include <assert.h>
34 assert(0 <= rv && rv <= sizeof(buf)); in proc_uptime()
40 assert(p[0] == '.'); in proc_uptime()
41 assert('0' <= p[1] && p[1] <= '9'); in proc_uptime()
42 assert('0' <= p[2] && p[2] <= '9'); in proc_uptime()
43 assert(p[3] == ' '); in proc_uptime()
51 assert(p[0] == '.'); in proc_uptime()
52 assert('0' <= p[1] && p[1] <= '9'); in proc_uptime()
53 assert('0' <= p[2] && p[2] <= '9'); in proc_uptime()
54 assert(p[3] == '\n'); in proc_uptime()
59 assert(p + 4 == buf + rv); in proc_uptime()