OpenCoverage

df.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/df.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3struct devlist-
4{-
5 dev_t dev_num;-
6 struct mount_entry *me;-
7 struct devlist *next;-
8};-
9-
10-
11-
12static Hash_table *devlist_table;-
13-
14-
15-
16static -
17 _Bool -
18 show_all_fs;-
19-
20-
21static -
22 _Bool -
23 show_local_fs;-
24-
25-
26-
27static -
28 _Bool -
29 show_listed_fs;-
30-
31-
32static int human_output_opts;-
33-
34-
35static uintmax_t output_block_size;-
36-
37-
38static -
39 _Bool -
40 file_systems_processed;-
41-
42-
43-
44-
45-
46static -
47 _Bool -
48 require_sync;-
49-
50-
51static int exit_status;-
52-
53-
54-
55struct fs_type_list-
56{-
57 char *fs_name;-
58 struct fs_type_list *fs_next;-
59};-
60static struct fs_type_list *fs_select_list;-
61-
62-
63-
64-
65static struct fs_type_list *fs_exclude_list;-
66-
67-
68static struct mount_entry *mount_list;-
69-
70-
71static -
72 _Bool -
73 print_type;-
74-
75-
76static -
77 _Bool -
78 print_grand_total;-
79-
80-
81static struct fs_usage grand_fsu;-
82-
83-
84enum-
85{-
86 DEFAULT_MODE,-
87 INODES_MODE,-
88 HUMAN_MODE,-
89 POSIX_MODE,-
90 OUTPUT_MODE-
91};-
92static int header_mode = DEFAULT_MODE;-
93-
94-
95typedef enum-
96{-
97 SOURCE_FIELD,-
98 FSTYPE_FIELD,-
99 SIZE_FIELD,-
100 USED_FIELD,-
101 AVAIL_FIELD,-
102 PCENT_FIELD,-
103 ITOTAL_FIELD,-
104 IUSED_FIELD,-
105 IAVAIL_FIELD,-
106 IPCENT_FIELD,-
107 TARGET_FIELD,-
108 FILE_FIELD,-
109 INVALID_FIELD-
110} display_field_t;-
111-
112-
113typedef enum-
114{-
115 BLOCK_FLD,-
116 INODE_FLD,-
117 OTHER_FLD-
118} field_type_t;-
119-
120-
121struct field_data_t-
122{-
123 display_field_t field;-
124 char const *arg;-
125 field_type_t field_type;-
126 const char *caption;-
127 size_t width;-
128 mbs_align_t align;-
129 -
130 _Bool -
131 used;-
132};-
133-
134-
135static struct field_data_t field_data[] = {-
136 [SOURCE_FIELD] = { SOURCE_FIELD,-
137 "source", OTHER_FLD, "Filesystem", 14, MBS_ALIGN_LEFT, -
138 0 -
139 },-
140-
141 [FSTYPE_FIELD] = { FSTYPE_FIELD,-
142 "fstype", OTHER_FLD, "Type", 4, MBS_ALIGN_LEFT, -
143 0 -
144 },-
145-
146 [SIZE_FIELD] = { SIZE_FIELD,-
147 "size", BLOCK_FLD, "blocks", 5, MBS_ALIGN_RIGHT, -
148 0 -
149 },-
150-
151 [USED_FIELD] = { USED_FIELD,-
152 "used", BLOCK_FLD, "Used", 5, MBS_ALIGN_RIGHT, -
153 0 -
154 },-
155-
156 [AVAIL_FIELD] = { AVAIL_FIELD,-
157 "avail", BLOCK_FLD, "Available", 5, MBS_ALIGN_RIGHT, -
158 0 -
159 },-
160-
161 [PCENT_FIELD] = { PCENT_FIELD,-
162 "pcent", BLOCK_FLD, "Use%", 4, MBS_ALIGN_RIGHT, -
163 0 -
164 },-
165-
166 [ITOTAL_FIELD] = { ITOTAL_FIELD,-
167 "itotal", INODE_FLD, "Inodes", 5, MBS_ALIGN_RIGHT, -
168 0 -
169 },-
170-
171 [IUSED_FIELD] = { IUSED_FIELD,-
172 "iused", INODE_FLD, "IUsed", 5, MBS_ALIGN_RIGHT, -
173 0 -
174 },-
175-
176 [IAVAIL_FIELD] = { IAVAIL_FIELD,-
177 "iavail", INODE_FLD, "IFree", 5, MBS_ALIGN_RIGHT, -
178 0 -
179 },-
180-
181 [IPCENT_FIELD] = { IPCENT_FIELD,-
182 "ipcent", INODE_FLD, "IUse%", 4, MBS_ALIGN_RIGHT, -
183 0 -
184 },-
185-
186 [TARGET_FIELD] = { TARGET_FIELD,-
187 "target", OTHER_FLD, "Mounted on", 0, MBS_ALIGN_LEFT, -
188 0 -
189 },-
190-
191 [FILE_FIELD] = { FILE_FIELD,-
192 "file", OTHER_FLD, "File", 0, MBS_ALIGN_LEFT, -
193 0 -
194 }-
195};-
196-
197static char const *all_args_string =-
198 "source,fstype,itotal,iused,iavail,ipcent,size,"-
199 "used,avail,pcent,file,target";-
200-
201-
202static struct field_data_t **columns;-
203-
204-
205static size_t ncolumns;-
206-
207-
208struct field_values_t-
209{-
210 uintmax_t input_units;-
211 uintmax_t output_units;-
212 uintmax_t total;-
213 uintmax_t available;-
214 -
215 _Bool -
216 negate_available;-
217 uintmax_t available_to_root;-
218 uintmax_t used;-
219 -
220 _Bool -
221 negate_used;-
222};-
223-
224-
225static char ***table;-
226-
227-
228static size_t nrows;-
229-
230-
231-
232enum-
233{-
234 NO_SYNC_OPTION = 0x7f + 1,-
235 SYNC_OPTION,-
236 TOTAL_OPTION,-
237 OUTPUT_OPTION-
238};-
239-
240static struct option const long_options[] =-
241{-
242 {"all", -
243 0-
244 , -
245 ((void *)0)-
246 , 'a'},-
247 {"block-size", -
248 1-
249 , -
250 ((void *)0)-
251 , 'B'},-
252 {"inodes", -
253 0-
254 , -
255 ((void *)0)-
256 , 'i'},-
257 {"human-readable", -
258 0-
259 , -
260 ((void *)0)-
261 , 'h'},-
262 {"si", -
263 0-
264 , -
265 ((void *)0)-
266 , 'H'},-
267 {"local", -
268 0-
269 , -
270 ((void *)0)-
271 , 'l'},-
272 {"output", -
273 2-
274 , -
275 ((void *)0)-
276 , OUTPUT_OPTION},-
277 {"portability", -
278 0-
279 , -
280 ((void *)0)-
281 , 'P'},-
282 {"print-type", -
283 0-
284 , -
285 ((void *)0)-
286 , 'T'},-
287 {"sync", -
288 0-
289 , -
290 ((void *)0)-
291 , SYNC_OPTION},-
292 {"no-sync", -
293 0-
294 , -
295 ((void *)0)-
296 , NO_SYNC_OPTION},-
297 {"total", -
298 0-
299 , -
300 ((void *)0)-
301 , TOTAL_OPTION},-
302 {"type", -
303 1-
304 , -
305 ((void *)0)-
306 , 't'},-
307 {"exclude-type", -
308 1-
309 , -
310 ((void *)0)-
311 , 'x'},-
312 {"help", -
313 0-
314 , -
315 ((void *)0)-
316 , GETOPT_HELP_CHAR},-
317 {"version", -
318 0-
319 , -
320 ((void *)0)-
321 , GETOPT_VERSION_CHAR},-
322 {-
323 ((void *)0)-
324 , 0, -
325 ((void *)0)-
326 , 0}-
327};-
328-
329-
330-
331-
332-
333static char*-
334hide_problematic_chars (char *cell)-
335{-
336 char *p = cell;-
337 while (*
*pDescription
TRUEevaluated 9734 times by 1 test
Evaluated by:
  • df
FALSEevaluated 1712 times by 1 test
Evaluated by:
  • df
p
*pDescription
TRUEevaluated 9734 times by 1 test
Evaluated by:
  • df
FALSEevaluated 1712 times by 1 test
Evaluated by:
  • df
)
1712-9734
338 {-
339 if (-
340 ((*
((*__ctype_b_l...int) _IScntrl)Description
TRUEnever evaluated
FALSEevaluated 9734 times by 1 test
Evaluated by:
  • df
__ctype_b_loc ())[(int) ((
((*__ctype_b_l...int) _IScntrl)Description
TRUEnever evaluated
FALSEevaluated 9734 times by 1 test
Evaluated by:
  • df
0-9734
341 to_uchar (*p)
((*__ctype_b_l...int) _IScntrl)Description
TRUEnever evaluated
FALSEevaluated 9734 times by 1 test
Evaluated by:
  • df
0-9734
342 ))] & (unsigned short int) _IScntrl)
((*__ctype_b_l...int) _IScntrl)Description
TRUEnever evaluated
FALSEevaluated 9734 times by 1 test
Evaluated by:
  • df
0-9734
343 )-
344 *
never executed: *p = '?';
p = '?';
never executed: *p = '?';
0
345 p++;-
346 }
executed 9734 times by 1 test: end of block
Executed by:
  • df
9734
347 return
executed 1712 times by 1 test: return cell;
Executed by:
  • df
cell;
executed 1712 times by 1 test: return cell;
Executed by:
  • df
1712
348}-
349-
350-
351-
352-
353static void-
354alloc_table_row (void)-
355{-
356 nrows++;-
357 table = xnrealloc (table, nrows, sizeof (char **));-
358 table[nrows - 1] = xnmalloc (ncolumns, sizeof (char *));-
359}
executed 315 times by 1 test: end of block
Executed by:
  • df
