| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/wc.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||||||||||||||||||||
| 2 | - | |||||||||||||||||||||||||
| 3 | - | |||||||||||||||||||||||||
| 4 | static uintmax_t total_lines; | - | ||||||||||||||||||||||||
| 5 | static uintmax_t total_words; | - | ||||||||||||||||||||||||
| 6 | static uintmax_t total_chars; | - | ||||||||||||||||||||||||
| 7 | static uintmax_t total_bytes; | - | ||||||||||||||||||||||||
| 8 | static uintmax_t max_line_length; | - | ||||||||||||||||||||||||
| 9 | - | |||||||||||||||||||||||||
| 10 | - | |||||||||||||||||||||||||
| 11 | static | - | ||||||||||||||||||||||||
| 12 | _Bool | - | ||||||||||||||||||||||||
| 13 | print_lines, print_words, print_chars, print_bytes; | - | ||||||||||||||||||||||||
| 14 | static | - | ||||||||||||||||||||||||
| 15 | _Bool | - | ||||||||||||||||||||||||
| 16 | print_linelength; | - | ||||||||||||||||||||||||
| 17 | - | |||||||||||||||||||||||||
| 18 | - | |||||||||||||||||||||||||
| 19 | static int number_width; | - | ||||||||||||||||||||||||
| 20 | - | |||||||||||||||||||||||||
| 21 | - | |||||||||||||||||||||||||
| 22 | static | - | ||||||||||||||||||||||||
| 23 | _Bool | - | ||||||||||||||||||||||||
| 24 | have_read_stdin; | - | ||||||||||||||||||||||||
| 25 | - | |||||||||||||||||||||||||
| 26 | - | |||||||||||||||||||||||||
| 27 | static size_t page_size; | - | ||||||||||||||||||||||||
| 28 | - | |||||||||||||||||||||||||
| 29 | - | |||||||||||||||||||||||||
| 30 | struct fstatus | - | ||||||||||||||||||||||||
| 31 | { | - | ||||||||||||||||||||||||
| 32 | - | |||||||||||||||||||||||||
| 33 | - | |||||||||||||||||||||||||
| 34 | int failed; | - | ||||||||||||||||||||||||
| 35 | - | |||||||||||||||||||||||||
| 36 | - | |||||||||||||||||||||||||
| 37 | struct stat st; | - | ||||||||||||||||||||||||
| 38 | }; | - | ||||||||||||||||||||||||
| 39 | - | |||||||||||||||||||||||||
| 40 | - | |||||||||||||||||||||||||
| 41 | - | |||||||||||||||||||||||||
| 42 | enum | - | ||||||||||||||||||||||||
| 43 | { | - | ||||||||||||||||||||||||
| 44 | FILES0_FROM_OPTION = 0x7f + 1 | - | ||||||||||||||||||||||||
| 45 | }; | - | ||||||||||||||||||||||||
| 46 | - | |||||||||||||||||||||||||
| 47 | static struct option const longopts[] = | - | ||||||||||||||||||||||||
| 48 | { | - | ||||||||||||||||||||||||
| 49 | {"bytes", | - | ||||||||||||||||||||||||
| 50 | 0 | - | ||||||||||||||||||||||||
| 51 | , | - | ||||||||||||||||||||||||
| 52 | ((void *)0) | - | ||||||||||||||||||||||||
| 53 | , 'c'}, | - | ||||||||||||||||||||||||
| 54 | {"chars", | - | ||||||||||||||||||||||||
| 55 | 0 | - | ||||||||||||||||||||||||
| 56 | , | - | ||||||||||||||||||||||||
| 57 | ((void *)0) | - | ||||||||||||||||||||||||
| 58 | , 'm'}, | - | ||||||||||||||||||||||||
| 59 | {"lines", | - | ||||||||||||||||||||||||
| 60 | 0 | - | ||||||||||||||||||||||||
| 61 | , | - | ||||||||||||||||||||||||
| 62 | ((void *)0) | - | ||||||||||||||||||||||||
| 63 | , 'l'}, | - | ||||||||||||||||||||||||
| 64 | {"words", | - | ||||||||||||||||||||||||
| 65 | 0 | - | ||||||||||||||||||||||||
| 66 | , | - | ||||||||||||||||||||||||
| 67 | ((void *)0) | - | ||||||||||||||||||||||||
| 68 | , 'w'}, | - | ||||||||||||||||||||||||
| 69 | {"files0-from", | - | ||||||||||||||||||||||||
| 70 | 1 | - | ||||||||||||||||||||||||
| 71 | , | - | ||||||||||||||||||||||||
| 72 | ((void *)0) | - | ||||||||||||||||||||||||
| 73 | , FILES0_FROM_OPTION}, | - | ||||||||||||||||||||||||
| 74 | {"max-line-length", | - | ||||||||||||||||||||||||
| 75 | 0 | - | ||||||||||||||||||||||||
| 76 | , | - | ||||||||||||||||||||||||
| 77 | ((void *)0) | - | ||||||||||||||||||||||||
| 78 | , 'L'}, | - | ||||||||||||||||||||||||
| 79 | {"help", | - | ||||||||||||||||||||||||
| 80 | 0 | - | ||||||||||||||||||||||||
| 81 | , | - | ||||||||||||||||||||||||
| 82 | ((void *)0) | - | ||||||||||||||||||||||||
| 83 | , GETOPT_HELP_CHAR}, | - | ||||||||||||||||||||||||
| 84 | {"version", | - | ||||||||||||||||||||||||
| 85 | 0 | - | ||||||||||||||||||||||||
| 86 | , | - | ||||||||||||||||||||||||
| 87 | ((void *)0) | - | ||||||||||||||||||||||||
| 88 | , GETOPT_VERSION_CHAR}, | - | ||||||||||||||||||||||||
| 89 | { | - | ||||||||||||||||||||||||
| 90 | ((void *)0) | - | ||||||||||||||||||||||||
| 91 | , 0, | - | ||||||||||||||||||||||||
| 92 | ((void *)0) | - | ||||||||||||||||||||||||
| 93 | , 0} | - | ||||||||||||||||||||||||
| 94 | }; | - | ||||||||||||||||||||||||
| 95 | - | |||||||||||||||||||||||||
| 96 | void | - | ||||||||||||||||||||||||
| 97 | usage (int status) | - | ||||||||||||||||||||||||
| 98 | { | - | ||||||||||||||||||||||||
| 99 | if (status !=
| 4-14 | ||||||||||||||||||||||||
| 100 | 0
| 4-14 | ||||||||||||||||||||||||
| 101 | ) | - | ||||||||||||||||||||||||
| 102 | do { fprintf ( | - | ||||||||||||||||||||||||
| 103 | stderr | - | ||||||||||||||||||||||||
| 104 | , | - | ||||||||||||||||||||||||
| 105 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 106 | "Try '%s --help' for more information.\n" | - | ||||||||||||||||||||||||
| 107 | , 5) | - | ||||||||||||||||||||||||
| 108 | , program_name); } executed 4 times by 1 test: while (0);end of blockExecuted by:
| 4 | ||||||||||||||||||||||||
| 109 | else | - | ||||||||||||||||||||||||
| 110 | { | - | ||||||||||||||||||||||||
| 111 | printf ( | - | ||||||||||||||||||||||||
| 112 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 113 | "Usage: %s [OPTION]... [FILE]...\n or: %s [OPTION]... --files0-from=F\n" | - | ||||||||||||||||||||||||
| 114 | , 5) | - | ||||||||||||||||||||||||
| 115 | - | |||||||||||||||||||||||||
| 116 | - | |||||||||||||||||||||||||
| 117 | - | |||||||||||||||||||||||||
| 118 | , | - | ||||||||||||||||||||||||
| 119 | program_name, program_name); | - | ||||||||||||||||||||||||
| 120 | fputs_unlocked ( | - | ||||||||||||||||||||||||
| 121 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 122 | "Print newline, word, and byte counts for each FILE, and a total line if\nmore than one FILE is specified. A word is a non-zero-length sequence of\ncharacters delimited by white space.\n" | - | ||||||||||||||||||||||||
| 123 | , 5) | - | ||||||||||||||||||||||||
| 124 | , | - | ||||||||||||||||||||||||
| 125 | stdout | - | ||||||||||||||||||||||||
| 126 | ) | - | ||||||||||||||||||||||||
| 127 | - | |||||||||||||||||||||||||
| 128 | - | |||||||||||||||||||||||||
| 129 | - | |||||||||||||||||||||||||
| 130 | ; | - | ||||||||||||||||||||||||
| 131 | - | |||||||||||||||||||||||||
| 132 | emit_stdin_note (); | - | ||||||||||||||||||||||||
| 133 | - | |||||||||||||||||||||||||
| 134 | fputs_unlocked ( | - | ||||||||||||||||||||||||
| 135 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 136 | "\nThe options below may be used to select which counts are printed, always in\nthe following order: newline, word, character, byte, maximum line length.\n -c, --bytes print the byte counts\n -m, --chars print the character counts\n -l, --lines print the newline counts\n" | - | ||||||||||||||||||||||||
| 137 | , 5) | - | ||||||||||||||||||||||||
| 138 | , | - | ||||||||||||||||||||||||
| 139 | stdout | - | ||||||||||||||||||||||||
| 140 | ) | - | ||||||||||||||||||||||||
| 141 | - | |||||||||||||||||||||||||
| 142 | - | |||||||||||||||||||||||||
| 143 | - | |||||||||||||||||||||||||
| 144 | - | |||||||||||||||||||||||||
| 145 | - | |||||||||||||||||||||||||
| 146 | - | |||||||||||||||||||||||||
| 147 | ; | - | ||||||||||||||||||||||||
| 148 | fputs_unlocked ( | - | ||||||||||||||||||||||||
| 149 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 150 | " --files0-from=F read input from the files specified by\n NUL-terminated names in file F;\n If F is - then read names from standard input\n -L, --max-line-length print the maximum display width\n -w, --words print the word counts\n" | - | ||||||||||||||||||||||||
| 151 | , 5) | - | ||||||||||||||||||||||||
| 152 | , | - | ||||||||||||||||||||||||
| 153 | stdout | - | ||||||||||||||||||||||||
| 154 | ) | - | ||||||||||||||||||||||||
| 155 | - | |||||||||||||||||||||||||
| 156 | - | |||||||||||||||||||||||||
| 157 | - | |||||||||||||||||||||||||
| 158 | - | |||||||||||||||||||||||||
| 159 | - | |||||||||||||||||||||||||
| 160 | ; | - | ||||||||||||||||||||||||
| 161 | fputs_unlocked ( | - | ||||||||||||||||||||||||
| 162 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 163 | " --help display this help and exit\n" | - | ||||||||||||||||||||||||
| 164 | , 5) | - | ||||||||||||||||||||||||
| 165 | , | - | ||||||||||||||||||||||||
| 166 | stdout | - | ||||||||||||||||||||||||
| 167 | ); | - | ||||||||||||||||||||||||
| 168 | fputs_unlocked ( | - | ||||||||||||||||||||||||
| 169 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 170 | " --version output version information and exit\n" | - | ||||||||||||||||||||||||
| 171 | , 5) | - | ||||||||||||||||||||||||
| 172 | , | - | ||||||||||||||||||||||||
| 173 | stdout | - | ||||||||||||||||||||||||
| 174 | ); | - | ||||||||||||||||||||||||
| 175 | emit_ancillary_info ("wc"); | - | ||||||||||||||||||||||||
| 176 | } executed 14 times by 1 test: end of blockExecuted by:
| 14 | ||||||||||||||||||||||||
| 177 | exit (status); executed 18 times by 1 test: exit (status);Executed by:
| 18 | ||||||||||||||||||||||||
| 178 | } | - | ||||||||||||||||||||||||
| 179 | - | |||||||||||||||||||||||||
| 180 | - | |||||||||||||||||||||||||
| 181 | - | |||||||||||||||||||||||||
| 182 | static void | - | ||||||||||||||||||||||||
| 183 | write_counts (uintmax_t lines, | - | ||||||||||||||||||||||||
| 184 | uintmax_t words, | - | ||||||||||||||||||||||||
| 185 | uintmax_t chars, | - | ||||||||||||||||||||||||
| 186 | uintmax_t bytes, | - | ||||||||||||||||||||||||
| 187 | uintmax_t linelength, | - | ||||||||||||||||||||||||
| 188 | const char *file) | - | ||||||||||||||||||||||||
| 189 | { | - | ||||||||||||||||||||||||
| 190 | static char const format_sp_int[] = " %*s"; | - | ||||||||||||||||||||||||
| 191 | char const *format_int = format_sp_int + 1; | - | ||||||||||||||||||||||||
| 192 | char buf[((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)]; | - | ||||||||||||||||||||||||
| 193 | - | |||||||||||||||||||||||||
| 194 | if (print_lines
| 1244-6643 | ||||||||||||||||||||||||
| 195 | { | - | ||||||||||||||||||||||||
| 196 | printf (format_int, number_width, umaxtostr (lines, buf)); | - | ||||||||||||||||||||||||
| 197 | format_int = format_sp_int; | - | ||||||||||||||||||||||||
| 198 | } executed 6643 times by 1 test: end of blockExecuted by:
| 6643 | ||||||||||||||||||||||||
| 199 | if (print_words
| 1858-6029 | ||||||||||||||||||||||||
| 200 | { | - | ||||||||||||||||||||||||
| 201 | printf (format_int, number_width, umaxtostr (words, buf)); | - | ||||||||||||||||||||||||
| 202 | format_int = format_sp_int; | - | ||||||||||||||||||||||||
| 203 | } executed 6029 times by 1 test: end of blockExecuted by:
| 6029 | ||||||||||||||||||||||||
| 204 | if (print_chars
| 0-7887 | ||||||||||||||||||||||||
| 205 | { | - | ||||||||||||||||||||||||
| 206 | printf (format_int, number_width, umaxtostr (chars, buf)); | - | ||||||||||||||||||||||||
| 207 | format_int = format_sp_int; | - | ||||||||||||||||||||||||
| 208 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 209 | if (print_bytes
| 961-6926 | ||||||||||||||||||||||||
| 210 | { | - | ||||||||||||||||||||||||
| 211 | printf (format_int, number_width, umaxtostr (bytes, buf)); | - | ||||||||||||||||||||||||
| 212 | format_int = format_sp_int; | - | ||||||||||||||||||||||||
| 213 | } executed 6926 times by 1 test: end of blockExecuted by:
| 6926 | ||||||||||||||||||||||||
| 214 | if (print_linelength
| 339-7548 | ||||||||||||||||||||||||
| 215 | { | - | ||||||||||||||||||||||||
| 216 | printf (format_int, number_width, umaxtostr (linelength, buf)); | - | ||||||||||||||||||||||||
| 217 | } executed 339 times by 1 test: end of blockExecuted by:
| 339 | ||||||||||||||||||||||||
| 218 | if (file
| 1860-6027 | ||||||||||||||||||||||||
| 219 | printf (" %s", executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 220 | (__extension__ (__builtin_constant_p ( executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 221 | '\n' executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 222 | ) && !__builtin_constant_p ( executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 223 | file executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 224 | ) && ( executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 225 | '\n' executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 226 | ) == '\0' ? (char *) __rawmemchr ( executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 227 | file executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 228 | , executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 229 | '\n' executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 230 | ) : __builtin_strchr ( executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 231 | file executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 232 | , executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 233 | '\n' executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 234 | ))) executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 235 | ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file); executed 6027 times by 1 test: printf (" %s", (__extension__ (__builtin_constant_p ( '\n' ) && !__builtin_constant_p ( file ) && ( '\n' ) == '\0' ? (char *) __rawmemchr ( file , '\n' ) : __builtin_strchr ( file , '\n' ))) ? quotearg_n_style_colon (0, shell_escape_quoting_style, file) : file);Executed by:
| 6027 | ||||||||||||||||||||||||
| 236 | putchar_unlocked ('\n'); | - | ||||||||||||||||||||||||
| 237 | } executed 7887 times by 1 test: end of blockExecuted by:
| 7887 | ||||||||||||||||||||||||
| 238 | - | |||||||||||||||||||||||||
| 239 | - | |||||||||||||||||||||||||
| 240 | - | |||||||||||||||||||||||||
| 241 | - | |||||||||||||||||||||||||
| 242 | - | |||||||||||||||||||||||||
| 243 | static | - | ||||||||||||||||||||||||
| 244 | _Bool | - | ||||||||||||||||||||||||
| 245 | - | |||||||||||||||||||||||||
| 246 | wc (int fd, char const *file_x, struct fstatus *fstatus, off_t current_pos) | - | ||||||||||||||||||||||||
| 247 | { | - | ||||||||||||||||||||||||
| 248 | - | |||||||||||||||||||||||||
| 249 | _Bool | - | ||||||||||||||||||||||||
| 250 | ok = | - | ||||||||||||||||||||||||
| 251 | 1 | - | ||||||||||||||||||||||||
| 252 | ; | - | ||||||||||||||||||||||||
| 253 | char buf[(16 * 1024) + 1]; | - | ||||||||||||||||||||||||
| 254 | size_t bytes_read; | - | ||||||||||||||||||||||||
| 255 | uintmax_t lines, words, chars, bytes, linelength; | - | ||||||||||||||||||||||||
| 256 | - | |||||||||||||||||||||||||
| 257 | _Bool | - | ||||||||||||||||||||||||
| 258 | count_bytes, count_chars, count_complicated; | - | ||||||||||||||||||||||||
| 259 | char const *file = file_x
| 1860-6016 | ||||||||||||||||||||||||
| 260 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 261 | "standard input" | - | ||||||||||||||||||||||||
| 262 | , 5) | - | ||||||||||||||||||||||||
| 263 | ; | - | ||||||||||||||||||||||||
| 264 | - | |||||||||||||||||||||||||
| 265 | lines = words = chars = bytes = linelength = 0; | - | ||||||||||||||||||||||||
| 266 | - | |||||||||||||||||||||||||
| 267 | - | |||||||||||||||||||||||||
| 268 | - | |||||||||||||||||||||||||
| 269 | - | |||||||||||||||||||||||||
| 270 | if ( | - | ||||||||||||||||||||||||
| 271 | (
| 0-7876 | ||||||||||||||||||||||||
| 272 | > 1
| 0-7876 | ||||||||||||||||||||||||
| 273 | { | - | ||||||||||||||||||||||||
| 274 | count_bytes = print_bytes; | - | ||||||||||||||||||||||||
| 275 | count_chars = print_chars; | - | ||||||||||||||||||||||||
| 276 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 277 | else | - | ||||||||||||||||||||||||
| 278 | - | |||||||||||||||||||||||||
| 279 | { | - | ||||||||||||||||||||||||
| 280 | count_bytes = print_bytes
| 0-6915 | ||||||||||||||||||||||||
| 281 | count_chars = | - | ||||||||||||||||||||||||
| 282 | 0 | - | ||||||||||||||||||||||||
| 283 | ; | - | ||||||||||||||||||||||||
| 284 | } executed 7876 times by 1 test: end of blockExecuted by:
| 7876 | ||||||||||||||||||||||||
| 285 | count_complicated = print_words
| 339-6020 | ||||||||||||||||||||||||
| 286 | - | |||||||||||||||||||||||||
| 287 | - | |||||||||||||||||||||||||
| 288 | if (!count_bytes
| 0-6915 | ||||||||||||||||||||||||
| 289 | fdadvise (fd, 0, 0, FADVISE_SEQUENTIAL); executed 6977 times by 1 test: fdadvise (fd, 0, 0, FADVISE_SEQUENTIAL);Executed by:
| 6977 | ||||||||||||||||||||||||
| 290 | if (count_bytes
| 0-6915 | ||||||||||||||||||||||||
| 291 | { | - | ||||||||||||||||||||||||
| 292 | - | |||||||||||||||||||||||||
| 293 | _Bool | - | ||||||||||||||||||||||||
| 294 | skip_read = | - | ||||||||||||||||||||||||
| 295 | 0 | - | ||||||||||||||||||||||||
| 296 | ; | - | ||||||||||||||||||||||||
| 297 | - | |||||||||||||||||||||||||
| 298 | if (0 < fstatus->failed
| 2-897 | ||||||||||||||||||||||||
| 299 | fstatus->failed = fstat (fd, &fstatus->st); executed 897 times by 1 test: fstatus->failed = fstat (fd, &fstatus->st);Executed by:
| 897 | ||||||||||||||||||||||||
| 300 | - | |||||||||||||||||||||||||
| 301 | - | |||||||||||||||||||||||||
| 302 | - | |||||||||||||||||||||||||
| 303 | - | |||||||||||||||||||||||||
| 304 | if (! fstatus->failed
| 0-899 | ||||||||||||||||||||||||
| 305 | && 0 <= fstatus->st.st_size
| 0-453 | ||||||||||||||||||||||||
| 306 | { | - | ||||||||||||||||||||||||
| 307 | size_t end_pos = fstatus->st.st_size; | - | ||||||||||||||||||||||||
| 308 | if (current_pos < 0
| 4-449 | ||||||||||||||||||||||||
| 309 | current_pos = lseek (fd, 0, executed 449 times by 1 test: current_pos = lseek (fd, 0, 1 );Executed by:
| 449 | ||||||||||||||||||||||||
| 310 | 1 executed 449 times by 1 test: current_pos = lseek (fd, 0, 1 );Executed by:
| 449 | ||||||||||||||||||||||||
| 311 | ); executed 449 times by 1 test: current_pos = lseek (fd, 0, 1 );Executed by:
| 449 | ||||||||||||||||||||||||
| 312 | - | |||||||||||||||||||||||||
| 313 | if (end_pos % page_size
| 6-447 | ||||||||||||||||||||||||
| 314 | { | - | ||||||||||||||||||||||||
| 315 | bytes = end_pos < current_pos
| 0-447 | ||||||||||||||||||||||||
| 316 | skip_read = | - | ||||||||||||||||||||||||
| 317 | 1 | - | ||||||||||||||||||||||||
| 318 | ; | - | ||||||||||||||||||||||||
| 319 | } executed 447 times by 1 test: end of blockExecuted by:
| 447 | ||||||||||||||||||||||||
| 320 | else | - | ||||||||||||||||||||||||
| 321 | { | - | ||||||||||||||||||||||||
| 322 | off_t hi_pos = end_pos - end_pos % (((0 < (fstatus->st).st_blksize
| 0-6 | ||||||||||||||||||||||||
| 323 | 512 | - | ||||||||||||||||||||||||
| 324 | ) + 1); | - | ||||||||||||||||||||||||
| 325 | if (0 <= current_pos
| 0-6 | ||||||||||||||||||||||||
| 326 | && 0 <= lseek (fd, hi_pos,
| 0-2 | ||||||||||||||||||||||||
| 327 | 1
| 0-2 | ||||||||||||||||||||||||
| 328 | )
| 0-2 | ||||||||||||||||||||||||
| 329 | bytes = hi_pos - current_pos; executed 2 times by 1 test: bytes = hi_pos - current_pos;Executed by:
| 2 | ||||||||||||||||||||||||
| 330 | } executed 6 times by 1 test: end of blockExecuted by:
| 6 | ||||||||||||||||||||||||
| 331 | } | - | ||||||||||||||||||||||||
| 332 | - | |||||||||||||||||||||||||
| 333 | if (! skip_read
| 447-452 | ||||||||||||||||||||||||
| 334 | { | - | ||||||||||||||||||||||||
| 335 | fdadvise (fd, 0, 0, FADVISE_SEQUENTIAL); | - | ||||||||||||||||||||||||
| 336 | while ((
| 452-31047 | ||||||||||||||||||||||||
| 337 | { | - | ||||||||||||||||||||||||
| 338 | if (bytes_read == ((size_t) -1)
| 0-31047 | ||||||||||||||||||||||||
| 339 | { | - | ||||||||||||||||||||||||
| 340 | error (0, | - | ||||||||||||||||||||||||
| 341 | (*__errno_location ()) | - | ||||||||||||||||||||||||
| 342 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)); | - | ||||||||||||||||||||||||
| 343 | ok = | - | ||||||||||||||||||||||||
| 344 | 0 | - | ||||||||||||||||||||||||
| 345 | ; | - | ||||||||||||||||||||||||
| 346 | break; never executed: break; | 0 | ||||||||||||||||||||||||
| 347 | } | - | ||||||||||||||||||||||||
| 348 | bytes += bytes_read; | - | ||||||||||||||||||||||||
| 349 | } executed 31047 times by 1 test: end of blockExecuted by:
| 31047 | ||||||||||||||||||||||||
| 350 | } executed 452 times by 1 test: end of blockExecuted by:
| 452 | ||||||||||||||||||||||||
| 351 | } executed 899 times by 1 test: end of blockExecuted by:
| 899 | ||||||||||||||||||||||||
| 352 | else if (!count_chars
| 0-6977 | ||||||||||||||||||||||||
| 353 | { | - | ||||||||||||||||||||||||
| 354 | - | |||||||||||||||||||||||||
| 355 | - | |||||||||||||||||||||||||
| 356 | - | |||||||||||||||||||||||||
| 357 | _Bool | - | ||||||||||||||||||||||||
| 358 | long_lines = | - | ||||||||||||||||||||||||
| 359 | 0 | - | ||||||||||||||||||||||||
| 360 | ; | - | ||||||||||||||||||||||||
| 361 | while ((
| 618-735 | ||||||||||||||||||||||||
| 362 | { | - | ||||||||||||||||||||||||
| 363 | if (bytes_read == ((size_t) -1)
| 0-735 | ||||||||||||||||||||||||
| 364 | { | - | ||||||||||||||||||||||||
| 365 | error (0, | - | ||||||||||||||||||||||||
| 366 | (*__errno_location ()) | - | ||||||||||||||||||||||||
| 367 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)); | - | ||||||||||||||||||||||||
| 368 | ok = | - | ||||||||||||||||||||||||
| 369 | 0 | - | ||||||||||||||||||||||||
| 370 | ; | - | ||||||||||||||||||||||||
| 371 | break; never executed: break; | 0 | ||||||||||||||||||||||||
| 372 | } | - | ||||||||||||||||||||||||
| 373 | - | |||||||||||||||||||||||||
| 374 | bytes += bytes_read; | - | ||||||||||||||||||||||||
| 375 | - | |||||||||||||||||||||||||
| 376 | char *p = buf; | - | ||||||||||||||||||||||||
| 377 | char *end = p + bytes_read; | - | ||||||||||||||||||||||||
| 378 | uintmax_t plines = lines; | - | ||||||||||||||||||||||||
| 379 | - | |||||||||||||||||||||||||
| 380 | if (! long_lines
| 0-735 | ||||||||||||||||||||||||
| 381 | { | - | ||||||||||||||||||||||||
| 382 | - | |||||||||||||||||||||||||
| 383 | while (p != end
| 735-1164258 | ||||||||||||||||||||||||
| 384 | lines += *p++ == '\n'; executed 1164258 times by 1 test: lines += *p++ == '\n';Executed by:
| 1164258 | ||||||||||||||||||||||||
| 385 | } executed 735 times by 1 test: end of blockExecuted by:
| 735 | ||||||||||||||||||||||||
| 386 | else | - | ||||||||||||||||||||||||
| 387 | { | - | ||||||||||||||||||||||||
| 388 | - | |||||||||||||||||||||||||
| 389 | while ((
| 0 | ||||||||||||||||||||||||
| 390 | { | - | ||||||||||||||||||||||||
| 391 | ++p; | - | ||||||||||||||||||||||||
| 392 | ++lines; | - | ||||||||||||||||||||||||
| 393 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 394 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 395 | - | |||||||||||||||||||||||||
| 396 | - | |||||||||||||||||||||||||
| 397 | - | |||||||||||||||||||||||||
| 398 | - | |||||||||||||||||||||||||
| 399 | - | |||||||||||||||||||||||||
| 400 | - | |||||||||||||||||||||||||
| 401 | - | |||||||||||||||||||||||||
| 402 | if (lines - plines <= bytes_read / 15
| 201-534 | ||||||||||||||||||||||||
| 403 | long_lines = executed 534 times by 1 test: long_lines = 1 ;Executed by:
| 534 | ||||||||||||||||||||||||
| 404 | 1 executed 534 times by 1 test: long_lines = 1 ;Executed by:
| 534 | ||||||||||||||||||||||||
| 405 | ; executed 534 times by 1 test: long_lines = 1 ;Executed by:
| 534 | ||||||||||||||||||||||||
| 406 | else | - | ||||||||||||||||||||||||
| 407 | long_lines = executed 201 times by 1 test: long_lines = 0 ;Executed by:
| 201 | ||||||||||||||||||||||||
| 408 | 0 executed 201 times by 1 test: long_lines = 0 ;Executed by:
| 201 | ||||||||||||||||||||||||
| 409 | ; executed 201 times by 1 test: long_lines = 0 ;Executed by:
| 201 | ||||||||||||||||||||||||
| 410 | } | - | ||||||||||||||||||||||||
| 411 | } executed 618 times by 1 test: end of blockExecuted by:
| 618 | ||||||||||||||||||||||||
| 412 | - | |||||||||||||||||||||||||
| 413 | - | |||||||||||||||||||||||||
| 414 | else if ( | - | ||||||||||||||||||||||||
| 415 | (
| 0-6359 | ||||||||||||||||||||||||
| 416 | > 1
| 0-6359 | ||||||||||||||||||||||||
| 417 | { | - | ||||||||||||||||||||||||
| 418 | - | |||||||||||||||||||||||||
| 419 | _Bool | - | ||||||||||||||||||||||||
| 420 | in_word = | - | ||||||||||||||||||||||||
| 421 | 0 | - | ||||||||||||||||||||||||
| 422 | ; | - | ||||||||||||||||||||||||
| 423 | uintmax_t linepos = 0; | - | ||||||||||||||||||||||||
| 424 | mbstate_t state = { 0, }; | - | ||||||||||||||||||||||||
| 425 | - | |||||||||||||||||||||||||
| 426 | _Bool | - | ||||||||||||||||||||||||
| 427 | in_shift = | - | ||||||||||||||||||||||||
| 428 | 0 | - | ||||||||||||||||||||||||
| 429 | ; | - | ||||||||||||||||||||||||
| 430 | size_t prev = 0; | - | ||||||||||||||||||||||||
| 431 | - | |||||||||||||||||||||||||
| 432 | - | |||||||||||||||||||||||||
| 433 | - | |||||||||||||||||||||||||
| 434 | - | |||||||||||||||||||||||||
| 435 | while ((
| 0 | ||||||||||||||||||||||||
| 436 | { | - | ||||||||||||||||||||||||
| 437 | const char *p; | - | ||||||||||||||||||||||||
| 438 | - | |||||||||||||||||||||||||
| 439 | mbstate_t backup_state; | - | ||||||||||||||||||||||||
| 440 | - | |||||||||||||||||||||||||
| 441 | if (bytes_read == ((size_t) -1)
| 0 | ||||||||||||||||||||||||
| 442 | { | - | ||||||||||||||||||||||||
| 443 | error (0, | - | ||||||||||||||||||||||||
| 444 | (*__errno_location ()) | - | ||||||||||||||||||||||||
| 445 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)); | - | ||||||||||||||||||||||||
| 446 | ok = | - | ||||||||||||||||||||||||
| 447 | 0 | - | ||||||||||||||||||||||||
| 448 | ; | - | ||||||||||||||||||||||||
| 449 | break; never executed: break; | 0 | ||||||||||||||||||||||||
| 450 | } | - | ||||||||||||||||||||||||
| 451 | - | |||||||||||||||||||||||||
| 452 | bytes += bytes_read; | - | ||||||||||||||||||||||||
| 453 | p = buf; | - | ||||||||||||||||||||||||
| 454 | bytes_read += prev; | - | ||||||||||||||||||||||||
| 455 | do | - | ||||||||||||||||||||||||
| 456 | { | - | ||||||||||||||||||||||||
| 457 | wchar_t wide_char; | - | ||||||||||||||||||||||||
| 458 | size_t n; | - | ||||||||||||||||||||||||
| 459 | - | |||||||||||||||||||||||||
| 460 | if (!in_shift
| 0 | ||||||||||||||||||||||||
| 461 | { | - | ||||||||||||||||||||||||
| 462 | - | |||||||||||||||||||||||||
| 463 | - | |||||||||||||||||||||||||
| 464 | n = 1; | - | ||||||||||||||||||||||||
| 465 | wide_char = *p; | - | ||||||||||||||||||||||||
| 466 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 467 | else | - | ||||||||||||||||||||||||
| 468 | { | - | ||||||||||||||||||||||||
| 469 | in_shift = | - | ||||||||||||||||||||||||
| 470 | 1 | - | ||||||||||||||||||||||||
| 471 | ; | - | ||||||||||||||||||||||||
| 472 | - | |||||||||||||||||||||||||
| 473 | backup_state = state; | - | ||||||||||||||||||||||||
| 474 | - | |||||||||||||||||||||||||
| 475 | n = | - | ||||||||||||||||||||||||
| 476 | rpl_mbrtowc | - | ||||||||||||||||||||||||
| 477 | (&wide_char, p, bytes_read, &state); | - | ||||||||||||||||||||||||
| 478 | if (n == (size_t) -2
| 0 | ||||||||||||||||||||||||
| 479 | { | - | ||||||||||||||||||||||||
| 480 | - | |||||||||||||||||||||||||
| 481 | state = backup_state; | - | ||||||||||||||||||||||||
| 482 | - | |||||||||||||||||||||||||
| 483 | break; never executed: break; | 0 | ||||||||||||||||||||||||
| 484 | } | - | ||||||||||||||||||||||||
| 485 | if (n == (size_t) -1
| 0 | ||||||||||||||||||||||||
| 486 | { | - | ||||||||||||||||||||||||
| 487 | - | |||||||||||||||||||||||||
| 488 | - | |||||||||||||||||||||||||
| 489 | - | |||||||||||||||||||||||||
| 490 | - | |||||||||||||||||||||||||
| 491 | p++; | - | ||||||||||||||||||||||||
| 492 | bytes_read--; | - | ||||||||||||||||||||||||
| 493 | continue; never executed: continue; | 0 | ||||||||||||||||||||||||
| 494 | } | - | ||||||||||||||||||||||||
| 495 | if (mbsinit (&state)
| 0 | ||||||||||||||||||||||||
| 496 | in_shift = never executed: in_shift = 0 ; | 0 | ||||||||||||||||||||||||
| 497 | 0 never executed: in_shift = 0 ; | 0 | ||||||||||||||||||||||||
| 498 | ; never executed: in_shift = 0 ; | 0 | ||||||||||||||||||||||||
| 499 | if (n == 0
| 0 | ||||||||||||||||||||||||
| 500 | { | - | ||||||||||||||||||||||||
| 501 | wide_char = 0; | - | ||||||||||||||||||||||||
| 502 | n = 1; | - | ||||||||||||||||||||||||
| 503 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 504 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 505 | p += n; | - | ||||||||||||||||||||||||
| 506 | bytes_read -= n; | - | ||||||||||||||||||||||||
| 507 | chars++; | - | ||||||||||||||||||||||||
| 508 | switch (wide_char) | - | ||||||||||||||||||||||||
| 509 | { | - | ||||||||||||||||||||||||
| 510 | case never executed: '\n':case '\n':never executed: case '\n': | 0 | ||||||||||||||||||||||||
| 511 | lines++; | - | ||||||||||||||||||||||||
| 512 | ((void) 0); | - | ||||||||||||||||||||||||
| 513 | case never executed: '\r':case '\r':never executed: case '\r':code before this statement never executed: case '\r': | 0 | ||||||||||||||||||||||||
| 514 | case never executed: '\f':case '\f':never executed: case '\f': | 0 | ||||||||||||||||||||||||
| 515 | if (linepos > linelength
| 0 | ||||||||||||||||||||||||
| 516 | linelength = linepos; never executed: linelength = linepos; | 0 | ||||||||||||||||||||||||
| 517 | linepos = 0; | - | ||||||||||||||||||||||||
| 518 | goto never executed: mb_word_separator;goto mb_word_separator;never executed: goto mb_word_separator; | 0 | ||||||||||||||||||||||||
| 519 | case never executed: '\t':case '\t':never executed: case '\t': | 0 | ||||||||||||||||||||||||
| 520 | linepos += 8 - (linepos % 8); | - | ||||||||||||||||||||||||
| 521 | goto never executed: mb_word_separator;goto mb_word_separator;never executed: goto mb_word_separator; | 0 | ||||||||||||||||||||||||
| 522 | case never executed: ' ':case ' ':never executed: case ' ': | 0 | ||||||||||||||||||||||||
| 523 | linepos++; | - | ||||||||||||||||||||||||
| 524 | ((void) 0); | - | ||||||||||||||||||||||||
| 525 | case never executed: '\v':case '\v':never executed: case '\v':code before this statement never executed: case '\v': | 0 | ||||||||||||||||||||||||
| 526 | mb_word_separator: | - | ||||||||||||||||||||||||
| 527 | words += in_word; | - | ||||||||||||||||||||||||
| 528 | in_word = | - | ||||||||||||||||||||||||
| 529 | 0 | - | ||||||||||||||||||||||||
| 530 | ; | - | ||||||||||||||||||||||||
| 531 | break; never executed: break; | 0 | ||||||||||||||||||||||||
| 532 | default never executed: :default:never executed: default: | 0 | ||||||||||||||||||||||||
| 533 | if (iswprint (wide_char)
| 0 | ||||||||||||||||||||||||
| 534 | { | - | ||||||||||||||||||||||||
| 535 | int width = wcwidth (wide_char); | - | ||||||||||||||||||||||||
| 536 | if (width > 0
| 0 | ||||||||||||||||||||||||
| 537 | linepos += width; never executed: linepos += width; | 0 | ||||||||||||||||||||||||
| 538 | if (iswspace (wide_char)
| 0 | ||||||||||||||||||||||||
| 539 | goto never executed: mb_word_separator;goto mb_word_separator;never executed: goto mb_word_separator; | 0 | ||||||||||||||||||||||||
| 540 | in_word = | - | ||||||||||||||||||||||||
| 541 | 1 | - | ||||||||||||||||||||||||
| 542 | ; | - | ||||||||||||||||||||||||
| 543 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 544 | break; never executed: break; | 0 | ||||||||||||||||||||||||
| 545 | } | - | ||||||||||||||||||||||||
| 546 | } | - | ||||||||||||||||||||||||
| 547 | while (bytes_read > 0
| 0 | ||||||||||||||||||||||||
| 548 | - | |||||||||||||||||||||||||
| 549 | - | |||||||||||||||||||||||||
| 550 | if (bytes_read > 0
| 0 | ||||||||||||||||||||||||
| 551 | { | - | ||||||||||||||||||||||||
| 552 | if (bytes_read == (16 * 1024)
| 0 | ||||||||||||||||||||||||
| 553 | { | - | ||||||||||||||||||||||||
| 554 | - | |||||||||||||||||||||||||
| 555 | p++; | - | ||||||||||||||||||||||||
| 556 | bytes_read--; | - | ||||||||||||||||||||||||
| 557 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 558 | memmove (buf, p, bytes_read); | - | ||||||||||||||||||||||||
| 559 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 560 | prev = bytes_read; | - | ||||||||||||||||||||||||
| 561 | - | |||||||||||||||||||||||||
| 562 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 563 | if (linepos > linelength
| 0 | ||||||||||||||||||||||||
| 564 | linelength = linepos; never executed: linelength = linepos; | 0 | ||||||||||||||||||||||||
| 565 | words += in_word; | - | ||||||||||||||||||||||||
| 566 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 567 | - | |||||||||||||||||||||||||
| 568 | else | - | ||||||||||||||||||||||||
| 569 | { | - | ||||||||||||||||||||||||
| 570 | - | |||||||||||||||||||||||||
| 571 | _Bool | - | ||||||||||||||||||||||||
| 572 | in_word = | - | ||||||||||||||||||||||||
| 573 | 0 | - | ||||||||||||||||||||||||
| 574 | ; | - | ||||||||||||||||||||||||
| 575 | uintmax_t linepos = 0; | - | ||||||||||||||||||||||||
| 576 | - | |||||||||||||||||||||||||
| 577 | while ((
| 349-6359 | ||||||||||||||||||||||||
| 578 | { | - | ||||||||||||||||||||||||
| 579 | const char *p = buf; | - | ||||||||||||||||||||||||
| 580 | if (bytes_read == ((size_t) -1)
| 0-349 | ||||||||||||||||||||||||
| 581 | { | - | ||||||||||||||||||||||||
| 582 | error (0, | - | ||||||||||||||||||||||||
| 583 | (*__errno_location ()) | - | ||||||||||||||||||||||||
| 584 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)); | - | ||||||||||||||||||||||||
| 585 | ok = | - | ||||||||||||||||||||||||
| 586 | 0 | - | ||||||||||||||||||||||||
| 587 | ; | - | ||||||||||||||||||||||||
| 588 | break; never executed: break; | 0 | ||||||||||||||||||||||||
| 589 | } | - | ||||||||||||||||||||||||
| 590 | - | |||||||||||||||||||||||||
| 591 | bytes += bytes_read; | - | ||||||||||||||||||||||||
| 592 | do | - | ||||||||||||||||||||||||
| 593 | { | - | ||||||||||||||||||||||||
| 594 | switch (*p++) | - | ||||||||||||||||||||||||
| 595 | { | - | ||||||||||||||||||||||||
| 596 | case executed 352 times by 1 test: '\n':case '\n':Executed by:
executed 352 times by 1 test: case '\n':Executed by:
| 352 | ||||||||||||||||||||||||
| 597 | lines++; | - | ||||||||||||||||||||||||
| 598 | ((void) 0); | - | ||||||||||||||||||||||||
| 599 | case never executed: case '\r':code before this statement executed 352 times by 1 test: case '\r':Executed by:
never executed: '\r':case '\r':code before this statement executed 352 times by 1 test: case '\r':Executed by:
never executed: case '\r': | 0-352 | ||||||||||||||||||||||||
| 600 | case never executed: '\f':case '\f':never executed: case '\f': | 0 | ||||||||||||||||||||||||
| 601 | if (linepos > linelength
| 3-349 | ||||||||||||||||||||||||
| 602 | linelength = linepos; executed 349 times by 1 test: linelength = linepos;Executed by:
| 349 | ||||||||||||||||||||||||
| 603 | linepos = 0; | - | ||||||||||||||||||||||||
| 604 | goto executed 352 times by 1 test: word_separator;goto word_separator;Executed by:
executed 352 times by 1 test: goto word_separator;Executed by:
| 352 | ||||||||||||||||||||||||
| 605 | case never executed: '\t':case '\t':never executed: case '\t': | 0 | ||||||||||||||||||||||||
| 606 | linepos += 8 - (linepos % 8); | - | ||||||||||||||||||||||||
| 607 | goto never executed: word_separator;goto word_separator;never executed: goto word_separator; | 0 | ||||||||||||||||||||||||
| 608 | case executed 7 times by 1 test: ' ':case ' ':Executed by:
executed 7 times by 1 test: case ' ':Executed by:
| 7 | ||||||||||||||||||||||||
| 609 | linepos++; | - | ||||||||||||||||||||||||
| 610 | ((void) 0); | - | ||||||||||||||||||||||||
| 611 | case never executed: case '\v':code before this statement executed 7 times by 1 test: case '\v':Executed by:
never executed: '\v':case '\v':code before this statement executed 7 times by 1 test: case '\v':Executed by:
never executed: case '\v': | 0-7 | ||||||||||||||||||||||||
| 612 | word_separator: | - | ||||||||||||||||||||||||
| 613 | words += in_word; | - | ||||||||||||||||||||||||
| 614 | in_word = | - | ||||||||||||||||||||||||
| 615 | 0 | - | ||||||||||||||||||||||||
| 616 | ; | - | ||||||||||||||||||||||||
| 617 | break; executed 359 times by 1 test: break;Executed by:
| 359 | ||||||||||||||||||||||||
| 618 | default executed 1394 times by 1 test: :default:Executed by:
executed 1394 times by 1 test: default:Executed by:
| 1394 | ||||||||||||||||||||||||
| 619 | if ( | - | ||||||||||||||||||||||||
| 620 | ((*
| 0-1394 | ||||||||||||||||||||||||
| 621 | to_uchar (p[-1])
| 0-1394 | ||||||||||||||||||||||||
| 622 | ))] & (unsigned short int) _ISprint)
| 0-1394 | ||||||||||||||||||||||||
| 623 | ) | - | ||||||||||||||||||||||||
| 624 | { | - | ||||||||||||||||||||||||
| 625 | linepos++; | - | ||||||||||||||||||||||||
| 626 | if ( | - | ||||||||||||||||||||||||
| 627 | ((*
| 0-1394 | ||||||||||||||||||||||||
| 628 | to_uchar (p[-1])
| 0-1394 | ||||||||||||||||||||||||
| 629 | ))] & (unsigned short int) _ISspace)
| 0-1394 | ||||||||||||||||||||||||
| 630 | ) | - | ||||||||||||||||||||||||
| 631 | goto never executed: word_separator;goto word_separator;never executed: goto word_separator; | 0 | ||||||||||||||||||||||||
| 632 | in_word = | - | ||||||||||||||||||||||||
| 633 | 1 | - | ||||||||||||||||||||||||
| 634 | ; | - | ||||||||||||||||||||||||
| 635 | } executed 1394 times by 1 test: end of blockExecuted by:
| 1394 | ||||||||||||||||||||||||
| 636 | break; executed 1394 times by 1 test: break;Executed by:
| 1394 | ||||||||||||||||||||||||
| 637 | } | - | ||||||||||||||||||||||||
| 638 | } | - | ||||||||||||||||||||||||
| 639 | while (--
| 349-1404 | ||||||||||||||||||||||||
| 640 | } executed 349 times by 1 test: end of blockExecuted by:
| 349 | ||||||||||||||||||||||||
| 641 | if (linepos > linelength
| 2-6357 | ||||||||||||||||||||||||
| 642 | linelength = linepos; executed 2 times by 1 test: linelength = linepos;Executed by:
| 2 | ||||||||||||||||||||||||
| 643 | words += in_word; | - | ||||||||||||||||||||||||
| 644 | } executed 6359 times by 1 test: end of blockExecuted by:
| 6359 | ||||||||||||||||||||||||
| 645 | - | |||||||||||||||||||||||||
| 646 | if (count_chars < print_chars
| 0-7876 | ||||||||||||||||||||||||
| 647 | chars = bytes; never executed: chars = bytes; | 0 | ||||||||||||||||||||||||
| 648 | - | |||||||||||||||||||||||||
| 649 | write_counts (lines, words, chars, bytes, linelength, file_x); | - | ||||||||||||||||||||||||
| 650 | total_lines += lines; | - | ||||||||||||||||||||||||
| 651 | total_words += words; | - | ||||||||||||||||||||||||
| 652 | total_chars += chars; | - | ||||||||||||||||||||||||
| 653 | total_bytes += bytes; | - | ||||||||||||||||||||||||
| 654 | if (linelength > max_line_length
| 349-7527 | ||||||||||||||||||||||||
| 655 | max_line_length = linelength; executed 349 times by 1 test: max_line_length = linelength;Executed by:
| 349 | ||||||||||||||||||||||||
| 656 | - | |||||||||||||||||||||||||
| 657 | return executed 7876 times by 1 test: ok;return ok;Executed by:
executed 7876 times by 1 test: return ok;Executed by:
| 7876 | ||||||||||||||||||||||||
| 658 | } | - | ||||||||||||||||||||||||
| 659 | - | |||||||||||||||||||||||||
| 660 | static | - | ||||||||||||||||||||||||
| 661 | _Bool | - | ||||||||||||||||||||||||
| 662 | - | |||||||||||||||||||||||||
| 663 | wc_file (char const *file, struct fstatus *fstatus) | - | ||||||||||||||||||||||||
| 664 | { | - | ||||||||||||||||||||||||
| 665 | if (! file
| 0-6016 | ||||||||||||||||||||||||
| 666 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
| 0-6016 | ||||||||||||||||||||||||
| 667 | file
| 0-6016 | ||||||||||||||||||||||||
| 668 | ) && __builtin_constant_p (
| 0-6016 | ||||||||||||||||||||||||
| 669 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 670 | ) && (__s1_len = __builtin_strlen (
| 0-6016 | ||||||||||||||||||||||||
| 671 | file
| 0-6016 | ||||||||||||||||||||||||
| 672 | ), __s2_len = __builtin_strlen (
| 0-6016 | ||||||||||||||||||||||||
| 673 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 674 | ), (!((size_t)(const void *)((
| 0-6016 | ||||||||||||||||||||||||
| 675 | file
| 0-6016 | ||||||||||||||||||||||||
| 676 | ) + 1) - (size_t)(const void *)(
| 0-6016 | ||||||||||||||||||||||||
| 677 | file
| 0-6016 | ||||||||||||||||||||||||
| 678 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
| 0-6016 | ||||||||||||||||||||||||
| 679 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 680 | ) + 1) - (size_t)(const void *)(
| 0-6016 | ||||||||||||||||||||||||
| 681 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 682 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
| 0-6016 | ||||||||||||||||||||||||
| 683 | file
| 0-6016 | ||||||||||||||||||||||||
| 684 | ,
| 0-6016 | ||||||||||||||||||||||||
| 685 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 686 | ) : (__builtin_constant_p (
| 0-6016 | ||||||||||||||||||||||||
| 687 | file
| 0-6016 | ||||||||||||||||||||||||
| 688 | ) && ((size_t)(const void *)((
| 0-6016 | ||||||||||||||||||||||||
| 689 | file
| 0-6016 | ||||||||||||||||||||||||
| 690 | ) + 1) - (size_t)(const void *)(
| 0-6016 | ||||||||||||||||||||||||
| 691 | file
| 0-6016 | ||||||||||||||||||||||||
| 692 | ) == 1) && (__s1_len = __builtin_strlen (
| 0-6016 | ||||||||||||||||||||||||
| 693 | file
| 0-6016 | ||||||||||||||||||||||||
| 694 | ), __s1_len < 4) ? (__builtin_constant_p (
| 0-6016 | ||||||||||||||||||||||||
| 695 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 696 | ) && ((size_t)(const void *)((
| 0-6016 | ||||||||||||||||||||||||
| 697 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 698 | ) + 1) - (size_t)(const void *)(
| 0-6016 | ||||||||||||||||||||||||
| 699 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 700 | ) == 1) ? __builtin_strcmp (
| 0-6016 | ||||||||||||||||||||||||
| 701 | file
| 0-6016 | ||||||||||||||||||||||||
| 702 | ,
| 0-6016 | ||||||||||||||||||||||||
| 703 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 704 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 0-6016 | ||||||||||||||||||||||||
| 705 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 706 | ); int __result = (((const unsigned char *) (const char *) (
| 0-6016 | ||||||||||||||||||||||||
| 707 | file
| 0-6016 | ||||||||||||||||||||||||
| 708 | ))[0] - __s2[0]); if (__s1_len > 0
| 0-6016 | ||||||||||||||||||||||||
| 709 | file
| 0-6016 | ||||||||||||||||||||||||
| 710 | ))[1] - __s2[1]); if (__s1_len > 1
| 0-6016 | ||||||||||||||||||||||||
| 711 | file
| 0-6016 | ||||||||||||||||||||||||
| 712 | ))[2] - __s2[2]); if (__s1_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]);
| 0-6016 | ||||||||||||||||||||||||
| 713 | file
never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]); | 0-6016 | ||||||||||||||||||||||||
| 714 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]);never executed: }end of blocknever executed: __result; }))) : (__builtin_constant_p (end of block
| 0-6016 | ||||||||||||||||||||||||
| 715 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 716 | ) && ((size_t)(const void *)((
| 0-6016 | ||||||||||||||||||||||||
| 717 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 718 | ) + 1) - (size_t)(const void *)(
| 0-6016 | ||||||||||||||||||||||||
| 719 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 720 | ) == 1) && (__s2_len = __builtin_strlen (
| 0-6016 | ||||||||||||||||||||||||
| 721 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 722 | ), __s2_len < 4) ? (__builtin_constant_p (
| 0-6016 | ||||||||||||||||||||||||
| 723 | file
| 0-6016 | ||||||||||||||||||||||||
| 724 | ) && ((size_t)(const void *)((
| 0-6016 | ||||||||||||||||||||||||
| 725 | file
| 0-6016 | ||||||||||||||||||||||||
| 726 | ) + 1) - (size_t)(const void *)(
| 0-6016 | ||||||||||||||||||||||||
| 727 | file
| 0-6016 | ||||||||||||||||||||||||
| 728 | ) == 1) ? __builtin_strcmp (
| 0-6016 | ||||||||||||||||||||||||
| 729 | file
| 0-6016 | ||||||||||||||||||||||||
| 730 | ,
| 0-6016 | ||||||||||||||||||||||||
| 731 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 732 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 0-6016 | ||||||||||||||||||||||||
| 733 | file
| 0-6016 | ||||||||||||||||||||||||
| 734 | ); int __result = (((const unsigned char *) (const char *) (
| 0-6016 | ||||||||||||||||||||||||
| 735 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 736 | ))[0] - __s2[0]); if (__s2_len > 0
| 0-6016 | ||||||||||||||||||||||||
| 737 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 738 | ))[1] - __s2[1]); if (__s2_len > 1
| 0-6016 | ||||||||||||||||||||||||
| 739 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 740 | ))[2] - __s2[2]); if (__s2_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
| 0-6016 | ||||||||||||||||||||||||
| 741 | "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-6016 | ||||||||||||||||||||||||
| 742 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);never executed: }end of blocknever executed: __result; }))) : __builtin_strcmp (end of block
| 0-6016 | ||||||||||||||||||||||||
| 743 | file
| 0-6016 | ||||||||||||||||||||||||
| 744 | ,
| 0-6016 | ||||||||||||||||||||||||
| 745 | "-"
| 0-6016 | ||||||||||||||||||||||||
| 746 | )))); })
| 0-6016 | ||||||||||||||||||||||||
| 747 | == 0)
| 0-6016 | ||||||||||||||||||||||||
| 748 | { | - | ||||||||||||||||||||||||
| 749 | have_read_stdin = | - | ||||||||||||||||||||||||
| 750 | 1 | - | ||||||||||||||||||||||||
| 751 | ; | - | ||||||||||||||||||||||||
| 752 | xset_binary_mode ( | - | ||||||||||||||||||||||||
| 753 | 0 | - | ||||||||||||||||||||||||
| 754 | , | - | ||||||||||||||||||||||||
| 755 | 0 | - | ||||||||||||||||||||||||
| 756 | ); | - | ||||||||||||||||||||||||
| 757 | return executed 1860 times by 1 test: wc (return wc ( 0 , file, fstatus, -1);Executed by:
executed 1860 times by 1 test: return wc ( 0 , file, fstatus, -1);Executed by:
| 1860 | ||||||||||||||||||||||||
| 758 | 0 executed 1860 times by 1 test: return wc ( 0 , file, fstatus, -1);Executed by:
| 1860 | ||||||||||||||||||||||||
| 759 | , file, fstatus, -1); executed 1860 times by 1 test: return wc ( 0 , file, fstatus, -1);Executed by:
| 1860 | ||||||||||||||||||||||||
| 760 | } | - | ||||||||||||||||||||||||
| 761 | else | - | ||||||||||||||||||||||||
| 762 | { | - | ||||||||||||||||||||||||
| 763 | int fd = open (file, | - | ||||||||||||||||||||||||
| 764 | 00 | - | ||||||||||||||||||||||||
| 765 | | | - | ||||||||||||||||||||||||
| 766 | 0 | - | ||||||||||||||||||||||||
| 767 | ); | - | ||||||||||||||||||||||||
| 768 | if (fd == -1
| 0-6016 | ||||||||||||||||||||||||
| 769 | { | - | ||||||||||||||||||||||||
| 770 | error (0, | - | ||||||||||||||||||||||||
| 771 | (*__errno_location ()) | - | ||||||||||||||||||||||||
| 772 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)); | - | ||||||||||||||||||||||||
| 773 | return never executed: return 0 ;never executed: return 0 ; | 0 | ||||||||||||||||||||||||
| 774 | 0 never executed: return 0 ; | 0 | ||||||||||||||||||||||||
| 775 | ; never executed: return 0 ; | 0 | ||||||||||||||||||||||||
| 776 | } | - | ||||||||||||||||||||||||
| 777 | else | - | ||||||||||||||||||||||||
| 778 | { | - | ||||||||||||||||||||||||
| 779 | - | |||||||||||||||||||||||||
| 780 | _Bool | - | ||||||||||||||||||||||||
| 781 | ok = wc (fd, file, fstatus, 0); | - | ||||||||||||||||||||||||
| 782 | if (close (fd) != 0
| 0-6016 | ||||||||||||||||||||||||
| 783 | { | - | ||||||||||||||||||||||||
| 784 | error (0, | - | ||||||||||||||||||||||||
| 785 | (*__errno_location ()) | - | ||||||||||||||||||||||||
| 786 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)); | - | ||||||||||||||||||||||||
| 787 | return never executed: return 0 ;never executed: return 0 ; | 0 | ||||||||||||||||||||||||
| 788 | 0 never executed: return 0 ; | 0 | ||||||||||||||||||||||||
| 789 | ; never executed: return 0 ; | 0 | ||||||||||||||||||||||||
| 790 | } | - | ||||||||||||||||||||||||
| 791 | return executed 6016 times by 1 test: ok;return ok;Executed by:
executed 6016 times by 1 test: return ok;Executed by:
| 6016 | ||||||||||||||||||||||||
| 792 | } | - | ||||||||||||||||||||||||
| 793 | } | - | ||||||||||||||||||||||||
| 794 | } | - | ||||||||||||||||||||||||
| 795 | - | |||||||||||||||||||||||||
| 796 | - | |||||||||||||||||||||||||
| 797 | - | |||||||||||||||||||||||||
| 798 | - | |||||||||||||||||||||||||
| 799 | - | |||||||||||||||||||||||||
| 800 | - | |||||||||||||||||||||||||
| 801 | - | |||||||||||||||||||||||||
| 802 | static struct fstatus * | - | ||||||||||||||||||||||||
| 803 | get_input_fstatus (size_t nfiles, char *const *file) | - | ||||||||||||||||||||||||
| 804 | { | - | ||||||||||||||||||||||||
| 805 | struct fstatus *fstatus = xnmalloc (nfiles ? nfiles : 1, sizeof *fstatus); | - | ||||||||||||||||||||||||
| 806 | - | |||||||||||||||||||||||||
| 807 | if (nfiles == 0
| 5-1874 | ||||||||||||||||||||||||
| 808 | || (nfiles == 1
| 10-1864 | ||||||||||||||||||||||||
| 809 | && ((
| 8-1856 | ||||||||||||||||||||||||
| 810 | + print_bytes + print_linelength)
| 8-1856 | ||||||||||||||||||||||||
| 811 | == 1)
| 8-1856 | ||||||||||||||||||||||||
| 812 | fstatus[0].failed = 1; executed 1861 times by 1 test: fstatus[0].failed = 1;Executed by:
| 1861 | ||||||||||||||||||||||||
| 813 | else | - | ||||||||||||||||||||||||
| 814 | { | - | ||||||||||||||||||||||||
| 815 | for (size_t i = 0; i < nfiles
| 18-6022 | ||||||||||||||||||||||||
| 816 | fstatus[i].failed = (! file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 817 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 818 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 819 | ) && __builtin_constant_p (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 820 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 821 | ) && (__s1_len = __builtin_strlen (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 822 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 823 | ), __s2_len = __builtin_strlen (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 824 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 825 | ), (!((size_t)(const void *)((
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 826 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 827 | ) + 1) - (size_t)(const void *)(
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 828 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 829 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 830 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 831 | ) + 1) - (size_t)(const void *)(
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 832 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 833 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 834 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 835 | ,
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 836 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 837 | ) : (__builtin_constant_p (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 838 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 839 | ) && ((size_t)(const void *)((
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 840 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 841 | ) + 1) - (size_t)(const void *)(
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 842 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 843 | ) == 1) && (__s1_len = __builtin_strlen (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 844 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 845 | ), __s1_len < 4) ? (__builtin_constant_p (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 846 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 847 | ) && ((size_t)(const void *)((
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 848 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 849 | ) + 1) - (size_t)(const void *)(
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 850 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 851 | ) == 1) ? __builtin_strcmp (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 852 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 853 | ,
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 854 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 855 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 856 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 857 | ); int __result = (((const unsigned char *) (const char *) (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 858 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 859 | ))[0] - __s2[0]); if (__s1_len > 0
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 0-6022 | ||||||||||||||||||||||||
| 860 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 861 | ))[1] - __s2[1]); if (__s1_len > 1
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 0-6022 | ||||||||||||||||||||||||
| 862 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 863 | ))[2] - __s2[2]); if (__s1_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( file[i] ))[3] - __s2[3]);
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 0-6022 | ||||||||||||||||||||||||
| 864 | file[i]
never executed: __result = (((const unsigned char *) (const char *) ( file[i] ))[3] - __s2[3]);executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 0-6022 | ||||||||||||||||||||||||
| 865 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( file[i] ))[3] - __s2[3]);never executed: }end of blocknever executed: __result; }))) : (__builtin_constant_p (end of block
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 0-6022 | ||||||||||||||||||||||||
| 866 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 867 | ) && ((size_t)(const void *)((
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 868 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 869 | ) + 1) - (size_t)(const void *)(
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 870 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 871 | ) == 1) && (__s2_len = __builtin_strlen (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 872 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 873 | ), __s2_len < 4) ? (__builtin_constant_p (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 874 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 875 | ) && ((size_t)(const void *)((
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 876 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 877 | ) + 1) - (size_t)(const void *)(
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 878 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 879 | ) == 1) ? __builtin_strcmp (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 880 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 881 | ,
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 882 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 883 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 884 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 885 | ); int __result = (((const unsigned char *) (const char *) (
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 886 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 887 | ))[0] - __s2[0]); if (__s2_len > 0
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 0-6022 | ||||||||||||||||||||||||
| 888 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 889 | ))[1] - __s2[1]); if (__s2_len > 1
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 0-6022 | ||||||||||||||||||||||||
| 890 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 891 | ))[2] - __s2[2]); if (__s2_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 0-6022 | ||||||||||||||||||||||||
| 892 | "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 0-6022 | ||||||||||||||||||||||||
| 893 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);never executed: } __result; }))) : __builtin_strcmp (end of block
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 0-6022 | ||||||||||||||||||||||||
| 894 | file[i]
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 895 | ,
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 896 | "-"
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 897 | )))); })
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 898 | == 0)
executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 1-6022 | ||||||||||||||||||||||||
| 899 | ? fstat ( executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 6022 | ||||||||||||||||||||||||
| 900 | 0 executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 6022 | ||||||||||||||||||||||||
| 901 | , &fstatus[i].st) executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 6022 | ||||||||||||||||||||||||
| 902 | : stat (file[i], &fstatus[i].st)); executed 6022 times by 1 test: fstatus[i].failed = (! file[i] || ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( file[i] ) && __builtin_constant_p ( "-" ) && (__s1_len = __builtin_strlen ( file[i] ), __s2_len = __builtin_strlen ( "-" ), (!((size_t)(const void *)((... __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( file[i] , "-" )))); }) == 0) ? fstat ( 0 , &fstatus[i].st) : stat (file[i], &fstatus[i].st));Executed by:
| 6022 | ||||||||||||||||||||||||
| 903 | } executed 18 times by 1 test: end of blockExecuted by:
| 18 | ||||||||||||||||||||||||
| 904 | - | |||||||||||||||||||||||||
| 905 | return executed 1879 times by 1 test: fstatus;return fstatus;Executed by:
executed 1879 times by 1 test: return fstatus;Executed by:
| 1879 | ||||||||||||||||||||||||
| 906 | } | - | ||||||||||||||||||||||||
| 907 | - | |||||||||||||||||||||||||
| 908 | - | |||||||||||||||||||||||||
| 909 | - | |||||||||||||||||||||||||
| 910 | - | |||||||||||||||||||||||||
| 911 | - | |||||||||||||||||||||||||
| 912 | static int __attribute__ ((__pure__)) | - | ||||||||||||||||||||||||
| 913 | compute_number_width (size_t nfiles, struct fstatus const *fstatus) | - | ||||||||||||||||||||||||
| 914 | { | - | ||||||||||||||||||||||||
| 915 | int width = 1; | - | ||||||||||||||||||||||||
| 916 | - | |||||||||||||||||||||||||
| 917 | if (0 < nfiles
| 5-1874 | ||||||||||||||||||||||||
| 918 | { | - | ||||||||||||||||||||||||
| 919 | int minimum_width = 1; | - | ||||||||||||||||||||||||
| 920 | uintmax_t regular_total = 0; | - | ||||||||||||||||||||||||
| 921 | - | |||||||||||||||||||||||||
| 922 | for (size_t i = 0; i < nfiles
| 18-6022 | ||||||||||||||||||||||||
| 923 | if (! fstatus[i].failed
| 5-6017 | ||||||||||||||||||||||||
| 924 | { | - | ||||||||||||||||||||||||
| 925 | if ( | - | ||||||||||||||||||||||||
| 926 | ((((
| 3-6014 | ||||||||||||||||||||||||
| 927 | fstatus[i].st.st_mode
| 3-6014 | ||||||||||||||||||||||||
| 928 | )) & 0170000) == (0100000))
| 3-6014 | ||||||||||||||||||||||||
| 929 | ) | - | ||||||||||||||||||||||||
| 930 | regular_total += fstatus[i].st.st_size; executed 6014 times by 1 test: regular_total += fstatus[i].st.st_size;Executed by:
| 6014 | ||||||||||||||||||||||||
| 931 | else | - | ||||||||||||||||||||||||
| 932 | minimum_width = 7; executed 3 times by 1 test: minimum_width = 7;Executed by:
| 3 | ||||||||||||||||||||||||
| 933 | } | - | ||||||||||||||||||||||||
| 934 | - | |||||||||||||||||||||||||
| 935 | for (; 10 <= regular_total
| 9-18 | ||||||||||||||||||||||||
| 936 | width++; executed 9 times by 1 test: width++;Executed by:
| 9 | ||||||||||||||||||||||||
| 937 | if (width < minimum_width
| 3-15 | ||||||||||||||||||||||||
| 938 | width = minimum_width; executed 3 times by 1 test: width = minimum_width;Executed by:
| 3 | ||||||||||||||||||||||||
| 939 | } executed 18 times by 1 test: end of blockExecuted by:
| 18 | ||||||||||||||||||||||||
| 940 | - | |||||||||||||||||||||||||
| 941 | return executed 1879 times by 1 test: width;return width;Executed by:
executed 1879 times by 1 test: return width;Executed by:
| 1879 | ||||||||||||||||||||||||
| 942 | } | - | ||||||||||||||||||||||||
| 943 | - | |||||||||||||||||||||||||
| 944 | - | |||||||||||||||||||||||||
| 945 | int | - | ||||||||||||||||||||||||
| 946 | main (int argc, char **argv) | - | ||||||||||||||||||||||||
| 947 | { | - | ||||||||||||||||||||||||
| 948 | - | |||||||||||||||||||||||||
| 949 | _Bool | - | ||||||||||||||||||||||||
| 950 | ok; | - | ||||||||||||||||||||||||
| 951 | int optc; | - | ||||||||||||||||||||||||
| 952 | size_t nfiles; | - | ||||||||||||||||||||||||
| 953 | char **files; | - | ||||||||||||||||||||||||
| 954 | char *files_from = | - | ||||||||||||||||||||||||
| 955 | ((void *)0) | - | ||||||||||||||||||||||||
| 956 | ; | - | ||||||||||||||||||||||||
| 957 | struct fstatus *fstatus; | - | ||||||||||||||||||||||||
| 958 | struct Tokens tok; | - | ||||||||||||||||||||||||
| 959 | - | |||||||||||||||||||||||||
| 960 | ; | - | ||||||||||||||||||||||||
| 961 | set_program_name (argv[0]); | - | ||||||||||||||||||||||||
| 962 | setlocale ( | - | ||||||||||||||||||||||||
| 963 | 6 | - | ||||||||||||||||||||||||
| 964 | , ""); | - | ||||||||||||||||||||||||
| 965 | bindtextdomain ("coreutils", "/usr/local/share/locale"); | - | ||||||||||||||||||||||||
| 966 | textdomain ("coreutils"); | - | ||||||||||||||||||||||||
| 967 | - | |||||||||||||||||||||||||
| 968 | atexit (close_stdout); | - | ||||||||||||||||||||||||
| 969 | - | |||||||||||||||||||||||||
| 970 | page_size = getpagesize (); | - | ||||||||||||||||||||||||
| 971 | - | |||||||||||||||||||||||||
| 972 | - | |||||||||||||||||||||||||
| 973 | setvbuf ( | - | ||||||||||||||||||||||||
| 974 | stdout | - | ||||||||||||||||||||||||
| 975 | , | - | ||||||||||||||||||||||||
| 976 | ((void *)0) | - | ||||||||||||||||||||||||
| 977 | , | - | ||||||||||||||||||||||||
| 978 | 1 | - | ||||||||||||||||||||||||
| 979 | , 0); | - | ||||||||||||||||||||||||
| 980 | - | |||||||||||||||||||||||||
| 981 | print_lines = print_words = print_chars = print_bytes = | - | ||||||||||||||||||||||||
| 982 | 0 | - | ||||||||||||||||||||||||
| 983 | ; | - | ||||||||||||||||||||||||
| 984 | print_linelength = | - | ||||||||||||||||||||||||
| 985 | 0 | - | ||||||||||||||||||||||||
| 986 | ; | - | ||||||||||||||||||||||||
| 987 | total_lines = total_words = total_chars = total_bytes = max_line_length = 0; | - | ||||||||||||||||||||||||
| 988 | - | |||||||||||||||||||||||||
| 989 | while ((
| 1881-1912 | ||||||||||||||||||||||||
| 990 | ((void *)0)
| 1881-1912 | ||||||||||||||||||||||||
| 991 | )) != -1
| 1881-1912 | ||||||||||||||||||||||||
| 992 | switch (optc) | - | ||||||||||||||||||||||||
| 993 | { | - | ||||||||||||||||||||||||
| 994 | case executed 899 times by 1 test: 'c':case 'c':Executed by:
executed 899 times by 1 test: case 'c':Executed by:
| 899 | ||||||||||||||||||||||||
| 995 | print_bytes = | - | ||||||||||||||||||||||||
| 996 | 1 | - | ||||||||||||||||||||||||
| 997 | ; | - | ||||||||||||||||||||||||
| 998 | break; executed 899 times by 1 test: break;Executed by:
| 899 | ||||||||||||||||||||||||
| 999 | - | |||||||||||||||||||||||||
| 1000 | case executed 2 times by 1 test: 'm':case 'm':Executed by:
executed 2 times by 1 test: case 'm':Executed by:
| 2 | ||||||||||||||||||||||||
| 1001 | print_chars = | - | ||||||||||||||||||||||||
| 1002 | 1 | - | ||||||||||||||||||||||||
| 1003 | ; | - | ||||||||||||||||||||||||
| 1004 | break; executed 2 times by 1 test: break;Executed by:
| 2 | ||||||||||||||||||||||||
| 1005 | - | |||||||||||||||||||||||||
| 1006 | case executed 620 times by 1 test: 'l':case 'l':Executed by:
executed 620 times by 1 test: case 'l':Executed by:
| 620 | ||||||||||||||||||||||||
| 1007 | print_lines = | - | ||||||||||||||||||||||||
| 1008 | 1 | - | ||||||||||||||||||||||||
| 1009 | ; | - | ||||||||||||||||||||||||
| 1010 | break; executed 620 times by 1 test: break;Executed by:
| 620 | ||||||||||||||||||||||||
| 1011 | - | |||||||||||||||||||||||||
| 1012 | case executed 6 times by 1 test: 'w':case 'w':Executed by:
executed 6 times by 1 test: case 'w':Executed by:
| 6 | ||||||||||||||||||||||||
| 1013 | print_words = | - | ||||||||||||||||||||||||
| 1014 | 1 | - | ||||||||||||||||||||||||
| 1015 | ; | - | ||||||||||||||||||||||||
| 1016 | break; executed 6 times by 1 test: break;Executed by:
| 6 | ||||||||||||||||||||||||
| 1017 | - | |||||||||||||||||||||||||
| 1018 | case executed 341 times by 1 test: 'L':case 'L':Executed by:
executed 341 times by 1 test: case 'L':Executed by:
| 341 | ||||||||||||||||||||||||
| 1019 | print_linelength = | - | ||||||||||||||||||||||||
| 1020 | 1 | - | ||||||||||||||||||||||||
| 1021 | ; | - | ||||||||||||||||||||||||
| 1022 | break; executed 341 times by 1 test: break;Executed by:
| 341 | ||||||||||||||||||||||||
| 1023 | - | |||||||||||||||||||||||||
| 1024 | case executed 18 times by 1 test: FILES0_FROM_OPTION:case FILES0_FROM_OPTION:Executed by:
executed 18 times by 1 test: case FILES0_FROM_OPTION:Executed by:
| 18 | ||||||||||||||||||||||||
| 1025 | files_from = optarg; | - | ||||||||||||||||||||||||
| 1026 | break; executed 18 times by 1 test: break;Executed by:
| 18 | ||||||||||||||||||||||||
| 1027 | - | |||||||||||||||||||||||||
| 1028 | case executed 14 times by 1 test: GETOPT_HELP_CHAR:case GETOPT_HELP_CHAR:Executed by:
executed 14 times by 1 test: usage (case GETOPT_HELP_CHAR:Executed by:
| 14 | ||||||||||||||||||||||||
| 1029 | 0 | - | ||||||||||||||||||||||||
| 1030 | ); break; never executed: ;break; | 0 | ||||||||||||||||||||||||
| 1031 | - | |||||||||||||||||||||||||
| 1032 | case executed 9 times by 1 test: GETOPT_VERSION_CHAR:case GETOPT_VERSION_CHAR:Executed by:
executed 9 times by 1 test: version_etc (case GETOPT_VERSION_CHAR:Executed by:
| 9 | ||||||||||||||||||||||||
| 1033 | stdout | - | ||||||||||||||||||||||||
| 1034 | , "wc", "GNU coreutils", Version, ("Paul Rubin"), ("David MacKenzie"), (char *) | - | ||||||||||||||||||||||||
| 1035 | ((void *)0) | - | ||||||||||||||||||||||||
| 1036 | ); exit ( executed 9 times by 1 test: exit ( 0 );Executed by:
| 9 | ||||||||||||||||||||||||
| 1037 | 0 executed 9 times by 1 test: exit ( 0 );Executed by:
| 9 | ||||||||||||||||||||||||
| 1038 | ); executed 9 times by 1 test: break;exit ( 0 );Executed by:
never executed: ;break; | 0-9 | ||||||||||||||||||||||||
| 1039 | - | |||||||||||||||||||||||||
| 1040 | default executed 3 times by 1 test: :default:Executed by:
executed 3 times by 1 test: default:Executed by:
| 3 | ||||||||||||||||||||||||
| 1041 | usage ( | - | ||||||||||||||||||||||||
| 1042 | 1 | - | ||||||||||||||||||||||||
| 1043 | ); | - | ||||||||||||||||||||||||
| 1044 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 1045 | - | |||||||||||||||||||||||||
| 1046 | if (! (print_lines
| 0-1263 | ||||||||||||||||||||||||
| 1047 | || print_linelength
| 23-339 | ||||||||||||||||||||||||
| 1048 | print_lines = print_words = print_bytes = executed 23 times by 1 test: print_lines = print_words = print_bytes = 1 ;Executed by:
| 23 | ||||||||||||||||||||||||
| 1049 | 1 executed 23 times by 1 test: print_lines = print_words = print_bytes = 1 ;Executed by:
| 23 | ||||||||||||||||||||||||
| 1050 | ; executed 23 times by 1 test: print_lines = print_words = print_bytes = 1 ;Executed by:
| 23 | ||||||||||||||||||||||||
| 1051 | - | |||||||||||||||||||||||||
| 1052 | - | |||||||||||||||||||||||||
| 1053 | _Bool | - | ||||||||||||||||||||||||
| 1054 | read_tokens = | - | ||||||||||||||||||||||||
| 1055 | 0 | - | ||||||||||||||||||||||||
| 1056 | ; | - | ||||||||||||||||||||||||
| 1057 | struct argv_iterator *ai; | - | ||||||||||||||||||||||||
| 1058 | if (files_from
| 17-1864 | ||||||||||||||||||||||||
| 1059 | { | - | ||||||||||||||||||||||||
| 1060 | FILE *stream; | - | ||||||||||||||||||||||||
| 1061 | - | |||||||||||||||||||||||||
| 1062 | - | |||||||||||||||||||||||||
| 1063 | - | |||||||||||||||||||||||||
| 1064 | if (optind < argc
| 1-16 | ||||||||||||||||||||||||
| 1065 | { | - | ||||||||||||||||||||||||
| 1066 | error (0, 0, | - | ||||||||||||||||||||||||
| 1067 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 1068 | "extra operand %s" | - | ||||||||||||||||||||||||
| 1069 | , 5) | - | ||||||||||||||||||||||||
| 1070 | , quotearg_style (shell_escape_always_quoting_style, argv[optind])); | - | ||||||||||||||||||||||||
| 1071 | fprintf ( | - | ||||||||||||||||||||||||
| 1072 | stderr | - | ||||||||||||||||||||||||
| 1073 | , "%s\n", | - | ||||||||||||||||||||||||
| 1074 | - | |||||||||||||||||||||||||
| 1075 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 1076 | "file operands cannot be combined with --files0-from" | - | ||||||||||||||||||||||||
| 1077 | , 5) | - | ||||||||||||||||||||||||
| 1078 | ); | - | ||||||||||||||||||||||||
| 1079 | usage ( | - | ||||||||||||||||||||||||
| 1080 | 1 | - | ||||||||||||||||||||||||
| 1081 | ); | - | ||||||||||||||||||||||||
| 1082 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 1083 | - | |||||||||||||||||||||||||
| 1084 | if ((
| 5-11 | ||||||||||||||||||||||||
| 1085 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
| 5-11 | ||||||||||||||||||||||||
| 1086 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1087 | ) && __builtin_constant_p (
| 5-11 | ||||||||||||||||||||||||
| 1088 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1089 | ) && (__s1_len = __builtin_strlen (
| 5-11 | ||||||||||||||||||||||||
| 1090 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1091 | ), __s2_len = __builtin_strlen (
| 5-11 | ||||||||||||||||||||||||
| 1092 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1093 | ), (!((size_t)(const void *)((
| 5-11 | ||||||||||||||||||||||||
| 1094 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1095 | ) + 1) - (size_t)(const void *)(
| 5-11 | ||||||||||||||||||||||||
| 1096 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1097 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
| 5-11 | ||||||||||||||||||||||||
| 1098 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1099 | ) + 1) - (size_t)(const void *)(
| 5-11 | ||||||||||||||||||||||||
| 1100 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1101 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
| 5-11 | ||||||||||||||||||||||||
| 1102 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1103 | ,
| 5-11 | ||||||||||||||||||||||||
| 1104 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1105 | ) : (__builtin_constant_p (
| 5-11 | ||||||||||||||||||||||||
| 1106 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1107 | ) && ((size_t)(const void *)((
| 5-11 | ||||||||||||||||||||||||
| 1108 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1109 | ) + 1) - (size_t)(const void *)(
| 5-11 | ||||||||||||||||||||||||
| 1110 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1111 | ) == 1) && (__s1_len = __builtin_strlen (
| 5-11 | ||||||||||||||||||||||||
| 1112 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1113 | ), __s1_len < 4) ? (__builtin_constant_p (
| 5-11 | ||||||||||||||||||||||||
| 1114 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1115 | ) && ((size_t)(const void *)((
| 5-11 | ||||||||||||||||||||||||
| 1116 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1117 | ) + 1) - (size_t)(const void *)(
| 5-11 | ||||||||||||||||||||||||
| 1118 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1119 | ) == 1) ? __builtin_strcmp (
| 5-11 | ||||||||||||||||||||||||
| 1120 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1121 | ,
| 5-11 | ||||||||||||||||||||||||
| 1122 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1123 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 5-11 | ||||||||||||||||||||||||
| 1124 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1125 | ); int __result = (((const unsigned char *) (const char *) (
| 5-11 | ||||||||||||||||||||||||
| 1126 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1127 | ))[0] - __s2[0]); if (__s1_len > 0
| 0-11 | ||||||||||||||||||||||||
| 1128 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1129 | ))[1] - __s2[1]); if (__s1_len > 1
| 0-11 | ||||||||||||||||||||||||
| 1130 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1131 | ))[2] - __s2[2]); if (__s1_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( files_from ))[3] - __s2[3]);
| 0-11 | ||||||||||||||||||||||||
| 1132 | files_from
never executed: __result = (((const unsigned char *) (const char *) ( files_from ))[3] - __s2[3]); | 0-11 | ||||||||||||||||||||||||
| 1133 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( files_from ))[3] - __s2[3]);never executed: }end of blocknever executed: __result; }))) : (__builtin_constant_p (end of block
| 0-11 | ||||||||||||||||||||||||
| 1134 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1135 | ) && ((size_t)(const void *)((
| 5-11 | ||||||||||||||||||||||||
| 1136 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1137 | ) + 1) - (size_t)(const void *)(
| 5-11 | ||||||||||||||||||||||||
| 1138 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1139 | ) == 1) && (__s2_len = __builtin_strlen (
| 5-11 | ||||||||||||||||||||||||
| 1140 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1141 | ), __s2_len < 4) ? (__builtin_constant_p (
| 5-11 | ||||||||||||||||||||||||
| 1142 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1143 | ) && ((size_t)(const void *)((
| 5-11 | ||||||||||||||||||||||||
| 1144 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1145 | ) + 1) - (size_t)(const void *)(
| 5-11 | ||||||||||||||||||||||||
| 1146 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1147 | ) == 1) ? __builtin_strcmp (
| 5-11 | ||||||||||||||||||||||||
| 1148 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1149 | ,
| 5-11 | ||||||||||||||||||||||||
| 1150 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1151 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 5-11 | ||||||||||||||||||||||||
| 1152 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1153 | ); int __result = (((const unsigned char *) (const char *) (
| 5-11 | ||||||||||||||||||||||||
| 1154 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1155 | ))[0] - __s2[0]); if (__s2_len > 0
| 0-16 | ||||||||||||||||||||||||
| 1156 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1157 | ))[1] - __s2[1]); if (__s2_len > 1
| 0-11 | ||||||||||||||||||||||||
| 1158 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1159 | ))[2] - __s2[2]); if (__s2_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
| 0-11 | ||||||||||||||||||||||||
| 1160 | "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-11 | ||||||||||||||||||||||||
| 1161 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);never executed: } __result; }))) : __builtin_strcmp (end of block
| 0-11 | ||||||||||||||||||||||||
| 1162 | files_from
| 5-11 | ||||||||||||||||||||||||
| 1163 | ,
| 5-11 | ||||||||||||||||||||||||
| 1164 | "-"
| 5-11 | ||||||||||||||||||||||||
| 1165 | )))); })
| 5-11 | ||||||||||||||||||||||||
| 1166 | == 0)
| 5-11 | ||||||||||||||||||||||||
| 1167 | stream = executed 11 times by 1 test: stream = stdin ;Executed by:
| 11 | ||||||||||||||||||||||||
| 1168 | stdin executed 11 times by 1 test: stream = stdin ;Executed by:
| 11 | ||||||||||||||||||||||||
| 1169 | ; executed 11 times by 1 test: stream = stdin ;Executed by:
| 11 | ||||||||||||||||||||||||
| 1170 | else | - | ||||||||||||||||||||||||
| 1171 | { | - | ||||||||||||||||||||||||
| 1172 | stream = fopen (files_from, "r"); | - | ||||||||||||||||||||||||
| 1173 | if (stream ==
| 1-4 | ||||||||||||||||||||||||
| 1174 | ((void *)0)
| 1-4 | ||||||||||||||||||||||||
| 1175 | ) | - | ||||||||||||||||||||||||
| 1176 | (( executed 1 time by 1 test: !!sizeof (struct { _Static_assert (((!!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 ())))) ;Executed by:
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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1177 | 1 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1178 | , "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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1179 | 1 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1180 | , 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1181 | (*__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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1182 | , 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1183 | 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1184 | "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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1185 | , 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1186 | , 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1187 | 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1188 | ) ? (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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1189 | 1 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1190 | , 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1191 | (*__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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1192 | , 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1193 | 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1194 | "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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1195 | , 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1196 | , 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1197 | 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1198 | ) ? (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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1199 | ; 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 ())))) ;Executed by:
| 1 | ||||||||||||||||||||||||
| 1200 | } executed 4 times by 1 test: end of blockExecuted by:
| 4 | ||||||||||||||||||||||||
| 1201 | - | |||||||||||||||||||||||||
| 1202 | - | |||||||||||||||||||||||||
| 1203 | - | |||||||||||||||||||||||||
| 1204 | struct stat st; | - | ||||||||||||||||||||||||
| 1205 | if (fstat (fileno (stream), &st) == 0
| 0-15 | ||||||||||||||||||||||||
| 1206 | && | - | ||||||||||||||||||||||||
| 1207 | ((((
| 4-11 | ||||||||||||||||||||||||
| 1208 | st.st_mode
| 4-11 | ||||||||||||||||||||||||
| 1209 | )) & 0170000) == (0100000))
| 4-11 | ||||||||||||||||||||||||
| 1210 | - | |||||||||||||||||||||||||
| 1211 | && st.st_size <=
| 0-11 | ||||||||||||||||||||||||
| 1212 | (((
| 0-11 | ||||||||||||||||||||||||
| 1213 | 10 * 1024 * 1024
| 0-11 | ||||||||||||||||||||||||
| 1214 | )<(
| 0-11 | ||||||||||||||||||||||||
| 1215 | physmem_available () / 2
| 0-11 | ||||||||||||||||||||||||
| 1216 | ))?(
| 0-11 | ||||||||||||||||||||||||
| 1217 | 10 * 1024 * 1024
| 0-11 | ||||||||||||||||||||||||
| 1218 | ):(
| 0-11 | ||||||||||||||||||||||||
| 1219 | physmem_available () / 2
| 0-11 | ||||||||||||||||||||||||
| 1220 | ))
| 0-11 | ||||||||||||||||||||||||
| 1221 | ) | - | ||||||||||||||||||||||||
| 1222 | { | - | ||||||||||||||||||||||||
| 1223 | read_tokens = | - | ||||||||||||||||||||||||
| 1224 | 1 | - | ||||||||||||||||||||||||
| 1225 | ; | - | ||||||||||||||||||||||||
| 1226 | readtokens0_init (&tok); | - | ||||||||||||||||||||||||
| 1227 | if (! readtokens0 (stream, &tok)
| 0-11 | ||||||||||||||||||||||||
| 1228 | rpl_fclose
| 0-11 | ||||||||||||||||||||||||
| 1229 | (stream) != 0
| 0-11 | ||||||||||||||||||||||||
| 1230 | (( never executed: !!sizeof (struct { _Static_assert (((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1231 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1232 | , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %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), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1233 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1234 | , 0, never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1235 | dcgettext (((void *)0), never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1236 | "cannot read file names from %s" never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1237 | , 5) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1238 | , 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), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1239 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1240 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1241 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1242 | , 0, never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1243 | dcgettext (((void *)0), never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1244 | "cannot read file names from %s" never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1245 | , 5) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1246 | , 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), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1247 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1248 | ) ? (void) 0 : __builtin_unreachable ())))) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1249 | ; never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot read file names from %s\", 5), quotearg_style (shell_escape_always_quoting_style, files_from)), assume (false))" ")"); int _gl_dummy; })) ? ..._from)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot read file names from %s" , 5) , quotearg_style (shell_escape_always_quoting_style, files_from)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 0 | ||||||||||||||||||||||||
| 1250 | files = tok.tok; | - | ||||||||||||||||||||||||
| 1251 | nfiles = tok.n_tok; | - | ||||||||||||||||||||||||
| 1252 | ai = argv_iter_init_argv (files); | - | ||||||||||||||||||||||||
| 1253 | } executed 11 times by 1 test: end of blockExecuted by:
| 11 | ||||||||||||||||||||||||
| 1254 | else | - | ||||||||||||||||||||||||
| 1255 | { | - | ||||||||||||||||||||||||
| 1256 | files = | - | ||||||||||||||||||||||||
| 1257 | ((void *)0) | - | ||||||||||||||||||||||||
| 1258 | ; | - | ||||||||||||||||||||||||
| 1259 | nfiles = 0; | - | ||||||||||||||||||||||||
| 1260 | ai = argv_iter_init_stream (stream); | - | ||||||||||||||||||||||||
| 1261 | } executed 4 times by 1 test: end of blockExecuted by:
| 4 | ||||||||||||||||||||||||
| 1262 | } | - | ||||||||||||||||||||||||
| 1263 | else | - | ||||||||||||||||||||||||
| 1264 | { | - | ||||||||||||||||||||||||
| 1265 | static char *stdin_only[] = { | - | ||||||||||||||||||||||||
| 1266 | ((void *)0) | - | ||||||||||||||||||||||||
| 1267 | }; | - | ||||||||||||||||||||||||
| 1268 | files = (optind < argc
| 4-1860 | ||||||||||||||||||||||||
| 1269 | nfiles = (optind < argc
| 4-1860 | ||||||||||||||||||||||||
| 1270 | ai = argv_iter_init_argv (files); | - | ||||||||||||||||||||||||
| 1271 | } executed 1864 times by 1 test: end of blockExecuted by:
| 1864 | ||||||||||||||||||||||||
| 1272 | - | |||||||||||||||||||||||||
| 1273 | if (!ai
| 0-1879 | ||||||||||||||||||||||||
| 1274 | xalloc_die (); never executed: xalloc_die (); | 0 | ||||||||||||||||||||||||
| 1275 | - | |||||||||||||||||||||||||
| 1276 | fstatus = get_input_fstatus (nfiles, files); | - | ||||||||||||||||||||||||
| 1277 | number_width = compute_number_width (nfiles, fstatus); | - | ||||||||||||||||||||||||
| 1278 | - | |||||||||||||||||||||||||
| 1279 | ok = | - | ||||||||||||||||||||||||
| 1280 | 1 | - | ||||||||||||||||||||||||
| 1281 | ; | - | ||||||||||||||||||||||||
| 1282 | for (int i = 0; ; i++) | - | ||||||||||||||||||||||||
| 1283 | { | - | ||||||||||||||||||||||||
| 1284 | - | |||||||||||||||||||||||||
| 1285 | _Bool | - | ||||||||||||||||||||||||
| 1286 | skip_file = | - | ||||||||||||||||||||||||
| 1287 | 0 | - | ||||||||||||||||||||||||
| 1288 | ; | - | ||||||||||||||||||||||||
| 1289 | enum argv_iter_err ai_err; | - | ||||||||||||||||||||||||
| 1290 | char *file_name = argv_iter (ai, &ai_err); | - | ||||||||||||||||||||||||
| 1291 | if (!file_name
| 1879-6021 | ||||||||||||||||||||||||
| 1292 | { | - | ||||||||||||||||||||||||
| 1293 | switch (ai_err) | - | ||||||||||||||||||||||||
| 1294 | { | - | ||||||||||||||||||||||||
| 1295 | case executed 1878 times by 1 test: AI_ERR_EOF:case AI_ERR_EOF:Executed by:
executed 1878 times by 1 test: case AI_ERR_EOF:Executed by:
| 1878 | ||||||||||||||||||||||||
| 1296 | goto executed 1878 times by 1 test: argv_iter_done;goto argv_iter_done;Executed by:
executed 1878 times by 1 test: goto argv_iter_done;Executed by:
| 1878 | ||||||||||||||||||||||||
| 1297 | case executed 1 time by 1 test: AI_ERR_READ:case AI_ERR_READ:Executed by:
executed 1 time by 1 test: case AI_ERR_READ:Executed by:
| 1 | ||||||||||||||||||||||||
| 1298 | error (0, | - | ||||||||||||||||||||||||
| 1299 | (*__errno_location ()) | - | ||||||||||||||||||||||||
| 1300 | , | - | ||||||||||||||||||||||||
| 1301 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 1302 | "%s: read error" | - | ||||||||||||||||||||||||
| 1303 | , 5) | - | ||||||||||||||||||||||||
| 1304 | , | - | ||||||||||||||||||||||||
| 1305 | quotearg_n_style_colon (0, shell_escape_quoting_style, files_from)); | - | ||||||||||||||||||||||||
| 1306 | ok = | - | ||||||||||||||||||||||||
| 1307 | 0 | - | ||||||||||||||||||||||||
| 1308 | ; | - | ||||||||||||||||||||||||
| 1309 | goto executed 1 time by 1 test: argv_iter_done;goto argv_iter_done;Executed by:
executed 1 time by 1 test: goto argv_iter_done;Executed by:
| 1 | ||||||||||||||||||||||||
| 1310 | case never executed: AI_ERR_MEM:case AI_ERR_MEM:never executed: case AI_ERR_MEM: | 0 | ||||||||||||||||||||||||
| 1311 | xalloc_die (); | - | ||||||||||||||||||||||||
| 1312 | default never executed: :default:never executed: default:code before this statement never executed: default: | 0 | ||||||||||||||||||||||||
| 1313 | - | |||||||||||||||||||||||||
| 1314 | (( | - | ||||||||||||||||||||||||
| 1315 | !"unexpected error code from argv_iter" | - | ||||||||||||||||||||||||
| 1316 | ) ? (void) (0) : __assert_fail ( | - | ||||||||||||||||||||||||
| 1317 | "!\"unexpected error code from argv_iter\"" | - | ||||||||||||||||||||||||
| 1318 | , "src/wc.c", 794, __PRETTY_FUNCTION__)) | - | ||||||||||||||||||||||||
| 1319 | ; | - | ||||||||||||||||||||||||
| 1320 | } never executed: end of block | 0 | ||||||||||||||||||||||||
| 1321 | } | - | ||||||||||||||||||||||||
| 1322 | if (files_from
| 2-6002 | ||||||||||||||||||||||||
| 1323 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
| 2-17 | ||||||||||||||||||||||||
| 1324 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1325 | ) && __builtin_constant_p (
| 2-17 | ||||||||||||||||||||||||
| 1326 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1327 | ) && (__s1_len = __builtin_strlen (
| 2-17 | ||||||||||||||||||||||||
| 1328 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1329 | ), __s2_len = __builtin_strlen (
| 2-17 | ||||||||||||||||||||||||
| 1330 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1331 | ), (!((size_t)(const void *)((
| 2-17 | ||||||||||||||||||||||||
| 1332 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1333 | ) + 1) - (size_t)(const void *)(
| 2-17 | ||||||||||||||||||||||||
| 1334 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1335 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
| 2-17 | ||||||||||||||||||||||||
| 1336 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1337 | ) + 1) - (size_t)(const void *)(
| 2-17 | ||||||||||||||||||||||||
| 1338 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1339 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
| 2-17 | ||||||||||||||||||||||||
| 1340 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1341 | ,
| 2-17 | ||||||||||||||||||||||||
| 1342 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1343 | ) : (__builtin_constant_p (
| 2-17 | ||||||||||||||||||||||||
| 1344 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1345 | ) && ((size_t)(const void *)((
| 2-17 | ||||||||||||||||||||||||
| 1346 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1347 | ) + 1) - (size_t)(const void *)(
| 2-17 | ||||||||||||||||||||||||
| 1348 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1349 | ) == 1) && (__s1_len = __builtin_strlen (
| 2-17 | ||||||||||||||||||||||||
| 1350 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1351 | ), __s1_len < 4) ? (__builtin_constant_p (
| 2-17 | ||||||||||||||||||||||||
| 1352 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1353 | ) && ((size_t)(const void *)((
| 2-17 | ||||||||||||||||||||||||
| 1354 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1355 | ) + 1) - (size_t)(const void *)(
| 2-17 | ||||||||||||||||||||||||
| 1356 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1357 | ) == 1) ? __builtin_strcmp (
| 2-17 | ||||||||||||||||||||||||
| 1358 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1359 | ,
| 2-17 | ||||||||||||||||||||||||
| 1360 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1361 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 2-17 | ||||||||||||||||||||||||
| 1362 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1363 | ); int __result = (((const unsigned char *) (const char *) (
| 2-17 | ||||||||||||||||||||||||
| 1364 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1365 | ))[0] - __s2[0]); if (__s1_len > 0
| 0-17 | ||||||||||||||||||||||||
| 1366 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1367 | ))[1] - __s2[1]); if (__s1_len > 1
| 0-17 | ||||||||||||||||||||||||
| 1368 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1369 | ))[2] - __s2[2]); if (__s1_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( files_from ))[3] - __s2[3]);
| 0-17 | ||||||||||||||||||||||||
| 1370 | files_from
never executed: __result = (((const unsigned char *) (const char *) ( files_from ))[3] - __s2[3]); | 0-17 | ||||||||||||||||||||||||
| 1371 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( files_from ))[3] - __s2[3]);never executed: }end of blocknever executed: __result; }))) : (__builtin_constant_p (end of block
| 0-17 | ||||||||||||||||||||||||
| 1372 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1373 | ) && ((size_t)(const void *)((
| 2-17 | ||||||||||||||||||||||||
| 1374 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1375 | ) + 1) - (size_t)(const void *)(
| 2-17 | ||||||||||||||||||||||||
| 1376 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1377 | ) == 1) && (__s2_len = __builtin_strlen (
| 2-17 | ||||||||||||||||||||||||
| 1378 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1379 | ), __s2_len < 4) ? (__builtin_constant_p (
| 2-17 | ||||||||||||||||||||||||
| 1380 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1381 | ) && ((size_t)(const void *)((
| 2-17 | ||||||||||||||||||||||||
| 1382 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1383 | ) + 1) - (size_t)(const void *)(
| 2-17 | ||||||||||||||||||||||||
| 1384 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1385 | ) == 1) ? __builtin_strcmp (
| 2-17 | ||||||||||||||||||||||||
| 1386 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1387 | ,
| 2-17 | ||||||||||||||||||||||||
| 1388 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1389 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 2-17 | ||||||||||||||||||||||||
| 1390 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1391 | ); int __result = (((const unsigned char *) (const char *) (
| 2-17 | ||||||||||||||||||||||||
| 1392 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1393 | ))[0] - __s2[0]); if (__s2_len > 0
| 0-19 | ||||||||||||||||||||||||
| 1394 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1395 | ))[1] - __s2[1]); if (__s2_len > 1
| 0-17 | ||||||||||||||||||||||||
| 1396 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1397 | ))[2] - __s2[2]); if (__s2_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
| 0-17 | ||||||||||||||||||||||||
| 1398 | "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-17 | ||||||||||||||||||||||||
| 1399 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);never executed: } __result; }))) : __builtin_strcmp (end of block
| 0-17 | ||||||||||||||||||||||||
| 1400 | files_from
| 2-17 | ||||||||||||||||||||||||
| 1401 | ,
| 2-17 | ||||||||||||||||||||||||
| 1402 | "-"
| 2-17 | ||||||||||||||||||||||||
| 1403 | )))); })
| 2-17 | ||||||||||||||||||||||||
| 1404 | == 0)
| 1-17 | ||||||||||||||||||||||||
| 1405 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
| 1-16 | ||||||||||||||||||||||||
| 1406 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1407 | ) && __builtin_constant_p (
| 1-16 | ||||||||||||||||||||||||
| 1408 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1409 | ) && (__s1_len = __builtin_strlen (
| 1-16 | ||||||||||||||||||||||||
| 1410 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1411 | ), __s2_len = __builtin_strlen (
| 1-16 | ||||||||||||||||||||||||
| 1412 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1413 | ), (!((size_t)(const void *)((
| 1-16 | ||||||||||||||||||||||||
| 1414 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1415 | ) + 1) - (size_t)(const void *)(
| 1-16 | ||||||||||||||||||||||||
| 1416 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1417 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
| 1-16 | ||||||||||||||||||||||||
| 1418 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1419 | ) + 1) - (size_t)(const void *)(
| 1-16 | ||||||||||||||||||||||||
| 1420 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1421 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
| 1-16 | ||||||||||||||||||||||||
| 1422 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1423 | ,
| 1-16 | ||||||||||||||||||||||||
| 1424 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1425 | ) : (__builtin_constant_p (
| 1-16 | ||||||||||||||||||||||||
| 1426 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1427 | ) && ((size_t)(const void *)((
| 1-16 | ||||||||||||||||||||||||
| 1428 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1429 | ) + 1) - (size_t)(const void *)(
| 1-16 | ||||||||||||||||||||||||
| 1430 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1431 | ) == 1) && (__s1_len = __builtin_strlen (
| 1-16 | ||||||||||||||||||||||||
| 1432 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1433 | ), __s1_len < 4) ? (__builtin_constant_p (
| 1-16 | ||||||||||||||||||||||||
| 1434 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1435 | ) && ((size_t)(const void *)((
| 1-16 | ||||||||||||||||||||||||
| 1436 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1437 | ) + 1) - (size_t)(const void *)(
| 1-16 | ||||||||||||||||||||||||
| 1438 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1439 | ) == 1) ? __builtin_strcmp (
| 1-16 | ||||||||||||||||||||||||
| 1440 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1441 | ,
| 1-16 | ||||||||||||||||||||||||
| 1442 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1443 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 1-16 | ||||||||||||||||||||||||
| 1444 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1445 | ); int __result = (((const unsigned char *) (const char *) (
| 1-16 | ||||||||||||||||||||||||
| 1446 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1447 | ))[0] - __s2[0]); if (__s1_len > 0
| 0-16 | ||||||||||||||||||||||||
| 1448 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1449 | ))[1] - __s2[1]); if (__s1_len > 1
| 0-16 | ||||||||||||||||||||||||
| 1450 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1451 | ))[2] - __s2[2]); if (__s1_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( file_name ))[3] - __s2[3]);
| 0-16 | ||||||||||||||||||||||||
| 1452 | file_name
never executed: __result = (((const unsigned char *) (const char *) ( file_name ))[3] - __s2[3]); | 0-16 | ||||||||||||||||||||||||
| 1453 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( file_name ))[3] - __s2[3]);never executed: }end of blocknever executed: __result; }))) : (__builtin_constant_p (end of block
| 0-16 | ||||||||||||||||||||||||
| 1454 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1455 | ) && ((size_t)(const void *)((
| 1-16 | ||||||||||||||||||||||||
| 1456 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1457 | ) + 1) - (size_t)(const void *)(
| 1-16 | ||||||||||||||||||||||||
| 1458 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1459 | ) == 1) && (__s2_len = __builtin_strlen (
| 1-16 | ||||||||||||||||||||||||
| 1460 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1461 | ), __s2_len < 4) ? (__builtin_constant_p (
| 1-16 | ||||||||||||||||||||||||
| 1462 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1463 | ) && ((size_t)(const void *)((
| 1-16 | ||||||||||||||||||||||||
| 1464 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1465 | ) + 1) - (size_t)(const void *)(
| 1-16 | ||||||||||||||||||||||||
| 1466 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1467 | ) == 1) ? __builtin_strcmp (
| 1-16 | ||||||||||||||||||||||||
| 1468 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1469 | ,
| 1-16 | ||||||||||||||||||||||||
| 1470 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1471 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
| 1-16 | ||||||||||||||||||||||||
| 1472 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1473 | ); int __result = (((const unsigned char *) (const char *) (
| 1-16 | ||||||||||||||||||||||||
| 1474 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1475 | ))[0] - __s2[0]); if (__s2_len > 0
| 0-17 | ||||||||||||||||||||||||
| 1476 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1477 | ))[1] - __s2[1]); if (__s2_len > 1
| 0-16 | ||||||||||||||||||||||||
| 1478 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1479 | ))[2] - __s2[2]); if (__s2_len > 2
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
| 0-16 | ||||||||||||||||||||||||
| 1480 | "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-16 | ||||||||||||||||||||||||
| 1481 | ))[3] - __s2[3]);
never executed: }__result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);never executed: } __result; }))) : __builtin_strcmp (end of block
| 0-16 | ||||||||||||||||||||||||
| 1482 | file_name
| 1-16 | ||||||||||||||||||||||||
| 1483 | ,
| 1-16 | ||||||||||||||||||||||||
| 1484 | "-"
| 1-16 | ||||||||||||||||||||||||
| 1485 | )))); })
| 1-16 | ||||||||||||||||||||||||
| 1486 | == 0)
| 1-16 | ||||||||||||||||||||||||
| 1487 | { | - | ||||||||||||||||||||||||
| 1488 | - | |||||||||||||||||||||||||
| 1489 | - | |||||||||||||||||||||||||
| 1490 | error (0, 0, | - | ||||||||||||||||||||||||
| 1491 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 1492 | "when reading file names from stdin, " "no file name of %s allowed" | - | ||||||||||||||||||||||||
| 1493 | , 5) | - | ||||||||||||||||||||||||
| 1494 | - | |||||||||||||||||||||||||
| 1495 | , | - | ||||||||||||||||||||||||
| 1496 | quotearg_style (shell_escape_always_quoting_style, file_name)); | - | ||||||||||||||||||||||||
| 1497 | skip_file = | - | ||||||||||||||||||||||||
| 1498 | 1 | - | ||||||||||||||||||||||||
| 1499 | ; | - | ||||||||||||||||||||||||
| 1500 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 | ||||||||||||||||||||||||
| 1501 | - | |||||||||||||||||||||||||
| 1502 | if (!file_name[0]
| 4-6017 | ||||||||||||||||||||||||
| 1503 | { | - | ||||||||||||||||||||||||
| 1504 | - | |||||||||||||||||||||||||
| 1505 | - | |||||||||||||||||||||||||
| 1506 | - | |||||||||||||||||||||||||
| 1507 | - | |||||||||||||||||||||||||
| 1508 | if (files_from ==
| 0-4 | ||||||||||||||||||||||||
| 1509 | ((void *)0)
| 0-4 | ||||||||||||||||||||||||
| 1510 | ) | - | ||||||||||||||||||||||||
| 1511 | error (0, 0, "%s", never executed: error (0, 0, "%s", dcgettext (((void *)0), "invalid zero-length file name" , 5) ); | 0 | ||||||||||||||||||||||||
| 1512 | dcgettext (((void *)0), never executed: error (0, 0, "%s", dcgettext (((void *)0), "invalid zero-length file name" , 5) ); | 0 | ||||||||||||||||||||||||
| 1513 | "invalid zero-length file name" never executed: error (0, 0, "%s", dcgettext (((void *)0), "invalid zero-length file name" , 5) ); | 0 | ||||||||||||||||||||||||
| 1514 | , 5) never executed: error (0, 0, "%s", dcgettext (((void *)0), "invalid zero-length file name" , 5) ); | 0 | ||||||||||||||||||||||||
| 1515 | ); never executed: error (0, 0, "%s", dcgettext (((void *)0), "invalid zero-length file name" , 5) ); | 0 | ||||||||||||||||||||||||
| 1516 | else | - | ||||||||||||||||||||||||
| 1517 | { | - | ||||||||||||||||||||||||
| 1518 | - | |||||||||||||||||||||||||
| 1519 | - | |||||||||||||||||||||||||
| 1520 | - | |||||||||||||||||||||||||
| 1521 | unsigned long int file_number = argv_iter_n_args (ai); | - | ||||||||||||||||||||||||
| 1522 | error (0, 0, "%s:%lu: %s", quotearg_n_style_colon (0, shell_escape_quoting_style, files_from), | - | ||||||||||||||||||||||||
| 1523 | file_number, | - | ||||||||||||||||||||||||
| 1524 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
| 1525 | "invalid zero-length file name" | - | ||||||||||||||||||||||||
| 1526 | , 5) | - | ||||||||||||||||||||||||
| 1527 | ); | - | ||||||||||||||||||||||||
| 1528 | } executed 4 times by 1 test: end of blockExecuted by:
| 4 | ||||||||||||||||||||||||
| 1529 | skip_file = | - | ||||||||||||||||||||||||
| 1530 | 1 | - | ||||||||||||||||||||||||
| 1531 | ; | - | ||||||||||||||||||||||||
| 1532 | } executed 4 times by 1 test: end of blockExecuted by:
| 4 | ||||||||||||||||||||||||
| 1533 | - | |||||||||||||||||||||||||
| 1534 | if (skip_file
| 5-6016 | ||||||||||||||||||||||||
| 1535 | ok = executed 5 times by 1 test: ok = 0 ;Executed by:
| 5 | ||||||||||||||||||||||||
| 1536 | 0 executed 5 times by 1 test: ok = 0 ;Executed by:
| 5 | ||||||||||||||||||||||||
| 1537 | ; executed 5 times by 1 test: ok = 0 ;Executed by:
| 5 | ||||||||||||||||||||||||
| 1538 | else | - | ||||||||||||||||||||||||
| 1539 | ok &= wc_file (file_name, &fstatus[nfiles ? i : 0]); executed 6016 times by 1 test: ok &= wc_file (file_name, &fstatus[nfiles ? i : 0]);Executed by:
| 6016 | ||||||||||||||||||||||||
| 1540 | - | |||||||||||||||||||||||||
| 1541 | if (! nfiles
| 3-6018 | ||||||||||||||||||||||||
| 1542 | fstatus[0].failed = 1; executed 3 times by 1 test: fstatus[0].failed = 1;Executed by:
| 3 | ||||||||||||||||||||||||
| 1543 | } executed 6021 times by 1 test: end of blockExecuted by:
| 6021 | ||||||||||||||||||||||||
| 1544 | argv_iter_done: code before this statement never executed: argv_iter_done: | 0 | ||||||||||||||||||||||||
| 1545 | - | |||||||||||||||||||||||||
| 1546 | - | |||||||||||||||||||||||||
| 1547 | - | |||||||||||||||||||||||||
| 1548 | - | |||||||||||||||||||||||||
| 1549 | if (ok
| 4-1874 | ||||||||||||||||||||||||
| 1550 | ok &= wc_file ( executed 1860 times by 1 test: ok &= wc_file ( ((void *)0) , &fstatus[0]);Executed by:
| 1860 | ||||||||||||||||||||||||
| 1551 | ((void *)0) executed 1860 times by 1 test: ok &= wc_file ( ((void *)0) , &fstatus[0]);Executed by:
| 1860 | ||||||||||||||||||||||||
| 1552 | , &fstatus[0]); executed 1860 times by 1 test: ok &= wc_file ( ((void *)0) , &fstatus[0]);Executed by:
| 1860 | ||||||||||||||||||||||||
| 1553 | - | |||||||||||||||||||||||||
| 1554 | if (read_tokens
| 11-1868 | ||||||||||||||||||||||||
| 1555 | readtokens0_free (&tok); executed 11 times by 1 test: readtokens0_free (&tok);Executed by:
| 11 | ||||||||||||||||||||||||
| 1556 | - | |||||||||||||||||||||||||
| 1557 | if (1 < argv_iter_n_args (ai)
| 11-1868 | ||||||||||||||||||||||||
| 1558 | write_counts (total_lines, total_words, total_chars, total_bytes, executed 11 times by 1 test: write_counts (total_lines, total_words, total_chars, total_bytes, max_line_length, dcgettext (((void *)0), "total" , 5) );Executed by:
| 11 | ||||||||||||||||||||||||
| 1559 | max_line_length, executed 11 times by 1 test: write_counts (total_lines, total_words, total_chars, total_bytes, max_line_length, dcgettext (((void *)0), "total" , 5) );Executed by:
| 11 | ||||||||||||||||||||||||
| 1560 | dcgettext (((void *)0), executed 11 times by 1 test: write_counts (total_lines, total_words, total_chars, total_bytes, max_line_length, dcgettext (((void *)0), "total" , 5) );Executed by:
| 11 | ||||||||||||||||||||||||
| 1561 | "total" executed 11 times by 1 test: write_counts (total_lines, total_words, total_chars, total_bytes, max_line_length, dcgettext (((void *)0), "total" , 5) );Executed by:
| 11 | ||||||||||||||||||||||||
| 1562 | , 5) executed 11 times by 1 test: write_counts (total_lines, total_words, total_chars, total_bytes, max_line_length, dcgettext (((void *)0), "total" , 5) );Executed by:
| 11 | ||||||||||||||||||||||||
| 1563 | ); executed 11 times by 1 test: write_counts (total_lines, total_words, total_chars, total_bytes, max_line_length, dcgettext (((void *)0), "total" , 5) );Executed by:
| 11 | ||||||||||||||||||||||||
| 1564 | - | |||||||||||||||||||||||||
| 1565 | argv_iter_free (ai); | - | ||||||||||||||||||||||||
| 1566 | - | |||||||||||||||||||||||||
| 1567 | free (fstatus); | - | ||||||||||||||||||||||||
| 1568 | - | |||||||||||||||||||||||||
| 1569 | if (have_read_stdin
| 0-1860 | ||||||||||||||||||||||||
| 1570 | 0
| 0-1860 | ||||||||||||||||||||||||
| 1571 | ) != 0
| 0-1860 | ||||||||||||||||||||||||
| 1572 | (( never executed: !!sizeof (struct { _Static_assert (((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1573 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1574 | , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1575 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1576 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1577 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1578 | , "-"), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1579 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1580 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1581 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1582 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1583 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1584 | , "-"), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1585 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1586 | ) ? (void) 0 : __builtin_unreachable ())))); never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
| 1587 | - | |||||||||||||||||||||||||
| 1588 | return executed 1879 times by 1 test: ok ? return ok ? 0 : 1 ;Executed by:
executed 1879 times by 1 test: return ok ? 0 : 1 ;Executed by:
| 1879 | ||||||||||||||||||||||||
| 1589 | 0 executed 1879 times by 1 test: return ok ? 0 : 1 ;Executed by:
| 1879 | ||||||||||||||||||||||||
| 1590 | : executed 1879 times by 1 test: return ok ? 0 : 1 ;Executed by:
| 1879 | ||||||||||||||||||||||||
| 1591 | 1 executed 1879 times by 1 test: return ok ? 0 : 1 ;Executed by:
| 1879 | ||||||||||||||||||||||||
| 1592 | ; executed 1879 times by 1 test: return ok ? 0 : 1 ;Executed by:
| 1879 | ||||||||||||||||||||||||
| 1593 | } | - | ||||||||||||||||||||||||
| Switch to Source code | Preprocessed file |