Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | static struct option const long_options[] = | - |
11 | { | - |
12 | { | - |
13 | ((void *)0) | - |
14 | , 0, | - |
15 | ((void *)0) | - |
16 | , 0} | - |
17 | }; | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | struct successor | - |
24 | { | - |
25 | struct item *suc; | - |
26 | struct successor *next; | - |
27 | }; | - |
28 | | - |
29 | | - |
30 | struct item | - |
31 | { | - |
32 | const char *str; | - |
33 | struct item *left, *right; | - |
34 | int balance; | - |
35 | size_t count; | - |
36 | struct item *qlink; | - |
37 | struct successor *top; | - |
38 | }; | - |
39 | | - |
40 | | - |
41 | static struct item *head = | - |
42 | ((void *)0) | - |
43 | ; | - |
44 | | - |
45 | | - |
46 | static struct item *zeros = | - |
47 | ((void *)0) | - |
48 | ; | - |
49 | | - |
50 | | - |
51 | static struct item *loop = | - |
52 | ((void *)0) | - |
53 | ; | - |
54 | | - |
55 | | - |
56 | static size_t n_strings = 0; | - |
57 | | - |
58 | void | - |
59 | usage (int status) | - |
60 | { | - |
61 | if (status != TRUE | evaluated 4 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-4 |
62 | 0TRUE | evaluated 4 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-4 |
63 | ) | - |
64 | do { fprintf ( | - |
65 | stderr | - |
66 | , | - |
67 | dcgettext (((void *)0), | - |
68 | "Try '%s --help' for more information.\n" | - |
69 | , 5) | - |
70 | , program_name); }executed 4 times by 1 test: end of block while (0); | 4 |
71 | else | - |
72 | { | - |
73 | printf ( | - |
74 | dcgettext (((void *)0), | - |
75 | "Usage: %s [OPTION] [FILE]\nWrite totally ordered list consistent with the partial ordering in FILE.\n" | - |
76 | , 5) | - |
77 | | - |
78 | | - |
79 | | - |
80 | , program_name); | - |
81 | | - |
82 | emit_stdin_note (); | - |
83 | | - |
84 | fputs_unlocked ( | - |
85 | dcgettext (((void *)0), | - |
86 | "\n" | - |
87 | , 5) | - |
88 | , | - |
89 | stdout | - |
90 | ) | - |
91 | | - |
92 | ; | - |
93 | fputs_unlocked ( | - |
94 | dcgettext (((void *)0), | - |
95 | " --help display this help and exit\n" | - |
96 | , 5) | - |
97 | , | - |
98 | stdout | - |
99 | ); | - |
100 | fputs_unlocked ( | - |
101 | dcgettext (((void *)0), | - |
102 | " --version output version information and exit\n" | - |
103 | , 5) | - |
104 | , | - |
105 | stdout | - |
106 | ); | - |
107 | emit_ancillary_info ("tsort"); | - |
108 | }executed 3 times by 1 test: end of block | 3 |
109 | | - |
110 | exit (status);executed 7 times by 1 test: exit (status); | 7 |
111 | } | - |
112 | | - |
113 | | - |
114 | static struct item * | - |
115 | new_item (const char *str) | - |
116 | { | - |
117 | struct item *k = xmalloc (sizeof *k); | - |
118 | | - |
119 | k->str = (strTRUE | evaluated 57 times by 1 test | FALSE | evaluated 10 times by 1 test |
? xstrdup (str): | 10-57 |
120 | ((void *)0) | - |
121 | ); | - |
122 | k->left = k->right = | - |
123 | ((void *)0) | - |
124 | ; | - |
125 | k->balance = 0; | - |
126 | | - |
127 | | - |
128 | k->count = 0; | - |
129 | k->qlink = | - |
130 | ((void *)0) | - |
131 | ; | - |
132 | k->top = | - |
133 | ((void *)0) | - |
134 | ; | - |
135 | | - |
136 | returnexecuted 67 times by 1 test: return k; k;executed 67 times by 1 test: return k; | 67 |
137 | } | - |
138 | static struct item * | - |
139 | search_item (struct item *root, const char *str) | - |
140 | { | - |
141 | struct item *p, *q, *r, *s, *t; | - |
142 | int a; | - |
143 | | - |
144 | | - |
145 | (( | - |
146 | root | - |
147 | ) ? (void) (0) : __assert_fail ( | - |
148 | "root" | - |
149 | , "src/tsort.c", 138, __PRETTY_FUNCTION__)) | - |
150 | ; | - |
151 | | - |
152 | | - |
153 | | - |
154 | if (root->right == TRUE | evaluated 10 times by 1 test | FALSE | evaluated 85 times by 1 test |
| 10-85 |
155 | ((void *)0)TRUE | evaluated 10 times by 1 test | FALSE | evaluated 85 times by 1 test |
| 10-85 |
156 | ) | - |
157 | returnexecuted 10 times by 1 test: return (root->right = new_item (str)); (root->right = new_item (str));executed 10 times by 1 test: return (root->right = new_item (str)); | 10 |
158 | | - |
159 | | - |
160 | t = root; | - |
161 | s = p = root->right; | - |
162 | | - |
163 | while ( | - |
164 | 1 | - |
165 | ) | - |
166 | { | - |
167 | | - |
168 | a = | - |
169 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( | - |
170 | str | - |
171 | ) && __builtin_constant_p ( | - |
172 | p->str | - |
173 | ) && (__s1_len = __builtin_strlen ( | - |
174 | str | - |
175 | ), __s2_len = __builtin_strlen ( | - |
176 | p->str | - |
177 | ), (!((size_t)(const void *)(( | - |
178 | str | - |
179 | ) + 1) - (size_t)(const void *)( | - |
180 | str | - |
181 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(( | - |
182 | p->str | - |
183 | ) + 1) - (size_t)(const void *)( | - |
184 | p->str | - |
185 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp ( | - |
186 | str | - |
187 | , | - |
188 | p->str | - |
189 | ) : (__builtin_constant_p ( | - |
190 | str | - |
191 | ) && ((size_t)(const void *)(( | - |
192 | str | - |
193 | ) + 1) - (size_t)(const void *)( | - |
194 | str | - |
195 | ) == 1) && (__s1_len = __builtin_strlen ( | - |
196 | str | - |
197 | ), __s1_len < 4) ? (__builtin_constant_p ( | - |
198 | p->str | - |
199 | ) && ((size_t)(const void *)(( | - |
200 | p->str | - |
201 | ) + 1) - (size_t)(const void *)( | - |
202 | p->str | - |
203 | ) == 1) ? __builtin_strcmp ( | - |
204 | str | - |
205 | , | - |
206 | p->str | - |
207 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ( | - |
208 | p->str | - |
209 | ); int __result = (((const unsigned char *) (const char *) ( | - |
210 | str | - |
211 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
212 | str | - |
213 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
214 | str | - |
215 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); | 0 |
216 | str never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); | 0 |
217 | ))[3] - __s2[3]); never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p ( | 0 |
218 | p->str | - |
219 | ) && ((size_t)(const void *)(( | - |
220 | p->str | - |
221 | ) + 1) - (size_t)(const void *)( | - |
222 | p->str | - |
223 | ) == 1) && (__s2_len = __builtin_strlen ( | - |
224 | p->str | - |
225 | ), __s2_len < 4) ? (__builtin_constant_p ( | - |
226 | str | - |
227 | ) && ((size_t)(const void *)(( | - |
228 | str | - |
229 | ) + 1) - (size_t)(const void *)( | - |
230 | str | - |
231 | ) == 1) ? __builtin_strcmp ( | - |
232 | str | - |
233 | , | - |
234 | p->str | - |
235 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ( | - |
236 | str | - |
237 | ); int __result = (((const unsigned char *) (const char *) ( | - |
238 | p->str | - |
239 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
240 | p->str | - |
241 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
242 | p->str | - |
243 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]); | 0 |
244 | p->str never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]); | 0 |
245 | ))[3] - __s2[3]); never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp ( | 0 |
246 | str | - |
247 | , | - |
248 | p->str | - |
249 | )))); }) | - |
250 | ; | - |
251 | if (a == 0TRUE | evaluated 38 times by 1 test | FALSE | evaluated 180 times by 1 test |
) | 38-180 |
252 | returnexecuted 38 times by 1 test: return p; p;executed 38 times by 1 test: return p; | 38 |
253 | | - |
254 | | - |
255 | if (a < 0TRUE | evaluated 22 times by 1 test | FALSE | evaluated 158 times by 1 test |
) | 22-158 |
256 | q = p->left;executed 22 times by 1 test: q = p->left; | 22 |
257 | else | - |
258 | q = p->right;executed 158 times by 1 test: q = p->right; | 158 |
259 | | - |
260 | if (q == TRUE | evaluated 47 times by 1 test | FALSE | evaluated 133 times by 1 test |
| 47-133 |
261 | ((void *)0)TRUE | evaluated 47 times by 1 test | FALSE | evaluated 133 times by 1 test |
| 47-133 |
262 | ) | - |
263 | { | - |
264 | | - |
265 | q = new_item (str); | - |
266 | | - |
267 | | - |
268 | if (a < 0TRUE | evaluated 7 times by 1 test | FALSE | evaluated 40 times by 1 test |
) | 7-40 |
269 | p->left = q;executed 7 times by 1 test: p->left = q; | 7 |
270 | else | - |
271 | p->right = q;executed 40 times by 1 test: p->right = q; | 40 |
272 | | - |
273 | | - |
274 | | - |
275 | (( | - |
276 | !( | - |
277 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( | - |
278 | str | - |
279 | ) && __builtin_constant_p ( | - |
280 | s->str | - |
281 | ) && (__s1_len = __builtin_strlen ( | - |
282 | str | - |
283 | ), __s2_len = __builtin_strlen ( | - |
284 | s->str | - |
285 | ), (!((size_t)(const void *)(( | - |
286 | str | - |
287 | ) + 1) - (size_t)(const void *)( | - |
288 | str | - |
289 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(( | - |
290 | s->str | - |
291 | ) + 1) - (size_t)(const void *)( | - |
292 | s->str | - |
293 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp ( | - |
294 | str | - |
295 | , | - |
296 | s->str | - |
297 | ) : (__builtin_constant_p ( | - |
298 | str | - |
299 | ) && ((size_t)(const void *)(( | - |
300 | str | - |
301 | ) + 1) - (size_t)(const void *)( | - |
302 | str | - |
303 | ) == 1) && (__s1_len = __builtin_strlen ( | - |
304 | str | - |
305 | ), __s1_len < 4) ? (__builtin_constant_p ( | - |
306 | s->str | - |
307 | ) && ((size_t)(const void *)(( | - |
308 | s->str | - |
309 | ) + 1) - (size_t)(const void *)( | - |
310 | s->str | - |
311 | ) == 1) ? __builtin_strcmp ( | - |
312 | str | - |
313 | , | - |
314 | s->str | - |
315 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ( | - |
316 | s->str | - |
317 | ); int __result = (((const unsigned char *) (const char *) ( | - |
318 | str | - |
319 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
320 | str | - |
321 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
322 | str | - |
323 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); | 0 |
324 | str never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); | 0 |
325 | ))[3] - __s2[3]); never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p ( | 0 |
326 | s->str | - |
327 | ) && ((size_t)(const void *)(( | - |
328 | s->str | - |
329 | ) + 1) - (size_t)(const void *)( | - |
330 | s->str | - |
331 | ) == 1) && (__s2_len = __builtin_strlen ( | - |
332 | s->str | - |
333 | ), __s2_len < 4) ? (__builtin_constant_p ( | - |
334 | str | - |
335 | ) && ((size_t)(const void *)(( | - |
336 | str | - |
337 | ) + 1) - (size_t)(const void *)( | - |
338 | str | - |
339 | ) == 1) ? __builtin_strcmp ( | - |
340 | str | - |
341 | , | - |
342 | s->str | - |
343 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ( | - |
344 | str | - |
345 | ); int __result = (((const unsigned char *) (const char *) ( | - |
346 | s->str | - |
347 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
348 | s->str | - |
349 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
350 | s->str | - |
351 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( s->str ))[3] - __s2[3]); | 0 |
352 | s->str never executed: __result = (((const unsigned char *) (const char *) ( s->str ))[3] - __s2[3]); | 0 |
353 | ))[3] - __s2[3]); never executed: __result = (((const unsigned char *) (const char *) ( s->str ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp ( | 0 |
354 | str | - |
355 | , | - |
356 | s->str | - |
357 | )))); }) | - |
358 | == 0) | - |
359 | ) ? (void) (0) : __assert_fail ( | - |
360 | "!STREQ (str, s->str)" | - |
361 | , "src/tsort.c", 174, __PRETTY_FUNCTION__)) | - |
362 | ; | - |
363 | if ( | - |
364 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
365 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
366 | ) && __builtin_constant_p (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
367 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
368 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
369 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
370 | ), __s2_len = __builtin_strlen (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
371 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
372 | ), (!((size_t)(const void *)((TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
373 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
374 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
375 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
376 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
377 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
378 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
379 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
380 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
381 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
382 | , TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
383 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
384 | ) : (__builtin_constant_p (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
385 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
386 | ) && ((size_t)(const void *)((TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
387 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
388 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
389 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
390 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
391 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
392 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
393 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
394 | ) && ((size_t)(const void *)((TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
395 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
396 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
397 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
398 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
399 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
400 | , TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
401 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
402 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
403 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
404 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
405 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
406 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 0-41 |
407 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
408 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 0-41 |
409 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
410 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 0-41 |
411 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); | 0-41 |
412 | ))[3] - __s2[3]);TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 0-41 |
413 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
414 | ) && ((size_t)(const void *)((TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
415 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
416 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
417 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
418 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
419 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
420 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
421 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
422 | ) && ((size_t)(const void *)((TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
423 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
424 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
425 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
426 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
427 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
428 | , TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
429 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
430 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
431 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
432 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
433 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
434 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 0-41 |
435 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
436 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 0-41 |
437 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
438 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( s->str ))[3] - __s2[3]); TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 0-41 |
439 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( s->str ))[3] - __s2[3]); | 0-41 |
440 | ))[3] - __s2[3]);TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( s->str ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 0-41 |
441 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
442 | , TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
443 | s->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
444 | )))); }) TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
| 6-41 |
445 | < 0TRUE | evaluated 6 times by 1 test | FALSE | evaluated 41 times by 1 test |
) | 6-41 |
446 | { | - |
447 | r = p = s->left; | - |
448 | a = -1; | - |
449 | }executed 6 times by 1 test: end of block | 6 |
450 | else | - |
451 | { | - |
452 | r = p = s->right; | - |
453 | a = 1; | - |
454 | }executed 41 times by 1 test: end of block | 41 |
455 | | - |
456 | while (p != qTRUE | evaluated 50 times by 1 test | FALSE | evaluated 47 times by 1 test |
) | 47-50 |
457 | { | - |
458 | | - |
459 | (( | - |
460 | !( | - |
461 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( | - |
462 | str | - |
463 | ) && __builtin_constant_p ( | - |
464 | p->str | - |
465 | ) && (__s1_len = __builtin_strlen ( | - |
466 | str | - |
467 | ), __s2_len = __builtin_strlen ( | - |
468 | p->str | - |
469 | ), (!((size_t)(const void *)(( | - |
470 | str | - |
471 | ) + 1) - (size_t)(const void *)( | - |
472 | str | - |
473 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(( | - |
474 | p->str | - |
475 | ) + 1) - (size_t)(const void *)( | - |
476 | p->str | - |
477 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp ( | - |
478 | str | - |
479 | , | - |
480 | p->str | - |
481 | ) : (__builtin_constant_p ( | - |
482 | str | - |
483 | ) && ((size_t)(const void *)(( | - |
484 | str | - |
485 | ) + 1) - (size_t)(const void *)( | - |
486 | str | - |
487 | ) == 1) && (__s1_len = __builtin_strlen ( | - |
488 | str | - |
489 | ), __s1_len < 4) ? (__builtin_constant_p ( | - |
490 | p->str | - |
491 | ) && ((size_t)(const void *)(( | - |
492 | p->str | - |
493 | ) + 1) - (size_t)(const void *)( | - |
494 | p->str | - |
495 | ) == 1) ? __builtin_strcmp ( | - |
496 | str | - |
497 | , | - |
498 | p->str | - |
499 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ( | - |
500 | p->str | - |
501 | ); int __result = (((const unsigned char *) (const char *) ( | - |
502 | str | - |
503 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
504 | str | - |
505 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
506 | str | - |
507 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); | 0 |
508 | str never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); | 0 |
509 | ))[3] - __s2[3]); never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p ( | 0 |
510 | p->str | - |
511 | ) && ((size_t)(const void *)(( | - |
512 | p->str | - |
513 | ) + 1) - (size_t)(const void *)( | - |
514 | p->str | - |
515 | ) == 1) && (__s2_len = __builtin_strlen ( | - |
516 | p->str | - |
517 | ), __s2_len < 4) ? (__builtin_constant_p ( | - |
518 | str | - |
519 | ) && ((size_t)(const void *)(( | - |
520 | str | - |
521 | ) + 1) - (size_t)(const void *)( | - |
522 | str | - |
523 | ) == 1) ? __builtin_strcmp ( | - |
524 | str | - |
525 | , | - |
526 | p->str | - |
527 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ( | - |
528 | str | - |
529 | ); int __result = (((const unsigned char *) (const char *) ( | - |
530 | p->str | - |
531 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
532 | p->str | - |
533 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
534 | p->str | - |
535 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]); | 0 |
536 | p->str never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]); | 0 |
537 | ))[3] - __s2[3]); never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp ( | 0 |
538 | str | - |
539 | , | - |
540 | p->str | - |
541 | )))); }) | - |
542 | == 0) | - |
543 | ) ? (void) (0) : __assert_fail ( | - |
544 | "!STREQ (str, p->str)" | - |
545 | , "src/tsort.c", 188, __PRETTY_FUNCTION__)) | - |
546 | ; | - |
547 | if ( | - |
548 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
549 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
550 | ) && __builtin_constant_p (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
551 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
552 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
553 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
554 | ), __s2_len = __builtin_strlen (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
555 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
556 | ), (!((size_t)(const void *)((TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
557 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
558 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
559 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
560 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
561 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
562 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
563 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
564 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
565 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
566 | , TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
567 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
568 | ) : (__builtin_constant_p (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
569 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
570 | ) && ((size_t)(const void *)((TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
571 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
572 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
573 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
574 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
575 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
576 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
577 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
578 | ) && ((size_t)(const void *)((TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
579 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
580 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
581 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
582 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
583 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
584 | , TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
585 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
586 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
587 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
588 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
589 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
590 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 0-44 |
591 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
592 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 0-44 |
593 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
594 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 0-44 |
595 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); | 0-44 |
596 | ))[3] - __s2[3]);TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( str ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 0-44 |
597 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
598 | ) && ((size_t)(const void *)((TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
599 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
600 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
601 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
602 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
603 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
604 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
605 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
606 | ) && ((size_t)(const void *)((TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
607 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
608 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
609 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
610 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
611 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
612 | , TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
613 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
614 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
615 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
616 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
617 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
618 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 0-44 |
619 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
620 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 0-44 |
621 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
622 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]); TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 0-44 |
623 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]); | 0-44 |
624 | ))[3] - __s2[3]);TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( p->str ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 0-44 |
625 | strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
626 | , TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
627 | p->strTRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
628 | )))); }) TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 6-44 |
629 | < 0TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44 times by 1 test |
) | 6-44 |
630 | { | - |
631 | p->balance = -1; | - |
632 | p = p->left; | - |
633 | }executed 6 times by 1 test: end of block | 6 |
634 | else | - |
635 | { | - |
636 | p->balance = 1; | - |
637 | p = p->right; | - |
638 | }executed 44 times by 1 test: end of block | 44 |
639 | } | - |
640 | | - |
641 | | - |
642 | if (s->balance == 0TRUE | evaluated 19 times by 1 test | FALSE | evaluated 28 times by 1 test |
|| s->balance == -aTRUE | evaluated 3 times by 1 test | FALSE | evaluated 25 times by 1 test |
) | 3-28 |
643 | { | - |
644 | s->balance += a; | - |
645 | returnexecuted 22 times by 1 test: return q; q;executed 22 times by 1 test: return q; | 22 |
646 | } | - |
647 | | - |
648 | if (r->balance == aTRUE | evaluated 21 times by 1 test | FALSE | evaluated 4 times by 1 test |
) | 4-21 |
649 | { | - |
650 | | - |
651 | p = r; | - |
652 | if (a < 0TRUE | never evaluated | FALSE | evaluated 21 times by 1 test |
) | 0-21 |
653 | { | - |
654 | s->left = r->right; | - |
655 | r->right = s; | - |
656 | } never executed: end of block | 0 |
657 | else | - |
658 | { | - |
659 | s->right = r->left; | - |
660 | r->left = s; | - |
661 | }executed 21 times by 1 test: end of block | 21 |
662 | s->balance = r->balance = 0; | - |
663 | }executed 21 times by 1 test: end of block | 21 |
664 | else | - |
665 | { | - |
666 | | - |
667 | if (a < 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2 |
668 | { | - |
669 | p = r->right; | - |
670 | r->right = p->left; | - |
671 | p->left = r; | - |
672 | s->left = p->right; | - |
673 | p->right = s; | - |
674 | }executed 2 times by 1 test: end of block | 2 |
675 | else | - |
676 | { | - |
677 | p = r->left; | - |
678 | r->left = p->right; | - |
679 | p->right = r; | - |
680 | s->right = p->left; | - |
681 | p->left = s; | - |
682 | }executed 2 times by 1 test: end of block | 2 |
683 | | - |
684 | s->balance = 0; | - |
685 | r->balance = 0; | - |
686 | if (p->balance == aTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
) | 1-3 |
687 | s->balance = -a;executed 1 time by 1 test: s->balance = -a; | 1 |
688 | else if (p->balance == -aTRUE | never evaluated | FALSE | evaluated 3 times by 1 test |
) | 0-3 |
689 | r->balance = a; never executed: r->balance = a; | 0 |
690 | p->balance = 0; | - |
691 | }executed 4 times by 1 test: end of block | 4 |
692 | | - |
693 | | - |
694 | if (s == t->rightTRUE | evaluated 24 times by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1-24 |
695 | t->right = p;executed 24 times by 1 test: t->right = p; | 24 |
696 | else | - |
697 | t->left = p;executed 1 time by 1 test: t->left = p; | 1 |
698 | | - |
699 | returnexecuted 25 times by 1 test: return q; q;executed 25 times by 1 test: return q; | 25 |
700 | } | - |
701 | | - |
702 | | - |
703 | if (q->balanceTRUE | evaluated 35 times by 1 test | FALSE | evaluated 98 times by 1 test |
) | 35-98 |
704 | { | - |
705 | t = p; | - |
706 | s = q; | - |
707 | }executed 35 times by 1 test: end of block | 35 |
708 | | - |
709 | p = q; | - |
710 | }executed 133 times by 1 test: end of block | 133 |
711 | | - |
712 | | - |
713 | } never executed: end of block | 0 |
714 | | - |
715 | | - |
716 | | - |
717 | static void | - |
718 | record_relation (struct item *j, struct item *k) | - |
719 | { | - |
720 | struct successor *p; | - |
721 | | - |
722 | if (!(TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
723 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
724 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
725 | ) && __builtin_constant_p (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
726 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
727 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
728 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
729 | ), __s2_len = __builtin_strlen (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
730 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
731 | ), (!((size_t)(const void *)((TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
732 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
733 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
734 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
735 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
736 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
737 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
738 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
739 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
740 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
741 | , TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
742 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
743 | ) : (__builtin_constant_p (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
744 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
745 | ) && ((size_t)(const void *)((TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
746 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
747 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
748 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
749 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
750 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
751 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
752 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
753 | ) && ((size_t)(const void *)((TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
754 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
755 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
756 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
757 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
758 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
759 | , TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
760 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
761 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
762 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
763 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
764 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
765 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-44 |
766 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
767 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-44 |
768 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
769 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( j->str ))[3] - __s2[3]); TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-44 |
770 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( j->str ))[3] - __s2[3]); | 0-44 |
771 | ))[3] - __s2[3]);TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( j->str ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-44 |
772 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
773 | ) && ((size_t)(const void *)((TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
774 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
775 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
776 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
777 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
778 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
779 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
780 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
781 | ) && ((size_t)(const void *)((TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
782 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
783 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
784 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
785 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
786 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
787 | , TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
788 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
789 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
790 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
791 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
792 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
793 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-44 |
794 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
795 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-44 |
796 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
797 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( k->str ))[3] - __s2[3]); TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-44 |
798 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( k->str ))[3] - __s2[3]); | 0-44 |
799 | ))[3] - __s2[3]);TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( k->str ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-44 |
800 | j->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
801 | , TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
802 | k->strTRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
803 | )))); }) TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 3-44 |
804 | == 0)TRUE | evaluated 44 times by 1 test | FALSE | evaluated 3 times by 1 test |
) | 3-44 |
805 | { | - |
806 | k->count++; | - |
807 | p = xmalloc (sizeof *p); | - |
808 | p->suc = k; | - |
809 | p->next = j->top; | - |
810 | j->top = p; | - |
811 | }executed 44 times by 1 test: end of block | 44 |
812 | }executed 47 times by 1 test: end of block | 47 |
813 | | - |
814 | static | - |
815 | _Bool | - |
816 | | - |
817 | count_items (struct item *unused __attribute__ ((__unused__))) | - |
818 | { | - |
819 | n_strings++; | - |
820 | returnexecuted 56 times by 1 test: return 0 ; executed 56 times by 1 test: return 0 ; | 56 |
821 | 0executed 56 times by 1 test: return 0 ; | 56 |
822 | ;executed 56 times by 1 test: return 0 ; | 56 |
823 | } | - |
824 | | - |
825 | static | - |
826 | _Bool | - |
827 | | - |
828 | scan_zeros (struct item *k) | - |
829 | { | - |
830 | | - |
831 | if (k->count == 0TRUE | evaluated 16 times by 1 test | FALSE | evaluated 46 times by 1 test |
&& k->strTRUE | evaluated 16 times by 1 test | FALSE | never evaluated |
) | 0-46 |
832 | { | - |
833 | if (head == TRUE | evaluated 9 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7-9 |
834 | ((void *)0)TRUE | evaluated 9 times by 1 test | FALSE | evaluated 7 times by 1 test |
| 7-9 |
835 | ) | - |
836 | head = k;executed 9 times by 1 test: head = k; | 9 |
837 | else | - |
838 | zeros->qlink = k;executed 7 times by 1 test: zeros->qlink = k; | 7 |
839 | | - |
840 | zeros = k; | - |
841 | }executed 16 times by 1 test: end of block | 16 |
842 | | - |
843 | returnexecuted 62 times by 1 test: return 0 ; executed 62 times by 1 test: return 0 ; | 62 |
844 | 0executed 62 times by 1 test: return 0 ; | 62 |
845 | ;executed 62 times by 1 test: return 0 ; | 62 |
846 | } | - |
847 | static | - |
848 | _Bool | - |
849 | | - |
850 | detect_loop (struct item *k) | - |
851 | { | - |
852 | if (k->count > 0TRUE | evaluated 11 times by 1 test | FALSE | never evaluated |
) | 0-11 |
853 | { | - |
854 | | - |
855 | | - |
856 | | - |
857 | if (loop == TRUE | evaluated 2 times by 1 test | FALSE | evaluated 9 times by 1 test |
| 2-9 |
858 | ((void *)0)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 9 times by 1 test |
| 2-9 |
859 | ) | - |
860 | | - |
861 | loop = k;executed 2 times by 1 test: loop = k; | 2 |
862 | else | - |
863 | { | - |
864 | struct successor **p = &k->top; | - |
865 | | - |
866 | while (*TRUE | evaluated 8 times by 1 test | FALSE | evaluated 3 times by 1 test |
pTRUE | evaluated 8 times by 1 test | FALSE | evaluated 3 times by 1 test |
) | 3-8 |
867 | { | - |
868 | if ((*TRUE | evaluated 6 times by 1 test | FALSE | evaluated 2 times by 1 test |
p)->suc == loopTRUE | evaluated 6 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2-6 |
869 | { | - |
870 | if (k->qlinkTRUE | evaluated 2 times by 1 test | FALSE | evaluated 4 times by 1 test |
) | 2-4 |
871 | { | - |
872 | | - |
873 | while (loopTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) | 0-4 |
874 | { | - |
875 | struct item *tmp = loop->qlink; | - |
876 | | - |
877 | error (0, 0, "%s", (loop->str)); | - |
878 | | - |
879 | | - |
880 | if (loop == kTRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2 |
881 | { | - |
882 | | - |
883 | (*p)->suc->count--; | - |
884 | *p = (*p)->next; | - |
885 | break;executed 2 times by 1 test: break; | 2 |
886 | } | - |
887 | | - |
888 | | - |
889 | | - |
890 | loop->qlink = | - |
891 | ((void *)0) | - |
892 | ; | - |
893 | loop = tmp; | - |
894 | }executed 2 times by 1 test: end of block | 2 |
895 | | - |
896 | while (loopTRUE | evaluated 4 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2-4 |
897 | { | - |
898 | struct item *tmp = loop->qlink; | - |
899 | | - |
900 | loop->qlink = | - |
901 | ((void *)0) | - |
902 | ; | - |
903 | loop = tmp; | - |
904 | }executed 4 times by 1 test: end of block | 4 |
905 | | - |
906 | | - |
907 | | - |
908 | returnexecuted 2 times by 1 test: return 1 ; executed 2 times by 1 test: return 1 ; | 2 |
909 | 1executed 2 times by 1 test: return 1 ; | 2 |
910 | ;executed 2 times by 1 test: return 1 ; | 2 |
911 | } | - |
912 | else | - |
913 | { | - |
914 | k->qlink = loop; | - |
915 | loop = k; | - |
916 | break;executed 4 times by 1 test: break; | 4 |
917 | } | - |
918 | } | - |
919 | | - |
920 | p = &(*p)->next; | - |
921 | }executed 2 times by 1 test: end of block | 2 |
922 | }executed 7 times by 1 test: end of block | 7 |
923 | } | - |
924 | | - |
925 | returnexecuted 9 times by 1 test: return 0 ; executed 9 times by 1 test: return 0 ; | 9 |
926 | 0executed 9 times by 1 test: return 0 ; | 9 |
927 | ;executed 9 times by 1 test: return 0 ; | 9 |
928 | } | - |
929 | | - |
930 | | - |
931 | | - |
932 | | - |
933 | static | - |
934 | _Bool | - |
935 | | - |
936 | recurse_tree (struct item *root, | - |
937 | _Bool | - |
938 | (*action) (struct item *)) | - |
939 | { | - |
940 | if (root->left == TRUE | evaluated 81 times by 1 test | FALSE | evaluated 48 times by 1 test |
| 48-81 |
941 | ((void *)0)TRUE | evaluated 81 times by 1 test | FALSE | evaluated 48 times by 1 test |
| 48-81 |
942 | && root->right == TRUE | evaluated 69 times by 1 test | FALSE | evaluated 12 times by 1 test |
| 12-69 |
943 | ((void *)0)TRUE | evaluated 69 times by 1 test | FALSE | evaluated 12 times by 1 test |
| 12-69 |
944 | ) | - |
945 | returnexecuted 69 times by 1 test: return (*action) (root); (*action) (root);executed 69 times by 1 test: return (*action) (root); | 69 |
946 | else | - |
947 | { | - |
948 | if (root->left != TRUE | evaluated 48 times by 1 test | FALSE | evaluated 12 times by 1 test |
| 12-48 |
949 | ((void *)0)TRUE | evaluated 48 times by 1 test | FALSE | evaluated 12 times by 1 test |
| 12-48 |
950 | ) | - |
951 | if (recurse_tree (root->left, action)TRUE | never evaluated | FALSE | evaluated 48 times by 1 test |
) | 0-48 |
952 | return never executed: return 1 ; never executed: return 1 ; | 0 |
953 | 1 never executed: return 1 ; | 0 |
954 | ; never executed: return 1 ; | 0 |
955 | if ((*TRUE | evaluated 1 time by 1 test | FALSE | evaluated 59 times by 1 test |
action) (root)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 59 times by 1 test |
) | 1-59 |
956 | returnexecuted 1 time by 1 test: return 1 ; executed 1 time by 1 test: return 1 ; | 1 |
957 | 1executed 1 time by 1 test: return 1 ; | 1 |
958 | ;executed 1 time by 1 test: return 1 ; | 1 |
959 | if (root->right != TRUE | evaluated 57 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-57 |
960 | ((void *)0)TRUE | evaluated 57 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-57 |
961 | ) | - |
962 | if (recurse_tree (root->right, action)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 56 times by 1 test |
) | 1-56 |
963 | returnexecuted 1 time by 1 test: return 1 ; executed 1 time by 1 test: return 1 ; | 1 |
964 | 1executed 1 time by 1 test: return 1 ; | 1 |
965 | ;executed 1 time by 1 test: return 1 ; | 1 |
966 | }executed 58 times by 1 test: end of block | 58 |
967 | | - |
968 | returnexecuted 58 times by 1 test: return 0 ; executed 58 times by 1 test: return 0 ; | 58 |
969 | 0executed 58 times by 1 test: return 0 ; | 58 |
970 | ;executed 58 times by 1 test: return 0 ; | 58 |
971 | } | - |
972 | | - |
973 | | - |
974 | | - |
975 | | - |
976 | static void | - |
977 | walk_tree (struct item *root, | - |
978 | _Bool | - |
979 | (*action) (struct item *)) | - |
980 | { | - |
981 | if (root->rightTRUE | evaluated 24 times by 1 test | FALSE | never evaluated |
) | 0-24 |
982 | recurse_tree (root->right, action);executed 24 times by 1 test: recurse_tree (root->right, action); | 24 |
983 | }executed 24 times by 1 test: end of block | 24 |
984 | | - |
985 | | - |
986 | | - |
987 | static | - |
988 | _Bool | - |
989 | | - |
990 | tsort (const char *file) | - |
991 | { | - |
992 | | - |
993 | _Bool | - |
994 | ok = | - |
995 | 1 | - |
996 | ; | - |
997 | struct item *root; | - |
998 | struct item *j = | - |
999 | ((void *)0) | - |
1000 | ; | - |
1001 | struct item *k = | - |
1002 | ((void *)0) | - |
1003 | ; | - |
1004 | token_buffer tokenbuffer; | - |
1005 | | - |
1006 | _Bool | - |
1007 | is_stdin = ( | - |
1008 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( | - |
1009 | file | - |
1010 | ) && __builtin_constant_p ( | - |
1011 | "-" | - |
1012 | ) && (__s1_len = __builtin_strlen ( | - |
1013 | file | - |
1014 | ), __s2_len = __builtin_strlen ( | - |
1015 | "-" | - |
1016 | ), (!((size_t)(const void *)(( | - |
1017 | file | - |
1018 | ) + 1) - (size_t)(const void *)( | - |
1019 | file | - |
1020 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(( | - |
1021 | "-" | - |
1022 | ) + 1) - (size_t)(const void *)( | - |
1023 | "-" | - |
1024 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp ( | - |
1025 | file | - |
1026 | , | - |
1027 | "-" | - |
1028 | ) : (__builtin_constant_p ( | - |
1029 | file | - |
1030 | ) && ((size_t)(const void *)(( | - |
1031 | file | - |
1032 | ) + 1) - (size_t)(const void *)( | - |
1033 | file | - |
1034 | ) == 1) && (__s1_len = __builtin_strlen ( | - |
1035 | file | - |
1036 | ), __s1_len < 4) ? (__builtin_constant_p ( | - |
1037 | "-" | - |
1038 | ) && ((size_t)(const void *)(( | - |
1039 | "-" | - |
1040 | ) + 1) - (size_t)(const void *)( | - |
1041 | "-" | - |
1042 | ) == 1) ? __builtin_strcmp ( | - |
1043 | file | - |
1044 | , | - |
1045 | "-" | - |
1046 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ( | - |
1047 | "-" | - |
1048 | ); int __result = (((const unsigned char *) (const char *) ( | - |
1049 | file | - |
1050 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
1051 | file | - |
1052 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0 |
1053 | file | - |
1054 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]); | 0 |
1055 | file never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]); | 0 |
1056 | ))[3] - __s2[3]); never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p ( | 0 |
1057 | "-" | - |
1058 | ) && ((size_t)(const void *)(( | - |
1059 | "-" | - |
1060 | ) + 1) - (size_t)(const void *)( | - |
1061 | "-" | - |
1062 | ) == 1) && (__s2_len = __builtin_strlen ( | - |
1063 | "-" | - |
1064 | ), __s2_len < 4) ? (__builtin_constant_p ( | - |
1065 | file | - |
1066 | ) && ((size_t)(const void *)(( | - |
1067 | file | - |
1068 | ) + 1) - (size_t)(const void *)( | - |
1069 | file | - |
1070 | ) == 1) ? __builtin_strcmp ( | - |
1071 | file | - |
1072 | , | - |
1073 | "-" | - |
1074 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) ( | - |
1075 | file | - |
1076 | ); int __result = (((const unsigned char *) (const char *) ( | - |
1077 | "-" | - |
1078 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | evaluated 10 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 8 times by 1 test |
) { __result = (((const unsigned char *) (const char *) ( | 0-10 |
1079 | "-" | - |
1080 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) ( | 0-2 |
1081 | "-" | - |
1082 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0 |
1083 | "-" never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0 |
1084 | ))[3] - __s2[3]); never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); }never executed: end of block }executed 2 times by 1 test: end of block __result; }))) : __builtin_strcmp ( | 0-2 |
1085 | file | - |
1086 | , | - |
1087 | "-" | - |
1088 | )))); }) | - |
1089 | == 0); | - |
1090 | | - |
1091 | | - |
1092 | root = new_item ( | - |
1093 | ((void *)0) | - |
1094 | ); | - |
1095 | | - |
1096 | if (!is_stdinTRUE | evaluated 8 times by 1 test | FALSE | evaluated 2 times by 1 test |
&& ! freopen_safer (file, "r", TRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
| 0-8 |
1097 | stdinTRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
| 0-8 |
1098 | )TRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
) | 0-8 |
1099 | (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); !!sizeof (struct { _Static_assert (never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1100 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1101 | , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1102 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1103 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1104 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1105 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1106 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1107 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1108 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1109 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1110 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1111 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1112 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1113 | ) ? (void) 0 : __builtin_unreachable ())))); never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) ...e_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
1114 | | - |
1115 | fadvise ( | - |
1116 | stdin | - |
1117 | , FADVISE_SEQUENTIAL); | - |
1118 | | - |
1119 | init_tokenbuffer (&tokenbuffer); | - |
1120 | | - |
1121 | while (1) | - |
1122 | { | - |
1123 | | - |
1124 | size_t len = readtoken ( | - |
1125 | stdin | - |
1126 | , " \t\n", sizeof (" \t\n") - 1, &tokenbuffer); | - |
1127 | if (len == (size_t) -1TRUE | evaluated 10 times by 1 test | FALSE | evaluated 95 times by 1 test |
) | 10-95 |
1128 | break;executed 10 times by 1 test: break; | 10 |
1129 | | - |
1130 | | - |
1131 | (( | - |
1132 | len != 0 | - |
1133 | ) ? (void) (0) : __assert_fail ( | - |
1134 | "len != 0" | - |
1135 | , "src/tsort.c", 467, __PRETTY_FUNCTION__)) | - |
1136 | ; | - |
1137 | | - |
1138 | k = search_item (root, tokenbuffer.buffer); | - |
1139 | if (jTRUE | evaluated 47 times by 1 test | FALSE | evaluated 48 times by 1 test |
) | 47-48 |
1140 | { | - |
1141 | | - |
1142 | record_relation (j, k); | - |
1143 | k = | - |
1144 | ((void *)0) | - |
1145 | ; | - |
1146 | }executed 47 times by 1 test: end of block | 47 |
1147 | | - |
1148 | j = k; | - |
1149 | }executed 95 times by 1 test: end of block | 95 |
1150 | | - |
1151 | if (k != TRUE | evaluated 1 time by 1 test | FALSE | evaluated 9 times by 1 test |
| 1-9 |
1152 | ((void *)0)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 9 times by 1 test |
| 1-9 |
1153 | ) | - |
1154 | ((executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; !!sizeof (struct { _Static_assert (executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1155 | 1executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1156 | , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error (executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1157 | 1executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1158 | , 0, executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1159 | dcgettext (((void *)0), executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1160 | "%s: input contains an odd number of tokens"executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1161 | , 5)executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1162 | , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), ((executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1163 | 0executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1164 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error (executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1165 | 1executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1166 | , 0, executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1167 | dcgettext (((void *)0), executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1168 | "%s: input contains an odd number of tokens"executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1169 | , 5)executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1170 | , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), ((executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1171 | 0executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1172 | ) ? (void) 0 : __builtin_unreachable ()))))executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1173 | ;executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: input contains an odd number of tokens\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dum...( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: input contains an odd number of tokens" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
1174 | | - |
1175 | | - |
1176 | walk_tree (root, count_items); | - |
1177 | | - |
1178 | while (n_strings > 0TRUE | evaluated 11 times by 1 test | FALSE | evaluated 9 times by 1 test |
) | 9-11 |
1179 | { | - |
1180 | | - |
1181 | walk_tree (root, scan_zeros); | - |
1182 | | - |
1183 | while (headTRUE | evaluated 56 times by 1 test | FALSE | evaluated 11 times by 1 test |
) | 11-56 |
1184 | { | - |
1185 | struct successor *p = head->top; | - |
1186 | | - |
1187 | | - |
1188 | puts (head->str); | - |
1189 | | - |
1190 | | - |
1191 | | - |
1192 | | - |
1193 | | - |
1194 | head->str = | - |
1195 | ((void *)0) | - |
1196 | ; | - |
1197 | n_strings--; | - |
1198 | | - |
1199 | | - |
1200 | while (pTRUE | evaluated 42 times by 1 test | FALSE | evaluated 56 times by 1 test |
) | 42-56 |
1201 | { | - |
1202 | p->suc->count--; | - |
1203 | if (p->suc->count == 0TRUE | evaluated 40 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2-40 |
1204 | { | - |
1205 | zeros->qlink = p->suc; | - |
1206 | zeros = p->suc; | - |
1207 | }executed 40 times by 1 test: end of block | 40 |
1208 | | - |
1209 | p = p->next; | - |
1210 | }executed 42 times by 1 test: end of block | 42 |
1211 | | - |
1212 | | - |
1213 | head = head->qlink; | - |
1214 | }executed 56 times by 1 test: end of block | 56 |
1215 | | - |
1216 | | - |
1217 | if (n_strings > 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 9 times by 1 test |
) | 2-9 |
1218 | { | - |
1219 | | - |
1220 | error (0, 0, | - |
1221 | dcgettext (((void *)0), | - |
1222 | "%s: input contains a loop:" | - |
1223 | , 5) | - |
1224 | , quotearg_n_style_colon (0, shell_escape_quoting_style, file)); | - |
1225 | ok = | - |
1226 | 0 | - |
1227 | ; | - |
1228 | | - |
1229 | | - |
1230 | do | - |
1231 | walk_tree (root, detect_loop);executed 4 times by 1 test: walk_tree (root, detect_loop); | 4 |
1232 | while (loopTRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
); | 2 |
1233 | }executed 2 times by 1 test: end of block | 2 |
1234 | }executed 11 times by 1 test: end of block | 11 |
1235 | | - |
1236 | ; | - |
1237 | | - |
1238 | if ( | - |
1239 | rpl_fclose TRUE | never evaluated | FALSE | evaluated 9 times by 1 test |
| 0-9 |
1240 | (TRUE | never evaluated | FALSE | evaluated 9 times by 1 test |
| 0-9 |
1241 | stdinTRUE | never evaluated | FALSE | evaluated 9 times by 1 test |
| 0-9 |
1242 | ) != 0TRUE | never evaluated | FALSE | evaluated 9 times by 1 test |
) | 0-9 |
1243 | (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; !!sizeof (struct { _Static_assert (never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1244 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1245 | , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1246 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1247 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1248 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1249 | , "%s", is_stdin ? never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1250 | dcgettext (((void *)0), never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1251 | "standard input" never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1252 | , 5) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1253 | : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1254 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1255 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1256 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1257 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1258 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1259 | , "%s", is_stdin ? never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1260 | dcgettext (((void *)0), never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1261 | "standard input" never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1262 | , 5) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1263 | : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1264 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1265 | ) ? (void) 0 : __builtin_unreachable ())))) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1266 | ; never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", is_stdin ? dcgettext (((void *)0), \"standard input\", 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), assume (false))" ")")...id) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", is_stdin ? dcgettext (((void *)0), "standard input" , 5) : quotearg_n_style_colon (0, shell_escape_quoting_style, file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 |
1267 | | - |
1268 | returnexecuted 9 times by 1 test: return ok; ok;executed 9 times by 1 test: return ok; | 9 |
1269 | } | - |
1270 | | - |
1271 | int | - |
1272 | main (int argc, char **argv) | - |
1273 | { | - |
1274 | | - |
1275 | _Bool | - |
1276 | ok; | - |
1277 | | - |
1278 | ; | - |
1279 | set_program_name (argv[0]); | - |
1280 | setlocale ( | - |
1281 | 6 | - |
1282 | , ""); | - |
1283 | bindtextdomain ("coreutils", "/usr/local/share/locale"); | - |
1284 | textdomain ("coreutils"); | - |
1285 | | - |
1286 | atexit (close_stdout); | - |
1287 | | - |
1288 | parse_long_options (argc, argv, "tsort", "coreutils", Version, | - |
1289 | usage, ("Mark Kettenis"), (char const *) | - |
1290 | ((void *)0) | - |
1291 | ); | - |
1292 | if (getopt_long (argc, argv, "", long_options, TRUE | evaluated 3 times by 1 test | FALSE | evaluated 11 times by 1 test |
| 3-11 |
1293 | ((void *)0)TRUE | evaluated 3 times by 1 test | FALSE | evaluated 11 times by 1 test |
| 3-11 |
1294 | ) != -1TRUE | evaluated 3 times by 1 test | FALSE | evaluated 11 times by 1 test |
) | 3-11 |
1295 | usage (executed 3 times by 1 test: usage ( 1 ); | 3 |
1296 | 1executed 3 times by 1 test: usage ( 1 ); | 3 |
1297 | );executed 3 times by 1 test: usage ( 1 ); | 3 |
1298 | | - |
1299 | if (1 < argc - optindTRUE | evaluated 1 time by 1 test | FALSE | evaluated 10 times by 1 test |
) | 1-10 |
1300 | { | - |
1301 | error (0, 0, | - |
1302 | dcgettext (((void *)0), | - |
1303 | "extra operand %s" | - |
1304 | , 5) | - |
1305 | , quote (argv[optind + 1])); | - |
1306 | usage ( | - |
1307 | 1 | - |
1308 | ); | - |
1309 | } never executed: end of block | 0 |
1310 | | - |
1311 | ok = tsort (optind == argc ? "-" : argv[optind]); | - |
1312 | | - |
1313 | returnexecuted 9 times by 1 test: return ok ? 0 : 1 ; ok ? executed 9 times by 1 test: return ok ? 0 : 1 ; | 9 |
1314 | 0 executed 9 times by 1 test: return ok ? 0 : 1 ; | 9 |
1315 | : executed 9 times by 1 test: return ok ? 0 : 1 ; | 9 |
1316 | 1executed 9 times by 1 test: return ok ? 0 : 1 ; | 9 |
1317 | ;executed 9 times by 1 test: return ok ? 0 : 1 ; | 9 |
1318 | } | - |
| | |