315
360-
361-
362-
363-
364static void-
365print_table (void)-
366{-
367 size_t row;-
368-
369 for (row = 0; row < nrows
row < nrowsDescription
TRUEevaluated 311 times by 1 test
Evaluated by:
  • df
FALSEevaluated 67 times by 1 test
Evaluated by:
  • df
; row++)
67-311
370 {-
371 size_t col;-
372 for (col = 0; col < ncolumns
col < ncolumnsDescription
TRUEevaluated 1688 times by 1 test
Evaluated by:
  • df
FALSEevaluated 311 times by 1 test
Evaluated by:
  • df
; col++)
311-1688
373 {-
374 char *cell = table[row][col];-
375-
376-
377-
378-
379-
380 if (col != 0
col != 0Description
TRUEevaluated 1377 times by 1 test
Evaluated by:
  • df
FALSEevaluated 311 times by 1 test
Evaluated by:
  • df
)
311-1377
381 putchar_unlocked (' ');
executed 1377 times by 1 test: putchar_unlocked (' ');
Executed by:
  • df
1377
382-
383 int flags = 0;-
384 if (col == ncolumns - 1
col == ncolumns - 1Description
TRUEevaluated 311 times by 1 test
Evaluated by:
  • df
FALSEevaluated 1377 times by 1 test
Evaluated by:
  • df
)
311-1377
385 flags = MBA_NO_RIGHT_PAD;
executed 311 times by 1 test: flags = MBA_NO_RIGHT_PAD;
Executed by:
  • df
311
386-
387 size_t width = columns[col]->width;-
388 cell = ambsalign (cell, &width, columns[col]->align, flags);-
389-
390 fputs_unlocked (cell ? cell : table[row][col],-
391 stdout-
392 );-
393 free (cell);-
394-
395 ;-
396 }
executed 1688 times by 1 test: end of block
Executed by:
  • df
1688
397 putchar_unlocked ('\n');-
398 ;-
399 }
executed 311 times by 1 test: end of block
Executed by:
  • df
311
400-
401 ;-
402}
executed 67 times by 1 test: end of block
Executed by:
  • df
