Lines Matching +full:0 +full:e
1 /// Compare pointer-typed values to NULL rather than 0
13 // Requires: 1.0.0
29 expression *E;
34 (E = f(...)) ==
35 - 0
38 (E = f(...)) !=
39 - 0
42 - 0
44 == (E = f(...))
46 - 0
48 != (E = f(...))
53 expression *E;
59 (E = f(...)) ==
60 * 0@p
62 (E = f(...)) !=
63 * 0@p
65 * 0@p
66 == (E = f(...))
68 * 0@p
69 != (E = f(...))
76 coccilib.org.print_todo(p[0], "WARNING comparing pointer to 0")
82 coccilib.report.print_report(p[0], "WARNING comparing pointer to 0")
88 expression E,E1;
91 E = f(...)
92 ... when != E = E1
93 !E
103 expression *E;
107 E = f(...)
109 (E == 0
110 |E != 0
111 |0 == E
112 |0 != E
122 // This rule may lead to inconsistent path problems, if E is defined in two
125 expression *E;
130 E = f(...)
133 - E == 0
134 + !E
136 - E != 0
137 + E
139 - 0 == E
140 + !E
142 - 0 != E
143 + E
146 ?E = E1
149 expression *E;
156 E = f(...)
159 * E == 0@p1
161 * E != 0@p2
163 * 0@p1 == E
165 * 0@p1 != E
168 ?E = E1
174 coccilib.org.print_todo(p[0], "WARNING comparing pointer to 0, suggest !E")
180 coccilib.org.print_todo(p[0], "WARNING comparing pointer to 0")
186 coccilib.report.print_report(p[0], "WARNING comparing pointer to 0, suggest !E")
192 coccilib.report.print_report(p[0], "WARNING comparing pointer to 0")
195 expression *E;
199 E ==
200 - 0
203 E !=
204 - 0
207 - 0
209 == E
211 - 0
213 != E
217 expression *E;
222 * E == 0@p
224 * E != 0@p
226 * 0@p == E
228 * 0@p != E
235 coccilib.org.print_todo(p[0], "WARNING comparing pointer to 0")
241 coccilib.report.print_report(p[0], "WARNING comparing pointer to 0")