Home
last modified time | relevance | path

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

/third_party/ltp/tools/sparse/sparse-src/validation/
Dbool-cast-restricted.c18 typedef unsigned short __attribute__((bitwise)) small_t; typedef
19 #define SBIT ((__attribute__((force)) small_t) 1)
21 _Bool sfoo(small_t x) { return x; } in sfoo()
22 _Bool tfoo(small_t x) { _Bool r = x; return r; } in tfoo()
23 _Bool zfoo(small_t x) { return (_Bool)x; } in zfoo()
24 _Bool sbar(small_t x) { return ~x; } in sbar()
25 _Bool tbar(small_t x) { _Bool r = ~x; return r; } in tbar()
26 _Bool zbar(small_t x) { return (_Bool)~x; } in zbar()
27 _Bool sbaz(small_t x) { return !x; } in sbaz()
28 _Bool tbaz(small_t x) { _Bool r = !x; return r; } in tbaz()
[all …]