67
403-
404-
405-
406-
407static void-
408alloc_field (int f, const char *c)-
409{-
410 ncolumns++;-
411 columns = xnrealloc (columns, ncolumns, sizeof (struct field_data_t *));-
412 columns[ncolumns - 1] = &field_data[f];-
413 if (c !=
c != ((void *)0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • df
FALSEevaluated 382 times by 1 test
Evaluated by:
  • df
8-382
414 ((void *)0)
c != ((void *)0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • df
FALSEevaluated 382 times by 1 test
Evaluated by:
  • df
8-382
415 )-
416 columns[ncolumns - 1]->caption = c;
executed 8 times by 1 test: columns[ncolumns - 1]->caption = c;
Executed by:
  • df
8
417-
418 if (field_data[f].used
field_data[f].usedDescription
TRUEnever evaluated
FALSEevaluated 390 times by 1 test
Evaluated by:
  • df
)
0-390
419 -
420 ((
never executed: (( !"field used" ) ? (void) (0) : __assert_fail ( "!\"field used\"" , "src/df.c", 356, __PRETTY_FUNCTION__)) ;
0
421 !"field used"
never executed: (( !"field used" ) ? (void) (0) : __assert_fail ( "!\"field used\"" , "src/df.c", 356, __PRETTY_FUNCTION__)) ;
0
422 ) ? (void) (0) : __assert_fail (
never executed: (( !"field used" ) ? (void) (0) : __assert_fail ( "!\"field used\"" , "src/df.c", 356, __PRETTY_FUNCTION__)) ;
0
423 "!\"field used\""
never executed: (( !"field used" ) ? (void) (0) : __assert_fail ( "!\"field used\"" , "src/df.c", 356, __PRETTY_FUNCTION__)) ;
0
424 , "src/df.c", 356, __PRETTY_FUNCTION__))
never executed: (( !"field used" ) ? (void) (0) : __assert_fail ( "!\"field used\"" , "src/df.c", 356, __PRETTY_FUNCTION__)) ;
0
425 ;
never executed: (( !"field used" ) ? (void) (0) : __assert_fail ( "!\"field used\"" , "src/df.c", 356, __PRETTY_FUNCTION__)) ;
0
426-
427-
428 field_data[f].used = -
429 1-
430 ;-
431}
executed 390 times by 1 test: end of block
Executed by:
  • df
390
432-
433-
434-
435-
436static void-
437decode_output_arg (char const *arg)-
438{-
439 char *arg_writable = xstrdup (arg);-
440 char *s = arg_writable;-
441 do-
442 {-
443-
444 char *comma = -
445 (__extension__ (__builtin_constant_p (
__builtin_constant_p ( ',' )Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
0-46
446 ','
__builtin_constant_p ( ',' )Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
0-46
447 )
__builtin_constant_p ( ',' )Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_constant_p ( s )Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
0-46
448 s
!__builtin_constant_p ( s )Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
0-46
449 )
!__builtin_constant_p ( s )Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
&& (
( ',' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 46 times by 1 test
Evaluated by:
  • df
0-46
450 ','
( ',' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 46 times by 1 test
Evaluated by:
  • df
0-46
451 ) == '\0'
( ',' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 46 times by 1 test
Evaluated by:
  • df
? (char *) __rawmemchr (
0-46
452 s-
453 , -
454 ','-
455 ) : __builtin_strchr (-
456 s-
457 , -
458 ','-
459 )))-
460 ;-
461-
462-
463 if (comma
commaDescription
TRUEevaluated 28 times by 1 test
Evaluated by:
  • df
FALSEevaluated 18 times by 1 test
Evaluated by:
  • df
)
18-28
464 *
executed 28 times by 1 test: *comma++ = 0;
Executed by:
  • df
comma++ = 0;
executed 28 times by 1 test: *comma++ = 0;
Executed by:
  • df
28
465-
466-
467 display_field_t field = INVALID_FIELD;-
468 for (unsigned int i = 0; i < (sizeof (field_data) / sizeof *(field_data))
i < (sizeof (f...*(field_data))Description
TRUEevaluated 302 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
; i++)
0-302
469 {-
470 if ((
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
471 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
472 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
473 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
474 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
475 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
476 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
477 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
478 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
479 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
480 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
481 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
482 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
483 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
484 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
485 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
486 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
487 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
488 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
489 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
490 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
491 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
492 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
493 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
494 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
495 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
496 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
497 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
498 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
499 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
500 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
501 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
502 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
503 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
504 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
505 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
506 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
507 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
508 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
509 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
510 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
511 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
512 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
513 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
0-256
514 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
515 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
0-256
516 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
517 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( field_data[i].arg ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
0-256
518 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
never executed: __result = (((const unsigned char *) (const char *) ( field_data[i].arg ))[3] - __s2[3]);
0-256
519 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
never executed: __result = (((const unsigned char *) (const char *) ( field_data[i].arg ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
0-256
520 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
521 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
522 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
523 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
524 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
525 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
526 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
527 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
528 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
529 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
530 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
531 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
532 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
533 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
534 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
535 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
536 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
537 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
538 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
539 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
540 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
541 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
0-256
542 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
543 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
0-256
544 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
545 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( s ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
0-256
546 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
never executed: __result = (((const unsigned char *) (const char *) ( s ))[3] - __s2[3]);
0-256
547 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
never executed: __result = (((const unsigned char *) (const char *) ( s ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
0-256
548 field_data[i].arg
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
549 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
550 s
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
551 )))); })
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
46-256
552 == 0)
( __extension_...)))); }) == 0)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • df
FALSEevaluated 256 times by 1 test
Evaluated by:
  • df
)
46-256
553 {-
554 field = i;-
555 break;
executed 46 times by 1 test: break;
Executed by:
  • df
46
556 }-
557 }
executed 256 times by 1 test: end of block
Executed by:
  • df
256
558 if (field == INVALID_FIELD
field == INVALID_FIELDDescription
TRUEnever evaluated
FALSEevaluated 46 times by 1 test
Evaluated by:
  • df
)
0-46
559 {-
560 error (0, 0, -
561 dcgettext (((void *)0), -
562 "option --output: field %s unknown"-
563 , 5)-
564 , quote (s));-
565 usage (-
566 1-
567 );-
568 }
never executed: end of block
0
569-
570 if (field_data[field].used
field_data[field].usedDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • df
FALSEevaluated 44 times by 1 test
Evaluated by:
  • df
)
2-44
571 {-
572-
573 error (0, 0, -
574 dcgettext (((void *)0), -
575 "option --output: field %s used more than once"-
576 , 5)-
577 ,-
578 quote (field_data[field].arg));-
579 usage (-
580 1-
581 );-
582 }
never executed: end of block
0
583-
584 switch (field)-
585 {-
586 case
executed 10 times by 1 test: case SOURCE_FIELD:
Executed by:
  • df
SOURCE_FIELD:
executed 10 times by 1 test: case SOURCE_FIELD:
Executed by:
  • df
10
587 case
executed 3 times by 1 test: case FSTYPE_FIELD:
Executed by:
  • df
FSTYPE_FIELD:
executed 3 times by 1 test: case FSTYPE_FIELD:
Executed by:
  • df
3
588 case
executed 2 times by 1 test: case USED_FIELD:
Executed by:
  • df
USED_FIELD:
executed 2 times by 1 test: case USED_FIELD:
Executed by:
  • df
2
589 case
executed 2 times by 1 test: case PCENT_FIELD:
Executed by:
  • df
PCENT_FIELD:
executed 2 times by 1 test: case PCENT_FIELD:
Executed by:
  • df
2
590 case
executed 2 times by 1 test: case ITOTAL_FIELD:
Executed by:
  • df
ITOTAL_FIELD:
executed 2 times by 1 test: case ITOTAL_FIELD:
Executed by:
  • df
2
591 case
executed 2 times by 1 test: case IUSED_FIELD:
Executed by:
  • df
IUSED_FIELD:
executed 2 times by 1 test: case IUSED_FIELD:
Executed by:
  • df
2
592 case
executed 2 times by 1 test: case IAVAIL_FIELD:
Executed by:
  • df
IAVAIL_FIELD:
executed 2 times by 1 test: case IAVAIL_FIELD:
Executed by:
  • df
2
593 case
executed 2 times by 1 test: case IPCENT_FIELD:
Executed by:
  • df
IPCENT_FIELD:
executed 2 times by 1 test: case IPCENT_FIELD:
Executed by:
  • df
2
594 case
executed 11 times by 1 test: case TARGET_FIELD:
Executed by:
  • df
TARGET_FIELD:
executed 11 times by 1 test: case TARGET_FIELD:
Executed by:
  • df
11
595 case
executed 3 times by 1 test: case FILE_FIELD:
Executed by:
  • df
FILE_FIELD:
executed 3 times by 1 test: case FILE_FIELD:
Executed by:
  • df
3
596 alloc_field (field, -
597 ((void *)0)-
598 );-
599 break;
executed 39 times by 1 test: break;
Executed by:
  • df
39
600-
601 case
executed 3 times by 1 test: case SIZE_FIELD:
Executed by:
  • df
SIZE_FIELD:
executed 3 times by 1 test: case SIZE_FIELD:
Executed by:
  • df
3
602 alloc_field (field, "Size");-
603 break;
executed 3 times by 1 test: break;
Executed by:
  • df
3
604-
605 case
executed 2 times by 1 test: case AVAIL_FIELD:
Executed by:
  • df
AVAIL_FIELD:
executed 2 times by 1 test: case AVAIL_FIELD:
Executed by:
  • df
2
606 alloc_field (field, "Avail");-
607 break;
executed 2 times by 1 test: break;
Executed by:
  • df
2
608-
609 default
never executed: default:
:
never executed: default:
0
610 -
611 ((-
612 !"invalid field"-
613 ) ? (void) (0) : __assert_fail (-
614 "!\"invalid field\""-
615 , "src/df.c", 427, __PRETTY_FUNCTION__))-
616 ;-
617 }
never executed: end of block
0
618 s = comma;-
619 }
executed 44 times by 1 test: end of block
Executed by:
  • df
44
620 while (s
sDescription
TRUEevaluated 28 times by 1 test
Evaluated by:
  • df
FALSEevaluated 16 times by 1 test
Evaluated by:
  • df
);
16-28
621-
622 free (arg_writable);-
623}
executed 16 times by 1 test: end of block
Executed by:
  • df
16
624-
625-
626static void-
627get_field_list (void)-
628{-
629 switch (header_mode)-
630 {-
631 case
executed 51 times by 1 test: case DEFAULT_MODE:
Executed by:
  • df
DEFAULT_MODE:
executed 51 times by 1 test: case DEFAULT_MODE:
Executed by:
  • df
51
632 alloc_field (SOURCE_FIELD, -
633 ((void *)0)-
634 );-
635 if (print_type
print_typeDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • df
FALSEevaluated 48 times by 1 test
Evaluated by:
  • df
)
3-48
636 alloc_field (FSTYPE_FIELD,
executed 3 times by 1 test: alloc_field (FSTYPE_FIELD, ((void *)0) );
Executed by:
  • df
3
637 ((void *)0)
executed 3 times by 1 test: alloc_field (FSTYPE_FIELD, ((void *)0) );
Executed by:
  • df
3
638 );
executed 3 times by 1 test: alloc_field (FSTYPE_FIELD, ((void *)0) );
Executed by:
  • df
3
639 alloc_field (SIZE_FIELD, -
640 ((void *)0)-
641 );-
642 alloc_field (USED_FIELD, -
643 ((void *)0)-
644 );-
645 alloc_field (AVAIL_FIELD, -
646 ((void *)0)-
647 );-
648 alloc_field (PCENT_FIELD, -
649 ((void *)0)-
650 );-
651 alloc_field (TARGET_FIELD, -
652 ((void *)0)-
653 );-
654 break;
executed 51 times by 1 test: break;
Executed by:
  • df
51
655-
656 case
never executed: case HUMAN_MODE:
HUMAN_MODE:
never executed: case HUMAN_MODE:
0
657 alloc_field (SOURCE_FIELD, -
658 ((void *)0)-
659 );-
660 if (print_type
print_typeDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
661 alloc_field (FSTYPE_FIELD,
never executed: alloc_field (FSTYPE_FIELD, ((void *)0) );
0
662 ((void *)0)
never executed: alloc_field (FSTYPE_FIELD, ((void *)0) );
0
663 );
never executed: alloc_field (FSTYPE_FIELD, ((void *)0) );
0
664-
665 alloc_field (SIZE_FIELD, "Size");-
666 alloc_field (USED_FIELD, -
667 ((void *)0)-
668 );-
669 alloc_field (AVAIL_FIELD, "Avail");-
670 alloc_field (PCENT_FIELD, -
671 ((void *)0)-
672 );-
673 alloc_field (TARGET_FIELD, -
674 ((void *)0)-
675 );-
676 break;
never executed: break;
0
677-
678 case
executed 3 times by 1 test: case INODES_MODE:
Executed by:
  • df
INODES_MODE:
executed 3 times by 1 test: case INODES_MODE:
Executed by:
  • df
3
679 alloc_field (SOURCE_FIELD, -
680 ((void *)0)-
681 );-
682 if (print_type
print_typeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • df
FALSEevaluated 2 times by 1 test
Evaluated by:
  • df
)
1-2
683 alloc_field (FSTYPE_FIELD,
executed 1 time by 1 test: alloc_field (FSTYPE_FIELD, ((void *)0) );
Executed by:
  • df
1
684 ((void *)0)
executed 1 time by 1 test: alloc_field (FSTYPE_FIELD, ((void *)0) );
Executed by:
  • df
1
685 );
executed 1 time by 1 test: alloc_field (FSTYPE_FIELD, ((void *)0) );
Executed by:
  • df
1
686 alloc_field (ITOTAL_FIELD, -
687 ((void *)0)-
688 );-
689 alloc_field (IUSED_FIELD, -
690 ((void *)0)-
691 );-
692 alloc_field (IAVAIL_FIELD, -
693 ((void *)0)-
694 );-
695 alloc_field (IPCENT_FIELD, -
696 ((void *)0)-
697 );-
698 alloc_field (TARGET_FIELD, -
699 ((void *)0)-
700 );-
701 break;
executed 3 times by 1 test: break;
Executed by:
  • df
3
702-
703 case
executed 3 times by 1 test: case POSIX_MODE:
Executed by:
  • df
POSIX_MODE:
executed 3 times by 1 test: case POSIX_MODE:
Executed by:
  • df
3
704 alloc_field (SOURCE_FIELD, -
705 ((void *)0)-
706 );-
707 if (print_type
print_typeDescription
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • df
)
0-3
708 alloc_field (FSTYPE_FIELD,
never executed: alloc_field (FSTYPE_FIELD, ((void *)0) );
0
709 ((void *)0)
never executed: alloc_field (FSTYPE_FIELD, ((void *)0) );
0
710 );
never executed: alloc_field (FSTYPE_FIELD, ((void *)0) );
0
711 alloc_field (SIZE_FIELD, -
712 ((void *)0)-
713 );-
714 alloc_field (USED_FIELD, -
715 ((void *)0)-
716 );-
717 alloc_field (AVAIL_FIELD, -
718 ((void *)0)-
719 );-
720 alloc_field (PCENT_FIELD, "Capacity");-
721 alloc_field (TARGET_FIELD, -
722 ((void *)0)-
723 );-
724 break;
executed 3 times by 1 test: break;
Executed by:
  • df
3
725-
726 case
executed 14 times by 1 test: case OUTPUT_MODE:
Executed by:
  • df
OUTPUT_MODE:
executed 14 times by 1 test: case OUTPUT_MODE:
Executed by:
  • df
14
727 if (!ncolumns
!ncolumnsDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • df
FALSEevaluated 13 times by 1 test
Evaluated by:
  • df
)
1-13
728 {-
729-
730 decode_output_arg (all_args_string);-
731 }
executed 1 time by 1 test: end of block
Executed by:
  • df
1
732 break;
executed 14 times by 1 test: break;
Executed by:
  • df
14
733-
734 default
never executed: default:
:
never executed: default:
0
735 -
736 ((-
737 !"invalid header_mode"-
738 ) ? (void) (0) : __assert_fail (-
739 "!\"invalid header_mode\""-
740 , "src/df.c", 496, __PRETTY_FUNCTION__))-
741 ;-
742 }
never executed: end of block
0
743}-
744-
745-
746-
747static void-
748get_header (void)-
749{-
750 size_t col;-
751-
752 alloc_table_row ();-
753-
754 for (col = 0; col < ncolumns
col < ncolumnsDescription
TRUEevaluated 386 times by 1 test
Evaluated by:
  • df
FALSEevaluated 71 times by 1 test
Evaluated by:
  • df
; col++)
71-386
755 {-
756 char *cell = -
757 ((void *)0)-
758 ;-
759 char const *header = -
760 dcgettext (((void *)0), -
761 columns[col]->caption-
762 , 5)-
763 ;-
764-
765 if (columns[col]->field == SIZE_FIELD
columns[col]->... == SIZE_FIELDDescription
TRUEevaluated 57 times by 1 test
Evaluated by:
  • df
FALSEevaluated 329 times by 1 test
Evaluated by:
  • df
57-329
766 && (header_mode == DEFAULT_MODE
header_mode == DEFAULT_MODEDescription
TRUEevaluated 51 times by 1 test
Evaluated by:
  • df
FALSEevaluated 6 times by 1 test
Evaluated by:
  • df
6-51
767 || (header_mode == OUTPUT_MODE
header_mode == OUTPUT_MODEDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • df
FALSEevaluated 3 times by 1 test
Evaluated by:
  • df
3
768 && !(human_output_opts & human_autoscale)
!(human_output...man_autoscale)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • df
FALSEevaluated 2 times by 1 test
Evaluated by:
  • df
)))
1-2
769 {-
770 char buf[((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
771 16 -
772 + 1) - -
773 16 -
774 + 1 + 3) + 1];-
775-
776 int opts = (human_suppress_point_zero-
777 | human_autoscale | human_SI-
778 | (human_output_opts-
779 & (human_group_digits | human_base_1024 | human_B)));-
780-
781-
782-
783-
784 uintmax_t q1000 = output_block_size;-
785 uintmax_t q1024 = output_block_size;-
786 -
787 _Bool -
788 divisible_by_1000;-
789 -
790 _Bool -
791 divisible_by_1024;-
792-
793 do-
794 {-
795 divisible_by_1000 = q1000 % 1000 == 0; q1000 /= 1000;-
796 divisible_by_1024 = q1024 % 1024 == 0; q1024 /= 1024;-
797 }
executed 52 times by 1 test: end of block
Executed by:
  • df
52
798 while (divisible_by_1000 & divisible_by_1024
divisible_by_1...isible_by_1024Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • df
);
0-52
799-
800 if (divisible_by_1000 < divisible_by_1024
divisible_by_1...isible_by_1024Description
TRUEevaluated 52 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
)
0-52
801 opts |= human_base_1024;
executed 52 times by 1 test: opts |= human_base_1024;
Executed by:
  • df
52
802 if (divisible_by_1024 < divisible_by_1000
divisible_by_1...isible_by_1000Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • df
)
0-52
803 opts &= ~human_base_1024;
never executed: opts &= ~human_base_1024;
0
804 if (! (opts & human_base_1024)
! (opts & human_base_1024)Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • df
)
0-52
805 opts |= human_B;
never executed: opts |= human_B;
0
806-
807 char *num = human_readable (output_block_size, buf, opts, 1, 1);-
808-
809-
810 header = -
811 dcgettext (((void *)0), -
812 "blocks"-
813 , 5)-
814 ;-
815-
816-
817 if (asprintf (&cell,
asprintf (&cel... header) == -1Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • df
0-52
818 dcgettext (((void *)0),
asprintf (&cel... header) == -1Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • df
0-52
819 "%s-%s"
asprintf (&cel... header) == -1Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • df
0-52
820 , 5)
asprintf (&cel... header) == -1Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • df
0-52
821 , num, header) == -1
asprintf (&cel... header) == -1Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • df
)
0-52
822 cell =
never executed: cell = ((void *)0) ;
0
823 ((void *)0)
never executed: cell = ((void *)0) ;
0
824 ;
never executed: cell = ((void *)0) ;
0
825 }
executed 52 times by 1 test: end of block
Executed by:
  • df
52
826 else if (header_mode == POSIX_MODE
header_mode == POSIX_MODEDescription
TRUEevaluated 18 times by 1 test
Evaluated by:
  • df
FALSEevaluated 316 times by 1 test
Evaluated by:
  • df
&& columns[col]->field == SIZE_FIELD
columns[col]->... == SIZE_FIELDDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • df
FALSEevaluated 15 times by 1 test
Evaluated by:
  • df
)
3-316
827 {-
828 char buf[((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)];-
829 char *num = umaxtostr (output_block_size, buf);-
830-
831-
832 if (asprintf (&cell,
asprintf (&cel... header) == -1Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • df
0-3
833 dcgettext (((void *)0),
asprintf (&cel... header) == -1Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • df
0-3
834 "%s-%s"
asprintf (&cel... header) == -1Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • df
0-3
835 , 5)
asprintf (&cel... header) == -1Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • df
0-3
836 , num, header) == -1
asprintf (&cel... header) == -1Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • df
)
0-3
837 cell =
never executed: cell = ((void *)0) ;
0
838 ((void *)0)
never executed: cell = ((void *)0) ;
0
839 ;
never executed: cell = ((void *)0) ;
0
840 }
executed 3 times by 1 test: end of block
Executed by:
  • df
3
841 else-
842 cell =
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
331
843 (__extension__ (__builtin_constant_p (
__builtin_cons...t_p ( header )Description
TRUEnever evaluated
FALSEevaluated 331 times by 1 test
Evaluated by:
  • df
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
0-331
844 header
__builtin_cons...t_p ( header )Description
TRUEnever evaluated
FALSEevaluated 331 times by 1 test
Evaluated by:
  • df
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
0-331
845 )
__builtin_cons...t_p ( header )Description
TRUEnever evaluated
FALSEevaluated 331 times by 1 test
Evaluated by:
  • df
&& ((
((size_t)(cons...header ) == 1)Description
TRUEnever evaluated
FALSEnever evaluated
size_t)(const void *)((
((size_t)(cons...header ) == 1)Description
TRUEnever evaluated
FALSEnever evaluated
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
0-331
846 header
((size_t)(cons...header ) == 1)Description
TRUEnever evaluated
FALSEnever evaluated
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
0-331
847 ) + 1) - (size_t)(const void *)(
((size_t)(cons...header ) == 1)Description
TRUEnever evaluated
FALSEnever evaluated
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
0-331
848 header
((size_t)(cons...header ) == 1)Description
TRUEnever evaluated
FALSEnever evaluated
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
0-331
849 ) == 1)
((size_t)(cons...header ) == 1)Description
TRUEnever evaluated
FALSEnever evaluated
? (((const
((const char *... ))[0] == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
char *) (
((const char *... ))[0] == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
0-331
850 header
((const char *... ))[0] == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
0-331
851 ))[0] == '\0'
((const char *... ))[0] == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen (
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
0-331
852 header
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
331
853 ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)
__retval != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
) __retval = (char *) memcpy (__retval,
never executed: __retval = (char *) memcpy (__retval, header , __len);
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
0-331
854 header
never executed: __retval = (char *) memcpy (__retval, header , __len);
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
0-331
855 , __len);
never executed: __retval = (char *) memcpy (__retval, header , __len);
__retval; })) : __strdup (
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
0-331
856 header
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
331
857 )))
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
331
858 ;
executed 331 times by 1 test: cell = (__extension__ (__builtin_constant_p ( header ) && ((size_t)(const void *)(( header ) + 1) - (size_t)(const void *)( header ) == 1) ? (((const char *) ( header ))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen ( header ) + 1; char *__retval = (char *) malloc (__len); if (__retval != ((void *)0)) __retval = (char *) memcpy (__retval, header , __len); __retval; })) : __strdup ( header ))) ;
Executed by:
  • df
