Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | static char const FORMAT_RIGHT_NOLZ[] = "%*" | - |
7 | "l" "d" | - |
8 | "%s"; | - |
9 | | - |
10 | | - |
11 | static char const FORMAT_RIGHT_LZ[] = "%0*" | - |
12 | "l" "d" | - |
13 | "%s"; | - |
14 | | - |
15 | | - |
16 | static char const FORMAT_LEFT[] = "%-*" | - |
17 | "l" "d" | - |
18 | "%s"; | - |
19 | | - |
20 | | - |
21 | static char const DEFAULT_SECTION_DELIMITERS[] = "\\:"; | - |
22 | | - |
23 | | - |
24 | | - |
25 | enum section | - |
26 | { | - |
27 | Header, Body, Footer, Text | - |
28 | }; | - |
29 | | - |
30 | | - |
31 | static char const *body_type = "t"; | - |
32 | | - |
33 | | - |
34 | static char const *header_type = "n"; | - |
35 | | - |
36 | | - |
37 | static char const *footer_type = "n"; | - |
38 | | - |
39 | | - |
40 | static char const *current_type; | - |
41 | | - |
42 | | - |
43 | static struct re_pattern_buffer body_regex; | - |
44 | | - |
45 | | - |
46 | static struct re_pattern_buffer header_regex; | - |
47 | | - |
48 | | - |
49 | static struct re_pattern_buffer footer_regex; | - |
50 | | - |
51 | | - |
52 | static char body_fastmap[ | - |
53 | (0x7f * 2 + 1) | - |
54 | + 1]; | - |
55 | static char header_fastmap[ | - |
56 | (0x7f * 2 + 1) | - |
57 | + 1]; | - |
58 | static char footer_fastmap[ | - |
59 | (0x7f * 2 + 1) | - |
60 | + 1]; | - |
61 | | - |
62 | | - |
63 | static struct re_pattern_buffer *current_regex = | - |
64 | ((void *)0) | - |
65 | ; | - |
66 | | - |
67 | | - |
68 | static char const *separator_str = "\t"; | - |
69 | | - |
70 | | - |
71 | static char const *section_del = DEFAULT_SECTION_DELIMITERS; | - |
72 | | - |
73 | | - |
74 | static char *header_del = | - |
75 | ((void *)0) | - |
76 | ; | - |
77 | | - |
78 | | - |
79 | static size_t header_del_len; | - |
80 | | - |
81 | | - |
82 | static char *body_del = | - |
83 | ((void *)0) | - |
84 | ; | - |
85 | | - |
86 | | - |
87 | static size_t body_del_len; | - |
88 | | - |
89 | | - |
90 | static char *footer_del = | - |
91 | ((void *)0) | - |
92 | ; | - |
93 | | - |
94 | | - |
95 | static size_t footer_del_len; | - |
96 | | - |
97 | | - |
98 | static struct linebuffer line_buf; | - |
99 | | - |
100 | | - |
101 | static char *print_no_line_fmt = | - |
102 | ((void *)0) | - |
103 | ; | - |
104 | | - |
105 | | - |
106 | static intmax_t starting_line_number = 1; | - |
107 | | - |
108 | | - |
109 | static intmax_t page_incr = 1; | - |
110 | | - |
111 | | - |
112 | static | - |
113 | _Bool | - |
114 | reset_numbers = | - |
115 | 1 | - |
116 | ; | - |
117 | | - |
118 | | - |
119 | static intmax_t blank_join = 1; | - |
120 | | - |
121 | | - |
122 | static int lineno_width = 6; | - |
123 | | - |
124 | | - |
125 | static char const *lineno_format = FORMAT_RIGHT_NOLZ; | - |
126 | | - |
127 | | - |
128 | static intmax_t line_no; | - |
129 | | - |
130 | | - |
131 | static | - |
132 | _Bool | - |
133 | have_read_stdin; | - |
134 | | - |
135 | static struct option const longopts[] = | - |
136 | { | - |
137 | {"header-numbering", | - |
138 | 1 | - |
139 | , | - |
140 | ((void *)0) | - |
141 | , 'h'}, | - |
142 | {"body-numbering", | - |
143 | 1 | - |
144 | , | - |
145 | ((void *)0) | - |
146 | , 'b'}, | - |
147 | {"footer-numbering", | - |
148 | 1 | - |
149 | , | - |
150 | ((void *)0) | - |
151 | , 'f'}, | - |
152 | {"starting-line-number", | - |
153 | 1 | - |
154 | , | - |
155 | ((void *)0) | - |
156 | , 'v'}, | - |
157 | {"line-increment", | - |
158 | 1 | - |
159 | , | - |
160 | ((void *)0) | - |
161 | , 'i'}, | - |
162 | {"no-renumber", | - |
163 | 0 | - |
164 | , | - |
165 | ((void *)0) | - |
166 | , 'p'}, | - |
167 | {"join-blank-lines", | - |
168 | 1 | - |
169 | , | - |
170 | ((void *)0) | - |
171 | , 'l'}, | - |
172 | {"number-separator", | - |
173 | 1 | - |
174 | , | - |
175 | ((void *)0) | - |
176 | , 's'}, | - |
177 | {"number-width", | - |
178 | 1 | - |
179 | , | - |
180 | ((void *)0) | - |
181 | , 'w'}, | - |
182 | {"number-format", | - |
183 | 1 | - |
184 | , | - |
185 | ((void *)0) | - |
186 | , 'n'}, | - |
187 | {"section-delimiter", | - |
188 | 1 | - |
189 | , | - |
190 | ((void *)0) | - |
191 | , 'd'}, | - |
192 | {"help", | - |
193 | 0 | - |
194 | , | - |
195 | ((void *)0) | - |
196 | , GETOPT_HELP_CHAR}, | - |
197 | {"version", | - |
198 | 0 | - |
199 | , | - |
200 | ((void *)0) | - |
201 | , GETOPT_VERSION_CHAR}, | - |
202 | { | - |
203 | ((void *)0) | - |
204 | , 0, | - |
205 | ((void *)0) | - |
206 | , 0} | - |
207 | }; | - |
208 | | - |
209 | | - |
210 | | - |
211 | void | - |
212 | usage (int status) | - |
213 | { | - |
214 | if (status != TRUE | evaluated 3 times by 1 test | FALSE | evaluated 17 times by 1 test |
| 3-17 |
215 | 0TRUE | evaluated 3 times by 1 test | FALSE | evaluated 17 times by 1 test |
| 3-17 |
216 | ) | - |
217 | do { fprintf ( | - |
218 | stderr | - |
219 | , | - |
220 | dcgettext (((void *)0), | - |
221 | "Try '%s --help' for more information.\n" | - |
222 | , 5) | - |
223 | , program_name); }executed 3 times by 1 test: end of block while (0); | 3 |
224 | else | - |
225 | { | - |
226 | printf ( | - |
227 | dcgettext (((void *)0), | - |
228 | "Usage: %s [OPTION]... [FILE]...\n" | - |
229 | , 5) | - |
230 | | - |
231 | | - |
232 | , | - |
233 | program_name); | - |
234 | fputs_unlocked ( | - |
235 | dcgettext (((void *)0), | - |
236 | "Write each FILE to standard output, with line numbers added.\n" | - |
237 | , 5) | - |
238 | , | - |
239 | stdout | - |
240 | ) | - |
241 | | - |
242 | ; | - |
243 | | - |
244 | emit_stdin_note (); | - |
245 | emit_mandatory_arg_note (); | - |
246 | | - |
247 | fputs_unlocked ( | - |
248 | dcgettext (((void *)0), | - |
249 | " -b, --body-numbering=STYLE use STYLE for numbering body lines\n -d, --section-delimiter=CC use CC for logical page delimiters\n -f, --footer-numbering=STYLE use STYLE for numbering footer lines\n" | - |
250 | , 5) | - |
251 | , | - |
252 | stdout | - |
253 | ) | - |
254 | | - |
255 | | - |
256 | | - |
257 | ; | - |
258 | fputs_unlocked ( | - |
259 | dcgettext (((void *)0), | - |
260 | " -h, --header-numbering=STYLE use STYLE for numbering header lines\n -i, --line-increment=NUMBER line number increment at each line\n -l, --join-blank-lines=NUMBER group of NUMBER empty lines counted as one\n -n, --number-format=FORMAT insert line numbers according to FORMAT\n -p, --no-renumber do not reset line numbers for each section\n -s, --number-separator=STRING add STRING after (possible) line number\n" | - |
261 | , 5) | - |
262 | , | - |
263 | stdout | - |
264 | ) | - |
265 | | - |
266 | | - |
267 | | - |
268 | | - |
269 | | - |
270 | | - |
271 | ; | - |
272 | fputs_unlocked ( | - |
273 | dcgettext (((void *)0), | - |
274 | " -v, --starting-line-number=NUMBER first line number for each section\n -w, --number-width=NUMBER use NUMBER columns for line numbers\n" | - |
275 | , 5) | - |
276 | , | - |
277 | stdout | - |
278 | ) | - |
279 | | - |
280 | | - |
281 | ; | - |
282 | fputs_unlocked ( | - |
283 | dcgettext (((void *)0), | - |
284 | " --help display this help and exit\n" | - |
285 | , 5) | - |
286 | , | - |
287 | stdout | - |
288 | ); | - |
289 | fputs_unlocked ( | - |
290 | dcgettext (((void *)0), | - |
291 | " --version output version information and exit\n" | - |
292 | , 5) | - |
293 | , | - |
294 | stdout | - |
295 | ); | - |
296 | fputs_unlocked ( | - |
297 | dcgettext (((void *)0), | - |
298 | "\nBy default, selects -v1 -i1 -l1 -sTAB -w6 -nrn -hn -bt -fn.\nCC are two delimiter characters used to construct logical page delimiters,\na missing second character implies :. Type \\\\ for \\. STYLE is one of:\n" | - |
299 | , 5) | - |
300 | , | - |
301 | stdout | - |
302 | ) | - |
303 | | - |
304 | | - |
305 | | - |
306 | | - |
307 | ; | - |
308 | fputs_unlocked ( | - |
309 | dcgettext (((void *)0), | - |
310 | "\n a number all lines\n t number only nonempty lines\n n number no lines\n pBRE number only lines that contain a match for the basic regular\n expression, BRE\n\nFORMAT is one of:\n\n ln left justified, no leading zeros\n rn right justified, no leading zeros\n rz right justified, leading zeros\n\n" | - |
311 | , 5) | - |
312 | , | - |
313 | stdout | - |
314 | ) | - |
315 | ; | - |
316 | emit_ancillary_info ("nl"); | - |
317 | }executed 17 times by 1 test: end of block | 17 |
318 | exit (status);executed 20 times by 1 test: exit (status); | 20 |
319 | } | - |
320 | | - |
321 | | - |
322 | | - |
323 | | - |
324 | static | - |
325 | _Bool | - |
326 | | - |
327 | build_type_arg (char const **typep, | - |
328 | struct re_pattern_buffer *regexp, char *fastmap) | - |
329 | { | - |
330 | char const *errmsg; | - |
331 | | - |
332 | _Bool | - |
333 | rval = | - |
334 | 1 | - |
335 | ; | - |
336 | | - |
337 | switch (*optarg) | - |
338 | { | - |
339 | caseexecuted 4 times by 1 test: case 'a': 'a':executed 4 times by 1 test: case 'a': | 4 |
340 | case never executed: case 't': 't':never executed: case 't': | 0 |
341 | case never executed: case 'n': 'n':never executed: case 'n': | 0 |
342 | *typep = optarg; | - |
343 | break;executed 4 times by 1 test: break; | 4 |
344 | case never executed: case 'p': 'p':never executed: case 'p': | 0 |
345 | *typep = optarg++; | - |
346 | regexp->buffer = | - |
347 | ((void *)0) | - |
348 | ; | - |
349 | regexp->allocated = 0; | - |
350 | regexp->fastmap = fastmap; | - |
351 | regexp->translate = | - |
352 | ((void *)0) | - |
353 | ; | - |
354 | re_syntax_options = | - |
355 | ((((((unsigned long int) 1) << 1) << 1) | ((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) | (((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) | (((((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) | ((((((((((((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1)) | (((unsigned long int) 1) << 1) | ((((((((((((((((((((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1)) & ~((((((((((((((((((((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) & ~((((((((((((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1); | - |
356 | errmsg = re_compile_pattern (optarg, strlen (optarg), regexp); | - |
357 | if (errmsgTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
358 | (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); !!sizeof (struct { _Static_assert (never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
359 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
360 | , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
361 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
362 | , 0, "%s", (errmsg)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
363 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
364 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
365 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
366 | , 0, "%s", (errmsg)), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
367 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
368 | ) ? (void) 0 : __builtin_unreachable ())))); never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s\", (errmsg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s", (errmsg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
369 | break; never executed: break; | 0 |
370 | defaultexecuted 6 times by 1 test: default: :executed 6 times by 1 test: default: | 6 |
371 | rval = | - |
372 | 0 | - |
373 | ; | - |
374 | break;executed 6 times by 1 test: break; | 6 |
375 | } | - |
376 | returnexecuted 10 times by 1 test: return rval; rval;executed 10 times by 1 test: return rval; | 10 |
377 | } | - |
378 | | - |
379 | | - |
380 | | - |
381 | static void | - |
382 | print_lineno (void) | - |
383 | { | - |
384 | intmax_t next_line_no; | - |
385 | | - |
386 | printf (lineno_format, lineno_width, line_no, separator_str); | - |
387 | | - |
388 | next_line_no = line_no + page_incr; | - |
389 | if (next_line_no < line_noTRUE | never evaluated | FALSE | evaluated 50 times by 1 test |
) | 0-50 |
390 | (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); !!sizeof (struct { _Static_assert (never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
391 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
392 | , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
393 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
394 | , 0, never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
395 | dcgettext (((void *)0), never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
396 | "line number overflow" never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
397 | , 5) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
398 | ), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
399 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
400 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
401 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
402 | , 0, never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
403 | dcgettext (((void *)0), never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
404 | "line number overflow" never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
405 | , 5) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
406 | ), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
407 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
408 | ) ? (void) 0 : __builtin_unreachable ())))); never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"line number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "line number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 |
409 | line_no = next_line_no; | - |
410 | }executed 50 times by 1 test: end of block | 50 |
411 | | - |
412 | | - |
413 | | - |
414 | static void | - |
415 | proc_header (void) | - |
416 | { | - |
417 | current_type = header_type; | - |
418 | current_regex = &header_regex; | - |
419 | if (reset_numbersTRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1 |
420 | line_no = starting_line_number;executed 1 time by 1 test: line_no = starting_line_number; | 1 |
421 | putchar_unlocked ('\n'); | - |
422 | }executed 2 times by 1 test: end of block | 2 |
423 | | - |
424 | | - |
425 | | - |
426 | static void | - |
427 | proc_body (void) | - |
428 | { | - |
429 | current_type = body_type; | - |
430 | current_regex = &body_regex; | - |
431 | if (reset_numbersTRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1 |
432 | line_no = starting_line_number;executed 1 time by 1 test: line_no = starting_line_number; | 1 |
433 | putchar_unlocked ('\n'); | - |
434 | }executed 2 times by 1 test: end of block | 2 |
435 | | - |
436 | | - |
437 | | - |
438 | static void | - |
439 | proc_footer (void) | - |
440 | { | - |
441 | current_type = footer_type; | - |
442 | current_regex = &footer_regex; | - |
443 | if (reset_numbersTRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1 |
444 | line_no = starting_line_number;executed 1 time by 1 test: line_no = starting_line_number; | 1 |
445 | putchar_unlocked ('\n'); | - |
446 | }executed 2 times by 1 test: end of block | 2 |
447 | | - |
448 | | - |
449 | | - |
450 | static void | - |
451 | proc_text (void) | - |
452 | { | - |
453 | static intmax_t blank_lines = 0; | - |
454 | | - |
455 | switch (*current_type) | - |
456 | { | - |
457 | caseexecuted 4 times by 1 test: case 'a': 'a':executed 4 times by 1 test: case 'a': | 4 |
458 | if (blank_join > 1TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) | 0-4 |
459 | { | - |
460 | if (1 < line_buf.lengthTRUE | never evaluated | FALSE | never evaluated |
|| ++TRUE | never evaluated | FALSE | never evaluated |
blank_lines == blank_joinTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
461 | { | - |
462 | print_lineno (); | - |
463 | blank_lines = 0; | - |
464 | } never executed: end of block | 0 |
465 | else | - |
466 | fputs_unlocked (print_no_line_fmt, never executed: fputs_unlocked (print_no_line_fmt, stdout ); | 0 |
467 | stdout never executed: fputs_unlocked (print_no_line_fmt, stdout ); | 0 |
468 | ); never executed: fputs_unlocked (print_no_line_fmt, stdout ); | 0 |
469 | } | - |
470 | else | - |
471 | print_lineno ();executed 4 times by 1 test: print_lineno (); | 4 |
472 | break;executed 4 times by 1 test: break; | 4 |
473 | caseexecuted 47 times by 1 test: case 't': 't':executed 47 times by 1 test: case 't': | 47 |
474 | if (1 < line_buf.lengthTRUE | evaluated 46 times by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1-46 |
475 | print_lineno ();executed 46 times by 1 test: print_lineno (); | 46 |
476 | else | - |
477 | fputs_unlocked (print_no_line_fmt,executed 1 time by 1 test: fputs_unlocked (print_no_line_fmt, stdout ); | 1 |
478 | stdoutexecuted 1 time by 1 test: fputs_unlocked (print_no_line_fmt, stdout ); | 1 |
479 | );executed 1 time by 1 test: fputs_unlocked (print_no_line_fmt, stdout ); | 1 |
480 | break;executed 47 times by 1 test: break; | 47 |
481 | case never executed: case 'n': 'n':never executed: case 'n': | 0 |
482 | fputs_unlocked (print_no_line_fmt, | - |
483 | stdout | - |
484 | ); | - |
485 | break; never executed: break; | 0 |
486 | case never executed: case 'p': 'p':never executed: case 'p': | 0 |
487 | switch (re_search (current_regex, line_buf.buffer, line_buf.length - 1, | - |
488 | 0, line_buf.length - 1, | - |
489 | ((void *)0) | - |
490 | )) | - |
491 | { | - |
492 | case never executed: case -2: -2:never executed: case -2: | 0 |
493 | ((!!sizeof (struct { _Static_assert ( | - |
494 | 1 | - |
495 | , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"error in regular expression search\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( | - |
496 | 1 | - |
497 | , | - |
498 | (*__errno_location ()) | - |
499 | , | - |
500 | dcgettext (((void *)0), | - |
501 | "error in regular expression search" | - |
502 | , 5) | - |
503 | ), (( | - |
504 | 0 | - |
505 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( | - |
506 | 1 | - |
507 | , | - |
508 | (*__errno_location ()) | - |
509 | , | - |
510 | dcgettext (((void *)0), | - |
511 | "error in regular expression search" | - |
512 | , 5) | - |
513 | ), (( | - |
514 | 0 | - |
515 | ) ? (void) 0 : __builtin_unreachable ())))); | - |
516 | | - |
517 | case never executed: case -1: -1:never executed: case -1: code before this statement never executed: case -1: | 0 |
518 | fputs_unlocked (print_no_line_fmt, | - |
519 | stdout | - |
520 | ); | - |
521 | break; never executed: break; | 0 |
522 | | - |
523 | default never executed: default: :never executed: default: | 0 |
524 | print_lineno (); | - |
525 | break; never executed: break; | 0 |
526 | } | - |
527 | } | - |
528 | | - |
529 | (__extension__ ((__builtin_constant_p ( | - |
530 | sizeof (char) | - |
531 | ) && __builtin_constant_p ( | - |
532 | line_buf.length | - |
533 | ) && (size_t) ( | - |
534 | sizeof (char) | - |
535 | ) * (size_t) ( | - |
536 | line_buf.length | - |
537 | ) <= 8 && (size_t) ( | - |
538 | sizeof (char) | - |
539 | ) != 0) ? ({ const char *__ptr = (const char *) ( | - |
540 | line_buf.buffer | - |
541 | ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) ( | - |
542 | sizeof (char) | - |
543 | ) * (size_t) ( | - |
544 | line_buf.length | - |
545 | ); __cnt > 0TRUE | never evaluated | FALSE | never evaluated |
; --__cnt) if ((TRUE | never evaluated | FALSE | never evaluated |
__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0)TRUE | never evaluated | FALSE | never evaluated |
? __overflow (__stream, (unsigned char) (*__ptr++)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (*__ptr++))) == (-1)TRUE | never evaluated | FALSE | never evaluated |
) break;never executed: break; ((size_t) ( | 0 |
546 | sizeof (char) | - |
547 | ) * (size_t) ( | - |
548 | line_buf.length | - |
549 | ) - __cnt) / (size_t) ( | - |
550 | sizeof (char) | - |
551 | ); }) : (((__builtin_constant_p ( | - |
552 | sizeof (char) | - |
553 | ) && (size_t) ( | - |
554 | sizeof (char) | - |
555 | ) == 0) || (__builtin_constant_p ( | - |
556 | line_buf.length | - |
557 | ) && (size_t) ( | - |
558 | line_buf.length | - |
559 | ) == 0)) ? ((void) ( | - |
560 | line_buf.buffer | - |
561 | ), (void) (stdout), (void) ( | - |
562 | sizeof (char) | - |
563 | ), (void) ( | - |
564 | line_buf.length | - |
565 | ), (size_t) 0) : fwrite_unlocked ( | - |
566 | line_buf.buffer | - |
567 | , | - |
568 | sizeof (char) | - |
569 | , | - |
570 | line_buf.length | - |
571 | , stdout)))) | - |
572 | ; | - |
573 | }executed 51 times by 1 test: end of block | 51 |
574 | | - |
575 | | - |
576 | | - |
577 | static enum section | - |
578 | check_section (void) | - |
579 | { | - |
580 | size_t len = line_buf.length - 1; | - |
581 | | - |
582 | if (len < 2TRUE | evaluated 13 times by 1 test | FALSE | evaluated 44 times by 1 test |
|| memcmp (line_buf.buffer, section_del, 2)TRUE | evaluated 38 times by 1 test | FALSE | evaluated 6 times by 1 test |
) | 6-44 |
583 | returnexecuted 51 times by 1 test: return Text; Text;executed 51 times by 1 test: return Text; | 51 |
584 | if (len == header_del_lenTRUE | evaluated 2 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 2-4 |
585 | && !memcmp (line_buf.buffer, header_del, header_del_len)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
586 | returnexecuted 2 times by 1 test: return Header; Header;executed 2 times by 1 test: return Header; | 2 |
587 | if (len == body_del_lenTRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2 |
588 | && !memcmp (line_buf.buffer, body_del, body_del_len)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
589 | returnexecuted 2 times by 1 test: return Body; Body;executed 2 times by 1 test: return Body; | 2 |
590 | if (len == footer_del_lenTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
591 | && !memcmp (line_buf.buffer, footer_del, footer_del_len)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
592 | returnexecuted 2 times by 1 test: return Footer; Footer;executed 2 times by 1 test: return Footer; | 2 |
593 | return never executed: return Text; Text;never executed: return Text; | 0 |
594 | } | - |
595 | | - |
596 | | - |
597 | | - |
598 | static void | - |
599 | process_file (FILE *fp) | - |
600 | { | - |
601 | while (readlinebuffer (&line_buf, fp)TRUE | evaluated 57 times by 1 test | FALSE | evaluated 13 times by 1 test |
) | 13-57 |
602 | { | - |
603 | switch (check_section ()) | - |
604 | { | - |
605 | caseexecuted 2 times by 1 test: case Header: Header:executed 2 times by 1 test: case Header: | 2 |
606 | proc_header (); | - |
607 | break;executed 2 times by 1 test: break; | 2 |
608 | caseexecuted 2 times by 1 test: case Body: Body:executed 2 times by 1 test: case Body: | 2 |
609 | proc_body (); | - |
610 | break;executed 2 times by 1 test: break; | 2 |
611 | caseexecuted 2 times by 1 test: case Footer: Footer:executed 2 times by 1 test: case Footer: | 2 |
612 | proc_footer (); | - |
613 | break;executed 2 times by 1 test: break; | 2 |
614 | caseexecuted 51 times by 1 test: case Text: Text:executed 51 times by 1 test: case Text: | 51 |
615 | proc_text (); | - |
616 | break;executed 51 times by 1 test: break; | 51 |
617 | } | - |
618 | }executed 57 times by 1 test: end of block | 57 |
619 | }executed 13 times by 1 test: end of block | 13 |
620 | | - |
621 | | - |
622 | | - |
623 | | - |
624 | static | - |
625 | _Bool | - |
626 | | - |
627 | nl_file (char const *file) | - |
628 | { | - |
629 | FILE *stream; | - |
630 | | - |
631 | if ((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
632 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
633 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
634 | ) && __builtin_constant_p (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
635 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
636 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
637 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
638 | ), __s2_len = __builtin_strlen (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
639 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
640 | ), (!((size_t)(const void *)((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
641 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
642 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
643 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
644 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
645 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
646 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
647 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
648 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
649 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
650 | , TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
651 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
652 | ) : (__builtin_constant_p (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
653 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
654 | ) && ((size_t)(const void *)((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
655 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
656 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
657 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
658 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
659 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
660 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
661 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
662 | ) && ((size_t)(const void *)((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
663 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
664 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
665 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
666 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
667 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
668 | , TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
669 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
670 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
671 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
672 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
673 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
674 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
675 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
676 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
677 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
678 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]); TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
679 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]); | 0-11 |
680 | ))[3] - __s2[3]);TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
681 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
682 | ) && ((size_t)(const void *)((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
683 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
684 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
685 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
686 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
687 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
688 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
689 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
690 | ) && ((size_t)(const void *)((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
691 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
692 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
693 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
694 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
695 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
696 | , TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
697 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
698 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
699 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
700 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
701 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
702 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | evaluated 13 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-13 |
703 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
704 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | evaluated 11 times by 1 test |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
705 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
706 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
707 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-11 |
708 | ))[3] - __s2[3]);TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); }never executed: end of block } __result; }))) : __builtin_strcmp (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
709 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
710 | , TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
711 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
712 | )))); }) TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
713 | == 0)TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2-11 |
714 | { | - |
715 | have_read_stdin = | - |
716 | 1 | - |
717 | ; | - |
718 | stream = | - |
719 | stdin | - |
720 | ; | - |
721 | }executed 11 times by 1 test: end of block | 11 |
722 | else | - |
723 | { | - |
724 | stream = fopen (file, "r"); | - |
725 | if (stream == TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
726 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
727 | ) | - |
728 | { | - |
729 | error (0, | - |
730 | (*__errno_location ()) | - |
731 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)); | - |
732 | return never executed: return 0 ; never executed: return 0 ; | 0 |
733 | 0 never executed: return 0 ; | 0 |
734 | ; never executed: return 0 ; | 0 |
735 | } | - |
736 | }executed 2 times by 1 test: end of block | 2 |
737 | | - |
738 | fadvise (stream, FADVISE_SEQUENTIAL); | - |
739 | | - |
740 | process_file (stream); | - |
741 | | - |
742 | if (ferror_unlocked (stream)TRUE | never evaluated | FALSE | evaluated 13 times by 1 test |
) | 0-13 |
743 | { | - |
744 | error (0, | - |
745 | (*__errno_location ()) | - |
746 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)); | - |
747 | return never executed: return 0 ; never executed: return 0 ; | 0 |
748 | 0 never executed: return 0 ; | 0 |
749 | ; never executed: return 0 ; | 0 |
750 | } | - |
751 | if ((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
752 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
753 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
754 | ) && __builtin_constant_p (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
755 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
756 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
757 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
758 | ), __s2_len = __builtin_strlen (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
759 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
760 | ), (!((size_t)(const void *)((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
761 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
762 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
763 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
764 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
765 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
766 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
767 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
768 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
769 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
770 | , TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
771 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
772 | ) : (__builtin_constant_p (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
773 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
774 | ) && ((size_t)(const void *)((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
775 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
776 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
777 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
778 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
779 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
780 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
781 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
782 | ) && ((size_t)(const void *)((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
783 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
784 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
785 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
786 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
787 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
788 | , TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
789 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
790 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
791 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
792 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
793 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
794 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
795 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
796 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
797 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
798 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]); TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
799 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]); | 0-11 |
800 | ))[3] - __s2[3]);TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( file ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
801 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
802 | ) && ((size_t)(const void *)((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
803 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
804 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
805 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
806 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
807 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
808 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
809 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
810 | ) && ((size_t)(const void *)((TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
811 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
812 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
813 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
814 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
815 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
816 | , TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
817 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
818 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
819 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
820 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
821 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
822 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | evaluated 13 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-13 |
823 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
824 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | evaluated 11 times by 1 test |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
825 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
826 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
827 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-11 |
828 | ))[3] - __s2[3]);TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); }never executed: end of block } __result; }))) : __builtin_strcmp (TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-11 |
829 | fileTRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
830 | , TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
831 | "-"TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
832 | )))); }) TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-11 |
833 | == 0)TRUE | evaluated 11 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2-11 |
834 | clearerr_unlocked (stream);executed 11 times by 1 test: clearerr_unlocked (stream); | 11 |
835 | else if ( | - |
836 | rpl_fclose TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
837 | (stream) == TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
838 | (-1)TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
839 | ) | - |
840 | { | - |
841 | error (0, | - |
842 | (*__errno_location ()) | - |
843 | , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, file)); | - |
844 | return never executed: return 0 ; never executed: return 0 ; | 0 |
845 | 0 never executed: return 0 ; | 0 |
846 | ; never executed: return 0 ; | 0 |
847 | } | - |
848 | returnexecuted 13 times by 1 test: return 1 ; executed 13 times by 1 test: return 1 ; | 13 |
849 | 1executed 13 times by 1 test: return 1 ; | 13 |
850 | ;executed 13 times by 1 test: return 1 ; | 13 |
851 | } | - |
852 | | - |
853 | int | - |
854 | main (int argc, char **argv) | - |
855 | { | - |
856 | int c; | - |
857 | size_t len; | - |
858 | | - |
859 | _Bool | - |
860 | ok = | - |
861 | 1 | - |
862 | ; | - |
863 | | - |
864 | ; | - |
865 | set_program_name (argv[0]); | - |
866 | setlocale ( | - |
867 | 6 | - |
868 | , ""); | - |
869 | bindtextdomain ("coreutils", "/usr/local/share/locale"); | - |
870 | textdomain ("coreutils"); | - |
871 | | - |
872 | atexit (close_stdout); | - |
873 | | - |
874 | have_read_stdin = | - |
875 | 0 | - |
876 | ; | - |
877 | | - |
878 | while ((TRUE | evaluated 55 times by 1 test | FALSE | evaluated 16 times by 1 test |
c = getopt_long (argc, argv, "h:b:f:v:i:pl:s:w:n:d:", longopts,TRUE | evaluated 55 times by 1 test | FALSE | evaluated 16 times by 1 test |
| 16-55 |
879 | TRUE | evaluated 55 times by 1 test | FALSE | evaluated 16 times by 1 test |
| 16-55 |
880 | ((void *)0)TRUE | evaluated 55 times by 1 test | FALSE | evaluated 16 times by 1 test |
| 16-55 |
881 | )) != -1TRUE | evaluated 55 times by 1 test | FALSE | evaluated 16 times by 1 test |
) | 16-55 |
882 | { | - |
883 | switch (c) | - |
884 | { | - |
885 | caseexecuted 4 times by 1 test: case 'h': 'h':executed 4 times by 1 test: case 'h': | 4 |
886 | if (! build_type_arg (&header_type, &header_regex, header_fastmap)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2 |
887 | { | - |
888 | error (0, 0, | - |
889 | dcgettext (((void *)0), | - |
890 | "invalid header numbering style: %s" | - |
891 | , 5) | - |
892 | , | - |
893 | quote (optarg)); | - |
894 | ok = | - |
895 | 0 | - |
896 | ; | - |
897 | }executed 2 times by 1 test: end of block | 2 |
898 | break;executed 4 times by 1 test: break; | 4 |
899 | caseexecuted 2 times by 1 test: case 'b': 'b':executed 2 times by 1 test: case 'b': | 2 |
900 | if (! build_type_arg (&body_type, &body_regex, body_fastmap)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
901 | { | - |
902 | error (0, 0, | - |
903 | dcgettext (((void *)0), | - |
904 | "invalid body numbering style: %s" | - |
905 | , 5) | - |
906 | , | - |
907 | quote (optarg)); | - |
908 | ok = | - |
909 | 0 | - |
910 | ; | - |
911 | }executed 2 times by 1 test: end of block | 2 |
912 | break;executed 2 times by 1 test: break; | 2 |
913 | caseexecuted 4 times by 1 test: case 'f': 'f':executed 4 times by 1 test: case 'f': | 4 |
914 | if (! build_type_arg (&footer_type, &footer_regex, footer_fastmap)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2 |
915 | { | - |
916 | error (0, 0, | - |
917 | dcgettext (((void *)0), | - |
918 | "invalid footer numbering style: %s" | - |
919 | , 5) | - |
920 | , | - |
921 | quote (optarg)); | - |
922 | ok = | - |
923 | 0 | - |
924 | ; | - |
925 | }executed 2 times by 1 test: end of block | 2 |
926 | break;executed 4 times by 1 test: break; | 4 |
927 | caseexecuted 2 times by 1 test: case 'v': 'v':executed 2 times by 1 test: case 'v': | 2 |
928 | starting_line_number = xdectoimax (optarg, | - |
929 | (-9223372036854775807L -1) | - |
930 | , | - |
931 | (9223372036854775807L) | - |
932 | , "", | - |
933 | | - |
934 | dcgettext (((void *)0), | - |
935 | "invalid starting line number" | - |
936 | , 5) | - |
937 | , | - |
938 | 0); | - |
939 | break; never executed: break; | 0 |
940 | caseexecuted 2 times by 1 test: case 'i': 'i':executed 2 times by 1 test: case 'i': | 2 |
941 | page_incr = xdectoimax (optarg, 1, | - |
942 | (9223372036854775807L) | - |
943 | , "", | - |
944 | | - |
945 | dcgettext (((void *)0), | - |
946 | "invalid line number increment" | - |
947 | , 5) | - |
948 | , 0); | - |
949 | break; never executed: break; | 0 |
950 | caseexecuted 3 times by 1 test: case 'p': 'p':executed 3 times by 1 test: case 'p': | 3 |
951 | reset_numbers = | - |
952 | 0 | - |
953 | ; | - |
954 | break;executed 3 times by 1 test: break; | 3 |
955 | caseexecuted 2 times by 1 test: case 'l': 'l':executed 2 times by 1 test: case 'l': | 2 |
956 | blank_join = xdectoimax (optarg, 1, | - |
957 | (9223372036854775807L) | - |
958 | , "", | - |
959 | | - |
960 | dcgettext (((void *)0), | - |
961 | "invalid line number of blank lines" | - |
962 | , 5) | - |
963 | , 0); | - |
964 | break; never executed: break; | 0 |
965 | caseexecuted 3 times by 1 test: case 's': 's':executed 3 times by 1 test: case 's': | 3 |
966 | separator_str = optarg; | - |
967 | break;executed 3 times by 1 test: break; | 3 |
968 | caseexecuted 2 times by 1 test: case 'w': 'w':executed 2 times by 1 test: case 'w': | 2 |
969 | lineno_width = xdectoimax (optarg, 1, 0x7fffffff, "", | - |
970 | | - |
971 | dcgettext (((void *)0), | - |
972 | "invalid line number field width" | - |
973 | , 5) | - |
974 | , 0); | - |
975 | break; never executed: break; | 0 |
976 | caseexecuted 5 times by 1 test: case 'n': 'n':executed 5 times by 1 test: case 'n': | 5 |
977 | if ((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
978 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
979 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
980 | ) && __builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
981 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
982 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
983 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
984 | ), __s2_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
985 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
986 | ), (!((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
987 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
988 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
989 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
990 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
991 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
992 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
993 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
994 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
995 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
996 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
997 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
998 | ) : (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
999 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1000 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1001 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1002 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1003 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1004 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1005 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1006 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1007 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1008 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1009 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1010 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1011 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1012 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1013 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1014 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1015 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1016 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1017 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1018 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1019 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1020 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-4 |
1021 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1022 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-4 |
1023 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1024 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( optarg ))[3] - __s2[3]); TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-4 |
1025 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( optarg ))[3] - __s2[3]); | 0-4 |
1026 | ))[3] - __s2[3]);TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( optarg ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-4 |
1027 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1028 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1029 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1030 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1031 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1032 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1033 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1034 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1035 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1036 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1037 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1038 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1039 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1040 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1041 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1042 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1043 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1044 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1045 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1046 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1047 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1048 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | evaluated 5 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-5 |
1049 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1050 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-4 |
1051 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1052 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "ln" ))[3] - __s2[3]); TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-4 |
1053 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "ln" ))[3] - __s2[3]); | 0-4 |
1054 | ))[3] - __s2[3]);TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "ln" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-4 |
1055 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1056 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1057 | "ln"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1058 | )))); }) TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
1059 | == 0)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
) | 1-4 |
1060 | lineno_format = FORMAT_LEFT;executed 1 time by 1 test: lineno_format = FORMAT_LEFT; | 1 |
1061 | else if ((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1062 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1063 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1064 | ) && __builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1065 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1066 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1067 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1068 | ), __s2_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1069 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1070 | ), (!((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1071 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1072 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1073 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1074 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1075 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1076 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1077 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1078 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1079 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1080 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1081 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1082 | ) : (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1083 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1084 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1085 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1086 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1087 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1088 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1089 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1090 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1091 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1092 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1093 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1094 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1095 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1096 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1097 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1098 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1099 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1100 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1101 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1102 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1103 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1104 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-3 |
1105 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1106 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-3 |
1107 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1108 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( optarg ))[3] - __s2[3]); TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-3 |
1109 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( optarg ))[3] - __s2[3]); | 0-3 |
1110 | ))[3] - __s2[3]);TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( optarg ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-3 |
1111 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1112 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1113 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1114 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1115 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1116 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1117 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1118 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1119 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1120 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1121 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1122 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1123 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1124 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1125 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1126 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1127 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1128 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1129 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1130 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1131 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1132 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-4 |
1133 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1134 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-3 |
1135 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1136 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "rn" ))[3] - __s2[3]); TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-3 |
1137 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "rn" ))[3] - __s2[3]); | 0-3 |
1138 | ))[3] - __s2[3]);TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "rn" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-3 |
1139 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1140 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1141 | "rn"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1142 | )))); }) TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
| 1-3 |
1143 | == 0)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
) | 1-3 |
1144 | lineno_format = FORMAT_RIGHT_NOLZ;executed 1 time by 1 test: lineno_format = FORMAT_RIGHT_NOLZ; | 1 |
1145 | else if ((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1146 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1147 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1148 | ) && __builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1149 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1150 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1151 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1152 | ), __s2_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1153 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1154 | ), (!((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1155 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1156 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1157 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1158 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1159 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1160 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1161 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1162 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1163 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1164 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1165 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1166 | ) : (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1167 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1168 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1169 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1170 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1171 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1172 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1173 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1174 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1175 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1176 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1177 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1178 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1179 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1180 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1181 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1182 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1183 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1184 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1185 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1186 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1187 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1188 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-2 |
1189 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1190 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-2 |
1191 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1192 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( optarg ))[3] - __s2[3]); TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-2 |
1193 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( optarg ))[3] - __s2[3]); | 0-2 |
1194 | ))[3] - __s2[3]);TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( optarg ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 0-2 |
1195 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1196 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1197 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1198 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1199 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1200 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1201 | "rz"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1202 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1203 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1204 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1205 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1206 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1207 | optargTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
| 1-2 |
1208 | |