| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | extern | - |
| 5 | _Bool | - |
| 6 | fts_debug; | - |
| 7 | static struct di_set *di_files; | - |
| 8 | | - |
| 9 | | - |
| 10 | static struct di_set *di_mnt; | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | static size_t prev_level; | - |
| 15 | | - |
| 16 | | - |
| 17 | struct duinfo | - |
| 18 | { | - |
| 19 | | - |
| 20 | uintmax_t size; | - |
| 21 | | - |
| 22 | | - |
| 23 | uintmax_t inodes; | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | struct timespec tmax; | - |
| 28 | }; | - |
| 29 | | - |
| 30 | | - |
| 31 | static inline void | - |
| 32 | duinfo_init (struct duinfo *a) | - |
| 33 | { | - |
| 34 | a->size = 0; | - |
| 35 | a->inodes = 0; | - |
| 36 | a->tmax.tv_sec = ((time_t) ~ ((time_t) (! (! ((time_t) 0 < (time_t) -1)) ? (time_t) -1 : ((((time_t) 1 << ((sizeof (time_t) * 8) - 2)) - 1) * 2 + 1)))); | - |
| 37 | a->tmax.tv_nsec = -1; | - |
| 38 | }executed 2598 times by 1 test: end of block | 2598 |
| 39 | | - |
| 40 | | - |
| 41 | static inline void | - |
| 42 | duinfo_set (struct duinfo *a, uintmax_t size, struct timespec tmax) | - |
| 43 | { | - |
| 44 | a->size = size; | - |
| 45 | a->inodes = 1; | - |
| 46 | a->tmax = tmax; | - |
| 47 | }executed 211133 times by 1 test: end of block | 211133 |
| 48 | | - |
| 49 | | - |
| 50 | static inline void | - |
| 51 | duinfo_add (struct duinfo *a, struct duinfo const *b) | - |
| 52 | { | - |
| 53 | uintmax_t sum = a->size + b->size; | - |
| 54 | a->size = a->size <= sum| TRUE | evaluated 428459 times by 1 test | | FALSE | never evaluated |
? sum : | 0-428459 |
| 55 | (18446744073709551615UL) | - |
| 56 | ; | - |
| 57 | a->inodes = a->inodes + b->inodes; | - |
| 58 | if (timespec_cmp (a->tmax, b->tmax) < 0| TRUE | evaluated 7138 times by 1 test | | FALSE | evaluated 421321 times by 1 test |
) | 7138-421321 |
| 59 | a->tmax = b->tmax;executed 7138 times by 1 test: a->tmax = b->tmax; | 7138 |
| 60 | }executed 428459 times by 1 test: end of block | 428459 |
| 61 | | - |
| 62 | | - |
| 63 | struct dulevel | - |
| 64 | { | - |
| 65 | | - |
| 66 | struct duinfo ent; | - |
| 67 | | - |
| 68 | | - |
| 69 | struct duinfo subdir; | - |
| 70 | }; | - |
| 71 | | - |
| 72 | | - |
| 73 | static | - |
| 74 | _Bool | - |
| 75 | opt_all = | - |
| 76 | 0 | - |
| 77 | ; | - |
| 78 | | - |
| 79 | | - |
| 80 | | - |
| 81 | static | - |
| 82 | _Bool | - |
| 83 | apparent_size = | - |
| 84 | 0 | - |
| 85 | ; | - |
| 86 | | - |
| 87 | | - |
| 88 | static | - |
| 89 | _Bool | - |
| 90 | opt_count_all = | - |
| 91 | 0 | - |
| 92 | ; | - |
| 93 | | - |
| 94 | | - |
| 95 | static | - |
| 96 | _Bool | - |
| 97 | hash_all; | - |
| 98 | | - |
| 99 | | - |
| 100 | static | - |
| 101 | _Bool | - |
| 102 | opt_nul_terminate_output = | - |
| 103 | 0 | - |
| 104 | ; | - |
| 105 | | - |
| 106 | | - |
| 107 | static | - |
| 108 | _Bool | - |
| 109 | print_grand_total = | - |
| 110 | 0 | - |
| 111 | ; | - |
| 112 | | - |
| 113 | | - |
| 114 | static | - |
| 115 | _Bool | - |
| 116 | opt_separate_dirs = | - |
| 117 | 0 | - |
| 118 | ; | - |
| 119 | | - |
| 120 | | - |
| 121 | | - |
| 122 | | - |
| 123 | static size_t max_depth = | - |
| 124 | (18446744073709551615UL) | - |
| 125 | ; | - |
| 126 | | - |
| 127 | | - |
| 128 | | - |
| 129 | static intmax_t opt_threshold = 0; | - |
| 130 | | - |
| 131 | | - |
| 132 | static int human_output_opts; | - |
| 133 | | - |
| 134 | | - |
| 135 | static | - |
| 136 | _Bool | - |
| 137 | opt_inodes = | - |
| 138 | 0 | - |
| 139 | ; | - |
| 140 | | - |
| 141 | | - |
| 142 | static | - |
| 143 | _Bool | - |
| 144 | opt_time = | - |
| 145 | 0 | - |
| 146 | ; | - |
| 147 | | - |
| 148 | | - |
| 149 | | - |
| 150 | enum time_type | - |
| 151 | { | - |
| 152 | time_mtime, | - |
| 153 | time_ctime, | - |
| 154 | time_atime | - |
| 155 | }; | - |
| 156 | | - |
| 157 | static enum time_type time_type = time_mtime; | - |
| 158 | | - |
| 159 | | - |
| 160 | static char const *time_style = | - |
| 161 | ((void *)0) | - |
| 162 | ; | - |
| 163 | | - |
| 164 | | - |
| 165 | static char const *time_format = | - |
| 166 | ((void *)0) | - |
| 167 | ; | - |
| 168 | | - |
| 169 | | - |
| 170 | static timezone_t localtz; | - |
| 171 | | - |
| 172 | | - |
| 173 | static uintmax_t output_block_size; | - |
| 174 | | - |
| 175 | | - |
| 176 | static struct exclude *exclude; | - |
| 177 | | - |
| 178 | | - |
| 179 | static struct duinfo tot_dui; | - |
| 180 | | - |
| 181 | | - |
| 182 | | - |
| 183 | | - |
| 184 | | - |
| 185 | | - |
| 186 | | - |
| 187 | enum | - |
| 188 | { | - |
| 189 | APPARENT_SIZE_OPTION = 0x7f + 1, | - |
| 190 | EXCLUDE_OPTION, | - |
| 191 | FILES0_FROM_OPTION, | - |
| 192 | HUMAN_SI_OPTION, | - |
| 193 | FTS_DEBUG, | - |
| 194 | TIME_OPTION, | - |
| 195 | TIME_STYLE_OPTION, | - |
| 196 | INODES_OPTION | - |
| 197 | }; | - |
| 198 | | - |
| 199 | static struct option const long_options[] = | - |
| 200 | { | - |
| 201 | {"all", | - |
| 202 | 0 | - |
| 203 | , | - |
| 204 | ((void *)0) | - |
| 205 | , 'a'}, | - |
| 206 | {"apparent-size", | - |
| 207 | 0 | - |
| 208 | , | - |
| 209 | ((void *)0) | - |
| 210 | , APPARENT_SIZE_OPTION}, | - |
| 211 | {"block-size", | - |
| 212 | 1 | - |
| 213 | , | - |
| 214 | ((void *)0) | - |
| 215 | , 'B'}, | - |
| 216 | {"bytes", | - |
| 217 | 0 | - |
| 218 | , | - |
| 219 | ((void *)0) | - |
| 220 | , 'b'}, | - |
| 221 | {"count-links", | - |
| 222 | 0 | - |
| 223 | , | - |
| 224 | ((void *)0) | - |
| 225 | , 'l'}, | - |
| 226 | | - |
| 227 | {"dereference", | - |
| 228 | 0 | - |
| 229 | , | - |
| 230 | ((void *)0) | - |
| 231 | , 'L'}, | - |
| 232 | {"dereference-args", | - |
| 233 | 0 | - |
| 234 | , | - |
| 235 | ((void *)0) | - |
| 236 | , 'D'}, | - |
| 237 | {"exclude", | - |
| 238 | 1 | - |
| 239 | , | - |
| 240 | ((void *)0) | - |
| 241 | , EXCLUDE_OPTION}, | - |
| 242 | {"exclude-from", | - |
| 243 | 1 | - |
| 244 | , | - |
| 245 | ((void *)0) | - |
| 246 | , 'X'}, | - |
| 247 | {"files0-from", | - |
| 248 | 1 | - |
| 249 | , | - |
| 250 | ((void *)0) | - |
| 251 | , FILES0_FROM_OPTION}, | - |
| 252 | {"human-readable", | - |
| 253 | 0 | - |
| 254 | , | - |
| 255 | ((void *)0) | - |
| 256 | , 'h'}, | - |
| 257 | {"inodes", | - |
| 258 | 0 | - |
| 259 | , | - |
| 260 | ((void *)0) | - |
| 261 | , INODES_OPTION}, | - |
| 262 | {"si", | - |
| 263 | 0 | - |
| 264 | , | - |
| 265 | ((void *)0) | - |
| 266 | , HUMAN_SI_OPTION}, | - |
| 267 | {"max-depth", | - |
| 268 | 1 | - |
| 269 | , | - |
| 270 | ((void *)0) | - |
| 271 | , 'd'}, | - |
| 272 | {"null", | - |
| 273 | 0 | - |
| 274 | , | - |
| 275 | ((void *)0) | - |
| 276 | , '0'}, | - |
| 277 | {"no-dereference", | - |
| 278 | 0 | - |
| 279 | , | - |
| 280 | ((void *)0) | - |
| 281 | , 'P'}, | - |
| 282 | {"one-file-system", | - |
| 283 | 0 | - |
| 284 | , | - |
| 285 | ((void *)0) | - |
| 286 | , 'x'}, | - |
| 287 | {"separate-dirs", | - |
| 288 | 0 | - |
| 289 | , | - |
| 290 | ((void *)0) | - |
| 291 | , 'S'}, | - |
| 292 | {"summarize", | - |
| 293 | 0 | - |
| 294 | , | - |
| 295 | ((void *)0) | - |
| 296 | , 's'}, | - |
| 297 | {"total", | - |
| 298 | 0 | - |
| 299 | , | - |
| 300 | ((void *)0) | - |
| 301 | , 'c'}, | - |
| 302 | {"threshold", | - |
| 303 | 1 | - |
| 304 | , | - |
| 305 | ((void *)0) | - |
| 306 | , 't'}, | - |
| 307 | {"time", | - |
| 308 | 2 | - |
| 309 | , | - |
| 310 | ((void *)0) | - |
| 311 | , TIME_OPTION}, | - |
| 312 | {"time-style", | - |
| 313 | 1 | - |
| 314 | , | - |
| 315 | ((void *)0) | - |
| 316 | , TIME_STYLE_OPTION}, | - |
| 317 | {"help", | - |
| 318 | 0 | - |
| 319 | , | - |
| 320 | ((void *)0) | - |
| 321 | , GETOPT_HELP_CHAR}, | - |
| 322 | {"version", | - |
| 323 | 0 | - |
| 324 | , | - |
| 325 | ((void *)0) | - |
| 326 | , GETOPT_VERSION_CHAR}, | - |
| 327 | { | - |
| 328 | ((void *)0) | - |
| 329 | , 0, | - |
| 330 | ((void *)0) | - |
| 331 | , 0} | - |
| 332 | }; | - |
| 333 | | - |
| 334 | static char const *const time_args[] = | - |
| 335 | { | - |
| 336 | "atime", "access", "use", "ctime", "status", | - |
| 337 | ((void *)0) | - |
| 338 | | - |
| 339 | }; | - |
| 340 | static enum time_type const time_types[] = | - |
| 341 | { | - |
| 342 | time_atime, time_atime, time_atime, time_ctime, time_ctime | - |
| 343 | }; | - |
| 344 | _Static_assert ((sizeof (time_args) / sizeof *(time_args)) == (sizeof (time_types) / sizeof *(time_types)) + 1, "verify (" "ARRAY_CARDINALITY (time_args) == ARRAY_CARDINALITY (time_types) + 1" ")"); | - |
| 345 | | - |
| 346 | | - |
| 347 | | - |
| 348 | | - |
| 349 | enum time_style | - |
| 350 | { | - |
| 351 | full_iso_time_style, | - |
| 352 | long_iso_time_style, | - |
| 353 | iso_time_style | - |
| 354 | }; | - |
| 355 | | - |
| 356 | static char const *const time_style_args[] = | - |
| 357 | { | - |
| 358 | "full-iso", "long-iso", "iso", | - |
| 359 | ((void *)0) | - |
| 360 | | - |
| 361 | }; | - |
| 362 | static enum time_style const time_style_types[] = | - |
| 363 | { | - |
| 364 | full_iso_time_style, long_iso_time_style, iso_time_style | - |
| 365 | }; | - |
| 366 | _Static_assert ((sizeof (time_style_args) / sizeof *(time_style_args)) == (sizeof (time_style_types) / sizeof *(time_style_types)) + 1, "verify (" "ARRAY_CARDINALITY (time_style_args) == ARRAY_CARDINALITY (time_style_types) + 1" ")"); | - |
| 367 | | - |
| 368 | void | - |
| 369 | usage (int status) | - |
| 370 | { | - |
| 371 | if (status != | TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 43 times by 1 test |
| 5-43 |
| 372 | 0| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 43 times by 1 test |
| 5-43 |
| 373 | ) | - |
| 374 | do { fprintf ( | - |
| 375 | stderr | - |
| 376 | , | - |
| 377 | dcgettext (((void *)0), | - |
| 378 | "Try '%s --help' for more information.\n" | - |
| 379 | , 5) | - |
| 380 | , program_name); }executed 5 times by 1 test: end of block while (0); | 5 |
| 381 | else | - |
| 382 | { | - |
| 383 | printf ( | - |
| 384 | dcgettext (((void *)0), | - |
| 385 | "Usage: %s [OPTION]... [FILE]...\n or: %s [OPTION]... --files0-from=F\n" | - |
| 386 | , 5) | - |
| 387 | | - |
| 388 | | - |
| 389 | | - |
| 390 | , program_name, program_name); | - |
| 391 | fputs_unlocked ( | - |
| 392 | dcgettext (((void *)0), | - |
| 393 | "Summarize disk usage of the set of FILEs, recursively for directories.\n" | - |
| 394 | , 5) | - |
| 395 | , | - |
| 396 | stdout | - |
| 397 | ) | - |
| 398 | | - |
| 399 | ; | - |
| 400 | | - |
| 401 | emit_mandatory_arg_note (); | - |
| 402 | | - |
| 403 | fputs_unlocked ( | - |
| 404 | dcgettext (((void *)0), | - |
| 405 | " -0, --null end each output line with NUL, not newline\n -a, --all write counts for all files, not just directories\n --apparent-size print apparent sizes, rather than disk usage; although\n the apparent size is usually smaller, it may be\n larger due to holes in ('sparse') files, internal\n fragmentation, indirect blocks, and the like\n" | - |
| 406 | , 5) | - |
| 407 | , | - |
| 408 | stdout | - |
| 409 | ) | - |
| 410 | | - |
| 411 | | - |
| 412 | | - |
| 413 | | - |
| 414 | | - |
| 415 | | - |
| 416 | | - |
| 417 | ; | - |
| 418 | fputs_unlocked ( | - |
| 419 | dcgettext (((void *)0), | - |
| 420 | " -B, --block-size=SIZE scale sizes by SIZE before printing them; e.g.,\n '-BM' prints sizes in units of 1,048,576 bytes;\n see SIZE format below\n -b, --bytes equivalent to '--apparent-size --block-size=1'\n -c, --total produce a grand total\n -D, --dereference-args dereference only symlinks that are listed on the\n command line\n -d, --max-depth=N print the total for a directory (or file, with --all)\n only if it is N or fewer levels below the command\n line argument; --max-depth=0 is the same as\n --summarize\n" | - |
| 421 | , 5) | - |
| 422 | , | - |
| 423 | stdout | - |
| 424 | ) | - |
| 425 | ; | - |
| 426 | fputs_unlocked ( | - |
| 427 | dcgettext (((void *)0), | - |
| 428 | " --files0-from=F summarize disk usage of the\n NUL-terminated file names specified in file F;\n if F is -, then read names from standard input\n -H equivalent to --dereference-args (-D)\n -h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)\n --inodes list inode usage information instead of block usage\n" | - |
| 429 | , 5) | - |
| 430 | , | - |
| 431 | stdout | - |
| 432 | ) | - |
| 433 | | - |
| 434 | | - |
| 435 | | - |
| 436 | | - |
| 437 | | - |
| 438 | | - |
| 439 | | - |
| 440 | ; | - |
| 441 | fputs_unlocked ( | - |
| 442 | dcgettext (((void *)0), | - |
| 443 | " -k like --block-size=1K\n -L, --dereference dereference all symbolic links\n -l, --count-links count sizes many times if hard linked\n -m like --block-size=1M\n" | - |
| 444 | , 5) | - |
| 445 | , | - |
| 446 | stdout | - |
| 447 | ) | - |
| 448 | | - |
| 449 | | - |
| 450 | | - |
| 451 | | - |
| 452 | ; | - |
| 453 | fputs_unlocked ( | - |
| 454 | dcgettext (((void *)0), | - |
| 455 | " -P, --no-dereference don't follow any symbolic links (this is the default)\n -S, --separate-dirs for directories do not include size of subdirectories\n --si like -h, but use powers of 1000 not 1024\n -s, --summarize display only a total for each argument\n" | - |
| 456 | , 5) | - |
| 457 | , | - |
| 458 | stdout | - |
| 459 | ) | - |
| 460 | | - |
| 461 | | - |
| 462 | | - |
| 463 | | - |
| 464 | ; | - |
| 465 | fputs_unlocked ( | - |
| 466 | dcgettext (((void *)0), | - |
| 467 | " -t, --threshold=SIZE exclude entries smaller than SIZE if positive,\n or entries greater than SIZE if negative\n --time show time of the last modification of any file in the\n directory, or any of its subdirectories\n --time=WORD show time as WORD instead of modification time:\n atime, access, use, ctime or status\n --time-style=STYLE show times using STYLE, which can be:\n full-iso, long-iso, iso, or +FORMAT;\n FORMAT is interpreted like in 'date'\n" | - |
| 468 | , 5) | - |
| 469 | , | - |
| 470 | stdout | - |
| 471 | ) | - |
| 472 | ; | - |
| 473 | fputs_unlocked ( | - |
| 474 | dcgettext (((void *)0), | - |
| 475 | " -X, --exclude-from=FILE exclude files that match any pattern in FILE\n --exclude=PATTERN exclude files that match PATTERN\n -x, --one-file-system skip directories on different file systems\n" | - |
| 476 | , 5) | - |
| 477 | , | - |
| 478 | stdout | - |
| 479 | ) | - |
| 480 | | - |
| 481 | | - |
| 482 | | - |
| 483 | ; | - |
| 484 | fputs_unlocked ( | - |
| 485 | dcgettext (((void *)0), | - |
| 486 | " --help display this help and exit\n" | - |
| 487 | , 5) | - |
| 488 | , | - |
| 489 | stdout | - |
| 490 | ); | - |
| 491 | fputs_unlocked ( | - |
| 492 | dcgettext (((void *)0), | - |
| 493 | " --version output version information and exit\n" | - |
| 494 | , 5) | - |
| 495 | , | - |
| 496 | stdout | - |
| 497 | ); | - |
| 498 | emit_blocksize_note ("DU"); | - |
| 499 | emit_size_note (); | - |
| 500 | emit_ancillary_info ("du"); | - |
| 501 | }executed 43 times by 1 test: end of block | 43 |
| 502 | exit (status);executed 48 times by 1 test: exit (status); | 48 |
| 503 | } | - |
| 504 | | - |
| 505 | | - |
| 506 | | - |
| 507 | | - |
| 508 | static | - |
| 509 | _Bool | - |
| 510 | | - |
| 511 | hash_ins (struct di_set *di_set, ino_t ino, dev_t dev) | - |
| 512 | { | - |
| 513 | int inserted = di_set_insert (di_set, dev, ino); | - |
| 514 | if (inserted < 0| TRUE | never evaluated | | FALSE | evaluated 2607 times by 1 test |
) | 0-2607 |
| 515 | xalloc_die (); never executed: xalloc_die (); | 0 |
| 516 | returnexecuted 2607 times by 1 test: return inserted; inserted;executed 2607 times by 1 test: return inserted; | 2607 |
| 517 | } | - |
| 518 | | - |
| 519 | | - |
| 520 | | - |
| 521 | | - |
| 522 | | - |
| 523 | static void | - |
| 524 | show_date (const char *format, struct timespec when, timezone_t tz) | - |
| 525 | { | - |
| 526 | struct tm tm; | - |
| 527 | if (localtime_rz (tz, &when.tv_sec, &tm)| TRUE | evaluated 20 times by 1 test | | FALSE | evaluated 1 time by 1 test |
) | 1-20 |
| 528 | fprintftime (executed 20 times by 1 test: fprintftime ( stdout , format, &tm, tz, when.tv_nsec); | 20 |
| 529 | stdoutexecuted 20 times by 1 test: fprintftime ( stdout , format, &tm, tz, when.tv_nsec); | 20 |
| 530 | , format, &tm, tz, when.tv_nsec);executed 20 times by 1 test: fprintftime ( stdout , format, &tm, tz, when.tv_nsec); | 20 |
| 531 | else | - |
| 532 | { | - |
| 533 | char buf[((((((sizeof (intmax_t) * 8) - (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) + 1)]; | - |
| 534 | char *when_str = timetostr (when.tv_sec, buf); | - |
| 535 | error (0, 0, | - |
| 536 | dcgettext (((void *)0), | - |
| 537 | "time %s is out of range" | - |
| 538 | , 5) | - |
| 539 | , quote (when_str)); | - |
| 540 | fputs_unlocked (when_str, | - |
| 541 | stdout | - |
| 542 | ); | - |
| 543 | }executed 1 time by 1 test: end of block | 1 |
| 544 | } | - |
| 545 | | - |
| 546 | | - |
| 547 | | - |
| 548 | static void | - |
| 549 | print_only_size (uintmax_t n_bytes) | - |
| 550 | { | - |
| 551 | char buf[((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * ( | - |
| 552 | 16 | - |
| 553 | + 1) - | - |
| 554 | 16 | - |
| 555 | + 1 + 3) + 1]; | - |
| 556 | fputs_unlocked ((n_bytes == | - |
| 557 | (18446744073709551615UL) | - |
| 558 | ? | - |
| 559 | dcgettext (((void *)0), | - |
| 560 | "Infinity" | - |
| 561 | , 5) | - |
| 562 | : human_readable (n_bytes, buf, human_output_opts, 1, output_block_size)), | - |
| 563 | stdout | - |
| 564 | ) | - |
| 565 | | - |
| 566 | | - |
| 567 | | - |
| 568 | ; | - |
| 569 | }executed 3204 times by 1 test: end of block | 3204 |
| 570 | | - |
| 571 | | - |
| 572 | | - |
| 573 | static void | - |
| 574 | print_size (const struct duinfo *pdui, const char *string) | - |
| 575 | { | - |
| 576 | print_only_size (opt_inodes | - |
| 577 | ? pdui->inodes | - |
| 578 | : pdui->size); | - |
| 579 | | - |
| 580 | if (opt_time| TRUE | evaluated 21 times by 1 test | | FALSE | evaluated 3183 times by 1 test |
) | 21-3183 |
| 581 | { | - |
| 582 | putchar_unlocked ('\t'); | - |
| 583 | show_date (time_format, pdui->tmax, localtz); | - |
| 584 | }executed 21 times by 1 test: end of block | 21 |
| 585 | printf ("\t%s%c", string, opt_nul_terminate_output ? '\0' : '\n'); | - |
| 586 | fflush_unlocked ( | - |
| 587 | stdout | - |
| 588 | ); | - |
| 589 | }executed 3204 times by 1 test: end of block | 3204 |
| 590 | | - |
| 591 | | - |
| 592 | | - |
| 593 | static void | - |
| 594 | fill_mount_table (void) | - |
| 595 | { | - |
| 596 | struct mount_entry *mnt_ent = read_file_system_list ( | - |
| 597 | 0 | - |
| 598 | ); | - |
| 599 | while (mnt_ent| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 600 | { | - |
| 601 | struct mount_entry *mnt_free; | - |
| 602 | if (!mnt_ent->me_remote| TRUE | never evaluated | | FALSE | never evaluated |
&& !mnt_ent->me_dummy| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 603 | { | - |
| 604 | struct stat buf; | - |
| 605 | if (!stat (mnt_ent->me_mountdir, &buf)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 606 | hash_ins (di_mnt, buf.st_ino, buf.st_dev); never executed: hash_ins (di_mnt, buf.st_ino, buf.st_dev); | 0 |
| 607 | else | - |
| 608 | { | - |
| 609 | | - |
| 610 | | - |
| 611 | } never executed: end of block | 0 |
| 612 | } | - |
| 613 | | - |
| 614 | mnt_free = mnt_ent; | - |
| 615 | mnt_ent = mnt_ent->me_next; | - |
| 616 | free_mount_entry (mnt_free); | - |
| 617 | } never executed: end of block | 0 |
| 618 | } never executed: end of block | 0 |
| 619 | | - |
| 620 | | - |
| 621 | | - |
| 622 | | - |
| 623 | static | - |
| 624 | _Bool | - |
| 625 | | - |
| 626 | mount_point_in_fts_cycle (FTSENT const *ent) | - |
| 627 | { | - |
| 628 | FTSENT const *cycle_ent = ent->fts_cycle; | - |
| 629 | | - |
| 630 | if (!di_mnt| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 631 | { | - |
| 632 | | - |
| 633 | di_mnt = di_set_alloc (); | - |
| 634 | if (!di_mnt| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 635 | xalloc_die (); never executed: xalloc_die (); | 0 |
| 636 | | - |
| 637 | fill_mount_table (); | - |
| 638 | } never executed: end of block | 0 |
| 639 | | - |
| 640 | while (ent| TRUE | never evaluated | | FALSE | never evaluated |
&& ent != cycle_ent| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 641 | { | - |
| 642 | if (di_set_lookup (di_mnt, ent->fts_statp->st_dev,| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 643 | ent->fts_statp->st_ino) > 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 644 | { | - |
| 645 | return never executed: return 1 ; never executed: return 1 ; | 0 |
| 646 | 1 never executed: return 1 ; | 0 |
| 647 | ; never executed: return 1 ; | 0 |
| 648 | } | - |
| 649 | ent = ent->fts_parent; | - |
| 650 | } never executed: end of block | 0 |
| 651 | | - |
| 652 | return never executed: return 0 ; never executed: return 0 ; | 0 |
| 653 | 0 never executed: return 0 ; | 0 |
| 654 | ; never executed: return 0 ; | 0 |
| 655 | } | - |
| 656 | | - |
| 657 | | - |
| 658 | | - |
| 659 | | - |
| 660 | | - |
| 661 | | - |
| 662 | static | - |
| 663 | _Bool | - |
| 664 | | - |
| 665 | process_file (FTS *fts, FTSENT *ent) | - |
| 666 | { | - |
| 667 | | - |
| 668 | _Bool | - |
| 669 | ok = | - |
| 670 | 1 | - |
| 671 | ; | - |
| 672 | struct duinfo dui; | - |
| 673 | struct duinfo dui_to_print; | - |
| 674 | size_t level; | - |
| 675 | static size_t n_alloc; | - |
| 676 | static struct dulevel *dulvl; | - |
| 677 | | - |
| 678 | const char *file = ent->fts_path; | - |
| 679 | const struct stat *sb = ent->fts_statp; | - |
| 680 | int info = ent->fts_info; | - |
| 681 | | - |
| 682 | if (info == 4| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 213116 times by 1 test |
) | 2-213116 |
| 683 | { | - |
| 684 | | - |
| 685 | error (0, ent->fts_errno, | - |
| 686 | dcgettext (((void *)0), | - |
| 687 | "cannot read directory %s" | - |
| 688 | , 5) | - |
| 689 | , quotearg_style (shell_escape_always_quoting_style, file)); | - |
| 690 | ok = | - |
| 691 | 0 | - |
| 692 | ; | - |
| 693 | }executed 2 times by 1 test: end of block | 2 |
| 694 | else if (info != 6| TRUE | evaluated 211196 times by 1 test | | FALSE | evaluated 1920 times by 1 test |
) | 1920-211196 |
| 695 | { | - |
| 696 | | - |
| 697 | _Bool | - |
| 698 | excluded = excluded_file_name (exclude, file); | - |
| 699 | if (! excluded| TRUE | evaluated 211162 times by 1 test | | FALSE | evaluated 34 times by 1 test |
) | 34-211162 |
| 700 | { | - |
| 701 | | - |
| 702 | | - |
| 703 | if (info == 11| TRUE | evaluated 207877 times by 1 test | | FALSE | evaluated 3285 times by 1 test |
) | 3285-207877 |
| 704 | { | - |
| 705 | fts_set (fts, ent, 1); | - |
| 706 | FTSENT const *e = fts_read (fts); | - |
| 707 | | - |
| 708 | (( | - |
| 709 | e == ent | - |
| 710 | ) ? (void) (0) : __assert_fail ( | - |
| 711 | "e == ent" | - |
| 712 | , "src/du.c", 526, __PRETTY_FUNCTION__)) | - |
| 713 | ; | - |
| 714 | info = ent->fts_info; | - |
| 715 | }executed 207877 times by 1 test: end of block | 207877 |
| 716 | | - |
| 717 | if (info == 10| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 211159 times by 1 test |
|| info == 13| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 211158 times by 1 test |
) | 1-211159 |
| 718 | { | - |
| 719 | error (0, ent->fts_errno, | - |
| 720 | dcgettext (((void *)0), | - |
| 721 | "cannot access %s" | - |
| 722 | , 5) | - |
| 723 | , quotearg_style (shell_escape_always_quoting_style, file)); | - |
| 724 | returnexecuted 4 times by 1 test: return 0 ; executed 4 times by 1 test: return 0 ; | 4 |
| 725 | 0executed 4 times by 1 test: return 0 ; | 4 |
| 726 | ;executed 4 times by 1 test: return 0 ; | 4 |
| 727 | } | - |
| 728 | | - |
| 729 | | - |
| 730 | | - |
| 731 | | - |
| 732 | | - |
| 733 | | - |
| 734 | if (fts->fts_options & 0x0040| TRUE | evaluated 9 times by 1 test | | FALSE | evaluated 211149 times by 1 test |
| 9-211149 |
| 735 | && 0 < ent->fts_level| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 6 times by 1 test |
| 3-6 |
| 736 | && fts->fts_dev != sb->st_dev| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 1-2 |
| 737 | excluded = executed 1 time by 1 test: excluded = 1 ; | 1 |
| 738 | 1executed 1 time by 1 test: excluded = 1 ; | 1 |
| 739 | ;executed 1 time by 1 test: excluded = 1 ; | 1 |
| 740 | }executed 211158 times by 1 test: end of block | 211158 |
| 741 | | - |
| 742 | if (excluded| TRUE | evaluated 35 times by 1 test | | FALSE | evaluated 211157 times by 1 test |
| 35-211157 |
| 743 | || (! opt_count_all| TRUE | evaluated 211143 times by 1 test | | FALSE | evaluated 14 times by 1 test |
| 14-211143 |
| 744 | && (hash_all| TRUE | evaluated 2593 times by 1 test | | FALSE | evaluated 208550 times by 1 test |
|| (! | TRUE | evaluated 207904 times by 1 test | | FALSE | evaluated 646 times by 1 test |
| 646-208550 |
| 745 | ((((| TRUE | evaluated 207904 times by 1 test | | FALSE | evaluated 646 times by 1 test |
| 646-207904 |
| 746 | sb->st_mode| TRUE | evaluated 207904 times by 1 test | | FALSE | evaluated 646 times by 1 test |
| 646-207904 |
| 747 | )) & 0170000) == (0040000))| TRUE | evaluated 207904 times by 1 test | | FALSE | evaluated 646 times by 1 test |
| 646-207904 |
| 748 | && 1 < sb->st_nlink| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 207890 times by 1 test |
)) | 14-207890 |
| 749 | && ! hash_ins (di_files, sb->st_ino, sb->st_dev)| TRUE | evaluated 19 times by 1 test | | FALSE | evaluated 2588 times by 1 test |
)) | 19-2588 |
| 750 | { | - |
| 751 | | - |
| 752 | | - |
| 753 | | - |
| 754 | if (info == 1| TRUE | evaluated 34 times by 1 test | | FALSE | evaluated 20 times by 1 test |
) | 20-34 |
| 755 | { | - |
| 756 | fts_set (fts, ent, 4); | - |
| 757 | FTSENT const *e = fts_read (fts); | - |
| 758 | | - |
| 759 | (( | - |
| 760 | e == ent | - |
| 761 | ) ? (void) (0) : __assert_fail ( | - |
| 762 | "e == ent" | - |
| 763 | , "src/du.c", 559, __PRETTY_FUNCTION__)) | - |
| 764 | ; | - |
| 765 | }executed 34 times by 1 test: end of block | 34 |
| 766 | | - |
| 767 | returnexecuted 54 times by 1 test: return 1 ; executed 54 times by 1 test: return 1 ; | 54 |
| 768 | 1executed 54 times by 1 test: return 1 ; | 54 |
| 769 | ;executed 54 times by 1 test: return 1 ; | 54 |
| 770 | } | - |
| 771 | | - |
| 772 | switch (info) | - |
| 773 | { | - |
| 774 | caseexecuted 1926 times by 1 test: case 1: 1:executed 1926 times by 1 test: case 1: | 1926 |
| 775 | returnexecuted 1926 times by 1 test: return 1 ; executed 1926 times by 1 test: return 1 ; | 1926 |
| 776 | 1executed 1926 times by 1 test: return 1 ; | 1926 |
| 777 | ;executed 1926 times by 1 test: return 1 ; | 1926 |
| 778 | | - |
| 779 | case never executed: case 7: 7:never executed: case 7: | 0 |
| 780 | | - |
| 781 | error (0, ent->fts_errno, "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)); | - |
| 782 | ok = | - |
| 783 | 0 | - |
| 784 | ; | - |
| 785 | break; never executed: break; | 0 |
| 786 | | - |
| 787 | caseexecuted 1 time by 1 test: case 2: 2:executed 1 time by 1 test: case 2: | 1 |
| 788 | | - |
| 789 | if (cycle_warning_required (fts, ent)| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
| 0-1 |
| 790 | && ! mount_point_in_fts_cycle (ent)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 791 | { | - |
| 792 | do { error (0, 0, | - |
| 793 | dcgettext (((void *)0), | - |
| 794 | "WARNING: Circular directory structure.\nThis almost certainly means that you have a corrupted file system.\nNOTIFY YOUR SYSTEM MANAGER.\nThe following directory is part of the cycle:\n %s\n" | - |
| 795 | , 5) | - |
| 796 | , quotearg_n_style_colon (0, shell_escape_quoting_style, file)); } while (0); | - |
| 797 | return never executed: return 0 ; never executed: return 0 ; | 0 |
| 798 | 0 never executed: return 0 ; | 0 |
| 799 | ; never executed: return 0 ; | 0 |
| 800 | } | - |
| 801 | returnexecuted 1 time by 1 test: return 1 ; executed 1 time by 1 test: return 1 ; | 1 |
| 802 | 1executed 1 time by 1 test: return 1 ; | 1 |
| 803 | ;executed 1 time by 1 test: return 1 ; | 1 |
| 804 | } | - |
| 805 | }executed 209211 times by 1 test: end of block | 209211 |
| 806 | | - |
| 807 | duinfo_set (&dui, | - |
| 808 | (apparent_size | - |
| 809 | ? | - |
| 810 | ((( | - |
| 811 | 0 | - |
| 812 | )>( | - |
| 813 | sb->st_size | - |
| 814 | ))?( | - |
| 815 | 0 | - |
| 816 | ):( | - |
| 817 | sb->st_size | - |
| 818 | )) | - |
| 819 | | - |
| 820 | : (uintmax_t) ((*sb).st_blocks) * | - |
| 821 | 512 | - |
| 822 | ), | - |
| 823 | (time_type == time_mtime ? get_stat_mtime (sb) | - |
| 824 | : time_type == time_atime ? get_stat_atime (sb) | - |
| 825 | : get_stat_ctime (sb))); | - |
| 826 | | - |
| 827 | level = ent->fts_level; | - |
| 828 | dui_to_print = dui; | - |
| 829 | | - |
| 830 | if (n_alloc == 0| TRUE | evaluated 273 times by 1 test | | FALSE | evaluated 210860 times by 1 test |
) | 273-210860 |
| 831 | { | - |
| 832 | n_alloc = level + 10; | - |
| 833 | dulvl = xcalloc (n_alloc, sizeof *dulvl); | - |
| 834 | }executed 273 times by 1 test: end of block | 273 |
| 835 | else | - |
| 836 | { | - |
| 837 | if (level == prev_level| TRUE | evaluated 208983 times by 1 test | | FALSE | evaluated 1877 times by 1 test |
) | 1877-208983 |
| 838 | { | - |
| 839 | | - |
| 840 | }executed 208983 times by 1 test: end of block | 208983 |
| 841 | else if (level > prev_level| TRUE | evaluated 221 times by 1 test | | FALSE | evaluated 1656 times by 1 test |
) | 221-1656 |
| 842 | { | - |
| 843 | | - |
| 844 | | - |
| 845 | | - |
| 846 | | - |
| 847 | | - |
| 848 | if (n_alloc <= level| TRUE | never evaluated | | FALSE | evaluated 221 times by 1 test |
) | 0-221 |
| 849 | { | - |
| 850 | dulvl = xnrealloc (dulvl, level, 2 * sizeof *dulvl); | - |
| 851 | n_alloc = level * 2; | - |
| 852 | } never executed: end of block | 0 |
| 853 | | - |
| 854 | for (size_t i = prev_level + 1; i <= level| TRUE | evaluated 1299 times by 1 test | | FALSE | evaluated 221 times by 1 test |
; i++) | 221-1299 |
| 855 | { | - |
| 856 | duinfo_init (&dulvl[i].ent); | - |
| 857 | duinfo_init (&dulvl[i].subdir); | - |
| 858 | }executed 1299 times by 1 test: end of block | 1299 |
| 859 | }executed 221 times by 1 test: end of block | 221 |
| 860 | else | - |
| 861 | { | - |
| 862 | | - |
| 863 | | - |
| 864 | | - |
| 865 | | - |
| 866 | | - |
| 867 | | - |
| 868 | | - |
| 869 | (( | - |
| 870 | level == prev_level - 1 | - |
| 871 | ) ? (void) (0) : __assert_fail ( | - |
| 872 | "level == prev_level - 1" | - |
| 873 | , "src/du.c", 637, __PRETTY_FUNCTION__)) | - |
| 874 | ; | - |
| 875 | duinfo_add (&dui_to_print, &dulvl[prev_level].ent); | - |
| 876 | if (!opt_separate_dirs| TRUE | evaluated 1483 times by 1 test | | FALSE | evaluated 173 times by 1 test |
) | 173-1483 |
| 877 | duinfo_add (&dui_to_print, &dulvl[prev_level].subdir);executed 1483 times by 1 test: duinfo_add (&dui_to_print, &dulvl[prev_level].subdir); | 1483 |
| 878 | duinfo_add (&dulvl[level].subdir, &dulvl[prev_level].ent); | - |
| 879 | duinfo_add (&dulvl[level].subdir, &dulvl[prev_level].subdir); | - |
| 880 | }executed 1656 times by 1 test: end of block | 1656 |
| 881 | } | - |
| 882 | | - |
| 883 | prev_level = level; | - |
| 884 | | - |
| 885 | | - |
| 886 | | - |
| 887 | if (! (opt_separate_dirs| TRUE | evaluated 598 times by 1 test | | FALSE | evaluated 210535 times by 1 test |
&& ((| TRUE | evaluated 258 times by 1 test | | FALSE | evaluated 340 times by 1 test |
info) == 6| TRUE | evaluated 258 times by 1 test | | FALSE | evaluated 340 times by 1 test |
|| (| TRUE | never evaluated | | FALSE | evaluated 340 times by 1 test |
info) == 4| TRUE | never evaluated | | FALSE | evaluated 340 times by 1 test |
))) | 0-210535 |
| 888 | duinfo_add (&dulvl[level].ent, &dui);executed 210875 times by 1 test: duinfo_add (&dulvl[level].ent, &dui); | 210875 |
| 889 | | - |
| 890 | | - |
| 891 | | - |
| 892 | duinfo_add (&tot_dui, &dui); | - |
| 893 | | - |
| 894 | if ((((| TRUE | evaluated 1920 times by 1 test | | FALSE | evaluated 209213 times by 1 test |
info) == 6| TRUE | evaluated 1920 times by 1 test | | FALSE | evaluated 209213 times by 1 test |
|| (| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 209211 times by 1 test |
info) == 4| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 209211 times by 1 test |
) && level <= max_depth| TRUE | evaluated 1862 times by 1 test | | FALSE | evaluated 60 times by 1 test |
) | 2-209213 |
| 895 | || (opt_all| TRUE | evaluated 351 times by 1 test | | FALSE | evaluated 208920 times by 1 test |
&& level <= max_depth| TRUE | evaluated 351 times by 1 test | | FALSE | never evaluated |
) | 0-208920 |
| 896 | || level == 0| TRUE | evaluated 1337 times by 1 test | | FALSE | evaluated 207583 times by 1 test |
) | 1337-207583 |
| 897 | { | - |
| 898 | | - |
| 899 | uintmax_t v = opt_inodes| TRUE | evaluated 27 times by 1 test | | FALSE | evaluated 3523 times by 1 test |
? dui_to_print.inodes : dui_to_print.size; | 27-3523 |
| 900 | if (opt_threshold < 0| TRUE | evaluated 401 times by 1 test | | FALSE | evaluated 3149 times by 1 test |
| TRUE | evaluated 3203 times by 1 test | | FALSE | evaluated 347 times by 1 test |
| 347-3203 |
| 901 | ? v <= -opt_threshold| TRUE | evaluated 3203 times by 1 test | | FALSE | evaluated 347 times by 1 test |
| 347-3203 |
| 902 | : v >= opt_threshold| TRUE | evaluated 3203 times by 1 test | | FALSE | evaluated 347 times by 1 test |
) | 347-3203 |
| 903 | print_size (&dui_to_print, file);executed 3203 times by 1 test: print_size (&dui_to_print, file); | 3203 |
| 904 | }executed 3550 times by 1 test: end of block | 3550 |
| 905 | | - |
| 906 | returnexecuted 211133 times by 1 test: return ok; ok;executed 211133 times by 1 test: return ok; | 211133 |
| 907 | } | - |
| 908 | | - |
| 909 | | - |
| 910 | | - |
| 911 | | - |
| 912 | | - |
| 913 | | - |
| 914 | static | - |
| 915 | _Bool | - |
| 916 | | - |
| 917 | du_files (char **files, int bit_flags) | - |
| 918 | { | - |
| 919 | | - |
| 920 | _Bool | - |
| 921 | ok = | - |
| 922 | 1 | - |
| 923 | ; | - |
| 924 | | - |
| 925 | if (*| TRUE | evaluated 1581 times by 1 test | | FALSE | never evaluated |
files| TRUE | evaluated 1581 times by 1 test | | FALSE | never evaluated |
) | 0-1581 |
| 926 | { | - |
| 927 | FTS *fts = xfts_open (files, bit_flags, | - |
| 928 | ((void *)0) | - |
| 929 | ); | - |
| 930 | | - |
| 931 | while (1) | - |
| 932 | { | - |
| 933 | FTSENT *ent; | - |
| 934 | | - |
| 935 | ent = fts_read (fts); | - |
| 936 | if (ent == | TRUE | evaluated 1581 times by 1 test | | FALSE | evaluated 213118 times by 1 test |
| 1581-213118 |
| 937 | ((void *)0)| TRUE | evaluated 1581 times by 1 test | | FALSE | evaluated 213118 times by 1 test |
| 1581-213118 |
| 938 | ) | - |
| 939 | { | - |
| 940 | if ( | - |
| 941 | (*| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1580 times by 1 test |
__errno_location ()) | TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1580 times by 1 test |
| 1-1580 |
| 942 | != 0| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 1580 times by 1 test |
) | 1-1580 |
| 943 | { | - |
| 944 | error (0, | - |
| 945 | (*__errno_location ()) | - |
| 946 | , | - |
| 947 | dcgettext (((void *)0), | - |
| 948 | "fts_read failed: %s" | - |
| 949 | , 5) | - |
| 950 | , | - |
| 951 | quotearg_n_style_colon (0, shell_escape_quoting_style, fts->fts_path)); | - |
| 952 | ok = | - |
| 953 | 0 | - |
| 954 | ; | - |
| 955 | }executed 1 time by 1 test: end of block | 1 |
| 956 | | - |
| 957 | | - |
| 958 | | - |
| 959 | | - |
| 960 | prev_level = 0; | - |
| 961 | break;executed 1581 times by 1 test: break; | 1581 |
| 962 | } | - |
| 963 | ; | - |
| 964 | | - |
| 965 | ok &= process_file (fts, ent); | - |
| 966 | }executed 213118 times by 1 test: end of block | 213118 |
| 967 | | - |
| 968 | if (fts_close (fts) != 0| TRUE | never evaluated | | FALSE | evaluated 1581 times by 1 test |
) | 0-1581 |
| 969 | { | - |
| 970 | error (0, | - |
| 971 | (*__errno_location ()) | - |
| 972 | , | - |
| 973 | dcgettext (((void *)0), | - |
| 974 | "fts_close failed" | - |
| 975 | , 5) | - |
| 976 | ); | - |
| 977 | ok = | - |
| 978 | 0 | - |
| 979 | ; | - |
| 980 | } never executed: end of block | 0 |
| 981 | }executed 1581 times by 1 test: end of block | 1581 |
| 982 | | - |
| 983 | returnexecuted 1581 times by 1 test: return ok; ok;executed 1581 times by 1 test: return ok; | 1581 |
| 984 | } | - |
| 985 | | - |
| 986 | int | - |
| 987 | main (int argc, char **argv) | - |
| 988 | { | - |
| 989 | char *cwd_only[2]; | - |
| 990 | | - |
| 991 | _Bool | - |
| 992 | max_depth_specified = | - |
| 993 | 0 | - |
| 994 | ; | - |
| 995 | | - |
| 996 | _Bool | - |
| 997 | ok = | - |
| 998 | 1 | - |
| 999 | ; | - |
| 1000 | char *files_from = | - |
| 1001 | ((void *)0) | - |
| 1002 | ; | - |
| 1003 | | - |
| 1004 | | - |
| 1005 | int bit_flags = 0x0008; | - |
| 1006 | | - |
| 1007 | | - |
| 1008 | | - |
| 1009 | int symlink_deref_bits = 0x0010; | - |
| 1010 | | - |
| 1011 | | - |
| 1012 | | - |
| 1013 | _Bool | - |
| 1014 | opt_summarize_only = | - |
| 1015 | 0 | - |
| 1016 | ; | - |
| 1017 | | - |
| 1018 | cwd_only[0] = bad_cast ("."); | - |
| 1019 | cwd_only[1] = | - |
| 1020 | ((void *)0) | - |
| 1021 | ; | - |
| 1022 | | - |
| 1023 | ; | - |
| 1024 | set_program_name (argv[0]); | - |
| 1025 | setlocale ( | - |
| 1026 | 6 | - |
| 1027 | , ""); | - |
| 1028 | bindtextdomain ("coreutils", "/usr/local/share/locale"); | - |
| 1029 | textdomain ("coreutils"); | - |
| 1030 | | - |
| 1031 | atexit (close_stdout); | - |
| 1032 | | - |
| 1033 | exclude = new_exclude (); | - |
| 1034 | | - |
| 1035 | human_options (getenv ("DU_BLOCK_SIZE"), | - |
| 1036 | &human_output_opts, &output_block_size); | - |
| 1037 | | - |
| 1038 | while ( | - |
| 1039 | 1 | - |
| 1040 | ) | - |
| 1041 | { | - |
| 1042 | int oi = -1; | - |
| 1043 | int c = getopt_long (argc, argv, "0abd:chHklmst:xB:DLPSX:", | - |
| 1044 | long_options, &oi); | - |
| 1045 | if (c == -1| TRUE | evaluated 287 times by 1 test | | FALSE | evaluated 892 times by 1 test |
) | 287-892 |
| 1046 | break;executed 287 times by 1 test: break; | 287 |
| 1047 | | - |
| 1048 | switch (c) | - |
| 1049 | { | - |
| 1050 | | - |
| 1051 | | - |
| 1052 | | - |
| 1053 | | - |
| 1054 | | - |
| 1055 | | - |
| 1056 | caseexecuted 2 times by 1 test: case '0': '0':executed 2 times by 1 test: case '0': | 2 |
| 1057 | opt_nul_terminate_output = | - |
| 1058 | 1 | - |
| 1059 | ; | - |
| 1060 | break;executed 2 times by 1 test: break; | 2 |
| 1061 | | - |
| 1062 | caseexecuted 98 times by 1 test: case 'a': 'a':executed 98 times by 1 test: case 'a': | 98 |
| 1063 | opt_all = | - |
| 1064 | 1 | - |
| 1065 | ; | - |
| 1066 | break;executed 98 times by 1 test: break; | 98 |
| 1067 | | - |
| 1068 | caseexecuted 87 times by 1 test: case APPARENT_SIZE_OPTION: APPARENT_SIZE_OPTION:executed 87 times by 1 test: case APPARENT_SIZE_OPTION: | 87 |
| 1069 | apparent_size = | - |
| 1070 | 1 | - |
| 1071 | ; | - |
| 1072 | break;executed 87 times by 1 test: break; | 87 |
| 1073 | | - |
| 1074 | caseexecuted 4 times by 1 test: case 'b': 'b':executed 4 times by 1 test: case 'b': | 4 |
| 1075 | apparent_size = | - |
| 1076 | 1 | - |
| 1077 | ; | - |
| 1078 | human_output_opts = 0; | - |
| 1079 | output_block_size = 1; | - |
| 1080 | break;executed 4 times by 1 test: break; | 4 |
| 1081 | | - |
| 1082 | caseexecuted 3 times by 1 test: case 'c': 'c':executed 3 times by 1 test: case 'c': | 3 |
| 1083 | print_grand_total = | - |
| 1084 | 1 | - |
| 1085 | ; | - |
| 1086 | break;executed 3 times by 1 test: break; | 3 |
| 1087 | | - |
| 1088 | caseexecuted 8 times by 1 test: case 'h': 'h':executed 8 times by 1 test: case 'h': | 8 |
| 1089 | human_output_opts = human_autoscale | human_SI | human_base_1024; | - |
| 1090 | output_block_size = 1; | - |
| 1091 | break;executed 8 times by 1 test: break; | 8 |
| 1092 | | - |
| 1093 | caseexecuted 2 times by 1 test: case HUMAN_SI_OPTION: HUMAN_SI_OPTION:executed 2 times by 1 test: case HUMAN_SI_OPTION: | 2 |
| 1094 | human_output_opts = human_autoscale | human_SI; | - |
| 1095 | output_block_size = 1; | - |
| 1096 | break;executed 2 times by 1 test: break; | 2 |
| 1097 | | - |
| 1098 | caseexecuted 13 times by 1 test: case 'k': 'k':executed 13 times by 1 test: case 'k': | 13 |
| 1099 | human_output_opts = 0; | - |
| 1100 | output_block_size = 1024; | - |
| 1101 | break;executed 13 times by 1 test: break; | 13 |
| 1102 | | - |
| 1103 | caseexecuted 4 times by 1 test: case 'd': 'd':executed 4 times by 1 test: case 'd': | 4 |
| 1104 | { | - |
| 1105 | unsigned long int tmp_ulong; | - |
| 1106 | if (xstrtoul (optarg, | TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
| 2 |
| 1107 | ((void *)0)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
| 2 |
| 1108 | , 0, &tmp_ulong, | TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
| 2 |
| 1109 | ((void *)0)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
| 2 |
| 1110 | ) == LONGINT_OK| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
| 2 |
| 1111 | && tmp_ulong <= | TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| 0-2 |
| 1112 | (18446744073709551615UL)| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| 0-2 |
| 1113 | ) | - |
| 1114 | { | - |
| 1115 | max_depth_specified = | - |
| 1116 | 1 | - |
| 1117 | ; | - |
| 1118 | max_depth = tmp_ulong; | - |
| 1119 | }executed 2 times by 1 test: end of block | 2 |
| 1120 | else | - |
| 1121 | { | - |
| 1122 | error (0, 0, | - |
| 1123 | dcgettext (((void *)0), | - |
| 1124 | "invalid maximum depth %s" | - |
| 1125 | , 5) | - |
| 1126 | , | - |
| 1127 | quote (optarg)); | - |
| 1128 | ok = | - |
| 1129 | 0 | - |
| 1130 | ; | - |
| 1131 | }executed 2 times by 1 test: end of block | 2 |
| 1132 | } | - |
| 1133 | break;executed 4 times by 1 test: break; | 4 |
| 1134 | | - |
| 1135 | caseexecuted 1 time by 1 test: case 'm': 'm':executed 1 time by 1 test: case 'm': | 1 |
| 1136 | human_output_opts = 0; | - |
| 1137 | output_block_size = 1024 * 1024; | - |
| 1138 | break;executed 1 time by 1 test: break; | 1 |
| 1139 | | - |
| 1140 | caseexecuted 6 times by 1 test: case 'l': 'l':executed 6 times by 1 test: case 'l': | 6 |
| 1141 | opt_count_all = | - |
| 1142 | 1 | - |
| 1143 | ; | - |
| 1144 | break;executed 6 times by 1 test: break; | 6 |
| 1145 | | - |
| 1146 | caseexecuted 21 times by 1 test: case 's': 's':executed 21 times by 1 test: case 's': | 21 |
| 1147 | opt_summarize_only = | - |
| 1148 | 1 | - |
| 1149 | ; | - |
| 1150 | break;executed 21 times by 1 test: break; | 21 |
| 1151 | | - |
| 1152 | caseexecuted 178 times by 1 test: case 't': 't':executed 178 times by 1 test: case 't': | 178 |
| 1153 | { | - |
| 1154 | enum strtol_error e; | - |
| 1155 | e = xstrtoimax (optarg, | - |
| 1156 | ((void *)0) | - |
| 1157 | , 0, &opt_threshold, "kKmMGTPEZY0"); | - |
| 1158 | if (e != LONGINT_OK| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 173 times by 1 test |
) | 5-173 |
| 1159 | xstrtol_fatal (e, oi, c, long_options, optarg);executed 5 times by 1 test: xstrtol_fatal (e, oi, c, long_options, optarg); | 5 |
| 1160 | if (opt_threshold == 0| TRUE | evaluated 11 times by 1 test | | FALSE | evaluated 162 times by 1 test |
&& *| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 8 times by 1 test |
optarg == '-'| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 8 times by 1 test |
) | 3-162 |
| 1161 | { | - |
| 1162 | | - |
| 1163 | ((!!sizeof (struct { _Static_assert ( | - |
| 1164 | 1 | - |
| 1165 | , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid --threshold argument '-0'\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( | - |
| 1166 | 1 | - |
| 1167 | , 0, | - |
| 1168 | dcgettext (((void *)0), | - |
| 1169 | "invalid --threshold argument '-0'" | - |
| 1170 | , 5) | - |
| 1171 | ), (( | - |
| 1172 | 0 | - |
| 1173 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( | - |
| 1174 | 1 | - |
| 1175 | , 0, | - |
| 1176 | dcgettext (((void *)0), | - |
| 1177 | "invalid --threshold argument '-0'" | - |
| 1178 | , 5) | - |
| 1179 | ), (( | - |
| 1180 | 0 | - |
| 1181 | ) ? (void) 0 : __builtin_unreachable ())))); | - |
| 1182 | } never executed: end of block | 0 |
| 1183 | } | - |
| 1184 | break;executed 170 times by 1 test: break; | 170 |
| 1185 | | - |
| 1186 | caseexecuted 7 times by 1 test: case 'x': 'x':executed 7 times by 1 test: case 'x': | 7 |
| 1187 | bit_flags |= 0x0040; | - |
| 1188 | break;executed 7 times by 1 test: break; | 7 |
| 1189 | | - |
| 1190 | caseexecuted 177 times by 1 test: case 'B': 'B':executed 177 times by 1 test: case 'B': | 177 |
| 1191 | { | - |
| 1192 | enum strtol_error e = human_options (optarg, &human_output_opts, | - |
| 1193 | &output_block_size); | - |
| 1194 | if (e != LONGINT_OK| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 175 times by 1 test |
) | 2-175 |
| 1195 | xstrtol_fatal (e, oi, c, long_options, optarg);executed 2 times by 1 test: xstrtol_fatal (e, oi, c, long_options, optarg); | 2 |
| 1196 | } | - |
| 1197 | break;executed 175 times by 1 test: break; | 175 |
| 1198 | | - |
| 1199 | caseexecuted 1 time by 1 test: case 'H': 'H':executed 1 time by 1 test: case 'H': | 1 |
| 1200 | caseexecuted 6 times by 1 test: case 'D': 'D':executed 6 times by 1 test: case 'D': | 6 |
| 1201 | symlink_deref_bits = 0x0001 | 0x0010; | - |
| 1202 | break;executed 7 times by 1 test: break; | 7 |
| 1203 | | - |
| 1204 | caseexecuted 11 times by 1 test: case 'L': 'L':executed 11 times by 1 test: case 'L': | 11 |
| 1205 | symlink_deref_bits = 0x0002; | - |
| 1206 | break;executed 11 times by 1 test: break; | 11 |
| 1207 | | - |
| 1208 | caseexecuted 2 times by 1 test: case 'P': 'P':executed 2 times by 1 test: case 'P': | 2 |
| 1209 | symlink_deref_bits = 0x0010; | - |
| 1210 | break;executed 2 times by 1 test: break; | 2 |
| 1211 | | - |
| 1212 | caseexecuted 89 times by 1 test: case 'S': 'S':executed 89 times by 1 test: case 'S': | 89 |
| 1213 | opt_separate_dirs = | - |
| 1214 | 1 | - |
| 1215 | ; | - |
| 1216 | break;executed 89 times by 1 test: break; | 89 |
| 1217 | | - |
| 1218 | caseexecuted 3 times by 1 test: case 'X': 'X':executed 3 times by 1 test: case 'X': | 3 |
| 1219 | if (add_exclude_file (add_exclude, exclude, optarg,| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 1 time by 1 test |
| 1-2 |
| 1220 | (1 << 28), '\n')| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 1 time by 1 test |
) | 1-2 |
| 1221 | { | - |
| 1222 | error (0, | - |
| 1223 | (*__errno_location ()) | - |
| 1224 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, optarg)); | - |
| 1225 | ok = | - |
| 1226 | 0 | - |
| 1227 | ; | - |
| 1228 | }executed 2 times by 1 test: end of block | 2 |
| 1229 | break;executed 3 times by 1 test: break; | 3 |
| 1230 | | - |
| 1231 | caseexecuted 14 times by 1 test: case FILES0_FROM_OPTION: FILES0_FROM_OPTION:executed 14 times by 1 test: case FILES0_FROM_OPTION: | 14 |
| 1232 | files_from = optarg; | - |
| 1233 | break;executed 14 times by 1 test: break; | 14 |
| 1234 | | - |
| 1235 | caseexecuted 11 times by 1 test: case EXCLUDE_OPTION: EXCLUDE_OPTION:executed 11 times by 1 test: case EXCLUDE_OPTION: | 11 |
| 1236 | add_exclude (exclude, optarg, (1 << 28)); | - |
| 1237 | break;executed 11 times by 1 test: break; | 11 |
| 1238 | | - |
| 1239 | caseexecuted 19 times by 1 test: case INODES_OPTION: INODES_OPTION:executed 19 times by 1 test: case INODES_OPTION: | 19 |
| 1240 | opt_inodes = | - |
| 1241 | 1 | - |
| 1242 | ; | - |
| 1243 | break;executed 19 times by 1 test: break; | 19 |
| 1244 | | - |
| 1245 | caseexecuted 23 times by 1 test: case TIME_OPTION: TIME_OPTION:executed 23 times by 1 test: case TIME_OPTION: | 23 |
| 1246 | opt_time = | - |
| 1247 | 1 | - |
| 1248 | ; | - |
| 1249 | time_type = | - |
| 1250 | (optarg| TRUE | never evaluated | | FALSE | evaluated 23 times by 1 test |
| 0-23 |
| 1251 | ? ((time_types) [__xargmatch_internal ("--time", optarg, time_args, (char const *) (time_types), sizeof *(time_types), argmatch_die)]) | - |
| 1252 | : time_mtime); | - |
| 1253 | localtz = tzalloc (getenv ("TZ")); | - |
| 1254 | break;executed 23 times by 1 test: break; | 23 |
| 1255 | | - |
| 1256 | caseexecuted 21 times by 1 test: case TIME_STYLE_OPTION: TIME_STYLE_OPTION:executed 21 times by 1 test: case TIME_STYLE_OPTION: | 21 |
| 1257 | time_style = optarg; | - |
| 1258 | break;executed 21 times by 1 test: break; | 21 |
| 1259 | | - |
| 1260 | caseexecuted 43 times by 1 test: case GETOPT_HELP_CHAR: GETOPT_HELP_CHAR:executed 43 times by 1 test: case GETOPT_HELP_CHAR: usage ( | 43 |
| 1261 | 0 | - |
| 1262 | ); break; never executed: break; ; | 0 |
| 1263 | | - |
| 1264 | caseexecuted 34 times by 1 test: case GETOPT_VERSION_CHAR: GETOPT_VERSION_CHAR:executed 34 times by 1 test: case GETOPT_VERSION_CHAR: version_etc ( | 34 |
| 1265 | stdout | - |
| 1266 | , "du", "GNU coreutils", Version, ("Torbjorn Granlund"), ("David MacKenzie"), ("Paul Eggert"), ("Jim Meyering"), (char *) | - |
| 1267 | ((void *)0) | - |
| 1268 | ); exit (executed 34 times by 1 test: exit ( 0 ); | 34 |
| 1269 | 0executed 34 times by 1 test: exit ( 0 ); | 34 |
| 1270 | );executed 34 times by 1 test: exit ( 0 ); break;never executed: break; ; | 0-34 |
| 1271 | | - |
| 1272 | defaultexecuted 4 times by 1 test: default: :executed 4 times by 1 test: default: | 4 |
| 1273 | ok = | - |
| 1274 | 0 | - |
| 1275 | ; | - |
| 1276 | }executed 4 times by 1 test: end of block | 4 |
| 1277 | } | - |
| 1278 | | - |
| 1279 | if (!ok| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 283 times by 1 test |
) | 4-283 |
| 1280 | usage (executed 4 times by 1 test: usage ( 1 ); | 4 |
| 1281 | 1executed 4 times by 1 test: usage ( 1 ); | 4 |
| 1282 | );executed 4 times by 1 test: usage ( 1 ); | 4 |
| 1283 | | - |
| 1284 | if (opt_all| TRUE | evaluated 96 times by 1 test | | FALSE | evaluated 187 times by 1 test |
&& opt_summarize_only| TRUE | never evaluated | | FALSE | evaluated 96 times by 1 test |
) | 0-187 |
| 1285 | { | - |
| 1286 | error (0, 0, | - |
| 1287 | dcgettext (((void *)0), | - |
| 1288 | "cannot both summarize and show all entries" | - |
| 1289 | , 5) | - |
| 1290 | ); | - |
| 1291 | usage ( | - |
| 1292 | 1 | - |
| 1293 | ); | - |
| 1294 | } never executed: end of block | 0 |
| 1295 | | - |
| 1296 | if (opt_summarize_only| TRUE | evaluated 19 times by 1 test | | FALSE | evaluated 264 times by 1 test |
&& max_depth_specified| TRUE | never evaluated | | FALSE | evaluated 19 times by 1 test |
&& max_depth == 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-264 |
| 1297 | { | - |
| 1298 | error (0, 0, | - |
| 1299 | | - |
| 1300 | dcgettext (((void *)0), | - |
| 1301 | "warning: summarizing is the same as using --max-depth=0" | - |
| 1302 | , 5) | - |
| 1303 | ); | - |
| 1304 | } never executed: end of block | 0 |
| 1305 | | - |
| 1306 | if (opt_summarize_only| TRUE | evaluated 19 times by 1 test | | FALSE | evaluated 264 times by 1 test |
&& max_depth_specified| TRUE | never evaluated | | FALSE | evaluated 19 times by 1 test |
&& max_depth != 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-264 |
| 1307 | { | - |
| 1308 | unsigned long int d = max_depth; | - |
| 1309 | error (0, 0, | - |
| 1310 | dcgettext (((void *)0), | - |
| 1311 | "warning: summarizing conflicts with --max-depth=%lu" | - |
| 1312 | , 5) | - |
| 1313 | , d); | - |
| 1314 | usage ( | - |
| 1315 | 1 | - |
| 1316 | ); | - |
| 1317 | } never executed: end of block | 0 |
| 1318 | | - |
| 1319 | if (opt_summarize_only| TRUE | evaluated 19 times by 1 test | | FALSE | evaluated 264 times by 1 test |
) | 19-264 |
| 1320 | max_depth = 0;executed 19 times by 1 test: max_depth = 0; | 19 |
| 1321 | | - |
| 1322 | if (opt_inodes| TRUE | evaluated 18 times by 1 test | | FALSE | evaluated 265 times by 1 test |
) | 18-265 |
| 1323 | { | - |
| 1324 | if (apparent_size| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 16 times by 1 test |
) | 2-16 |
| 1325 | { | - |
| 1326 | error (0, 0, | - |
| 1327 | dcgettext (((void *)0), | - |
| 1328 | "warning: options --apparent-size and -b are " "ineffective with --inodes" | - |
| 1329 | , 5) | - |
| 1330 | | - |
| 1331 | ); | - |
| 1332 | }executed 2 times by 1 test: end of block | 2 |
| 1333 | output_block_size = 1; | - |
| 1334 | }executed 18 times by 1 test: end of block | 18 |
| 1335 | | - |
| 1336 | | - |
| 1337 | if (opt_time| TRUE | evaluated 21 times by 1 test | | FALSE | evaluated 262 times by 1 test |
) | 21-262 |
| 1338 | { | - |
| 1339 | if (! time_style| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 20 times by 1 test |
) | 1-20 |
| 1340 | { | - |
| 1341 | time_style = getenv ("TIME_STYLE"); | - |
| 1342 | | - |
| 1343 | | - |
| 1344 | if (! time_style| TRUE | evaluated 1 time by 1 test | | FALSE | never evaluated |
|| (| TRUE | never evaluated | | FALSE | never evaluated |
| 0-1 |
| 1345 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1346 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1347 | ) && __builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1348 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1349 | ) && (__s1_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1350 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1351 | ), __s2_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1352 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1353 | ), (!((size_t)(const void *)((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1354 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1355 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1356 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1357 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1358 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1359 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1360 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1361 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1362 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1363 | , | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1364 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1365 | ) : (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1366 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1367 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1368 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1369 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1370 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1371 | ) == 1) && (__s1_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1372 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1373 | ), __s1_len < 4) ? (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1374 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1375 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1376 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1377 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1378 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1379 | ) == 1) ? __builtin_strcmp (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1380 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1381 | , | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1382 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1383 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1384 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1385 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1386 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1387 | ))[0] - __s2[0]); if (__s1_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1388 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1389 | ))[1] - __s2[1]); if (__s1_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1390 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1391 | ))[2] - __s2[2]); if (__s1_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( time_style ))[3] - __s2[3]); | 0 |
| 1392 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( time_style ))[3] - __s2[3]); | 0 |
| 1393 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1394 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1395 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1396 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1397 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1398 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1399 | ) == 1) && (__s2_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1400 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1401 | ), __s2_len < 4) ? (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1402 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1403 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1404 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1405 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1406 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1407 | ) == 1) ? __builtin_strcmp (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1408 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1409 | , | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1410 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1411 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1412 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1413 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1414 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1415 | ))[0] - __s2[0]); if (__s2_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1416 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1417 | ))[1] - __s2[1]); if (__s2_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1418 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1419 | ))[2] - __s2[2]); if (__s2_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "locale" ))[3] - __s2[3]); | 0 |
| 1420 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "locale" ))[3] - __s2[3]); | 0 |
| 1421 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1422 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1423 | , | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1424 | "locale"| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1425 | )))); }) | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1426 | == 0)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1427 | time_style = "long-iso";executed 1 time by 1 test: time_style = "long-iso"; | 1 |
| 1428 | else if (*| TRUE | never evaluated | | FALSE | never evaluated |
time_style == '+'| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1429 | { | - |
| 1430 | | - |
| 1431 | | - |
| 1432 | char *p = | - |
| 1433 | (__extension__ (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1434 | '\n'| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1435 | )| TRUE | never evaluated | | FALSE | never evaluated |
&& !__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1436 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1437 | )| TRUE | never evaluated | | FALSE | never evaluated |
&& (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1438 | '\n'| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1439 | ) == '\0'| TRUE | never evaluated | | FALSE | never evaluated |
? (char *) __rawmemchr ( | 0 |
| 1440 | time_style | - |
| 1441 | , | - |
| 1442 | '\n' | - |
| 1443 | ) : __builtin_strchr ( | - |
| 1444 | time_style | - |
| 1445 | , | - |
| 1446 | '\n' | - |
| 1447 | ))) | - |
| 1448 | ; | - |
| 1449 | if (p| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1450 | * never executed: *p = '\0'; p = '\0';never executed: *p = '\0'; | 0 |
| 1451 | } never executed: end of block | 0 |
| 1452 | else | - |
| 1453 | { | - |
| 1454 | | - |
| 1455 | static char const posix_prefix[] = "posix-"; | - |
| 1456 | static const size_t prefix_len = sizeof posix_prefix - 1; | - |
| 1457 | while ((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1458 | (__extension__ (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1459 | prefix_len| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1460 | )| TRUE | never evaluated | | FALSE | never evaluated |
&& ((__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1461 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1462 | )| TRUE | never evaluated | | FALSE | never evaluated |
&& strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1463 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1464 | ) < ((size_t) (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1465 | prefix_len| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1466 | ))| TRUE | never evaluated | | FALSE | never evaluated |
) || (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1467 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1468 | )| TRUE | never evaluated | | FALSE | never evaluated |
&& strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1469 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1470 | ) < ((size_t) (| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1471 | prefix_len| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1472 | ))| TRUE | never evaluated | | FALSE | never evaluated |
)) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1473 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1474 | ) && __builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1475 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1476 | ) && (__s1_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1477 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1478 | ), __s2_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1479 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1480 | ), (!((size_t)(const void *)((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1481 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1482 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1483 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1484 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1485 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1486 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1487 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1488 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1489 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1490 | , | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1491 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1492 | ) : (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1493 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1494 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1495 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1496 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1497 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1498 | ) == 1) && (__s1_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1499 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1500 | ), __s1_len < 4) ? (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1501 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1502 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1503 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1504 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1505 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1506 | ) == 1) ? __builtin_strcmp (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1507 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1508 | , | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1509 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1510 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1511 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1512 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1513 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1514 | ))[0] - __s2[0]); if (__s1_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1515 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1516 | ))[1] - __s2[1]); if (__s1_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1517 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1518 | ))[2] - __s2[2]); if (__s1_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( time_style ))[3] - __s2[3]); | 0 |
| 1519 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( time_style ))[3] - __s2[3]); | 0 |
| 1520 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1521 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1522 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1523 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1524 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1525 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1526 | ) == 1) && (__s2_len = __builtin_strlen (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1527 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1528 | ), __s2_len < 4) ? (__builtin_constant_p (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1529 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1530 | ) && ((size_t)(const void *)((| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1531 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1532 | ) + 1) - (size_t)(const void *)(| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1533 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1534 | ) == 1) ? __builtin_strcmp (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1535 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1536 | , | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1537 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1538 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1539 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1540 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1541 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1542 | ))[0] - __s2[0]); if (__s2_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1543 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1544 | ))[1] - __s2[1]); if (__s2_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1545 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1546 | ))[2] - __s2[2]); if (__s2_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( posix_prefix ))[3] - __s2[3]); | 0 |
| 1547 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( posix_prefix ))[3] - __s2[3]); | 0 |
| 1548 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1549 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1550 | , | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1551 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1552 | )))); }) : strncmp (| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1553 | time_style| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1554 | , | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1555 | posix_prefix| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1556 | , | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1557 | prefix_len| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1558 | ))) | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 1559 | == 0)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 1560 | time_style += prefix_len; never executed: time_style += prefix_len; | 0 |
| 1561 | } never executed: end of block | 0 |
| 1562 | } | - |
| 1563 | | - |
| 1564 | if (*| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 13 times by 1 test |
time_style == '+'| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 13 times by 1 test |
) | 8-13 |
| 1565 | time_format = time_style + 1;executed 8 times by 1 test: time_format = time_style + 1; | 8 |
| 1566 | else | - |
| 1567 | { | - |
| 1568 | switch (((time_style_types) [__xargmatch_internal ("time style", time_style, time_style_args, (char const *) (time_style_types), sizeof *(time_style_types), argmatch_die)]) | - |
| 1569 | ) | - |
| 1570 | { | - |
| 1571 | caseexecuted 4 times by 1 test: case full_iso_time_style: full_iso_time_style:executed 4 times by 1 test: case full_iso_time_style: | 4 |
| 1572 | time_format = "%Y-%m-%d %H:%M:%S.%N %z"; | - |
| 1573 | break;executed 4 times by 1 test: break; | 4 |
| 1574 | | - |
| 1575 | caseexecuted 5 times by 1 test: case long_iso_time_style: long_iso_time_style:executed 5 times by 1 test: case long_iso_time_style: | 5 |
| 1576 | time_format = "%Y-%m-%d %H:%M"; | - |
| 1577 | break;executed 5 times by 1 test: break; | 5 |
| 1578 | | - |
| 1579 | caseexecuted 4 times by 1 test: case iso_time_style: iso_time_style:executed 4 times by 1 test: case iso_time_style: | 4 |
| 1580 | time_format = "%Y-%m-%d"; | - |
| 1581 | break;executed 4 times by 1 test: break; | 4 |
| 1582 | } | - |
| 1583 | }executed 13 times by 1 test: end of block | 13 |
| 1584 | } | - |
| 1585 | | - |
| 1586 | struct argv_iterator *ai; | - |
| 1587 | if (files_from| TRUE | evaluated 13 times by 1 test | | FALSE | evaluated 270 times by 1 test |
) | 13-270 |
| 1588 | { | - |
| 1589 | | - |
| 1590 | | - |
| 1591 | if (optind < argc| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 12 times by 1 test |
) | 1-12 |
| 1592 | { | - |
| 1593 | error (0, 0, | - |
| 1594 | dcgettext (((void *)0), | - |
| 1595 | "extra operand %s" | - |
| 1596 | , 5) | - |
| 1597 | , quote (argv[optind])); | - |
| 1598 | fprintf ( | - |
| 1599 | stderr | - |
| 1600 | , "%s\n", | - |
| 1601 | | - |
| 1602 | dcgettext (((void *)0), | - |
| 1603 | "file operands cannot be combined with --files0-from" | - |
| 1604 | , 5) | - |
| 1605 | ); | - |
| 1606 | usage ( | - |
| 1607 | 1 | - |
| 1608 | ); | - |
| 1609 | } never executed: end of block | 0 |
| 1610 | | - |
| 1611 | if (! ((| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1612 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1613 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1614 | ) && __builtin_constant_p (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1615 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1616 | ) && (__s1_len = __builtin_strlen (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1617 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1618 | ), __s2_len = __builtin_strlen (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1619 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1620 | ), (!((size_t)(const void *)((| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1621 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1622 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1623 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1624 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1625 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1626 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1627 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1628 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1629 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1630 | , | TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1631 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1632 | ) : (__builtin_constant_p (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1633 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1634 | ) && ((size_t)(const void *)((| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1635 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1636 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1637 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1638 | ) == 1) && (__s1_len = __builtin_strlen (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1639 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1640 | ), __s1_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1641 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1642 | ) && ((size_t)(const void *)((| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1643 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1644 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1645 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1646 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1647 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1648 | , | TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1649 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1650 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1651 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1652 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1653 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1654 | ))[0] - __s2[0]); if (__s1_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-8 |
| 1655 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1656 | ))[1] - __s2[1]); if (__s1_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-8 |
| 1657 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1658 | ))[2] - __s2[2]); if (__s1_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( files_from ))[3] - __s2[3]); | TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-8 |
| 1659 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( files_from ))[3] - __s2[3]); | 0-8 |
| 1660 | ))[3] - __s2[3]);| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( files_from ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-8 |
| 1661 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1662 | ) && ((size_t)(const void *)((| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1663 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1664 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1665 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1666 | ) == 1) && (__s2_len = __builtin_strlen (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1667 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1668 | ), __s2_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1669 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1670 | ) && ((size_t)(const void *)((| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1671 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1672 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1673 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1674 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1675 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1676 | , | TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1677 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1678 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1679 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1680 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1681 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1682 | ))[0] - __s2[0]); if (__s2_len > 0| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
&& __result == 0| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-12 |
| 1683 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1684 | ))[1] - __s2[1]); if (__s2_len > 1| TRUE | never evaluated | | FALSE | evaluated 8 times by 1 test |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-8 |
| 1685 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1686 | ))[2] - __s2[2]); if (__s2_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-8 |
| 1687 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-8 |
| 1688 | ))[3] - __s2[3]);| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); }never executed: end of block } __result; }))) : __builtin_strcmp (| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 0-8 |
| 1689 | files_from| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1690 | , | TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1691 | "-"| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1692 | )))); }) | TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 1693 | == 0)| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 4 times by 1 test |
|| freopen_safer (files_from, "r", | TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 1 time by 1 test |
| 1-8 |
| 1694 | stdin| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 1 time by 1 test |
| 1-3 |
| 1695 | )| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 1 time by 1 test |
)) | 1-3 |
| 1696 | ((executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; !!sizeof (struct { _Static_assert (executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1697 | 1executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1698 | , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error (executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1699 | 1executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1700 | , executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1701 | (*__errno_location ())executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1702 | , executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1703 | dcgettext (((void *)0), executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1704 | "cannot open %s for reading"executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1705 | , 5)executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1706 | , quotearg_style (shell_escape_always_quoting_style, files_from)), ((executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1707 | 0executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1708 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error (executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1709 | 1executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1710 | , executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1711 | (*__errno_location ())executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1712 | , executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1713 | dcgettext (((void *)0), executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1714 | "cannot open %s for reading"executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1715 | , 5)executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1716 | , quotearg_style (shell_escape_always_quoting_style, files_from)), ((executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1717 | 0executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1718 | ) ? (void) 0 : __builtin_unreachable ()))))executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1719 | ;executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int ...(void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
| 1720 | | - |
| 1721 | ai = argv_iter_init_stream ( | - |
| 1722 | stdin | - |
| 1723 | ); | - |
| 1724 | | - |
| 1725 | | - |
| 1726 | | - |
| 1727 | hash_all = | - |
| 1728 | 1 | - |
| 1729 | ; | - |
| 1730 | }executed 11 times by 1 test: end of block | 11 |
| 1731 | else | - |
| 1732 | { | - |
| 1733 | char **files = (optind < argc| TRUE | evaluated 268 times by 1 test | | FALSE | evaluated 2 times by 1 test |
? argv + optind : cwd_only); | 2-268 |
| 1734 | ai = argv_iter_init_argv (files); | - |
| 1735 | | - |
| 1736 | | - |
| 1737 | | - |
| 1738 | | - |
| 1739 | hash_all = (optind + 1 < argc| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 260 times by 1 test |
|| symlink_deref_bits == 0x0002| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 252 times by 1 test |
); | 8-260 |
| 1740 | }executed 270 times by 1 test: end of block | 270 |
| 1741 | | - |
| 1742 | if (!ai| TRUE | never evaluated | | FALSE | evaluated 281 times by 1 test |
) | 0-281 |
| 1743 | xalloc_die (); never executed: xalloc_die (); | 0 |
| 1744 | | - |
| 1745 | | - |
| 1746 | di_files = di_set_alloc (); | - |
| 1747 | if (!di_files| TRUE | never evaluated | | FALSE | evaluated 281 times by 1 test |
) | 0-281 |
| 1748 | xalloc_die (); never executed: xalloc_die (); | 0 |
| 1749 | | - |
| 1750 | | - |
| 1751 | | - |
| 1752 | if (opt_count_all| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 277 times by 1 test |
|| ! hash_all| TRUE | evaluated 250 times by 1 test | | FALSE | evaluated 27 times by 1 test |
) | 4-277 |
| 1753 | bit_flags |= 0x0100;executed 254 times by 1 test: bit_flags |= 0x0100; | 254 |
| 1754 | | - |
| 1755 | bit_flags |= symlink_deref_bits; | - |
| 1756 | static char *temp_argv[] = { | - |
| 1757 | ((void *)0) | - |
| 1758 | , | - |
| 1759 | ((void *)0) | - |
| 1760 | }; | - |
| 1761 | | - |
| 1762 | while ( | - |
| 1763 | 1 | - |
| 1764 | ) | - |
| 1765 | { | - |
| 1766 | | - |
| 1767 | _Bool | - |
| 1768 | skip_file = | - |
| 1769 | 0 | - |
| 1770 | ; | - |
| 1771 | enum argv_iter_err ai_err; | - |
| 1772 | char *file_name = argv_iter (ai, &ai_err); | - |
| 1773 | if (!file_name| TRUE | evaluated 281 times by 1 test | | FALSE | evaluated 1586 times by 1 test |
) | 281-1586 |
| 1774 | { | - |
| 1775 | switch (ai_err) | - |
| 1776 | { | - |
| 1777 | caseexecuted 280 times by 1 test: case AI_ERR_EOF: AI_ERR_EOF:executed 280 times by 1 test: case AI_ERR_EOF: | 280 |
| 1778 | gotoexecuted 280 times by 1 test: goto argv_iter_done; argv_iter_done;executed 280 times by 1 test: goto argv_iter_done; | 280 |
| 1779 | caseexecuted 1 time by 1 test: case AI_ERR_READ: AI_ERR_READ:executed 1 time by 1 test: case AI_ERR_READ: | 1 |
| 1780 | error (0, | - |
| 1781 | (*__errno_location ()) | - |
| 1782 | , | - |
| 1783 | dcgettext (((void *)0), | - |
| 1784 | "%s: read error" | - |
| 1785 | , 5) | - |
| 1786 | , | - |
| 1787 | quotearg_n_style_colon (0, shell_escape_quoting_style, files_from)); | - |
| 1788 | ok = | - |
| 1789 | 0 | - |
| 1790 | ; | - |
| 1791 | gotoexecuted 1 time by 1 test: goto argv_iter_done; argv_iter_done;executed 1 time by 1 test: goto argv_iter_done; | 1 |
| 1792 | case never executed: case AI_ERR_MEM: AI_ERR_MEM:never executed: case AI_ERR_MEM: | 0 |
| 1793 | xalloc_die (); | - |
| 1794 | default never executed: default: :never executed: default: code before this statement never executed: default: | 0 |
| 1795 | | - |
| 1796 | (( | - |
| 1797 | !"unexpected error code from argv_iter" | - |
| 1798 | ) ? (void) (0) : __assert_fail ( | - |
| 1799 | "!\"unexpected error code from argv_iter\"" | - |
| 1800 | , "src/du.c", 1080, __PRETTY_FUNCTION__)) | - |
| 1801 | ; | - |
| 1802 | } never executed: end of block | 0 |
| 1803 | } | - |
| 1804 | if (files_from| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 1574 times by 1 test |
&& (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-1574 |
| 1805 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1806 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1807 | ) && __builtin_constant_p (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1808 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1809 | ) && (__s1_len = __builtin_strlen (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1810 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1811 | ), __s2_len = __builtin_strlen (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1812 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1813 | ), (!((size_t)(const void *)((| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1814 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1815 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1816 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1817 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1818 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1819 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1820 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1821 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1822 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1823 | , | TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1824 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1825 | ) : (__builtin_constant_p (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1826 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1827 | ) && ((size_t)(const void *)((| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1828 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1829 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1830 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1831 | ) == 1) && (__s1_len = __builtin_strlen (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1832 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1833 | ), __s1_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1834 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1835 | ) && ((size_t)(const void *)((| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1836 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1837 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1838 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1839 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1840 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1841 | , | TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1842 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1843 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1844 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1845 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1846 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1847 | ))[0] - __s2[0]); if (__s1_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1848 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1849 | ))[1] - __s2[1]); if (__s1_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1850 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1851 | ))[2] - __s2[2]); if (__s1_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( files_from ))[3] - __s2[3]); | TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1852 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( files_from ))[3] - __s2[3]); | 0-12 |
| 1853 | ))[3] - __s2[3]);| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( files_from ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1854 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1855 | ) && ((size_t)(const void *)((| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1856 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1857 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1858 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1859 | ) == 1) && (__s2_len = __builtin_strlen (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1860 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1861 | ), __s2_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1862 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1863 | ) && ((size_t)(const void *)((| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1864 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1865 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1866 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1867 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1868 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1869 | , | TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1870 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1871 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1872 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1873 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1874 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1875 | ))[0] - __s2[0]); if (__s2_len > 0| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
&& __result == 0| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1876 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1877 | ))[1] - __s2[1]); if (__s2_len > 1| TRUE | never evaluated | | FALSE | evaluated 12 times by 1 test |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1878 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1879 | ))[2] - __s2[2]); if (__s2_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1880 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-12 |
| 1881 | ))[3] - __s2[3]);| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); }never executed: end of block }executed 12 times by 1 test: end of block __result; }))) : __builtin_strcmp (| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1882 | files_from| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1883 | , | TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1884 | "-"| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1885 | )))); }) | TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
| 0-12 |
| 1886 | == 0)| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
&& (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 0-12 |
| 1887 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1888 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1889 | ) && __builtin_constant_p (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1890 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1891 | ) && (__s1_len = __builtin_strlen (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1892 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1893 | ), __s2_len = __builtin_strlen (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1894 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1895 | ), (!((size_t)(const void *)((| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1896 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1897 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1898 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1899 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1900 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1901 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1902 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1903 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1904 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1905 | , | TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1906 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1907 | ) : (__builtin_constant_p (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1908 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1909 | ) && ((size_t)(const void *)((| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1910 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1911 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1912 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1913 | ) == 1) && (__s1_len = __builtin_strlen (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1914 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1915 | ), __s1_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1916 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1917 | ) && ((size_t)(const void *)((| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1918 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1919 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1920 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1921 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1922 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1923 | , | TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1924 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1925 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1926 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1927 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1928 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1929 | ))[0] - __s2[0]); if (__s1_len > 0| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 0-11 |
| 1930 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1931 | ))[1] - __s2[1]); if (__s1_len > 1| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 0-11 |
| 1932 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1933 | ))[2] - __s2[2]); if (__s1_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( file_name ))[3] - __s2[3]); | TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 0-11 |
| 1934 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( file_name ))[3] - __s2[3]); | 0-11 |
| 1935 | ))[3] - __s2[3]);| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( file_name ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 0-11 |
| 1936 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1937 | ) && ((size_t)(const void *)((| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1938 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1939 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1940 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1941 | ) == 1) && (__s2_len = __builtin_strlen (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1942 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1943 | ), __s2_len < 4) ? (__builtin_constant_p (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1944 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1945 | ) && ((size_t)(const void *)((| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1946 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1947 | ) + 1) - (size_t)(const void *)(| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1948 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1949 | ) == 1) ? __builtin_strcmp (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1950 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1951 | , | TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1952 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1953 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1954 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1955 | ); int __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1956 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1957 | ))[0] - __s2[0]); if (__s2_len > 0| TRUE | evaluated 12 times by 1 test | | FALSE | never evaluated |
&& __result == 0| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 0-12 |
| 1958 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1959 | ))[1] - __s2[1]); if (__s2_len > 1| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 0-11 |
| 1960 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1961 | ))[2] - __s2[2]); if (__s2_len > 2| TRUE | never evaluated | | FALSE | never evaluated |
&& __result == 0| TRUE | never evaluated | | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 0-11 |
| 1962 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-11 |
| 1963 | ))[3] - __s2[3]);| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); }never executed: end of block } __result; }))) : __builtin_strcmp (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 0-11 |
| 1964 | file_name| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1965 | , | TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1966 | "-"| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1967 | )))); }) | TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
| 1-11 |
| 1968 | == 0)| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 11 times by 1 test |
) | 1-11 |
| 1969 | { | - |
| 1970 | | - |
| 1971 | | - |
| 1972 | error (0, 0, | - |
| 1973 | dcgettext (((void *)0), | - |
| 1974 | "when reading file names from stdin, " "no file name of %s allowed" | - |
| 1975 | , 5) | - |
| 1976 | | - |
| 1977 | , | - |
| 1978 | quotearg_style (shell_escape_always_quoting_style, file_name)); | - |
| 1979 | skip_file = | - |
| 1980 | 1 | - |
| 1981 | ; | - |
| 1982 | }executed 1 time by 1 test: end of block | 1 |
| 1983 | | - |
| 1984 | | - |
| 1985 | | - |
| 1986 | | - |
| 1987 | | - |
| 1988 | if (!file_name[0]| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 1582 times by 1 test |
) | 4-1582 |
| 1989 | { | - |
| 1990 | | - |
| 1991 | | - |
| 1992 | | - |
| 1993 | | - |
| 1994 | if (files_from == | TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 1995 | ((void *)0)| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 1996 | ) | - |
| 1997 | error (0, 0, "%s", never executed: error (0, 0, "%s", dcgettext (((void *)0), "invalid zero-length file name" , 5) ); | 0 |
| 1998 | dcgettext (((void *)0), never executed: error (0, 0, "%s", dcgettext (((void *)0), "invalid zero-length file name" , 5) ); | 0 |
| 1999 | "invalid zero-length file name" never executed: error (0, 0, "%s", dcgettext (((void *)0), "invalid zero-length file name" , 5) ); | 0 |
| 2000 | , 5) never executed: error (0, 0, "%s", dcgettext (((void *)0), "invalid zero-length file name" , 5) ); | 0 |
| 2001 | ); never executed: error (0, 0, "%s", dcgettext (((void *)0), "invalid zero-length file name" , 5) ); | 0 |
| 2002 | else | - |
| 2003 | { | - |
| 2004 | | - |
| 2005 | | - |
| 2006 | | - |
| 2007 | unsigned long int file_number = argv_iter_n_args (ai); | - |
| 2008 | error (0, 0, "%s:%lu: %s", quotearg_n_style_colon (0, shell_escape_quoting_style, files_from), | - |
| 2009 | file_number, | - |
| 2010 | dcgettext (((void *)0), | - |
| 2011 | "invalid zero-length file name" | - |
| 2012 | , 5) | - |
| 2013 | ); | - |
| 2014 | }executed 4 times by 1 test: end of block | 4 |
| 2015 | skip_file = | - |
| 2016 | 1 | - |
| 2017 | ; | - |
| 2018 | }executed 4 times by 1 test: end of block | 4 |
| 2019 | | - |
| 2020 | if (skip_file| TRUE | evaluated 5 times by 1 test | | FALSE | evaluated 1581 times by 1 test |
) | 5-1581 |
| 2021 | ok = executed 5 times by 1 test: ok = 0 ; | 5 |
| 2022 | 0executed 5 times by 1 test: ok = 0 ; | 5 |
| 2023 | ;executed 5 times by 1 test: ok = 0 ; | 5 |
| 2024 | else | - |
| 2025 | { | - |
| 2026 | temp_argv[0] = file_name; | - |
| 2027 | ok &= du_files (temp_argv, bit_flags); | - |
| 2028 | }executed 1581 times by 1 test: end of block | 1581 |
| 2029 | } | - |
| 2030 | argv_iter_done: code before this statement never executed: argv_iter_done: | 0 |
| 2031 | | - |
| 2032 | argv_iter_free (ai); | - |
| 2033 | di_set_free (di_files); | - |
| 2034 | if (di_mnt| TRUE | never evaluated | | FALSE | evaluated 281 times by 1 test |
) | 0-281 |
| 2035 | di_set_free (di_mnt); never executed: di_set_free (di_mnt); | 0 |
| 2036 | | - |
| 2037 | if (files_from| TRUE | evaluated 11 times by 1 test | | FALSE | evaluated 270 times by 1 test |
&& (ferror_unlocked (| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 10 times by 1 test |
| 1-270 |
| 2038 | stdin| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 10 times by 1 test |
| 1-10 |
| 2039 | )| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 10 times by 1 test |
|| | 1-10 |
| 2040 | rpl_fclose | TRUE | never evaluated | | FALSE | evaluated 10 times by 1 test |
| 0-10 |
| 2041 | (| TRUE | never evaluated | | FALSE | evaluated 10 times by 1 test |
| 0-10 |
| 2042 | stdin| TRUE | never evaluated | | FALSE | evaluated 10 times by 1 test |
| 0-10 |
| 2043 | ) != 0| TRUE | never evaluated | | FALSE | evaluated 10 times by 1 test |
) && ok| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
) | 0-10 |
| 2044 | (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); !!sizeof (struct { _Static_assert (never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2045 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2046 | , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2047 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2048 | , 0, never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2049 | dcgettext (((void *)0), never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2050 | "error reading %s" never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2051 | , 5) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2052 | , quotearg_style (shell_escape_always_quoting_style, files_from)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2053 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2054 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2055 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2056 | , 0, never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2057 | dcgettext (((void *)0), never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2058 | "error reading %s" never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2059 | , 5) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2060 | , quotearg_style (shell_escape_always_quoting_style, files_from)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2061 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2062 | ) ? (void) 0 : __builtin_unreachable ())))); never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"error reading %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , ...ng_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "error reading %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
| 2063 | | - |
| 2064 | if (print_grand_total| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 280 times by 1 test |
) | 1-280 |
| 2065 | print_size (&tot_dui, executed 1 time by 1 test: print_size (&tot_dui, dcgettext (((void *)0), "total" , 5) ); | 1 |
| 2066 | dcgettext (((void *)0), executed 1 time by 1 test: print_size (&tot_dui, dcgettext (((void *)0), "total" , 5) ); | 1 |
| 2067 | "total"executed 1 time by 1 test: print_size (&tot_dui, dcgettext (((void *)0), "total" , 5) ); | 1 |
| 2068 | , 5)executed 1 time by 1 test: print_size (&tot_dui, dcgettext (((void *)0), "total" , 5) ); | 1 |
| 2069 | );executed 1 time by 1 test: print_size (&tot_dui, dcgettext (((void *)0), "total" , 5) ); | 1 |
| 2070 | | - |
| 2071 | returnexecuted 281 times by 1 test: return ok ? 0 : 1 ; ok ? executed 281 times by 1 test: return ok ? 0 : 1 ; | 281 |
| 2072 | 0 executed 281 times by 1 test: return ok ? 0 : 1 ; | 281 |
| 2073 | : executed 281 times by 1 test: return ok ? 0 : 1 ; | 281 |
| 2074 | 1executed 281 times by 1 test: return ok ? 0 : 1 ; | 281 |
| 2075 | ;executed 281 times by 1 test: return ok ? 0 : 1 ; | 281 |
| 2076 | } | - |
| | |