331
859-
860 if (!cell
!cellDescription
TRUEnever evaluated
FALSEevaluated 386 times by 1 test
Evaluated by:
  • df
)
0-386
861 xalloc_die ();
never executed: xalloc_die ();
0
862-
863 hide_problematic_chars (cell);-
864-
865 table[nrows - 1][col] = cell;-
866-
867 columns[col]->width = -
868 (((
(( columns[col...h (cell, 0) ))Description
TRUEevaluated 123 times by 1 test
Evaluated by:
  • df
FALSEevaluated 263 times by 1 test
Evaluated by:
  • df
123-263
869 columns[col]->width
(( columns[col...h (cell, 0) ))Description
TRUEevaluated 123 times by 1 test
Evaluated by:
  • df
FALSEevaluated 263 times by 1 test
Evaluated by:
  • df
123-263
870 )>(
(( columns[col...h (cell, 0) ))Description
TRUEevaluated 123 times by 1 test
Evaluated by:
  • df
FALSEevaluated 263 times by 1 test
Evaluated by:
  • df
123-263
871 gnu_mbswidth (cell, 0)
(( columns[col...h (cell, 0) ))Description
TRUEevaluated 123 times by 1 test
Evaluated by:
  • df
FALSEevaluated 263 times by 1 test
Evaluated by:
  • df
123-263
872 ))
(( columns[col...h (cell, 0) ))Description
TRUEevaluated 123 times by 1 test
Evaluated by:
  • df
FALSEevaluated 263 times by 1 test
Evaluated by:
  • df
?(
123-263
873 columns[col]->width-
874 ):(-
875 gnu_mbswidth (cell, 0)-
876 ))-
877 ;-
878 }
executed 386 times by 1 test: end of block
Executed by:
  • df
386
879}
executed 71 times by 1 test: end of block
Executed by:
  • df
71
880-
881-
882-
883static -
884 _Bool __attribute__ ((__pure__))-
885-
886selected_fstype (const char *fstype)-
887{-
888 const struct fs_type_list *fsp;-
889-
890 if (fs_select_list ==
fs_select_list == ((void *)0)Description
TRUEevaluated 1025 times by 1 test
Evaluated by:
  • df
FALSEevaluated 3 times by 1 test
Evaluated by:
  • df
3-1025
891 ((void *)0)
fs_select_list == ((void *)0)Description
TRUEevaluated 1025 times by 1 test
Evaluated by:
  • df
FALSEevaluated 3 times by 1 test
Evaluated by:
  • df
3-1025
892 || fstype ==
fstype == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • df
0-3
893 ((void *)0)
fstype == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • df
0-3
894 )-
895 return
executed 1025 times by 1 test: return 1 ;
Executed by:
  • df
executed 1025 times by 1 test: return 1 ;
Executed by:
  • df
1025
896 1
executed 1025 times by 1 test: return 1 ;
Executed by:
  • df
1025
897 ;
executed 1025 times by 1 test: return 1 ;
Executed by:
  • df
1025
898 for (fsp = fs_select_list; fsp
fspDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 3 times by 1 test
Evaluated by:
  • df
; fsp = fsp->fs_next)
3-4
899 if ((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
900 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
901 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
902 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
903 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
904 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
905 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
906 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
907 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
908 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
909 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
910 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
911 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
912 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
913 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
914 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
915 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
916 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
917 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
918 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
919 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
920 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
921 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
922 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
923 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
924 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
925 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
926 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
927 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
928 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
929 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
930 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
931 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
932 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
933 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
934 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
935 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
936 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
937 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
938 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
939 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
940 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
941 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
942 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
943 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
944 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
945 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
946 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( fstype ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
947 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
never executed: __result = (((const unsigned char *) (const char *) ( fstype ))[3] - __s2[3]);
0-4
948 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
never executed: __result = (((const unsigned char *) (const char *) ( fstype ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
949 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
950 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
951 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
952 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
953 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
954 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
955 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
956 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
957 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
958 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
959 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
960 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
961 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
962 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
963 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
964 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
965 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
966 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
967 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
968 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
969 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
970 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
971 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
972 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
973 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
974 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( fsp->fs_name ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
975 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
never executed: __result = (((const unsigned char *) (const char *) ( fsp->fs_name ))[3] - __s2[3]);
0-4
976 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
never executed: __result = (((const unsigned char *) (const char *) ( fsp->fs_name ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
977 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
978 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
979 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
980 )))); })
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
981 == 0)
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
)
0-4
982 return
never executed: return 1 ;
never executed: return 1 ;
0
983 1
never executed: return 1 ;
0
984 ;
never executed: return 1 ;
0
985 return
executed 3 times by 1 test: return 0 ;
Executed by:
  • df
executed 3 times by 1 test: return 0 ;
Executed by:
  • df
3
986 0
executed 3 times by 1 test: return 0 ;
Executed by:
  • df
3
987 ;
executed 3 times by 1 test: return 0 ;
Executed by:
  • df
3
988}-
989-
990-
991-
992static -
993 _Bool __attribute__ ((__pure__))-
994-
995excluded_fstype (const char *fstype)-
996{-
997 const struct fs_type_list *fsp;-
998-
999 if (fs_exclude_list ==
fs_exclude_list == ((void *)0)Description
TRUEevaluated 1025 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
0-1025
1000 ((void *)0)
fs_exclude_list == ((void *)0)Description
TRUEevaluated 1025 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
0-1025
1001 || fstype ==
fstype == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1002 ((void *)0)
fstype == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1003 )-
1004 return
executed 1025 times by 1 test: return 0 ;
Executed by:
  • df
executed 1025 times by 1 test: return 0 ;
Executed by:
  • df
1025
1005 0
executed 1025 times by 1 test: return 0 ;
Executed by:
  • df
1025
1006 ;
executed 1025 times by 1 test: return 0 ;
Executed by:
  • df
1025
1007 for (fsp = fs_exclude_list; fsp
fspDescription
TRUEnever evaluated
FALSEnever evaluated
; fsp = fsp->fs_next)
0
1008 if ((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1009 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1010 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1011 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1012 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1013 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1014 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1015 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1016 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1017 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1018 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1019 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1020 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1021 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1022 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1023 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1024 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1025 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1026 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1027 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1028 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1029 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1030 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1031 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1032 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1033 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1034 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1035 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1036 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1037 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1038 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1039 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1040 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1041 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1042 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1043 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1044 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1045 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1046 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1047 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1048 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1049 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1050 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1051 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1052 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1053 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1054 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1055 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( fstype ))[3] - __s2[3]);
0
1056 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( fstype ))[3] - __s2[3]);
0
1057 ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1058 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1059 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1060 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1061 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1062 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1063 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1064 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1065 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1066 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1067 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1068 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1069 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1070 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1071 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1072 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1073 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1074 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1075 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1076 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1077 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1078 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1079 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1080 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1081 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1082 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1083 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( fsp->fs_name ))[3] - __s2[3]);
0
1084 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( fsp->fs_name ))[3] - __s2[3]);
0
1085 ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1086 fstype
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1087 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1088 fsp->fs_name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1089 )))); })
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1090 == 0)
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1091 return
never executed: return 1 ;
never executed: return 1 ;
0
1092 1
never executed: return 1 ;
0
1093 ;
never executed: return 1 ;
0
1094 return
never executed: return 0 ;
never executed: return 0 ;
0
1095 0
never executed: return 0 ;
0
1096 ;
never executed: return 0 ;
0
1097}-
1098-
1099static size_t-
1100devlist_hash (void const *x, size_t table_size)-
1101{-
1102 struct devlist const *p = x;-
1103 return
executed 1127 times by 1 test: return (uintmax_t) p->dev_num % table_size;
Executed by:
  • df
(uintmax_t) p->dev_num % table_size;
executed 1127 times by 1 test: return (uintmax_t) p->dev_num % table_size;
Executed by:
  • df
1127
1104}-
1105-
1106static -
1107 _Bool-
1108-
1109devlist_compare (void const *x, void const *y)-
1110{-
1111 struct devlist const *a = x;-
1112 struct devlist const *b = y;-
1113 return
executed 87 times by 1 test: return a->dev_num == b->dev_num;
Executed by:
  • df
a->dev_num == b->dev_num;
executed 87 times by 1 test: return a->dev_num == b->dev_num;
Executed by:
  • df
87
1114}-
1115-
1116static struct devlist *-
1117devlist_for_dev (dev_t dev)-
1118{-
1119 if (devlist_table ==
devlist_table == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 525 times by 1 test
Evaluated by:
  • df
0-525
1120 ((void *)0)
devlist_table == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 525 times by 1 test
Evaluated by:
  • df
0-525
1121 )-
1122 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
1123 ((void *)0)
never executed: return ((void *)0) ;
0
1124 ;
never executed: return ((void *)0) ;
0
1125 struct devlist dev_entry;-
1126 dev_entry.dev_num = dev;-
1127 return
executed 525 times by 1 test: return hash_lookup (devlist_table, &dev_entry);
Executed by:
  • df
hash_lookup (devlist_table, &dev_entry);
executed 525 times by 1 test: return hash_lookup (devlist_table, &dev_entry);
Executed by:
  • df
525
1128}-
1129-
1130static void-
1131devlist_free (void *p)-
1132{-
1133 free (p);-
1134}
executed 567 times by 1 test: end of block
Executed by:
  • df
567
1135static void-
1136filter_mount_list (-
1137 _Bool -
1138 devices_only)-
1139{-
1140 struct mount_entry *me;-
1141-
1142-
1143 struct devlist *device_list = -
1144 ((void *)0)-
1145 ;-
1146 int mount_list_size = 0;-
1147-
1148 for (me = mount_list; me
meDescription
TRUEevaluated 623 times by 1 test
Evaluated by:
  • df
FALSEevaluated 27 times by 1 test
Evaluated by:
  • df
; me = me->me_next)
27-623
1149 mount_list_size++;
executed 623 times by 1 test: mount_list_size++;
Executed by:
  • df
623
1150-
1151 devlist_table = hash_initialize (mount_list_size, -
1152 ((void *)0)-
1153 ,-
1154 devlist_hash,-
1155 devlist_compare,-
1156 devlist_free);-
1157 if (devlist_table ==
devlist_table == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 27 times by 1 test
Evaluated by:
  • df
0-27
1158 ((void *)0)
devlist_table == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 27 times by 1 test
Evaluated by:
  • df
0-27
1159 )-
1160 xalloc_die ();
never executed: xalloc_die ();
0
1161-
1162-
1163 for (me = mount_list; me
meDescription
TRUEevaluated 623 times by 1 test
Evaluated by:
  • df
FALSEevaluated 27 times by 1 test
Evaluated by:
  • df
;)
27-623
1164 {-
1165 struct stat buf;-
1166 struct mount_entry *discard_me = -
1167 ((void *)0)-
1168 ;-
1169-
1170-
1171-
1172-
1173 if ((me->me_remote
me->me_remoteDescription
TRUEevaluated 15 times by 1 test
Evaluated by:
  • df
FALSEevaluated 608 times by 1 test
Evaluated by:
  • df
&& show_local_fs
show_local_fsDescription
TRUEnever evaluated
FALSEevaluated 15 times by 1 test
Evaluated by:
  • df
)
0-608
1174 || (me->me_dummy
me->me_dummyDescription
TRUEevaluated 132 times by 1 test
Evaluated by:
  • df
FALSEevaluated 491 times by 1 test
Evaluated by:
  • df
&& !show_all_fs
!show_all_fsDescription
TRUEevaluated 126 times by 1 test
Evaluated by:
  • df
FALSEevaluated 6 times by 1 test
Evaluated by:
  • df
&& !show_listed_fs
!show_listed_fsDescription
TRUEevaluated 126 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
)
0-491
1175 || (!selected_fstype (me->me_type)
!selected_fstype (me->me_type)Description
TRUEnever evaluated
FALSEevaluated 497 times by 1 test
Evaluated by:
  • df
|| excluded_fstype (me->me_type)
excluded_fstype (me->me_type)Description
TRUEnever evaluated
FALSEevaluated 497 times by 1 test
Evaluated by:
  • df
)
0-497
1176 || -
-1 == stat (me...ountdir, &buf)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • df
FALSEevaluated 491 times by 1 test
Evaluated by:
  • df
1 == stat (me->me_mountdir, &buf)
-1 == stat (me...ountdir, &buf)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • df
FALSEevaluated 491 times by 1 test
Evaluated by:
  • df
)
6-491
1177 {-
1178-
1179-
1180-
1181 buf.st_dev = me->me_dev;-
1182 }
executed 132 times by 1 test: end of block
Executed by:
  • df
132
1183 else-
1184 {-
1185-
1186 struct devlist *seen_dev = devlist_for_dev (buf.st_dev);-
1187-
1188 if (seen_dev
seen_devDescription
TRUEevaluated 25 times by 1 test
Evaluated by:
  • df
FALSEevaluated 466 times by 1 test
Evaluated by:
  • df
)
25-466
1189 {-
1190 -
1191 _Bool -
1192 target_nearer_root = strlen (seen_dev->me->me_mountdir)-
1193 > strlen (me->me_mountdir);-
1194-
1195 -
1196 _Bool -
1197 source_below_root = seen_dev->me->me_mntroot !=
seen_dev->me->...!= ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 25 times by 1 test
Evaluated by:
  • df
0-25
1198 ((void *)0)
seen_dev->me->...!= ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 25 times by 1 test
Evaluated by:
  • df
0-25
1199 -
1200 && me->me_mntroot !=
me->me_mntroot != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1201 ((void *)0)
me->me_mntroot != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1202 -
1203 && (
(strlen (seen_...->me_mntroot))Description
TRUEnever evaluated
FALSEnever evaluated
strlen (seen_dev->me->me_mntroot)
(strlen (seen_...->me_mntroot))Description
TRUEnever evaluated
FALSEnever evaluated
0
1204 < strlen (me->me_mntroot))
(strlen (seen_...->me_mntroot))Description
TRUEnever evaluated
FALSEnever evaluated
;
0
1205 if (! print_grand_total
! print_grand_totalDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • df
FALSEevaluated 5 times by 1 test
Evaluated by:
  • df
5-20
1206 && me->me_remote
me->me_remoteDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • df
FALSEevaluated 12 times by 1 test
Evaluated by:
  • df
&& seen_dev->me->me_remote
seen_dev->me->me_remoteDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
0-12
1207 && ! (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1208 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1209 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1210 ) && __builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1211 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1212 ) && (__s1_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1213 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1214 ), __s2_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1215 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1216 ), (!((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1217 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1218 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1219 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1220 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1221 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1222 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1223 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1224 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1225 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1226 ,
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1227 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1228 ) : (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1229 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1230 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1231 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1232 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1233 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1234 ) == 1) && (__s1_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1235 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1236 ), __s1_len < 4) ? (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1237 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1238 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1239 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1240 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1241 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1242 ) == 1) ? __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1243 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1244 ,
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1245 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1246 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1247 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1248 ); int __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1249 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1250 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
1251 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1252 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
1253 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1254 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( seen_dev->me->me_devname ))[3] - __s2[3]);
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
1255 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
never executed: __result = (((const unsigned char *) (const char *) ( seen_dev->me->me_devname ))[3] - __s2[3]);
0-4
1256 ))[3] - __s2[3]);
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
never executed: __result = (((const unsigned char *) (const char *) ( seen_dev->me->me_devname ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
1257 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1258 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1259 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1260 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1261 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1262 ) == 1) && (__s2_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1263 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1264 ), __s2_len < 4) ? (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1265 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1266 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1267 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1268 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1269 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1270 ) == 1) ? __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1271 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1272 ,
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1273 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1274 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1275 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1276 ); int __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1277 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1278 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
1279 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1280 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
1281 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1282 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( me->me_devname ))[3] - __s2[3]);
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
1283 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
never executed: __result = (((const unsigned char *) (const char *) ( me->me_devname ))[3] - __s2[3]);
0-4
1284 ))[3] - __s2[3]);
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
never executed: __result = (((const unsigned char *) (const char *) ( me->me_devname ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
0-4
1285 seen_dev->me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1286 ,
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1287 me->me_devname
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1288 )))); })
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
4
1289 == 0)
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • df
FALSEevaluated 4 times by 1 test
Evaluated by:
  • df
)
4
1290 {-
1291-
1292-
1293-
1294-
1295 }
executed 4 times by 1 test: end of block
Executed by:
  • df
4
1296 else if ((-
1297 (
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
__extension__ (__builtin_constant_p (
__builtin_constant_p ( '/' )Description
TRUEevaluated 21 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
0-21
1298 '/'
__builtin_constant_p ( '/' )Description
TRUEevaluated 21 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
0-21
1299 )
__builtin_constant_p ( '/' )Description
TRUEevaluated 21 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_con...->me_devname )Description
TRUEevaluated 21 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
0-21
1300 me->me_devname
!__builtin_con...->me_devname )Description
TRUEevaluated 21 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
0-21
1301 )
!__builtin_con...->me_devname )Description
TRUEevaluated 21 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
&& (
( '/' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 21 times by 1 test
Evaluated by:
  • df
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
0-21
1302 '/'
( '/' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 21 times by 1 test
Evaluated by:
  • df
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
0-21
1303 ) == '\0'
( '/' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 21 times by 1 test
Evaluated by:
  • df
? (char *) __rawmemchr (
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
0-21
1304 me->me_devname
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
10-11
1305 ,
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
10-11
1306 '/'
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
10-11
1307 ) : __builtin_strchr (
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
10-11
1308 me->me_devname
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
10-11
1309 ,
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
10-11
1310 '/'
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
10-11
1311 )))
(__extension__...name , '/' )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEevaluated 11 times by 1 test
Evaluated by:
  • df
10-11
1312-
1313 -
1314 && !
! (__extension...name , '/' )))Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • df
FALSEevaluated 5 times by 1 test
Evaluated by:
  • df
5
1315 (__extension__ (__builtin_constant_p (
__builtin_constant_p ( '/' )Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
! (__extension...name , '/' )))Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • df
FALSEevaluated 5 times by 1 test
Evaluated by:
  • df
0-10
1316 '/'
__builtin_constant_p ( '/' )Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
! (__extension...name , '/' )))Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • df
FALSEevaluated 5 times by 1 test
Evaluated by:
  • df
0-10
1317 )
__builtin_constant_p ( '/' )Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_con...->me_devname )Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
! (__extension...name , '/' )))Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • df
FALSEevaluated 5 times by 1 test
Evaluated by:
  • df
0-10
1318 seen_dev->me->me_devname
!__builtin_con...->me_devname )Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
! (__extension...name , '/' )))Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • df
FALSEevaluated 5 times by 1 test
Evaluated by:
  • df
0-10
1319 )
!__builtin_con...->me_devname )Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • df
FALSEnever evaluated
&& (
( '/' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • df
! (__extension...name , '/' )))Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • df
FALSEevaluated 5 times by 1 test
Evaluated by:
  • df
0-10
1320 '/'
( '/' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • df
! (__extension...name , '/' )))Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • df
FALSEevaluated 5 times by 1 test
Evaluated by:
  • df
0-10
1321 ) == '\0'
( '/' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • df
? (char *) __rawmemchr (