OpenCoverage

pr.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/pr.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3struct COLUMN;-
4struct COLUMN-
5 {-
6 FILE *fp;-
7 char const *name;-
8 enum-
9 {-
10 OPEN,-
11 FF_FOUND,-
12-
13 ON_HOLD,-
14 CLOSED-
15 }-
16 status;-
17-
18-
19 -
20 _Bool -
21 (*print_func) (struct COLUMN *);-
22-
23-
24 void (*char_func) (char);-
25-
26 int current_line;-
27 int lines_stored;-
28 int lines_to_print;-
29 int start_position;-
30 -
31 _Bool -
32 numbered;-
33 -
34 _Bool -
35 full_page_printed;-
36-
37-
38-
39-
40-
41 };-
42-
43typedef struct COLUMN COLUMN;-
44-
45static int char_to_clump (char c);-
46static -
47 _Bool -
48 read_line (COLUMN *p);-
49static -
50 _Bool -
51 print_page (void);-
52static -
53 _Bool -
54 print_stored (COLUMN *p);-
55static -
56 _Bool -
57 open_file (char *name, COLUMN *p);-
58static -
59 _Bool -
60 skip_to_page (uintmax_t page);-
61static void print_header (void);-
62static void pad_across_to (int position);-
63static void add_line_number (COLUMN *p);-
64static void getoptnum (const char *n_str, int min, int *num,-
65 const char *errfmt);-
66static void getoptarg (char *arg, char switch_char, char *character,-
67 int *number);-
68static void print_files (int number_of_files, char **av);-
69static void init_parameters (int number_of_files);-
70static void init_header (char const *filename, int desc);-
71static -
72 _Bool -
73 init_fps (int number_of_files, char **av);-
74static void init_funcs (void);-
75static void init_store_cols (void);-
76static void store_columns (void);-
77static void balance (int total_stored);-
78static void store_char (char c);-
79static void pad_down (unsigned int lines);-
80static void read_rest_of_line (COLUMN *p);-
81static void skip_read (COLUMN *p, int column_number);-
82static void print_char (char c);-
83static void cleanup (void);-
84static void print_sep_string (void);-
85static void separator_string (const char *optarg_S);-
86-
87-
88static COLUMN *column_vector;-
89-
90-
91-
92-
93-
94static char *buff;-
95-
96-
97-
98static unsigned int buff_current;-
99-
100-
101-
102static size_t buff_allocated;-
103-
104-
105-
106-
107-
108static int *line_vector;-
109-
110-
111-
112-
113-
114-
115static int *end_vector;-
116-
117-
118static -
119 _Bool -
120 parallel_files = -
121 0-
122 ;-
123-
124-
125-
126static -
127 _Bool -
128 align_empty_cols;-
129-
130-
131-
132static -
133 _Bool -
134 empty_line;-
135-
136-
137-
138-
139-
140-
141static -
142 _Bool -
143 FF_only;-
144-
145-
146-
147-
148static -
149 _Bool -
150 explicit_columns = -
151 0-
152 ;-
153-
154-
155static -
156 _Bool -
157 extremities = -
158 1-
159 ;-
160-
161-
162-
163static -
164 _Bool -
165 keep_FF = -
166 0-
167 ;-
168static -
169 _Bool -
170 print_a_FF = -
171 0-
172 ;-
173-
174-
175-
176static -
177 _Bool -
178 print_a_header;-
179-
180-
181static -
182 _Bool -
183 use_form_feed = -
184 0-
185 ;-
186-
187-
188static -
189 _Bool -
190 have_read_stdin = -
191 0-
192 ;-
193-
194-
195static -
196 _Bool -
197 print_across_flag = -
198 0-
199 ;-
200-
201-
202static -
203 _Bool -
204 storing_columns = -
205 1-
206 ;-
207-
208-
209-
210-
211-
212static -
213 _Bool -
214 balance_columns = -
215 0-
216 ;-
217-
218-
219static int lines_per_page = 66;-
220-
221-
222-
223enum { lines_per_header = 5 };-
224static int lines_per_body;-
225enum { lines_per_footer = 5 };-
226-
227-
228-
229static int chars_per_line = 72;-
230-
231-
232static -
233 _Bool -
234 truncate_lines = -
235 0-
236 ;-
237-
238-
239-
240static -
241 _Bool -
242 join_lines = -
243 0-
244 ;-
245-
246-
247-
248static int chars_per_column;-
249-
250-
251static -
252 _Bool -
253 untabify_input = -
254 0-
255 ;-
256-
257-
258static char input_tab_char = '\t';-
259-
260-
261-
262static int chars_per_input_tab = 8;-
263-
264-
265static -
266 _Bool -
267 tabify_output = -
268 0-
269 ;-
270-
271-
272static char output_tab_char = '\t';-
273-
274-
275static int chars_per_output_tab = 8;-
276-
277-
278-
279-
280static int spaces_not_printed;-
281-
282-
283static int chars_per_margin = 0;-
284-
285-
286-
287-
288-
289static int output_position;-
290-
291-
292-
293-
294-
295static int input_position;-
296-
297-
298-
299static -
300 _Bool -
301 failed_opens = -
302 0-
303 ;-
304static int columns = 1;-
305-
306-
307-
308static uintmax_t first_page_number = 0;-
309static uintmax_t last_page_number = -
310 (18446744073709551615UL)-
311 ;-
312-
313-
314static int files_ready_to_read = 0;-
315-
316-
317static uintmax_t page_number;-
318static int line_number;-
319-
320-
321static -
322 _Bool -
323 numbered_lines = -
324 0-
325 ;-
326-
327-
328static char number_separator = '\t';-
329-
330-
331-
332static int line_count = 1;-
333-
334-
335-
336-
337static -
338 _Bool -
339 skip_count = -
340 1-
341 ;-
342-
343-
344-
345static int start_line_num = 1;-
346-
347-
348static int chars_per_number = 5;-
349-
350-
351-
352-
353static int number_width;-
354-
355-
356static char *number_buff;-
357-
358-
359-
360static -
361 _Bool -
362 use_esc_sequence = -
363 0-
364 ;-
365-
366-
367-
368static -
369 _Bool -
370 use_cntrl_prefix = -
371 0-
372 ;-
373-
374-
375static -
376 _Bool -
377 double_space = -
378 0-
379 ;-
380-
381-
382-
383static int total_files = 0;-
384-
385-
386static -
387 _Bool -
388 ignore_failed_opens = -
389 0-
390 ;-
391-
392-
393-
394static -
395 _Bool -
396 use_col_separator = -
397 0-
398 ;-
399-
400-
401-
402-
403static char const *col_sep_string = "";-
404static int col_sep_length = 0;-
405static char *column_separator = (char *) " ";-
406static char *line_separator = (char *) "\t";-
407-
408-
409-
410static int separators_not_printed;-
411-
412-
413-
414static int padding_not_printed;-
415-
416-
417-
418static -
419 _Bool -
420 pad_vertically;-
421-
422-
423static char *custom_header;-
424-
425-
426static char const *date_format;-
427-
428-
429static timezone_t localtz;-
430-
431-
432static char *date_text;-
433static char const *file_text;-
434-
435-
436static int header_width_available;-
437-
438static char *clump_buff;-
439-
440-
441-
442-
443-
444static -
445 _Bool -
446 last_line = -
447 0-
448 ;-
449-
450-
451-
452enum-
453{-
454 COLUMNS_OPTION = 0x7f + 1,-
455 PAGES_OPTION-
456};-
457-
458static char const short_options[] =-
459 "-0123456789D:FJN:S::TW:abcde::fh:i::l:mn::o:rs::tvw:";-
460-
461static struct option const long_options[] =-
462{-
463 {"pages", -
464 1-
465 , -
466 ((void *)0)-
467 , PAGES_OPTION},-
468 {"columns", -
469 1-
470 , -
471 ((void *)0)-
472 , COLUMNS_OPTION},-
473 {"across", -
474 0-
475 , -
476 ((void *)0)-
477 , 'a'},-
478 {"show-control-chars", -
479 0-
480 , -
481 ((void *)0)-
482 , 'c'},-
483 {"double-space", -
484 0-
485 , -
486 ((void *)0)-
487 , 'd'},-
488 {"date-format", -
489 1-
490 , -
491 ((void *)0)-
492 , 'D'},-
493 {"expand-tabs", -
494 2-
495 , -
496 ((void *)0)-
497 , 'e'},-
498 {"form-feed", -
499 0-
500 , -
501 ((void *)0)-
502 , 'f'},-
503 {"header", -
504 1-
505 , -
506 ((void *)0)-
507 , 'h'},-
508 {"output-tabs", -
509 2-
510 , -
511 ((void *)0)-
512 , 'i'},-
513 {"join-lines", -
514 0-
515 , -
516 ((void *)0)-
517 , 'J'},-
518 {"length", -
519 1-
520 , -
521 ((void *)0)-
522 , 'l'},-
523 {"merge", -
524 0-
525 , -
526 ((void *)0)-
527 , 'm'},-
528 {"number-lines", -
529 2-
530 , -
531 ((void *)0)-
532 , 'n'},-
533 {"first-line-number", -
534 1-
535 , -
536 ((void *)0)-
537 , 'N'},-
538 {"indent", -
539 1-
540 , -
541 ((void *)0)-
542 , 'o'},-
543 {"no-file-warnings", -
544 0-
545 , -
546 ((void *)0)-
547 , 'r'},-
548 {"separator", -
549 2-
550 , -
551 ((void *)0)-
552 , 's'},-
553 {"sep-string", -
554 2-
555 , -
556 ((void *)0)-
557 , 'S'},-
558 {"omit-header", -
559 0-
560 , -
561 ((void *)0)-
562 , 't'},-
563 {"omit-pagination", -
564 0-
565 , -
566 ((void *)0)-
567 , 'T'},-
568 {"show-nonprinting", -
569 0-
570 , -
571 ((void *)0)-
572 , 'v'},-
573 {"width", -
574 1-
575 , -
576 ((void *)0)-
577 , 'w'},-
578 {"page-width", -
579 1-
580 , -
581 ((void *)0)-
582 , 'W'},-
583 {"help", -
584 0-
585 , -
586 ((void *)0)-
587 , GETOPT_HELP_CHAR},-
588 {"version", -
589 0-
590 , -
591 ((void *)0)-
592 , GETOPT_VERSION_CHAR},-
593 {-
594 ((void *)0)-
595 , 0, -
596 ((void *)0)-
597 , 0}-
598};-
599-
600static void-
601integer_overflow (void)-
602{-
603 ((!!sizeof (struct { _Static_assert (-
604 1-
605 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"integer overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
606 1-
607 , 0, -
608 dcgettext (((void *)0), -
609 "integer overflow"-
610 , 5)-
611 ), ((-
612 0-
613 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
614 1-
615 , 0, -
616 dcgettext (((void *)0), -
617 "integer overflow"-
618 , 5)-
619 ), ((-
620 0-
621 ) ? (void) 0 : __builtin_unreachable ()))));-
622}
never executed: end of block
0
623-
624-
625-
626-
627static unsigned int __attribute__ ((__pure__))-
628cols_ready_to_print (void)-
629{-
630 COLUMN *q;-
631 unsigned int i;-
632 unsigned int n;-
633-
634 n = 0;-
635 for (q = column_vector, i = 0; i < columns
i < columnsDescription
TRUEevaluated 101299 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 56091 times by 1 test
Evaluated by:
  • pr
; ++q, ++i)
56091-101299
636 if (q->status == OPEN
q->status == OPENDescription
TRUEevaluated 58960 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 42339 times by 1 test
Evaluated by:
  • pr
42339-58960
637 || q->status == FF_FOUND
q->status == FF_FOUNDDescription
TRUEevaluated 4884 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 37455 times by 1 test
Evaluated by:
  • pr
4884-37455
638 || (storing_columns
storing_columnsDescription
TRUEevaluated 22986 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 14469 times by 1 test
Evaluated by:
  • pr
&& q->lines_stored > 0
q->lines_stored > 0Description
TRUEevaluated 18537 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 4449 times by 1 test
Evaluated by:
  • pr
&& q->lines_to_print > 0
q->lines_to_print > 0Description
TRUEevaluated 11292 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 7245 times by 1 test
Evaluated by:
  • pr
))
4449-22986
639 ++
executed 75136 times by 1 test: ++n;
Executed by:
  • pr
n;
executed 75136 times by 1 test: ++n;
Executed by:
  • pr
75136
640 return
executed 56091 times by 1 test: return n;
Executed by:
  • pr
n;
executed 56091 times by 1 test: return n;
Executed by:
  • pr
56091
641}-
642-
643-
644-
645-
646static -
647 _Bool-
648-
649first_last_page (int oi, char c, char const *pages)-
650{-
651 char *p;-
652 uintmax_t first;-
653 uintmax_t last = -
654 (18446744073709551615UL)-
655 ;-
656 strtol_error err = xstrtoumax (pages, &p, 10, &first, "");-
657 if (err != LONGINT_OK
err != LONGINT_OKDescription
TRUEevaluated 28 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 221 times by 1 test
Evaluated by:
  • pr
&& err != LONGINT_INVALID_SUFFIX_CHAR
err != LONGINT...ID_SUFFIX_CHARDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 25 times by 1 test
Evaluated by:
  • pr
)
3-221
658 xstrtol_fatal (err, oi, c, long_options, pages);
executed 3 times by 1 test: xstrtol_fatal (err, oi, c, long_options, pages);
Executed by:
  • pr
3
659-
660 if (p == pages
p == pagesDescription
TRUEnever evaluated
FALSEevaluated 246 times by 1 test
Evaluated by:
  • pr
|| !first
!firstDescription
TRUEnever evaluated
FALSEevaluated 246 times by 1 test
Evaluated by:
  • pr
)
0-246
661 return
never executed: return 0 ;
never executed: return 0 ;
0
662 0
never executed: return 0 ;
0
663 ;
never executed: return 0 ;
0
664-
665 if (*
*p == ':'Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 222 times by 1 test
Evaluated by:
  • pr
p == ':'
*p == ':'Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 222 times by 1 test
Evaluated by:
  • pr
)
24-222
666 {-
667 char const *p1 = p + 1;-
668 err = xstrtoumax (p1, &p, 10, &last, "");-
669 if (err != LONGINT_OK
err != LONGINT_OKDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 21 times by 1 test
Evaluated by:
  • pr
)
3-21
670 xstrtol_fatal (err, oi, c, long_options, pages);
executed 3 times by 1 test: xstrtol_fatal (err, oi, c, long_options, pages);
Executed by:
  • pr
3
671 if (p1 == p
p1 == pDescription
TRUEnever evaluated
FALSEevaluated 21 times by 1 test
Evaluated by:
  • pr
|| last < first
last < firstDescription
TRUEnever evaluated
FALSEevaluated 21 times by 1 test
Evaluated by:
  • pr
)
0-21
672 return
never executed: return 0 ;
never executed: return 0 ;
0
673 0
never executed: return 0 ;
0
674 ;
never executed: return 0 ;
0
675 }
executed 21 times by 1 test: end of block
Executed by:
  • pr
21
676-
677 if (*
*pDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pr
FALSEevaluated 242 times by 1 test
Evaluated by:
  • pr
p
*pDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pr
FALSEevaluated 242 times by 1 test
Evaluated by:
  • pr
)
1-242
678 return
executed 1 time by 1 test: return 0 ;
Executed by:
  • pr
executed 1 time by 1 test: return 0 ;
Executed by:
  • pr
1
679 0
executed 1 time by 1 test: return 0 ;
Executed by:
  • pr
1
680 ;
executed 1 time by 1 test: return 0 ;
Executed by:
  • pr
1
681-
682 first_page_number = first;-
683 last_page_number = last;-
684 return
executed 242 times by 1 test: return 1 ;
Executed by:
  • pr
executed 242 times by 1 test: return 1 ;
Executed by:
  • pr
242
685 1
executed 242 times by 1 test: return 1 ;
Executed by:
  • pr
242
686 ;
executed 242 times by 1 test: return 1 ;
Executed by:
  • pr
242
687}-
688-
689-
690-
691-
692-
693static void-
694parse_column_count (char const *s)-
695{-
696 getoptnum (s, 1, &columns, -
697 dcgettext (((void *)0), -
698 "invalid number of columns"-
699 , 5)-
700 );-
701 explicit_columns = -
702 1-
703 ;-
704}
executed 420 times by 1 test: end of block
Executed by:
  • pr
420
705-
706-
707-
708static void-
709separator_string (const char *optarg_S)-
710{-
711 size_t len = strlen (optarg_S);-
712 if (0x7fffffff < len
0x7fffffff < lenDescription
TRUEnever evaluated
FALSEevaluated 45 times by 1 test
Evaluated by:
  • pr
)
0-45
713 integer_overflow ();
never executed: integer_overflow ();
0
714 col_sep_length = len;-
715 col_sep_string = optarg_S;-
716}
executed 45 times by 1 test: end of block
Executed by:
  • pr
45
717-
718int-
719main (int argc, char **argv)-
720{-
721 unsigned int n_files;-
722 -
723 _Bool -
724 old_options = -
725 0-
726 ;-
727 -
728 _Bool -
729 old_w = -
730 0-
731 ;-
732 -
733 _Bool -
734 old_s = -
735 0-
736 ;-
737 char **file_names;-
738-
739-
740 char *column_count_string = -
741 ((void *)0)-
742 ;-
743 size_t n_digits = 0;-
744 size_t n_alloc = 0;-
745-
746 ;-
747 set_program_name (argv[0]);-
748 setlocale (-
749 6-
750 , "");-
751 bindtextdomain ("coreutils", "/usr/local/share/locale");-
752 textdomain ("coreutils");-
753-
754 atexit (close_stdout);-
755-
756 n_files = 0;-
757 file_names = (argc > 1
argc > 1Description
TRUEevaluated 790 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • pr
2-790
758 ? xnmalloc (argc - 1, sizeof (char *))-
759 : -
760 ((void *)0)-
761 );-
762-
763 while (-
764 1-
765 )-
766 {-
767 int oi = -1;-
768 int c = getopt_long (argc, argv, short_options, long_options, &oi);-
769 if (c == -1
c == -1Description
TRUEevaluated 731 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 4637 times by 1 test
Evaluated by:
  • pr
)
731-4637
770 break;
executed 731 times by 1 test: break;
Executed by:
  • pr
731
771-
772 if (((
((unsigned int...c) - '0' <= 9)Description
TRUEevaluated 726 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3911 times by 1 test
Evaluated by:
  • pr
unsigned int) (c) - '0' <= 9)
((unsigned int...c) - '0' <= 9)Description
TRUEevaluated 726 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3911 times by 1 test
Evaluated by:
  • pr
)
726-3911
773 {-
774-
775 if (n_digits + 1 >= n_alloc
n_digits + 1 >= n_allocDescription
TRUEevaluated 426 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 300 times by 1 test
Evaluated by:
  • pr
)
300-426
776 column_count_string
executed 426 times by 1 test: column_count_string = ((void) (!!sizeof (struct { _Static_assert (sizeof *(column_count_string) == 1, "verify_true (" "sizeof *(column_count_string) == 1" ")"); int _gl_dummy; })), x2realloc (column_count_string, &n_alloc));
Executed by:
  • pr
426
777 = ((void) (!!sizeof (struct { _Static_assert (sizeof *(column_count_string) == 1, "verify_true (" "sizeof *(column_count_string) == 1" ")"); int _gl_dummy; })), x2realloc (column_count_string, &n_alloc));
executed 426 times by 1 test: column_count_string = ((void) (!!sizeof (struct { _Static_assert (sizeof *(column_count_string) == 1, "verify_true (" "sizeof *(column_count_string) == 1" ")"); int _gl_dummy; })), x2realloc (column_count_string, &n_alloc));
Executed by:
  • pr
426
778 column_count_string[n_digits++] = c;-
779 column_count_string[n_digits] = '\0';-
780 continue;
executed 726 times by 1 test: continue;
Executed by:
  • pr
726
781 }-
782-
783 n_digits = 0;-
784-
785 switch (c)-
786 {-
787 case
executed 561 times by 1 test: case 1:
Executed by:
  • pr
1:
executed 561 times by 1 test: case 1:
Executed by:
  • pr
561
788-
789 if (! (first_page_number == 0
first_page_number == 0Description
TRUEevaluated 467 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 94 times by 1 test
Evaluated by:
  • pr
94-467
790 && *
*optarg == '+'Description
TRUEevaluated 242 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 225 times by 1 test
Evaluated by:
  • pr
optarg == '+'
*optarg == '+'Description
TRUEevaluated 242 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 225 times by 1 test
Evaluated by:
  • pr
&& first_last_page (-2, '+', optarg + 1)
first_last_pag...', optarg + 1)Description
TRUEevaluated 242 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
))
0-242
791 file_names[n_files++] = optarg;
executed 319 times by 1 test: file_names[n_files++] = optarg;
Executed by:
  • pr
319
792 break;
executed 561 times by 1 test: break;
Executed by:
  • pr
561
793-
794 case
executed 7 times by 1 test: case PAGES_OPTION:
Executed by:
  • pr
PAGES_OPTION:
executed 7 times by 1 test: case PAGES_OPTION:
Executed by:
  • pr
7
795 {-
796 if (! optarg
! optargDescription
TRUEnever evaluated
FALSEevaluated 7 times by 1 test
Evaluated by:
  • pr
)
0-7
797 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 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), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
798 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
799 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
800 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
801 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
802 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
803 "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
804 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
805 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
806 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
807 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
808 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
809 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
810 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
811 "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
812 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
813 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
814 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
815 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
816 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "'--pages=FIRST_PAGE[:LAST_PAGE]' missing argument" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
817 else if (! first_last_page (oi, 0, optarg)
! first_last_p...oi, 0, optarg)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-1
818 ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
!!sizeof (struct { _Static_assert (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
819 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
820 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
821 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
822 , 0,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
823 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
824 "invalid page range %s"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
825 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
826 , quote (optarg)), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
827 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
828 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
829 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
830 , 0,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
831 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
832 "invalid page range %s"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
833 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
834 , quote (optarg)), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
835 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
836 ) ? (void) 0 : __builtin_unreachable ()))))
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
837 ;
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"invalid page range %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "invalid page range %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • pr
1
838 break;
never executed: break;
0
839 }-
840-
841 case
executed 7 times by 1 test: case COLUMNS_OPTION:
Executed by:
  • pr
COLUMNS_OPTION:
executed 7 times by 1 test: case COLUMNS_OPTION:
Executed by:
  • pr
7
842 {-
843 parse_column_count (optarg);-
844-
845-
846-
847-
848 free (column_count_string);-
849 column_count_string = -
850 ((void *)0)-
851 ;-
852 n_alloc = 0;-
853 break;
executed 6 times by 1 test: break;
Executed by:
  • pr
6
854 }-
855-
856 case
executed 161 times by 1 test: case 'a':
Executed by:
  • pr
'a':
executed 161 times by 1 test: case 'a':
Executed by:
  • pr
161
857 print_across_flag = -
858 1-
859 ;-
860 storing_columns = -
861 0-
862 ;-
863 break;
executed 161 times by 1 test: break;
Executed by:
  • pr
161
864 case
executed 186 times by 1 test: case 'b':
Executed by:
  • pr
'b':
executed 186 times by 1 test: case 'b':
Executed by:
  • pr
186
865 balance_columns = -
866 1-
867 ;-
868 break;
executed 186 times by 1 test: break;
Executed by:
  • pr
186
869 case
executed 2 times by 1 test: case 'c':
Executed by:
  • pr
'c':
executed 2 times by 1 test: case 'c':
Executed by:
  • pr
2
870 use_cntrl_prefix = -
871 1-
872 ;-
873 break;
executed 2 times by 1 test: break;
Executed by:
  • pr
2
874 case
executed 8 times by 1 test: case 'd':
Executed by:
  • pr
'd':
executed 8 times by 1 test: case 'd':
Executed by:
  • pr
8
875 double_space = -
876 1-
877 ;-
878 break;
executed 8 times by 1 test: break;
Executed by:
  • pr
8
879 case
executed 732 times by 1 test: case 'D':
Executed by:
  • pr
'D':
executed 732 times by 1 test: case 'D':
Executed by:
  • pr
732
880 date_format = optarg;-
881 break;
executed 732 times by 1 test: break;
Executed by:
  • pr
732
882 case
executed 37 times by 1 test: case 'e':
Executed by:
  • pr
'e':
executed 37 times by 1 test: case 'e':
Executed by:
  • pr
37
883 if (optarg
optargDescription
TRUEevaluated 27 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 10 times by 1 test
Evaluated by:
  • pr
)
10-27
884 getoptarg (optarg, 'e', &input_tab_char,
executed 27 times by 1 test: getoptarg (optarg, 'e', &input_tab_char, &chars_per_input_tab);
Executed by:
  • pr
27
885 &chars_per_input_tab);
executed 27 times by 1 test: getoptarg (optarg, 'e', &input_tab_char, &chars_per_input_tab);
Executed by:
  • pr
27
886-
887 untabify_input = -
888 1-
889 ;-
890 break;
executed 37 times by 1 test: break;
Executed by:
  • pr
37
891 case
executed 334 times by 1 test: case 'f':
Executed by:
  • pr
'f':
executed 334 times by 1 test: case 'f':
Executed by:
  • pr
334
892 case
executed 1 time by 1 test: case 'F':
Executed by:
  • pr
'F':
executed 1 time by 1 test: case 'F':
Executed by:
  • pr
1
893 use_form_feed = -
894 1-
895 ;-
896 break;
executed 335 times by 1 test: break;
Executed by:
  • pr
335
897 case
executed 733 times by 1 test: case 'h':
Executed by:
  • pr
'h':
executed 733 times by 1 test: case 'h':
Executed by:
  • pr
733
898 custom_header = optarg;-
899 break;
executed 733 times by 1 test: break;
Executed by:
  • pr
733
900 case
executed 7 times by 1 test: case 'i':
Executed by:
  • pr
'i':
executed 7 times by 1 test: case 'i':
Executed by:
  • pr
7
901 if (optarg
optargDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pr
)
1-6
902 getoptarg (optarg, 'i', &output_tab_char,
executed 6 times by 1 test: getoptarg (optarg, 'i', &output_tab_char, &chars_per_output_tab);
Executed by:
  • pr
6
903 &chars_per_output_tab);
executed 6 times by 1 test: getoptarg (optarg, 'i', &output_tab_char, &chars_per_output_tab);
Executed by:
  • pr
6
904-
905 tabify_output = -
906 1-
907 ;-
908 break;
executed 7 times by 1 test: break;
Executed by:
  • pr
7
909 case
executed 32 times by 1 test: case 'J':
Executed by:
  • pr
'J':
executed 32 times by 1 test: case 'J':
Executed by:
  • pr
32
910 join_lines = -
911 1-
912 ;-
913 break;
executed 32 times by 1 test: break;
Executed by:
  • pr
32
914 case
executed 472 times by 1 test: case 'l':
Executed by:
  • pr
'l':
executed 472 times by 1 test: case 'l':
Executed by:
  • pr
472
915 getoptnum (optarg, 1, &lines_per_page,-
916 -
917 dcgettext (((void *)0), -
918 "'-l PAGE_LENGTH' invalid number of lines"-
919 , 5)-
920 );-
921 break;
executed 470 times by 1 test: break;
Executed by:
  • pr
470
922 case
executed 39 times by 1 test: case 'm':
Executed by:
  • pr
'm':
executed 39 times by 1 test: case 'm':
Executed by:
  • pr
39
923 parallel_files = -
924 1-
925 ;-
926 storing_columns = -
927 0-
928 ;-
929 break;
executed 39 times by 1 test: break;
Executed by:
  • pr
39
930 case
executed 193 times by 1 test: case 'n':
Executed by:
  • pr
'n':
executed 193 times by 1 test: case 'n':
Executed by:
  • pr
193
931 numbered_lines = -
932 1-
933 ;-
934 if (optarg
optargDescription
TRUEevaluated 168 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 25 times by 1 test
Evaluated by:
  • pr
)
25-168
935 getoptarg (optarg, 'n', &number_separator,
executed 168 times by 1 test: getoptarg (optarg, 'n', &number_separator, &chars_per_number);
Executed by:
  • pr
168
936 &chars_per_number);
executed 168 times by 1 test: getoptarg (optarg, 'n', &number_separator, &chars_per_number);
Executed by:
  • pr
168
937 break;
executed 193 times by 1 test: break;
Executed by:
  • pr
193
938 case
executed 17 times by 1 test: case 'N':
Executed by:
  • pr
'N':
executed 17 times by 1 test: case 'N':
Executed by:
  • pr
17
939 skip_count = -
940 0-
941 ;-
942 getoptnum (optarg, -
943 (-0x7fffffff - 1)-
944 , &start_line_num,-
945 -
946 dcgettext (((void *)0), -
947 "'-N NUMBER' invalid starting line number"-
948 , 5)-
949 );-
950 break;
executed 15 times by 1 test: break;
Executed by:
  • pr
15
951 case
executed 39 times by 1 test: case 'o':
Executed by:
  • pr
'o':
executed 39 times by 1 test: case 'o':
Executed by:
  • pr
39
952 getoptnum (optarg, 0, &chars_per_margin,-
953 -
954 dcgettext (((void *)0), -
955 "'-o MARGIN' invalid line offset"-
956 , 5)-
957 );-
958 break;
executed 37 times by 1 test: break;
Executed by:
  • pr
37
959 case
executed 2 times by 1 test: case 'r':
Executed by:
  • pr
'r':
executed 2 times by 1 test: case 'r':
Executed by:
  • pr
2
960 ignore_failed_opens = -
961 1-
962 ;-
963 break;
executed 2 times by 1 test: break;
Executed by:
  • pr
2
964 case
executed 17 times by 1 test: case 's':
Executed by:
  • pr
's':
executed 17 times by 1 test: case 's':
Executed by:
  • pr
17
965 old_options = -
966 1-
967 ;-
968 old_s = -
969 1-
970 ;-
971 if (!use_col_separator
!use_col_separatorDescription
TRUEevaluated 17 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
&& optarg
optargDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 8 times by 1 test
Evaluated by:
  • pr
)
0-17
972 separator_string (optarg);
executed 9 times by 1 test: separator_string (optarg);
Executed by:
  • pr
9
973 break;
executed 17 times by 1 test: break;
Executed by:
  • pr
17
974 case
executed 43 times by 1 test: case 'S':
Executed by:
  • pr
'S':
executed 43 times by 1 test: case 'S':
Executed by:
  • pr
43
975 old_s = -
976 0-
977 ;-
978-
979 col_sep_string = "";-
980 col_sep_length = 0;-
981 use_col_separator = -
982 1-
983 ;-
984 if (optarg
optargDescription
TRUEevaluated 36 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 7 times by 1 test
Evaluated by:
  • pr
)
7-36
985 separator_string (optarg);
executed 36 times by 1 test: separator_string (optarg);
Executed by:
  • pr
36
986 break;
executed 43 times by 1 test: break;
Executed by:
  • pr
43
987 case
executed 118 times by 1 test: case 't':
Executed by:
  • pr
't':
executed 118 times by 1 test: case 't':
Executed by:
  • pr
118
988 extremities = -
989 0-
990 ;-
991 keep_FF = -
992 1-
993 ;-
994 break;
executed 118 times by 1 test: break;
Executed by:
  • pr
118
995 case
executed 41 times by 1 test: case 'T':
Executed by:
  • pr
'T':
executed 41 times by 1 test: case 'T':
Executed by:
  • pr
41
996 extremities = -
997 0-
998 ;-
999 keep_FF = -
1000 0-
1001 ;-
1002 break;
executed 41 times by 1 test: break;
Executed by:
  • pr
41
1003 case
executed 2 times by 1 test: case 'v':
Executed by:
  • pr
'v':
executed 2 times by 1 test: case 'v':
Executed by:
  • pr
2
1004 use_esc_sequence = -
1005 1-
1006 ;-
1007 break;
executed 2 times by 1 test: break;
Executed by:
  • pr
2
1008 case
executed 19 times by 1 test: case 'w':
Executed by:
  • pr
'w':
executed 19 times by 1 test: case 'w':
Executed by:
  • pr
19
1009 old_options = -
1010 1-
1011 ;-
1012 old_w = -
1013 1-
1014 ;-
1015 {-
1016 int tmp_cpl;-
1017 getoptnum (optarg, 1, &tmp_cpl,-
1018 -
1019 dcgettext (((void *)0), -
1020 "'-w PAGE_WIDTH' invalid number of characters"-
1021 , 5)-
1022 );-
1023 if (! truncate_lines
! truncate_linesDescription
TRUEevaluated 17 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-17
1024 chars_per_line = tmp_cpl;
executed 17 times by 1 test: chars_per_line = tmp_cpl;
Executed by:
  • pr
17
1025 }-
1026 break;
executed 17 times by 1 test: break;
Executed by:
  • pr
17
1027 case
executed 58 times by 1 test: case 'W':
Executed by:
  • pr
'W':
executed 58 times by 1 test: case 'W':
Executed by:
  • pr
58
1028 old_w = -
1029 0-
1030 ;-
1031 truncate_lines = -
1032 1-
1033 ;-
1034 getoptnum (optarg, 1, &chars_per_line,-
1035 -
1036 dcgettext (((void *)0), -
1037 "'-W PAGE_WIDTH' invalid number of characters"-
1038 , 5)-
1039 );-
1040 break;
executed 56 times by 1 test: break;
Executed by:
  • pr
56
1041 case
executed 33 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • pr
GETOPT_HELP_CHAR:
executed 33 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • pr
usage (
33
1042 0-
1043 ); break;
never executed: break;
;
0
1044 case
executed 6 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • pr
GETOPT_VERSION_CHAR:
executed 6 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • pr
version_etc (
6
1045 stdout-
1046 , "pr", "GNU coreutils", Version, ("Pete TerMaat"), ("Roland Huebner"), (char *) -
1047 ((void *)0)-
1048 ); exit (
executed 6 times by 1 test: exit ( 0 );
Executed by:
  • pr
6
1049 0
executed 6 times by 1 test: exit ( 0 );
Executed by:
  • pr
6
1050 );
executed 6 times by 1 test: exit ( 0 );
Executed by:
  • pr
break;
never executed: break;
;
0-6
1051 default
executed 4 times by 1 test: default:
Executed by:
  • pr
:
executed 4 times by 1 test: default:
Executed by:
  • pr
4
1052 usage (-
1053 1-
1054 );-
1055 break;
never executed: break;
0
1056 }-
1057 }-
1058-
1059 if (column_count_string
column_count_stringDescription
TRUEevaluated 420 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 311 times by 1 test
Evaluated by:
  • pr
)
311-420
1060 {-
1061 parse_column_count (column_count_string);-
1062 free (column_count_string);-
1063 }
executed 414 times by 1 test: end of block
Executed by:
  • pr
414
1064-
1065 if (! date_format
! date_formatDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 721 times by 1 test
Evaluated by:
  • pr
)
4-721
1066 date_format = (getenv ("POSIXLY_CORRECT")
getenv ("POSIXLY_CORRECT")Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • pr
&& !hard_locale (
!hard_locale ( 2 )Description
TRUEnever evaluated
FALSEnever evaluated
executed 4 times by 1 test: date_format = (getenv ("POSIXLY_CORRECT") && !hard_locale ( 2 ) ? "%b %e %H:%M %Y" : "%Y-%m-%d %H:%M");
Executed by:
  • pr
0-4
1067 2
!hard_locale ( 2 )Description
TRUEnever evaluated
FALSEnever evaluated
executed 4 times by 1 test: date_format = (getenv ("POSIXLY_CORRECT") && !hard_locale ( 2 ) ? "%b %e %H:%M %Y" : "%Y-%m-%d %H:%M");
Executed by:
  • pr
0-4
1068 )
!hard_locale ( 2 )Description
TRUEnever evaluated
FALSEnever evaluated
executed 4 times by 1 test: date_format = (getenv ("POSIXLY_CORRECT") && !hard_locale ( 2 ) ? "%b %e %H:%M %Y" : "%Y-%m-%d %H:%M");
Executed by:
  • pr
0-4
1069 ? "%b %e %H:%M %Y"
executed 4 times by 1 test: date_format = (getenv ("POSIXLY_CORRECT") && !hard_locale ( 2 ) ? "%b %e %H:%M %Y" : "%Y-%m-%d %H:%M");
Executed by:
  • pr
4
1070 : "%Y-%m-%d %H:%M");
executed 4 times by 1 test: date_format = (getenv ("POSIXLY_CORRECT") && !hard_locale ( 2 ) ? "%b %e %H:%M %Y" : "%Y-%m-%d %H:%M");
Executed by:
  • pr
4
1071-
1072 localtz = tzalloc (getenv ("TZ"));-
1073-
1074-
1075 if (first_page_number == 0
first_page_number == 0Description
TRUEevaluated 483 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 242 times by 1 test
Evaluated by:
  • pr
)
242-483
1076 first_page_number = 1;
executed 483 times by 1 test: first_page_number = 1;
Executed by:
  • pr
483
1077-
1078 if (parallel_files
parallel_filesDescription
TRUEevaluated 37 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 688 times by 1 test
Evaluated by:
  • pr
&& explicit_columns
explicit_columnsDescription
TRUEnever evaluated
FALSEevaluated 37 times by 1 test
Evaluated by:
  • pr
)
0-688
1079 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 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), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1080 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1081 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1082 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1083 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1084 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1085 "cannot specify number of columns when printing in parallel"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1086 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1087 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1088 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1089 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1090 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1091 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1092 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1093 "cannot specify number of columns when printing in parallel"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1094 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1095 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1096 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1097 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1098 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify number of columns when printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *...f columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify number of columns when printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1099-
1100 if (parallel_files
parallel_filesDescription
TRUEevaluated 37 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 688 times by 1 test
Evaluated by:
  • pr
&& print_across_flag
print_across_flagDescription
TRUEnever evaluated
FALSEevaluated 37 times by 1 test
Evaluated by:
  • pr
)
0-688
1101 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 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), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1102 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1103 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1104 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1105 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1106 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1107 "cannot specify both printing across and printing in parallel"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1108 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1109 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1110 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1111 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1112 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1113 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1114 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1115 "cannot specify both printing across and printing in parallel"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1116 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1117 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1118 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1119 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1120 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"cannot specify both printing across and printing in parallel\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void...g across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "cannot specify both printing across and printing in parallel" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1121-
1122-
1123-
1124-
1125-
1126 if (old_options
old_optionsDescription
TRUEevaluated 27 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 698 times by 1 test
Evaluated by:
  • pr
)
27-698
1127 {-
1128 if (old_w
old_wDescription
TRUEevaluated 17 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 10 times by 1 test
Evaluated by:
  • pr
)
10-17
1129 {-
1130 if (parallel_files
parallel_filesDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 15 times by 1 test
Evaluated by:
  • pr
|| explicit_columns
explicit_columnsDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 6 times by 1 test
Evaluated by:
  • pr
)
2-15
1131 {-
1132-
1133 truncate_lines = -
1134 1-
1135 ;-
1136 if (old_s
old_sDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 5 times by 1 test
Evaluated by:
  • pr
)
5-6
1137-
1138-
1139 use_col_separator =
executed 6 times by 1 test: use_col_separator = 1 ;
Executed by:
  • pr
6
1140 1
executed 6 times by 1 test: use_col_separator = 1 ;
Executed by:
  • pr
6
1141 ;
executed 6 times by 1 test: use_col_separator = 1 ;
Executed by:
  • pr
6
1142 }
executed 11 times by 1 test: end of block
Executed by:
  • pr
11
1143 else-
1144-
1145-
1146 join_lines =
executed 6 times by 1 test: join_lines = 1 ;
Executed by:
  • pr
6
1147 1
executed 6 times by 1 test: join_lines = 1 ;
Executed by:
  • pr
6
1148 ;
executed 6 times by 1 test: join_lines = 1 ;
Executed by:
  • pr
6
1149 }-
1150 else if (!use_col_separator
!use_col_separatorDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-10
1151 {-
1152-
1153 if (old_s
old_sDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
&& (parallel_files
parallel_filesDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pr
FALSEevaluated 9 times by 1 test
Evaluated by:
  • pr
|| explicit_columns
explicit_columnsDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
))
0-10
1154 {-
1155 if (!truncate_lines
!truncate_linesDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-10
1156 {-
1157-
1158-
1159 join_lines = -
1160 1-
1161 ;-
1162 if (col_sep_length > 0
col_sep_length > 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 4 times by 1 test
Evaluated by:
  • pr
)
4-6
1163-
1164 use_col_separator =
executed 6 times by 1 test: use_col_separator = 1 ;
Executed by:
  • pr
6
1165 1
executed 6 times by 1 test: use_col_separator = 1 ;
Executed by:
  • pr
6
1166 ;
executed 6 times by 1 test: use_col_separator = 1 ;
Executed by:
  • pr
6
1167 }
executed 10 times by 1 test: end of block
Executed by:
  • pr
10
1168 else-
1169-
1170-
1171-
1172 use_col_separator =
never executed: use_col_separator = 1 ;
0
1173 1
never executed: use_col_separator = 1 ;
0
1174 ;
never executed: use_col_separator = 1 ;
0
1175 }-
1176 }
executed 10 times by 1 test: end of block
Executed by:
  • pr
10
1177 }
executed 27 times by 1 test: end of block
Executed by:
  • pr
27
1178-
1179 for (; optind < argc
optind < argcDescription
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
; optind++)
0-725
1180 {-
1181 file_names[n_files++] = argv[optind];-
1182 }
never executed: end of block
0
1183-
1184 if (n_files == 0
n_files == 0Description
TRUEevaluated 454 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 271 times by 1 test
Evaluated by:
  • pr
)
271-454
1185 {-
1186-
1187 print_files (0, -
1188 ((void *)0)-
1189 );-
1190 }
executed 454 times by 1 test: end of block
Executed by:
  • pr
454
1191 else-
1192 {-
1193 if (parallel_files
parallel_filesDescription
TRUEevaluated 37 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 234 times by 1 test
Evaluated by:
  • pr
)
37-234
1194 print_files (n_files, file_names);
executed 37 times by 1 test: print_files (n_files, file_names);
Executed by:
  • pr
37
1195 else-
1196 {-
1197 for (unsigned int i = 0; i < n_files
i < n_filesDescription
TRUEevaluated 234 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 234 times by 1 test
Evaluated by:
  • pr
; i++)
234
1198 print_files (1, &file_names[i]);
executed 234 times by 1 test: print_files (1, &file_names[i]);
Executed by:
  • pr
234
1199 }
executed 234 times by 1 test: end of block
Executed by:
  • pr
234
1200 }-
1201-
1202 cleanup ();-
1203 ;-
1204-
1205 if (have_read_stdin
have_read_stdinDescription
TRUEevaluated 454 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 271 times by 1 test
Evaluated by:
  • pr
&&
271-454
1206 rpl_fclose
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 454 times by 1 test
Evaluated by:
  • pr
0-454
1207 (
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 454 times by 1 test
Evaluated by:
  • pr
0-454
1208 stdin
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 454 times by 1 test
Evaluated by:
  • pr
0-454
1209 ) ==
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 454 times by 1 test
Evaluated by:
  • pr
0-454
1210 (-1)
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 454 times by 1 test
Evaluated by:
  • pr
0-454
1211 )-
1212 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1213 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1214 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1215 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1216 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1217 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1218 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1219 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1220 "standard input"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1221 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1222 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1223 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1224 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1225 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1226 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1227 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1228 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1229 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1230 "standard input"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1231 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1232 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1233 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1234 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1235 return
executed 725 times by 1 test: return failed_opens ? 1 : 0 ;
Executed by:
  • pr
failed_opens ?
executed 725 times by 1 test: return failed_opens ? 1 : 0 ;
Executed by:
  • pr
725
1236 1
executed 725 times by 1 test: return failed_opens ? 1 : 0 ;
Executed by:
  • pr
725
1237 :
executed 725 times by 1 test: return failed_opens ? 1 : 0 ;
Executed by:
  • pr
725
1238 0
executed 725 times by 1 test: return failed_opens ? 1 : 0 ;
Executed by:
  • pr
725
1239 ;
executed 725 times by 1 test: return failed_opens ? 1 : 0 ;
Executed by:
  • pr
725
1240}-
1241-
1242-
1243-
1244static void-
1245getoptnum (const char *n_str, int min, int *num, const char *err)-
1246{-
1247 intmax_t tnum = xdectoimax (n_str, min, 0x7fffffff, "", err, 0);-
1248 *num = tnum;-
1249}
executed 1015 times by 1 test: end of block
Executed by:
  • pr
1015
1250-
1251-
1252-
1253-
1254-
1255-
1256-
1257static void-
1258getoptarg (char *arg, char switch_char, char *character, int *number)-
1259{-
1260 if (!((unsigned int) (*arg) - '0' <= 9)
!((unsigned in...g) - '0' <= 9)Description
TRUEevaluated 168 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 33 times by 1 test
Evaluated by:
  • pr
)
33-168
1261 *
executed 168 times by 1 test: *character = *arg++;
Executed by:
  • pr
character = *arg++;
executed 168 times by 1 test: *character = *arg++;
Executed by:
  • pr
168
1262 if (*
*argDescription
TRUEevaluated 188 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 13 times by 1 test
Evaluated by:
  • pr
arg
*argDescription
TRUEevaluated 188 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 13 times by 1 test
Evaluated by:
  • pr
)
13-188
1263 {-
1264 long int tmp_long;-
1265 if (xstrtol (arg,
xstrtol (arg, ... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 188 times by 1 test
Evaluated by:
  • pr
0-188
1266 ((void *)0)
xstrtol (arg, ... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 188 times by 1 test
Evaluated by:
  • pr
0-188
1267 , 10, &tmp_long, "") != LONGINT_OK
xstrtol (arg, ... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 188 times by 1 test
Evaluated by:
  • pr
0-188
1268 || tmp_long <= 0
tmp_long <= 0Description
TRUEnever evaluated
FALSEevaluated 188 times by 1 test
Evaluated by:
  • pr
|| 0x7fffffff < tmp_long
0x7fffffff < tmp_longDescription
TRUEnever evaluated
FALSEevaluated 188 times by 1 test
Evaluated by:
  • pr
)
0-188
1269 {-
1270 error (0, 0x7fffffff < tmp_long ? -
1271 75 -
1272 : -
1273 (*__errno_location ())-
1274 ,-
1275 -
1276 dcgettext (((void *)0), -
1277 "'-%c' extra characters or invalid number in the argument: %s"-
1278 , 5)-
1279 ,-
1280 switch_char, quote (arg));-
1281 usage (-
1282 1-
1283 );-
1284 }
never executed: end of block
0
1285 *number = tmp_long;-
1286 }
executed 188 times by 1 test: end of block
Executed by:
  • pr
188
1287}
executed 201 times by 1 test: end of block
Executed by:
  • pr
201
1288-
1289-
1290-
1291static void-
1292init_parameters (int number_of_files)-
1293{-
1294 int chars_used_by_number = 0;-
1295-
1296 lines_per_body = lines_per_page - lines_per_header - lines_per_footer;-
1297 if (lines_per_body <= 0
lines_per_body <= 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 722 times by 1 test
Evaluated by:
  • pr
)
3-722
1298 {-
1299 extremities = -
1300 0-
1301 ;-
1302 keep_FF = -
1303 1-
1304 ;-
1305 }
executed 3 times by 1 test: end of block
Executed by:
  • pr
3
1306 if (extremities ==
extremities == 0Description
TRUEevaluated 158 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 567 times by 1 test
Evaluated by:
  • pr
158-567
1307 0
extremities == 0Description
TRUEevaluated 158 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 567 times by 1 test
Evaluated by:
  • pr
158-567
1308 )-
1309 lines_per_body = lines_per_page;
executed 158 times by 1 test: lines_per_body = lines_per_page;
Executed by:
  • pr
158
1310-
1311 if (double_space
double_spaceDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 719 times by 1 test
Evaluated by:
  • pr
)
6-719
1312 lines_per_body = lines_per_body / 2;
executed 6 times by 1 test: lines_per_body = lines_per_body / 2;
Executed by:
  • pr
6
1313-
1314-
1315-
1316 if (number_of_files == 0
number_of_files == 0Description
TRUEevaluated 454 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 271 times by 1 test
Evaluated by:
  • pr
)
271-454
1317 parallel_files =
executed 454 times by 1 test: parallel_files = 0 ;
Executed by:
  • pr
454
1318 0
executed 454 times by 1 test: parallel_files = 0 ;
Executed by:
  • pr
454
1319 ;
executed 454 times by 1 test: parallel_files = 0 ;
Executed by:
  • pr
454
1320-
1321 if (parallel_files
parallel_filesDescription
TRUEevaluated 37 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 688 times by 1 test
Evaluated by:
  • pr
)
37-688
1322 columns = number_of_files;
executed 37 times by 1 test: columns = number_of_files;
Executed by:
  • pr
37
1323-
1324-
1325-
1326 if (storing_columns
storing_columnsDescription
TRUEevaluated 529 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 196 times by 1 test
Evaluated by:
  • pr
)
196-529
1327 balance_columns =
executed 529 times by 1 test: balance_columns = 1 ;
Executed by:
  • pr
529
1328 1
executed 529 times by 1 test: balance_columns = 1 ;
Executed by:
  • pr
529
1329 ;
executed 529 times by 1 test: balance_columns = 1 ;
Executed by:
  • pr
529
1330-
1331-
1332 if (columns > 1
columns > 1Description
TRUEevaluated 454 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 271 times by 1 test
Evaluated by:
  • pr
)
271-454
1333 {-
1334 if (!use_col_separator
!use_col_separatorDescription
TRUEevaluated 400 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 54 times by 1 test
Evaluated by:
  • pr
)
54-400
1335 {-
1336-
1337 if (join_lines
join_linesDescription
TRUEevaluated 22 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 378 times by 1 test
Evaluated by:
  • pr
)
22-378
1338 col_sep_string = line_separator;
executed 22 times by 1 test: col_sep_string = line_separator;
Executed by:
  • pr
22
1339 else-
1340 col_sep_string = column_separator;
executed 378 times by 1 test: col_sep_string = column_separator;
Executed by:
  • pr
378
1341-
1342 col_sep_length = 1;-
1343 use_col_separator = -
1344 1-
1345 ;-
1346 }
executed 400 times by 1 test: end of block
Executed by:
  • pr
400
1347-
1348-
1349 else if (!join_lines
!join_linesDescription
TRUEevaluated 42 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 12 times by 1 test
Evaluated by:
  • pr
&& col_sep_length == 1
col_sep_length == 1Description
TRUEevaluated 9 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 33 times by 1 test
Evaluated by:
  • pr
&& *
*col_sep_string == '\t'Description
TRUEnever evaluated
FALSEevaluated 9 times by 1 test
Evaluated by:
  • pr
col_sep_string == '\t'
*col_sep_string == '\t'Description
TRUEnever evaluated
FALSEevaluated 9 times by 1 test
Evaluated by:
  • pr
)
0-42
1350 col_sep_string = column_separator;
never executed: col_sep_string = column_separator;
0
1351-
1352 truncate_lines = -
1353 1-
1354 ;-
1355 tabify_output = -
1356 1-
1357 ;-
1358 }
executed 454 times by 1 test: end of block
Executed by:
  • pr
454
1359 else-
1360 storing_columns =
executed 271 times by 1 test: storing_columns = 0 ;
Executed by:
  • pr
271
1361 0
executed 271 times by 1 test: storing_columns = 0 ;
Executed by:
  • pr
271
1362 ;
executed 271 times by 1 test: storing_columns = 0 ;
Executed by:
  • pr
271
1363-
1364-
1365 if (join_lines
join_linesDescription
TRUEevaluated 43 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 682 times by 1 test
Evaluated by:
  • pr
)
43-682
1366 truncate_lines =
executed 43 times by 1 test: truncate_lines = 0 ;
Executed by:
  • pr
43
1367 0
executed 43 times by 1 test: truncate_lines = 0 ;
Executed by:
  • pr
43
1368 ;
executed 43 times by 1 test: truncate_lines = 0 ;
Executed by:
  • pr
43
1369-
1370 if (numbered_lines
numbered_linesDescription
TRUEevaluated 192 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 533 times by 1 test
Evaluated by:
  • pr
)
192-533
1371 {-
1372 int chars_per_default_tab = 8;-
1373-
1374 line_count = start_line_num;-
1375-
1376-
1377-
1378-
1379-
1380-
1381-
1382 if (number_separator == '\t'
number_separator == '\t'Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 165 times by 1 test
Evaluated by:
  • pr
)
27-165
1383 number_width = (chars_per_number
executed 27 times by 1 test: number_width = (chars_per_number + ((chars_per_default_tab) - ((chars_per_number) % (chars_per_default_tab))));
Executed by:
  • pr
27
1384 + ((chars_per_default_tab) - ((chars_per_number) % (chars_per_default_tab))));
executed 27 times by 1 test: number_width = (chars_per_number + ((chars_per_default_tab) - ((chars_per_number) % (chars_per_default_tab))));
Executed by:
  • pr
27
1385 else-
1386 number_width = chars_per_number + 1;
executed 165 times by 1 test: number_width = chars_per_number + 1;
Executed by:
  • pr
165
1387-
1388-
1389-
1390 if (parallel_files
parallel_filesDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 180 times by 1 test
Evaluated by:
  • pr
)
12-180
1391 chars_used_by_number = number_width;
executed 12 times by 1 test: chars_used_by_number = number_width;
Executed by:
  • pr
12
1392 }
executed 192 times by 1 test: end of block
Executed by:
  • pr
192
1393-
1394 int sep_chars, useful_chars;-
1395 if (__builtin_mul_overflow (columns - 1, col_sep_length, &sep_chars)
__builtin_mul_...h, &sep_chars)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
)
0-725
1396 sep_chars = 0x7fffffff;
never executed: sep_chars = 0x7fffffff;
0
1397 if (__builtin_sub_overflow (chars_per_line - chars_used_by_number, sep_chars, &useful_chars)
__builtin_sub_...&useful_chars)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1398 )-
1399 useful_chars = 0;
never executed: useful_chars = 0;
0
1400 chars_per_column = useful_chars / columns;-
1401-
1402 if (chars_per_column < 1
chars_per_column < 1Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
)
0-725
1403 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 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), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1404 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1405 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1406 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1407 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1408 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1409 "page width too narrow"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1410 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1411 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1412 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1413 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1414 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1415 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1416 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1417 "page width too narrow"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1418 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1419 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1420 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1421 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page width too narrow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page width too narrow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1422-
1423 if (numbered_lines
numbered_linesDescription
TRUEevaluated 192 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 533 times by 1 test
Evaluated by:
  • pr
)
192-533
1424 {-
1425 free (number_buff);-
1426 number_buff = xmalloc (-
1427 (((-
1428 chars_per_number-
1429 )>(-
1430 (((((sizeof (line_number) * 8) - (! ((__typeof__ (line_number)) 0 < (__typeof__ (line_number)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (line_number)) 0 < (__typeof__ (line_number)) -1)))-
1431 ))?(-
1432 chars_per_number-
1433 ):(-
1434 (((((sizeof (line_number) * 8) - (! ((__typeof__ (line_number)) 0 < (__typeof__ (line_number)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (line_number)) 0 < (__typeof__ (line_number)) -1)))-
1435 ))-
1436 -
1437 + 1);-
1438 }
executed 192 times by 1 test: end of block
Executed by:
  • pr
192
1439-
1440-
1441-
1442-
1443-
1444-
1445 free (clump_buff);-
1446 clump_buff = xmalloc (-
1447 (((-
1448 8-
1449 )>(-
1450 chars_per_input_tab-
1451 ))?(-
1452 8-
1453 ):(-
1454 chars_per_input_tab-
1455 ))-
1456 );-
1457}
executed 725 times by 1 test: end of block
Executed by:
  • pr
725
1458static -
1459 _Bool-
1460-
1461init_fps (int number_of_files, char **av)-
1462{-
1463 COLUMN *p;-
1464-
1465 total_files = 0;-
1466-
1467 free (column_vector);-
1468 column_vector = xnmalloc (columns, sizeof (COLUMN));-
1469-
1470 if (parallel_files
parallel_filesDescription
TRUEevaluated 37 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 688 times by 1 test
Evaluated by:
  • pr
)
37-688
1471 {-
1472 int files_left = number_of_files;-
1473 for (p = column_vector; files_left--
files_left--Description
TRUEevaluated 83 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 37 times by 1 test
Evaluated by:
  • pr
; ++p, ++av)
37-83
1474 {-
1475 if (! open_file (*av, p)
! open_file (*av, p)Description
TRUEnever evaluated
FALSEevaluated 83 times by 1 test
Evaluated by:
  • pr
)
0-83
1476 {-
1477 --p;-
1478 --columns;-
1479 }
never executed: end of block
0
1480 }
executed 83 times by 1 test: end of block
Executed by:
  • pr
83
1481 if (columns == 0
columns == 0Description
TRUEnever evaluated
FALSEevaluated 37 times by 1 test
Evaluated by:
  • pr
)
0-37
1482 return
never executed: return 0 ;
never executed: return 0 ;
0
1483 0
never executed: return 0 ;
0
1484 ;
never executed: return 0 ;
0
1485 init_header ("", -1);-
1486 }
executed 37 times by 1 test: end of block
Executed by:
  • pr
37
1487 else-
1488 {-
1489 p = column_vector;-
1490 if (number_of_files > 0
number_of_files > 0Description
TRUEevaluated 234 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 454 times by 1 test
Evaluated by:
  • pr
)
234-454
1491 {-
1492 if (! open_file (*av, p)
! open_file (*av, p)Description
TRUEnever evaluated
FALSEevaluated 234 times by 1 test
Evaluated by:
  • pr
)
0-234
1493 return
never executed: return 0 ;
never executed: return 0 ;
0
1494 0
never executed: return 0 ;
0
1495 ;
never executed: return 0 ;
0
1496 init_header (*av, fileno (p->fp));-
1497 p->lines_stored = 0;-
1498 }
executed 234 times by 1 test: end of block
Executed by:
  • pr
234
1499 else-
1500 {-
1501 p->name = -
1502 dcgettext (((void *)0), -
1503 "standard input"-
1504 , 5)-
1505 ;-
1506 p->fp = -
1507 stdin-
1508 ;-
1509 have_read_stdin = -
1510 1-
1511 ;-
1512 p->status = OPEN;-
1513 p->full_page_printed = -
1514 0-
1515 ;-
1516 ++total_files;-
1517 init_header ("", -1);-
1518 p->lines_stored = 0;-
1519 }
executed 454 times by 1 test: end of block
Executed by:
  • pr
454
1520-
1521 char const *firstname = p->name;-
1522 FILE *firstfp = p->fp;-
1523 int i;-
1524 for (i = columns - 1, ++p; i
iDescription
TRUEevaluated 627 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 688 times by 1 test
Evaluated by:
  • pr
; --i, ++p)
627-688
1525 {-
1526 p->name = firstname;-
1527 p->fp = firstfp;-
1528 p->status = OPEN;-
1529 p->full_page_printed = -
1530 0-
1531 ;-
1532 p->lines_stored = 0;-
1533 }
executed 627 times by 1 test: end of block
Executed by:
  • pr
627
1534 }
executed 688 times by 1 test: end of block
Executed by:
  • pr
688
1535 files_ready_to_read = total_files;-
1536 return
executed 725 times by 1 test: return 1 ;
Executed by:
  • pr
executed 725 times by 1 test: return 1 ;
Executed by:
  • pr
725
1537 1
executed 725 times by 1 test: return 1 ;
Executed by:
  • pr
725
1538 ;
executed 725 times by 1 test: return 1 ;
Executed by:
  • pr
725
1539}-
1540-
1541-
1542-
1543-
1544-
1545-
1546-
1547static void-
1548init_funcs (void)-
1549{-
1550 int i, h, h_next;-
1551 COLUMN *p;-
1552-
1553 h = chars_per_margin;-
1554-
1555 if (!truncate_lines
!truncate_linesDescription
TRUEevaluated 287 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 438 times by 1 test
Evaluated by:
  • pr
)
287-438
1556 h_next = 0;
executed 287 times by 1 test: h_next = 0;
Executed by:
  • pr
287
1557 else-
1558 {-
1559-
1560-
1561-
1562 if (parallel_files
parallel_filesDescription
TRUEevaluated 30 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 408 times by 1 test
Evaluated by:
  • pr
&& numbered_lines
numbered_linesDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 20 times by 1 test
Evaluated by:
  • pr
)
10-408
1563 h_next = h + chars_per_column + number_width;
executed 10 times by 1 test: h_next = h + chars_per_column + number_width;
Executed by:
  • pr
10
1564 else-
1565 h_next = h + chars_per_column;
executed 428 times by 1 test: h_next = h + chars_per_column;
Executed by:
  • pr
428
1566 }-
1567-
1568-
1569-
1570 h = h + col_sep_length;-
1571-
1572-
1573-
1574 for (p = column_vector, i = 1; i < columns
i < columnsDescription
TRUEevaluated 673 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
; ++p, ++i)
673-725
1575 {-
1576 if (storing_columns
storing_columnsDescription
TRUEevaluated 381 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 292 times by 1 test
Evaluated by:
  • pr
)
292-381
1577 {-
1578 p->char_func = store_char;-
1579 p->print_func = print_stored;-
1580 }
executed 381 times by 1 test: end of block
Executed by:
  • pr
381
1581 else-
1582-
1583 {-
1584 p->char_func = print_char;-
1585 p->print_func = read_line;-
1586 }
executed 292 times by 1 test: end of block
Executed by:
  • pr
292
1587-
1588-
1589-
1590 p->numbered = numbered_lines
numbered_linesDescription
TRUEevaluated 149 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 524 times by 1 test
Evaluated by:
  • pr
&& (!parallel_files
!parallel_filesDescription
TRUEevaluated 129 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 20 times by 1 test
Evaluated by:
  • pr
|| i == 1
i == 1Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 8 times by 1 test
Evaluated by:
  • pr
);
8-524
1591 p->start_position = h;-
1592-
1593-
1594-
1595-
1596-
1597 if (!truncate_lines
!truncate_linesDescription
TRUEevaluated 49 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 624 times by 1 test
Evaluated by:
  • pr
)
49-624
1598 {-
1599 h = 0;-
1600 h_next = 0;-
1601 }
executed 49 times by 1 test: end of block
Executed by:
  • pr
49
1602 else-
1603 {-
1604 h = h_next + col_sep_length;-
1605 h_next = h + chars_per_column;-
1606 }
executed 624 times by 1 test: end of block
Executed by:
  • pr
624
1607 }-
1608-
1609-
1610-
1611-
1612-
1613 if (storing_columns
storing_columnsDescription
TRUEevaluated 258 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 467 times by 1 test
Evaluated by:
  • pr
&& balance_columns
balance_columnsDescription
TRUEevaluated 258 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-467
1614 {-
1615 p->char_func = store_char;-
1616 p->print_func = print_stored;-
1617 }
executed 258 times by 1 test: end of block
Executed by:
  • pr
258
1618 else-
1619 {-
1620 p->char_func = print_char;-
1621 p->print_func = read_line;-
1622 }
executed 467 times by 1 test: end of block
Executed by:
  • pr
467
1623-
1624 p->numbered = numbered_lines
numbered_linesDescription
TRUEevaluated 192 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 533 times by 1 test
Evaluated by:
  • pr
&& (!parallel_files
!parallel_filesDescription
TRUEevaluated 180 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 12 times by 1 test
Evaluated by:
  • pr
|| i == 1
i == 1Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • pr
);
0-533
1625 p->start_position = h;-
1626}
executed 725 times by 1 test: end of block
Executed by:
  • pr
725
1627-
1628-
1629-
1630-
1631-
1632-
1633static -
1634 _Bool-
1635-
1636open_file (char *name, COLUMN *p)-
1637{-
1638 if ((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1639 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1640 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1641 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1642 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1643 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1644 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1645 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1646 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1647 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1648 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1649 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1650 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1651 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1652 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1653 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1654 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1655 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1656 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1657 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1658 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1659 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1660 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1661 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1662 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1663 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1664 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1665 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1666 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1667 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1668 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1669 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1670 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1671 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1672 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1673 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1674 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1675 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1676 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1677 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1678 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1679 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1680 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1681 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1682 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1683 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1684 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1685 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( name ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1686 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
never executed: __result = (((const unsigned char *) (const char *) ( name ))[3] - __s2[3]);
0-317
1687 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
never executed: __result = (((const unsigned char *) (const char *) ( name ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1688 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1689 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1690 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1691 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1692 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1693 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1694 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1695 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1696 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1697 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1698 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1699 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1700 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1701 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1702 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1703 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1704 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1705 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1706 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1707 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1708 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1709 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 317 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1710 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1711 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1712 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1713 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1714 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0-317
1715 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1716 name
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1717 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1718 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1719 )))); })
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1720 == 0)
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
)
0-317
1721 {-
1722 p->name = -
1723 dcgettext (((void *)0), -
1724 "standard input"-
1725 , 5)-
1726 ;-
1727 p->fp = -
1728 stdin-
1729 ;-
1730 have_read_stdin = -
1731 1-
1732 ;-
1733 }
never executed: end of block
0
1734 else-
1735 {-
1736 p->name = name;-
1737 p->fp = fopen_safer (name, "r");-
1738 }
executed 317 times by 1 test: end of block
Executed by:
  • pr
317
1739 if (p->fp ==
p->fp == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1740 ((void *)0)
p->fp == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 317 times by 1 test
Evaluated by:
  • pr
0-317
1741 )-
1742 {-
1743 failed_opens = -
1744 1-
1745 ;-
1746 if (!ignore_failed_opens
!ignore_failed_opensDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1747 error (0,
never executed: error (0, (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, name));
0
1748 (*__errno_location ())
never executed: error (0, (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, name));
0
1749 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, name));
never executed: error (0, (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, name));
0
1750 return
never executed: return 0 ;
never executed: return 0 ;
0
1751 0
never executed: return 0 ;
0
1752 ;
never executed: return 0 ;
0
1753 }-
1754 fadvise (p->fp, FADVISE_SEQUENTIAL);-
1755 p->status = OPEN;-
1756 p->full_page_printed = -
1757 0-
1758 ;-
1759 ++total_files;-
1760 return
executed 317 times by 1 test: return 1 ;
Executed by:
  • pr
executed 317 times by 1 test: return 1 ;
Executed by:
  • pr
317
1761 1
executed 317 times by 1 test: return 1 ;
Executed by:
  • pr
317
1762 ;
executed 317 times by 1 test: return 1 ;
Executed by:
  • pr
317
1763}-
1764-
1765-
1766-
1767-
1768-
1769-
1770static void-
1771close_file (COLUMN *p)-
1772{-
1773 COLUMN *q;-
1774 int i;-
1775-
1776 if (p->status == CLOSED
p->status == CLOSEDDescription
TRUEnever evaluated
FALSEevaluated 753 times by 1 test
Evaluated by:
  • pr
)
0-753
1777 return;
never executed: return;
0
1778 if (ferror_unlocked (p->fp)
ferror_unlocked (p->fp)Description
TRUEnever evaluated
FALSEevaluated 753 times by 1 test
Evaluated by:
  • pr
)
0-753
1779 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1780 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1781 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1782 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1783 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1784 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1785 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1786 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1787 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1788 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1789 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1790 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1791 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1792 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1793 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1794 if (fileno (p->fp) !=
fileno (p->fp) != 0Description
TRUEevaluated 311 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 442 times by 1 test
Evaluated by:
  • pr
311-442
1795 0
fileno (p->fp) != 0Description
TRUEevaluated 311 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 442 times by 1 test
Evaluated by:
  • pr
311-442
1796 && -
1797 rpl_fclose
rpl_fclose (p->fp) != 0Description
TRUEnever evaluated
FALSEevaluated 311 times by 1 test
Evaluated by:
  • pr
0-311
1798 (p->fp) != 0
rpl_fclose (p->fp) != 0Description
TRUEnever evaluated
FALSEevaluated 311 times by 1 test
Evaluated by:
  • pr
)
0-311
1799 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1800 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1801 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1802 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1803 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1804 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1805 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1806 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1807 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1808 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1809 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1810 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1811 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1812 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1813 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location (...n (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, p->name)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1814-
1815 if (!parallel_files
!parallel_filesDescription
TRUEevaluated 670 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 83 times by 1 test
Evaluated by:
  • pr
)
83-670
1816 {-
1817 for (q = column_vector, i = columns; i
iDescription
TRUEevaluated 1285 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 670 times by 1 test
Evaluated by:
  • pr
; ++q, --i)
670-1285
1818 {-
1819 q->status = CLOSED;-
1820 if (q->lines_stored == 0
q->lines_stored == 0Description
TRUEevaluated 1006 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 279 times by 1 test
Evaluated by:
  • pr
)
279-1006
1821 {-
1822 q->lines_to_print = 0;-
1823 }
executed 1006 times by 1 test: end of block
Executed by:
  • pr
1006
1824 }
executed 1285 times by 1 test: end of block
Executed by:
  • pr
1285
1825 }
executed 670 times by 1 test: end of block
Executed by:
  • pr
670
1826 else-
1827 {-
1828 p->status = CLOSED;-
1829 p->lines_to_print = 0;-
1830 }
executed 83 times by 1 test: end of block
Executed by:
  • pr
83
1831-
1832 --files_ready_to_read;-
1833}
executed 753 times by 1 test: end of block
Executed by:
  • pr
753
1834-
1835-
1836-
1837-
1838-
1839-
1840-
1841static void-
1842hold_file (COLUMN *p)-
1843{-
1844 COLUMN *q;-
1845 int i;-
1846-
1847 if (!parallel_files
!parallel_filesDescription
TRUEevaluated 3084 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 284 times by 1 test
Evaluated by:
  • pr
)
284-3084
1848 for (q = column_vector, i = columns; i
iDescription
TRUEevaluated 6132 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3084 times by 1 test
Evaluated by:
  • pr
; ++q, --i)
3084-6132
1849 {-
1850 if (storing_columns
storing_columnsDescription
TRUEevaluated 2832 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3300 times by 1 test
Evaluated by:
  • pr
)
2832-3300
1851 q->status = FF_FOUND;
executed 2832 times by 1 test: q->status = FF_FOUND;
Executed by:
  • pr
2832
1852 else-
1853 q->status = ON_HOLD;
executed 3300 times by 1 test: q->status = ON_HOLD;
Executed by:
  • pr
3300
1854 }-
1855 else-
1856 p->status = ON_HOLD;
executed 284 times by 1 test: p->status = ON_HOLD;
Executed by:
  • pr
284
1857-
1858 p->lines_to_print = 0;-
1859 --files_ready_to_read;-
1860}
executed 3368 times by 1 test: end of block
Executed by:
  • pr
3368
1861-
1862-
1863-
1864-
1865static void-
1866reset_status (void)-
1867{-
1868 int i = columns;-
1869 COLUMN *p;-
1870-
1871 for (p = column_vector; i
iDescription
TRUEevaluated 9727 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 4919 times by 1 test
Evaluated by:
  • pr
; --i, ++p)
4919-9727
1872 if (p->status == ON_HOLD
p->status == ON_HOLDDescription
TRUEevaluated 6581 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3146 times by 1 test
Evaluated by:
  • pr
)
3146-6581
1873 {-
1874 p->status = OPEN;-
1875 files_ready_to_read++;-
1876 }
executed 6581 times by 1 test: end of block
Executed by:
  • pr
6581
1877-
1878 if (storing_columns
storing_columnsDescription
TRUEevaluated 1602 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3317 times by 1 test
Evaluated by:
  • pr
)
1602-3317
1879 {-
1880 if (column_vector->status == CLOSED
column_vector-...atus == CLOSEDDescription
TRUEevaluated 252 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1350 times by 1 test
Evaluated by:
  • pr
)
252-1350
1881-
1882 files_ready_to_read = 0;
executed 252 times by 1 test: files_ready_to_read = 0;
Executed by:
  • pr
252
1883 else-
1884 files_ready_to_read = 1;
executed 1350 times by 1 test: files_ready_to_read = 1;
Executed by:
  • pr
1350
1885 }-
1886}
executed 4919 times by 1 test: end of block
Executed by:
  • pr
4919
1887static void-
1888print_files (int number_of_files, char **av)-
1889{-
1890 init_parameters (number_of_files);-
1891 if (! init_fps (number_of_files, av)
! init_fps (nu..._of_files, av)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
)
0-725
1892 return;
never executed: return;
0
1893 if (storing_columns
storing_columnsDescription
TRUEevaluated 258 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 467 times by 1 test
Evaluated by:
  • pr
)
258-467
1894 init_store_cols ();
executed 258 times by 1 test: init_store_cols ();
Executed by:
  • pr
258
1895-
1896 if (first_page_number > 1
first_page_number > 1Description
TRUEevaluated 239 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 486 times by 1 test
Evaluated by:
  • pr
)
239-486
1897 {-
1898 if (!skip_to_page (first_page_number)
!skip_to_page ...t_page_number)Description
TRUEnever evaluated
FALSEevaluated 239 times by 1 test
Evaluated by:
  • pr
)
0-239
1899 return;
never executed: return;
0
1900 else-
1901 page_number = first_page_number;
executed 239 times by 1 test: page_number = first_page_number;
Executed by:
  • pr
239
1902 }-
1903 else-
1904 page_number = 1;
executed 486 times by 1 test: page_number = 1;
Executed by:
  • pr
486
1905-
1906 init_funcs ();-
1907-
1908 line_number = line_count;-
1909 while (print_page ()
print_page ()Description
TRUEevaluated 4204 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
)
725-4204
1910 ;
executed 4204 times by 1 test: ;
Executed by:
  • pr
4204
1911}
executed 725 times by 1 test: end of block
Executed by:
  • pr
725
1912-
1913-
1914-
1915-
1916-
1917static void-
1918init_header (char const *filename, int desc)-
1919{-
1920 char *buf = -
1921 ((void *)0)-
1922 ;-
1923 struct stat st;-
1924 struct timespec t;-
1925 int ns;-
1926 struct tm tm;-
1927-
1928-
1929 if ((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1930 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1931 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1932 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1933 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1934 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1935 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1936 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1937 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1938 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1939 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1940 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1941 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1942 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1943 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1944 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1945 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1946 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1947 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1948 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1949 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1950 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1951 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1952 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1953 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1954 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1955 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1956 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1957 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1958 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1959 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1960 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1961 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1962 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1963 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1964 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1965 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1966 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1967 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1968 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1969 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1970 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1971 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1972 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1973 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1974 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1975 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1976 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( filename ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1977 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
never executed: __result = (((const unsigned char *) (const char *) ( filename ))[3] - __s2[3]);
0-725
1978 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
never executed: __result = (((const unsigned char *) (const char *) ( filename ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1979 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1980 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1981 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1982 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1983 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1984 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1985 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1986 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1987 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1988 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1989 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1990 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1991 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1992 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1993 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1994 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1995 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1996 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1997 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1998 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
1999 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
2000 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 725 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
2001 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
2002 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
2003 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
2004 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
2005 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0-725
2006 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
2007 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
2008 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
2009 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
2010 )))); })
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
0-725
2011 == 0)
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 725 times by 1 test
Evaluated by:
  • pr
)
0-725
2012 desc = -1;
never executed: desc = -1;
0
2013 if (0 <= desc
0 <= descDescription
TRUEevaluated 234 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 491 times by 1 test
Evaluated by:
  • pr
&& fstat (desc, &st) == 0
fstat (desc, &st) == 0Description
TRUEevaluated 234 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-491
2014 t = get_stat_mtime (&st);
executed 234 times by 1 test: t = get_stat_mtime (&st);
Executed by:
  • pr
234
2015 else-
2016 {-
2017 static struct timespec timespec;-
2018 if (! timespec.tv_sec
! timespec.tv_secDescription
TRUEevaluated 491 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-491
2019 gettime (&timespec);
executed 491 times by 1 test: gettime (&timespec);
Executed by:
  • pr
491
2020 t = timespec;-
2021 }
executed 491 times by 1 test: end of block
Executed by:
  • pr
491
2022-
2023 ns = t.tv_nsec;-
2024 if (localtime_rz (localtz, &t.tv_sec, &tm)
localtime_rz (...t.tv_sec, &tm)Description
TRUEevaluated 725 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-725
2025 {-
2026 size_t bufsize-
2027 = nstrftime (-
2028 ((void *)0)-
2029 , -
2030 (18446744073709551615UL)-
2031 , date_format, &tm, localtz, ns) + 1;-
2032 buf = xmalloc (bufsize);-
2033 nstrftime (buf, bufsize, date_format, &tm, localtz, ns);-
2034 }
executed 725 times by 1 test: end of block
Executed by:
  • pr
725
2035 else-
2036 {-
2037 char secbuf[((((((sizeof (intmax_t) * 8) - (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) + 1)];-
2038 buf = xmalloc (sizeof secbuf + -
2039 (((-
2040 10-
2041 )>(-
2042 ((((((sizeof (int) * 8) - (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) + 1)-
2043 ))?(-
2044 10-
2045 ):(-
2046 ((((((sizeof (int) * 8) - (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) + 1)-
2047 ))-
2048 );-
2049 sprintf (buf, "%s.%09d", timetostr (t.tv_sec, secbuf), ns);-
2050 }
never executed: end of block
0
2051-
2052 free (date_text);-
2053 date_text = buf;-
2054 file_text = custom_header
custom_headerDescription
TRUEevaluated 713 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 12 times by 1 test
Evaluated by:
  • pr
? custom_header : desc < 0
desc < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 8 times by 1 test
Evaluated by:
  • pr
? "" : filename;
4-713
2055 header_width_available = (chars_per_line-
2056 - gnu_mbswidth (date_text, 0)-
2057 - gnu_mbswidth (file_text, 0));-
2058}
executed 725 times by 1 test: end of block
Executed by:
  • pr
725
2059static void-
2060init_page (void)-
2061{-
2062 int j;-
2063 COLUMN *p;-
2064-
2065 if (storing_columns
storing_columnsDescription
TRUEevaluated 1644 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3285 times by 1 test
Evaluated by:
  • pr
)
1644-3285
2066 {-
2067 store_columns ();-
2068 for (j = columns - 1, p = column_vector; j
jDescription
TRUEevaluated 2565 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1644 times by 1 test
Evaluated by:
  • pr
; --j, ++p)
1644-2565
2069 {-
2070 p->lines_to_print = p->lines_stored;-
2071 }
executed 2565 times by 1 test: end of block
Executed by:
  • pr
2565
2072-
2073-
2074 if (balance_columns
balance_columnsDescription
TRUEevaluated 1644 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-1644
2075 {-
2076 p->lines_to_print = p->lines_stored;-
2077 }
executed 1644 times by 1 test: end of block
Executed by:
  • pr
1644
2078-
2079-
2080 else-
2081 {-
2082 if (p->status == OPEN
p->status == OPENDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
2083 {-
2084 p->lines_to_print = lines_per_body;-
2085 }
never executed: end of block
0
2086 else-
2087 p->lines_to_print = 0;
never executed: p->lines_to_print = 0;
0
2088 }-
2089 }-
2090 else-
2091 for (j = columns, p = column_vector; j
jDescription
TRUEevaluated 5558 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3285 times by 1 test
Evaluated by:
  • pr
; --j, ++p)
3285-5558
2092 if (p->status == OPEN
p->status == OPENDescription
TRUEevaluated 4691 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 867 times by 1 test
Evaluated by:
  • pr
)
867-4691
2093 {-
2094 p->lines_to_print = lines_per_body;-
2095 }
executed 4691 times by 1 test: end of block
Executed by:
  • pr
4691
2096 else-
2097 p->lines_to_print = 0;
executed 867 times by 1 test: p->lines_to_print = 0;
Executed by:
  • pr
867
2098}
executed 4929 times by 1 test: end of block
Executed by:
  • pr
4929
2099-
2100-
2101-
2102-
2103-
2104static void-
2105align_column (COLUMN *p)-
2106{-
2107 padding_not_printed = p->start_position;-
2108 if (col_sep_length < padding_not_printed
col_sep_length...ng_not_printedDescription
TRUEevaluated 781 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 665 times by 1 test
Evaluated by:
  • pr
)
665-781
2109 {-
2110 pad_across_to (padding_not_printed - col_sep_length);-
2111 padding_not_printed = 0;-
2112 }
executed 781 times by 1 test: end of block
Executed by:
  • pr
781
2113-
2114 if (use_col_separator
use_col_separatorDescription
TRUEevaluated 1446 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-1446
2115 print_sep_string ();
executed 1446 times by 1 test: print_sep_string ();
Executed by:
  • pr
1446
2116-
2117 if (p->numbered
p->numberedDescription
TRUEevaluated 247 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1199 times by 1 test
Evaluated by:
  • pr
)
247-1199
2118 add_line_number (p);
executed 247 times by 1 test: add_line_number (p);
Executed by:
  • pr
247
2119}
executed 1446 times by 1 test: end of block
Executed by:
  • pr
1446
2120static -
2121 _Bool-
2122-
2123print_page (void)-
2124{-
2125 int j;-
2126 int lines_left_on_page;-
2127 COLUMN *p;-
2128 -
2129 _Bool -
2130 pv;-
2131-
2132 init_page ();-
2133-
2134 if (cols_ready_to_print () == 0
cols_ready_to_print () == 0Description
TRUEevaluated 704 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 4225 times by 1 test
Evaluated by:
  • pr
)
704-4225
2135 return
executed 704 times by 1 test: return 0 ;
Executed by:
  • pr
executed 704 times by 1 test: return 0 ;
Executed by:
  • pr
704
2136 0
executed 704 times by 1 test: return 0 ;
Executed by:
  • pr
704
2137 ;
executed 704 times by 1 test: return 0 ;
Executed by:
  • pr
704
2138-
2139 if (extremities
extremitiesDescription
TRUEevaluated 3563 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 662 times by 1 test
Evaluated by:
  • pr
)
662-3563
2140 print_a_header =
executed 3563 times by 1 test: print_a_header = 1 ;
Executed by:
  • pr
3563
2141 1
executed 3563 times by 1 test: print_a_header = 1 ;
Executed by:
  • pr
3563
2142 ;
executed 3563 times by 1 test: print_a_header = 1 ;
Executed by:
  • pr
3563
2143-
2144-
2145 pad_vertically = -
2146 0-
2147 ;-
2148 pv = -
2149 0-
2150 ;-
2151-
2152 lines_left_on_page = lines_per_body;-
2153 if (double_space
double_spaceDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 4216 times by 1 test
Evaluated by:
  • pr
)
9-4216
2154 lines_left_on_page *= 2;
executed 9 times by 1 test: lines_left_on_page *= 2;
Executed by:
  • pr
9
2155-
2156 while (lines_left_on_page > 0
lines_left_on_page > 0Description
TRUEevaluated 23710 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1150 times by 1 test
Evaluated by:
  • pr
&& cols_ready_to_print () > 0
cols_ready_to_print () > 0Description
TRUEevaluated 21270 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 2440 times by 1 test
Evaluated by:
  • pr
)
1150-23710
2157 {-
2158 output_position = 0;-
2159 spaces_not_printed = 0;-
2160 separators_not_printed = 0;-
2161 pad_vertically = -
2162 0-
2163 ;-
2164 align_empty_cols = -
2165 0-
2166 ;-
2167 empty_line = -
2168 1-
2169 ;-
2170-
2171 for (j = 1, p = column_vector; j <= columns
j <= columnsDescription
TRUEevaluated 34201 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 17831 times by 1 test
Evaluated by:
  • pr
; ++j, ++p)
17831-34201
2172 {-
2173 input_position = 0;-
2174 if (p->lines_to_print > 0
p->lines_to_print > 0Description
TRUEevaluated 32279 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1922 times by 1 test
Evaluated by:
  • pr
|| p->status == FF_FOUND
p->status == FF_FOUNDDescription
TRUEevaluated 513 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1409 times by 1 test
Evaluated by:
  • pr
)
513-32279
2175 {-
2176 FF_only = -
2177 0-
2178 ;-
2179 padding_not_printed = p->start_position;-
2180 if (!(p->print_func) (p)
!(p->print_func) (p)Description
TRUEevaluated 8005 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 24787 times by 1 test
Evaluated by:
  • pr
)
8005-24787
2181 read_rest_of_line (p);
executed 8005 times by 1 test: read_rest_of_line (p);
Executed by:
  • pr
8005
2182 pv |= pad_vertically;-
2183-
2184 --p->lines_to_print;-
2185 if (p->lines_to_print <= 0
p->lines_to_print <= 0Description
TRUEevaluated 6182 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 26610 times by 1 test
Evaluated by:
  • pr
)
6182-26610
2186 {-
2187 if (cols_ready_to_print () == 0
cols_ready_to_print () == 0Description
TRUEevaluated 3439 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 2743 times by 1 test
Evaluated by:
  • pr
)
2743-3439
2188 break;
executed 3439 times by 1 test: break;
Executed by:
  • pr
3439
2189 }
executed 2743 times by 1 test: end of block
Executed by:
  • pr
2743
2190-
2191-
2192 if (parallel_files
parallel_filesDescription
TRUEevaluated 4563 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 24790 times by 1 test
Evaluated by:
  • pr
&& p->status != OPEN
p->status != OPENDescription
TRUEevaluated 193 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 4370 times by 1 test
Evaluated by:
  • pr
)
193-24790
2193 {-
2194 if (empty_line
empty_lineDescription
TRUEevaluated 101 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 92 times by 1 test
Evaluated by:
  • pr
)
92-101
2195 align_empty_cols =
executed 101 times by 1 test: align_empty_cols = 1 ;
Executed by:
  • pr
101
2196 1
executed 101 times by 1 test: align_empty_cols = 1 ;
Executed by:
  • pr
101
2197 ;
executed 101 times by 1 test: align_empty_cols = 1 ;
Executed by:
  • pr
101
2198 else if (p->status == CLOSED
p->status == CLOSEDDescription
TRUEevaluated 18 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 74 times by 1 test
Evaluated by:
  • pr
18-74
2199 || (p->status == ON_HOLD
p->status == ON_HOLDDescription
TRUEevaluated 74 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
&& FF_only
FF_onlyDescription
TRUEevaluated 26 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 48 times by 1 test
Evaluated by:
  • pr
))
0-74
2200 align_column (p);
executed 44 times by 1 test: align_column (p);
Executed by:
  • pr
44
2201 }
executed 193 times by 1 test: end of block
Executed by:
  • pr
193
2202 }
executed 29353 times by 1 test: end of block
Executed by:
  • pr
29353
2203 else if (parallel_files
parallel_filesDescription
TRUEevaluated 1409 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-1409
2204 {-
2205-
2206 if (empty_line
empty_lineDescription
TRUEevaluated 724 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 685 times by 1 test
Evaluated by:
  • pr
)
685-724
2207 align_empty_cols =
executed 724 times by 1 test: align_empty_cols = 1 ;
Executed by:
  • pr
724
2208 1
executed 724 times by 1 test: align_empty_cols = 1 ;
Executed by:
  • pr
724
2209 ;
executed 724 times by 1 test: align_empty_cols = 1 ;
Executed by:
  • pr
724
2210 else-
2211 align_column (p);
executed 685 times by 1 test: align_column (p);
Executed by:
  • pr
685
2212 }-
2213-
2214-
2215 if (use_col_separator
use_col_separatorDescription
TRUEevaluated 21209 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 9553 times by 1 test
Evaluated by:
  • pr
)
9553-21209
2216 ++
executed 21209 times by 1 test: ++separators_not_printed;
Executed by:
  • pr
separators_not_printed;
executed 21209 times by 1 test: ++separators_not_printed;
Executed by:
  • pr
21209
2217 }
executed 30762 times by 1 test: end of block
Executed by:
  • pr
30762
2218-
2219 if (pad_vertically
pad_verticallyDescription
TRUEevaluated 20439 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 831 times by 1 test
Evaluated by:
  • pr
)
831-20439
2220 {-
2221 putchar_unlocked ('\n');-
2222 --lines_left_on_page;-
2223 }
executed 20439 times by 1 test: end of block
Executed by:
  • pr
20439
2224-
2225 if (cols_ready_to_print () == 0
cols_ready_to_print () == 0Description
TRUEevaluated 3439 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 17831 times by 1 test
Evaluated by:
  • pr
&& !extremities
!extremitiesDescription
TRUEevaluated 635 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 2804 times by 1 test
Evaluated by:
  • pr
)
635-17831
2226 break;
executed 635 times by 1 test: break;
Executed by:
  • pr
635
2227-
2228 if (double_space
double_spaceDescription
TRUEevaluated 15 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 20620 times by 1 test
Evaluated by:
  • pr
&& pv
pvDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3 times by 1 test
Evaluated by:
  • pr
)
3-20620
2229 {-
2230 putchar_unlocked ('\n');-
2231 --lines_left_on_page;-
2232 }
executed 12 times by 1 test: end of block
Executed by:
  • pr
12
2233 }
executed 20635 times by 1 test: end of block
Executed by:
  • pr
20635
2234-
2235 if (lines_left_on_page == 0
lines_left_on_page == 0Description
TRUEevaluated 1150 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3075 times by 1 test
Evaluated by:
  • pr
)
1150-3075
2236 for (j = 1, p = column_vector; j <= columns
j <= columnsDescription
TRUEevaluated 2072 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1150 times by 1 test
Evaluated by:
  • pr
; ++j, ++p)
1150-2072
2237 if (p->status == OPEN
p->status == OPENDescription
TRUEevaluated 1407 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 665 times by 1 test
Evaluated by:
  • pr
)
665-1407
2238 p->full_page_printed =
executed 1407 times by 1 test: p->full_page_printed = 1 ;
Executed by:
  • pr
1407
2239 1
executed 1407 times by 1 test: p->full_page_printed = 1 ;
Executed by:
  • pr
1407
2240 ;
executed 1407 times by 1 test: p->full_page_printed = 1 ;
Executed by:
  • pr
1407
2241-
2242 pad_vertically = pv;-
2243-
2244 if (pad_vertically
pad_verticallyDescription
TRUEevaluated 3944 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 281 times by 1 test
Evaluated by:
  • pr
&& extremities
extremitiesDescription
TRUEevaluated 3534 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 410 times by 1 test
Evaluated by:
  • pr
)
281-3944
2245 pad_down (lines_left_on_page + lines_per_footer);
executed 3534 times by 1 test: pad_down (lines_left_on_page + lines_per_footer);
Executed by:
  • pr
3534
2246 else if (keep_FF
keep_FFDescription
TRUEevaluated 371 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 320 times by 1 test
Evaluated by:
  • pr
&& print_a_FF
print_a_FFDescription
TRUEevaluated 240 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 131 times by 1 test
Evaluated by:
  • pr
)
131-371
2247 {-
2248 putchar_unlocked ('\f');-
2249 print_a_FF = -
2250 0-
2251 ;-
2252 }
executed 240 times by 1 test: end of block
Executed by:
  • pr
240
2253-
2254 if (last_page_number < ++page_number
last_page_numb... ++page_numberDescription
TRUEevaluated 21 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 4204 times by 1 test
Evaluated by:
  • pr
)
21-4204
2255 return
executed 21 times by 1 test: return 0 ;
Executed by:
  • pr
executed 21 times by 1 test: return 0 ;
Executed by:
  • pr
21
2256 0
executed 21 times by 1 test: return 0 ;
Executed by:
  • pr
21
2257 ;
executed 21 times by 1 test: return 0 ;
Executed by:
  • pr
21
2258-
2259 reset_status ();-
2260-
2261 return
executed 4204 times by 1 test: return 1 ;
Executed by:
  • pr
executed 4204 times by 1 test: return 1 ;
Executed by:
  • pr
4204
2262 1
executed 4204 times by 1 test: return 1 ;
Executed by:
  • pr
4204
2263 ;
executed 4204 times by 1 test: return 1 ;
Executed by:
  • pr
4204
2264}-
2265static void-
2266init_store_cols (void)-
2267{-
2268 int total_lines, total_lines_1, chars_per_column_1, chars_if_truncate;-
2269 if (__builtin_mul_overflow (lines_per_body, columns, &total_lines)
__builtin_mul_... &total_lines)Description
TRUEnever evaluated
FALSEevaluated 258 times by 1 test
Evaluated by:
  • pr
0-258
2270 || __builtin_add_overflow (total_lines, 1, &total_lines_1)
__builtin_add_...total_lines_1)Description
TRUEnever evaluated
FALSEevaluated 258 times by 1 test
Evaluated by:
  • pr
0-258
2271 || __builtin_add_overflow (chars_per_column, 1, &chars_per_column_1)
__builtin_add_..._per_column_1)Description
TRUEnever evaluated
FALSEevaluated 258 times by 1 test
Evaluated by:
  • pr
0-258
2272 || __builtin_mul_overflow (total_lines, chars_per_column_1, &chars_if_truncate)
__builtin_mul_...s_if_truncate)Description
TRUEnever evaluated
FALSEevaluated 258 times by 1 test
Evaluated by:
  • pr
0-258
2273 )-
2274 integer_overflow ();
never executed: integer_overflow ();
0
2275-
2276 free (line_vector);-
2277-
2278 line_vector = xnmalloc (total_lines_1, sizeof *line_vector);-
2279-
2280 free (end_vector);-
2281 end_vector = xnmalloc (total_lines, sizeof *end_vector);-
2282-
2283 free (buff);-
2284 buff = xnmalloc (chars_if_truncate, use_col_separator + 1);-
2285 buff_allocated = chars_if_truncate;-
2286 buff_allocated *= use_col_separator + 1;-
2287}
executed 258 times by 1 test: end of block
Executed by:
  • pr
258
2288static void-
2289store_columns (void)-
2290{-
2291 int i, j;-
2292 unsigned int line = 0;-
2293 unsigned int buff_start;-
2294 int last_col;-
2295 COLUMN *p;-
2296-
2297 buff_current = 0;-
2298 buff_start = 0;-
2299-
2300 if (balance_columns
balance_columnsDescription
TRUEevaluated 1644 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-1644
2301 last_col = columns;
executed 1644 times by 1 test: last_col = columns;
Executed by:
  • pr
1644
2302 else-
2303 last_col = columns - 1;
never executed: last_col = columns - 1;
0
2304-
2305 for (i = 1, p = column_vector; i <= last_col
i <= last_colDescription
TRUEevaluated 4209 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1644 times by 1 test
Evaluated by:
  • pr
; ++i, ++p)
1644-4209
2306 p->lines_stored = 0;
executed 4209 times by 1 test: p->lines_stored = 0;
Executed by:
  • pr
4209
2307-
2308 for (i = 1, p = column_vector; i <= last_col
i <= last_colDescription
TRUEevaluated 3186 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 288 times by 1 test
Evaluated by:
  • pr
&& files_ready_to_read
files_ready_to_readDescription
TRUEevaluated 1830 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1356 times by 1 test
Evaluated by:
  • pr
;
288-3186
2309 ++i, ++p)-
2310 {-
2311 p->current_line = line;-
2312 for (j = lines_per_body; j
jDescription
TRUEevaluated 10899 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 837 times by 1 test
Evaluated by:
  • pr
&& files_ready_to_read
files_ready_to_readDescription
TRUEevaluated 9906 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 993 times by 1 test
Evaluated by:
  • pr
; --j)
837-10899
2313-
2314 if (p->status == OPEN
p->status == OPENDescription
TRUEevaluated 9906 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-9906
2315 {-
2316 input_position = 0;-
2317-
2318 if (!read_line (p)
!read_line (p)Description
TRUEevaluated 6630 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3276 times by 1 test
Evaluated by:
  • pr
)
3276-6630
2319 read_rest_of_line (p);
executed 6630 times by 1 test: read_rest_of_line (p);
Executed by:
  • pr
6630
2320-
2321 if (p->status == OPEN
p->status == OPENDescription
TRUEevaluated 8733 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1173 times by 1 test
Evaluated by:
  • pr
1173-8733
2322 || buff_start != buff_current
buff_start != buff_currentDescription
TRUEevaluated 177 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 996 times by 1 test
Evaluated by:
  • pr
)
177-996
2323 {-
2324 ++p->lines_stored;-
2325 line_vector[line] = buff_start;-
2326 end_vector[line++] = input_position;-
2327 buff_start = buff_current;-
2328 }
executed 8910 times by 1 test: end of block
Executed by:
  • pr
8910
2329 }
executed 9906 times by 1 test: end of block
Executed by:
  • pr
9906
2330 }
executed 1830 times by 1 test: end of block
Executed by:
  • pr
1830
2331-
2332-
2333 line_vector[line] = buff_start;-
2334-
2335 if (balance_columns
balance_columnsDescription
TRUEevaluated 1644 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-1644
2336 balance (line);
executed 1644 times by 1 test: balance (line);
Executed by:
  • pr
1644
2337}
executed 1644 times by 1 test: end of block
Executed by:
  • pr
1644
2338-
2339static void-
2340balance (int total_stored)-
2341{-
2342 COLUMN *p;-
2343 int i, lines;-
2344 int first_line = 0;-
2345-
2346 for (i = 1, p = column_vector; i <= columns
i <= columnsDescription
TRUEevaluated 4209 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1644 times by 1 test
Evaluated by:
  • pr
; ++i, ++p)
1644-4209
2347 {-
2348 lines = total_stored / columns;-
2349 if (i <= total_stored % columns
i <= total_stored % columnsDescription
TRUEevaluated 768 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3441 times by 1 test
Evaluated by:
  • pr
)
768-3441
2350 ++
executed 768 times by 1 test: ++lines;
Executed by:
  • pr
lines;
executed 768 times by 1 test: ++lines;
Executed by:
  • pr
768
2351-
2352 p->lines_stored = lines;-
2353 p->current_line = first_line;-
2354-
2355 first_line += lines;-
2356 }
executed 4209 times by 1 test: end of block
Executed by:
  • pr
4209
2357}
executed 1644 times by 1 test: end of block
Executed by:
  • pr
1644
2358-
2359-
2360-
2361static void-
2362store_char (char c)-
2363{-
2364 if (buff_current >= buff_allocated
buff_current >= buff_allocatedDescription
TRUEnever evaluated
FALSEevaluated 223917 times by 1 test
Evaluated by:
  • pr
)
0-223917
2365 {-
2366-
2367 buff = ((void) (!!sizeof (struct { _Static_assert (sizeof *(buff) == 1, "verify_true (" "sizeof *(buff) == 1" ")"); int _gl_dummy; })), x2realloc (buff, &buff_allocated));-
2368 }
never executed: end of block
0
2369 buff[buff_current++] = c;-
2370}
executed 223917 times by 1 test: end of block
Executed by:
  • pr
223917
2371-
2372static void-
2373add_line_number (COLUMN *p)-
2374{-
2375 int i;-
2376 char *s;-
2377 int num_width;-
2378-
2379-
2380-
2381 num_width = sprintf (number_buff, "%*d", chars_per_number, line_number);-
2382 line_number++;-
2383 s = number_buff + (num_width - chars_per_number);-
2384 for (i = chars_per_number; i > 0
i > 0Description
TRUEevaluated 17500 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 5383 times by 1 test
Evaluated by:
  • pr
; i--)
5383-17500
2385 (
executed 17500 times by 1 test: (p->char_func) (*s++);
Executed by:
  • pr
p->char_func) (*s++);
executed 17500 times by 1 test: (p->char_func) (*s++);
Executed by:
  • pr
17500
2386-
2387 if (columns > 1
columns > 1Description
TRUEevaluated 2980 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 2403 times by 1 test
Evaluated by:
  • pr
)
2403-2980
2388 {-
2389-
2390-
2391-
2392 if (number_separator == '\t'
number_separator == '\t'Description
TRUEevaluated 48 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 2932 times by 1 test
Evaluated by:
  • pr
)
48-2932
2393 {-
2394 i = number_width - chars_per_number;-
2395 while (i-- > 0
i-- > 0Description
TRUEevaluated 144 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 48 times by 1 test
Evaluated by:
  • pr
)
48-144
2396 (
executed 144 times by 1 test: (p->char_func) (' ');
Executed by:
  • pr
p->char_func) (' ');
executed 144 times by 1 test: (p->char_func) (' ');
Executed by:
  • pr
144
2397 }
executed 48 times by 1 test: end of block
Executed by:
  • pr
48
2398 else-
2399 (
executed 2932 times by 1 test: (p->char_func) (number_separator);
Executed by:
  • pr
p->char_func) (number_separator);
executed 2932 times by 1 test: (p->char_func) (number_separator);
Executed by:
  • pr
2932
2400 }-
2401 else-
2402-
2403-
2404-
2405 {-
2406 (p->char_func) (number_separator);-
2407 if (number_separator == '\t'
number_separator == '\t'Description
TRUEevaluated 45 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 2358 times by 1 test
Evaluated by:
  • pr
)
45-2358
2408 output_position = ((output_position) + ((chars_per_output_tab) - ((output_position) % (chars_per_output_tab))))
executed 45 times by 1 test: output_position = ((output_position) + ((chars_per_output_tab) - ((output_position) % (chars_per_output_tab)))) ;
Executed by:
  • pr
45
2409 ;
executed 45 times by 1 test: output_position = ((output_position) + ((chars_per_output_tab) - ((output_position) % (chars_per_output_tab)))) ;
Executed by:
  • pr
45
2410 }
executed 2403 times by 1 test: end of block
Executed by:
  • pr
2403
2411-
2412 if (truncate_lines
truncate_linesDescription
TRUEevaluated 2804 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 2579 times by 1 test
Evaluated by:
  • pr
&& !parallel_files
!parallel_filesDescription
TRUEevaluated 1974 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 830 times by 1 test
Evaluated by:
  • pr
)
830-2804
2413 input_position += number_width;
executed 1974 times by 1 test: input_position += number_width;
Executed by:
  • pr
1974
2414}
executed 5383 times by 1 test: end of block
Executed by:
  • pr
5383
2415-
2416-
2417-
2418-
2419static void-
2420pad_across_to (int position)-
2421{-
2422 int h = output_position;-
2423-
2424 if (tabify_output
tabify_outputDescription
TRUEevaluated 14692 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1096 times by 1 test
Evaluated by:
  • pr
)
1096-14692
2425 spaces_not_printed = position - output_position;
executed 14692 times by 1 test: spaces_not_printed = position - output_position;
Executed by:
  • pr
14692
2426 else-
2427 {-
2428 while (++
++h <= positionDescription
TRUEevaluated 36 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1096 times by 1 test
Evaluated by:
  • pr
h <= position
++h <= positionDescription
TRUEevaluated 36 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1096 times by 1 test
Evaluated by:
  • pr
)
36-1096
2429 putchar_unlocked (' ');
executed 36 times by 1 test: putchar_unlocked (' ');
Executed by:
  • pr
36
2430 output_position = position;-
2431 }
executed 1096 times by 1 test: end of block
Executed by:
  • pr
1096
2432}-
2433-
2434-
2435-
2436-
2437-
2438-
2439static void-
2440pad_down (unsigned int lines)-
2441{-
2442 if (use_form_feed
use_form_feedDescription
TRUEevaluated 1784 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1750 times by 1 test
Evaluated by:
  • pr
)
1750-1784
2443 putchar_unlocked ('\f');
executed 1784 times by 1 test: putchar_unlocked ('\f');
Executed by:
  • pr
1784
2444 else-
2445 for (unsigned int i = lines; i
iDescription
TRUEevaluated 23903 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1750 times by 1 test
Evaluated by:
  • pr
; --i)
1750-23903
2446 putchar_unlocked ('\n');
executed 23903 times by 1 test: putchar_unlocked ('\n');
Executed by:
  • pr
23903
2447}
executed 3534 times by 1 test: end of block
Executed by:
  • pr
3534
2448-
2449-
2450-
2451-
2452-
2453-
2454-
2455static void-
2456read_rest_of_line (COLUMN *p)-
2457{-
2458 int c;-
2459 FILE *f = p->fp;-
2460-
2461 while ((
(c = getc_unlo...d (f)) != '\n'Description
TRUEevaluated 242757 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 14331 times by 1 test
Evaluated by:
  • pr
c = getc_unlocked (f)) != '\n'
(c = getc_unlo...d (f)) != '\n'Description
TRUEevaluated 242757 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 14331 times by 1 test
Evaluated by:
  • pr
)
14331-242757
2462 {-
2463 if (c == '\f'
c == '\f'Description
TRUEevaluated 304 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 242453 times by 1 test
Evaluated by:
  • pr
)
304-242453
2464 {-
2465 if ((
(c = getc_unlo...d (f)) != '\n'Description
TRUEevaluated 197 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 107 times by 1 test
Evaluated by:
  • pr
c = getc_unlocked (f)) != '\n'
(c = getc_unlo...d (f)) != '\n'Description
TRUEevaluated 197 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 107 times by 1 test
Evaluated by:
  • pr
)
107-197
2466 ungetc (c, f);
executed 197 times by 1 test: ungetc (c, f);
Executed by:
  • pr
197
2467 if (keep_FF
keep_FFDescription
TRUEnever evaluated
FALSEevaluated 304 times by 1 test
Evaluated by:
  • pr
)
0-304
2468 print_a_FF =
never executed: print_a_FF = 1 ;
0
2469 1
never executed: print_a_FF = 1 ;
0
2470 ;
never executed: print_a_FF = 1 ;
0
2471 hold_file (p);-
2472 break;
executed 304 times by 1 test: break;
Executed by:
  • pr
304
2473 }-
2474 else if (c ==
c == (-1)Description
TRUEnever evaluated
FALSEevaluated 242453 times by 1 test
Evaluated by:
  • pr
0-242453
2475 (-1)
c == (-1)Description
TRUEnever evaluated
FALSEevaluated 242453 times by 1 test
Evaluated by:
  • pr
0-242453
2476 )-
2477 {-
2478 close_file (p);-
2479 break;
never executed: break;
0
2480 }-
2481 }
executed 242453 times by 1 test: end of block
Executed by:
  • pr
242453
2482}
executed 14635 times by 1 test: end of block
Executed by:
  • pr
14635
2483static void-
2484skip_read (COLUMN *p, int column_number)-
2485{-
2486 int c;-
2487 FILE *f = p->fp;-
2488 int i;-
2489 -
2490 _Bool -
2491 single_ff = -
2492 0-
2493 ;-
2494 COLUMN *q;-
2495-
2496-
2497 if ((
(c = getc_unlo...d (f)) == '\f'Description
TRUEevaluated 365 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 5014 times by 1 test
Evaluated by:
  • pr
c = getc_unlocked (f)) == '\f'
(c = getc_unlo...d (f)) == '\f'Description
TRUEevaluated 365 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 5014 times by 1 test
Evaluated by:
  • pr
&& p->full_page_printed
p->full_page_printedDescription
TRUEevaluated 79 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 286 times by 1 test
Evaluated by:
  • pr
)
79-5014
2498-
2499-
2500 if ((
(c = getc_unlo...d (f)) == '\n'Description
TRUEevaluated 28 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 51 times by 1 test
Evaluated by:
  • pr
c = getc_unlocked (f)) == '\n'
(c = getc_unlo...d (f)) == '\n'Description
TRUEevaluated 28 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 51 times by 1 test
Evaluated by:
  • pr
)
28-51
2501 c = getc_unlocked (f);
executed 28 times by 1 test: c = getc_unlocked (f);
Executed by:
  • pr
28
2502-
2503 p->full_page_printed = -
2504 0-
2505 ;-
2506-
2507-
2508-
2509 if (c == '\f'
c == '\f'Description
TRUEevaluated 365 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 5014 times by 1 test
Evaluated by:
  • pr
)
365-5014
2510 single_ff =
executed 365 times by 1 test: single_ff = 1 ;
Executed by:
  • pr
365
2511 1
executed 365 times by 1 test: single_ff = 1 ;
Executed by:
  • pr
365
2512 ;
executed 365 times by 1 test: single_ff = 1 ;
Executed by:
  • pr
365
2513-
2514-
2515-
2516 if (last_line
last_lineDescription
TRUEevaluated 581 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 4798 times by 1 test
Evaluated by:
  • pr
)
581-4798
2517 p->full_page_printed =
executed 581 times by 1 test: p->full_page_printed = 1 ;
Executed by:
  • pr
581
2518 1
executed 581 times by 1 test: p->full_page_printed = 1 ;
Executed by:
  • pr
581
2519 ;
executed 581 times by 1 test: p->full_page_printed = 1 ;
Executed by:
  • pr
581
2520-
2521 while (c != '\n'
c != '\n'Description
TRUEevaluated 191560 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 4890 times by 1 test
Evaluated by:
  • pr
)
4890-191560
2522 {-
2523 if (c == '\f'
c == '\f'Description
TRUEevaluated 489 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 191071 times by 1 test
Evaluated by:
  • pr
)
489-191071
2524 {-
2525-
2526-
2527 if (last_line
last_lineDescription
TRUEevaluated 87 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 402 times by 1 test
Evaluated by:
  • pr
)
87-402
2528 {-
2529 if (!parallel_files
!parallel_filesDescription
TRUEevaluated 84 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3 times by 1 test
Evaluated by:
  • pr
)
3-84
2530 for (q = column_vector, i = columns; i
iDescription
TRUEevaluated 135 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 84 times by 1 test
Evaluated by:
  • pr
; ++q, --i)
84-135
2531 q->full_page_printed =
executed 135 times by 1 test: q->full_page_printed = 0 ;
Executed by:
  • pr
135
2532 0
executed 135 times by 1 test: q->full_page_printed = 0 ;
Executed by:
  • pr
135
2533 ;
executed 135 times by 1 test: q->full_page_printed = 0 ;
Executed by:
  • pr
135
2534 else-
2535 p->full_page_printed =
executed 3 times by 1 test: p->full_page_printed = 0 ;
Executed by:
  • pr
3
2536 0
executed 3 times by 1 test: p->full_page_printed = 0 ;
Executed by:
  • pr
3
2537 ;
executed 3 times by 1 test: p->full_page_printed = 0 ;
Executed by:
  • pr
3
2538 }
executed 87 times by 1 test: end of block
Executed by:
  • pr
87
2539-
2540 if ((
(c = getc_unlo...d (f)) != '\n'Description
TRUEevaluated 276 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 213 times by 1 test
Evaluated by:
  • pr
c = getc_unlocked (f)) != '\n'
(c = getc_unlo...d (f)) != '\n'Description
TRUEevaluated 276 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 213 times by 1 test
Evaluated by:
  • pr
)
213-276
2541 ungetc (c, f);
executed 276 times by 1 test: ungetc (c, f);
Executed by:
  • pr
276
2542 hold_file (p);-
2543 break;
executed 489 times by 1 test: break;
Executed by:
  • pr
489
2544 }-
2545 else if (c ==
c == (-1)Description
TRUEnever evaluated
FALSEevaluated 191071 times by 1 test
Evaluated by:
  • pr
0-191071
2546 (-1)
c == (-1)Description
TRUEnever evaluated
FALSEevaluated 191071 times by 1 test
Evaluated by:
  • pr
0-191071
2547 )-
2548 {-
2549 close_file (p);-
2550 break;
never executed: break;
0
2551 }-
2552 c = getc_unlocked (f);-
2553 }
executed 191071 times by 1 test: end of block
Executed by:
  • pr
191071
2554-
2555 if (skip_count
skip_countDescription
TRUEevaluated 5334 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 45 times by 1 test
Evaluated by:
  • pr
)
45-5334
2556 if ((!parallel_files
!parallel_filesDescription
TRUEevaluated 5004 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 330 times by 1 test
Evaluated by:
  • pr
|| column_number == 1
column_number == 1Description
TRUEevaluated 171 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 159 times by 1 test
Evaluated by:
  • pr
) && !single_ff
!single_ffDescription
TRUEevaluated 4818 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 357 times by 1 test
Evaluated by:
  • pr
)
159-5004
2557 ++
executed 4818 times by 1 test: ++line_count;
Executed by:
  • pr
line_count;
executed 4818 times by 1 test: ++line_count;
Executed by:
  • pr
4818
2558}
executed 5379 times by 1 test: end of block
Executed by:
  • pr
5379
2559-
2560-
2561-
2562-
2563-
2564-
2565-
2566static void-
2567print_white_space (void)-
2568{-
2569 int h_new;-
2570 int h_old = output_position;-
2571 int goal = h_old + spaces_not_printed;-
2572-
2573 while (goal - h_old > 1
goal - h_old > 1Description
TRUEevaluated 34115 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 39096 times by 1 test
Evaluated by:
  • pr
34115-39096
2574 && (
(h_new = ((h_o...b))))) <= goalDescription
TRUEevaluated 23703 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 10412 times by 1 test
Evaluated by:
  • pr
h_new = ((h_old) + ((chars_per_output_tab) - ((h_old) % (chars_per_output_tab))))) <= goal
(h_new = ((h_o...b))))) <= goalDescription
TRUEevaluated 23703 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 10412 times by 1 test
Evaluated by:
  • pr
)
10412-23703
2575 {-
2576 putchar_unlocked (output_tab_char);-
2577 h_old = h_new;-
2578 }
executed 23703 times by 1 test: end of block
Executed by:
  • pr
23703
2579 while (++
++h_old <= goalDescription
TRUEevaluated 63789 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 49508 times by 1 test
Evaluated by:
  • pr
h_old <= goal
++h_old <= goalDescription
TRUEevaluated 63789 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 49508 times by 1 test
Evaluated by:
  • pr
)
49508-63789
2580 putchar_unlocked (' ');
executed 63789 times by 1 test: putchar_unlocked (' ');
Executed by:
  • pr
63789
2581-
2582 output_position = goal;-
2583 spaces_not_printed = 0;-
2584}
executed 49508 times by 1 test: end of block
Executed by:
  • pr
49508
2585-
2586-
2587-
2588-
2589-
2590-
2591static void-
2592print_sep_string (void)-
2593{-
2594 char const *s = col_sep_string;-
2595 int l = col_sep_length;-
2596-
2597 if (separators_not_printed <= 0
separators_not_printed <= 0Description
TRUEevaluated 9323 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 12628 times by 1 test
Evaluated by:
  • pr
)
9323-12628
2598 {-
2599-
2600 if (spaces_not_printed > 0
spaces_not_printed > 0Description
TRUEevaluated 790 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 8533 times by 1 test
Evaluated by:
  • pr
)
790-8533
2601 print_white_space ();
executed 790 times by 1 test: print_white_space ();
Executed by:
  • pr
790
2602 }
executed 9323 times by 1 test: end of block
Executed by:
  • pr
9323
2603 else-
2604 {-
2605 for (; separators_not_printed > 0
separators_not_printed > 0Description
TRUEevaluated 12628 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 12628 times by 1 test
Evaluated by:
  • pr
; --separators_not_printed)
12628
2606 {-
2607 while (l-- > 0
l-- > 0Description
TRUEevaluated 17898 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 12628 times by 1 test
Evaluated by:
  • pr
)
12628-17898
2608 {-
2609-
2610-
2611 if (*
*s == ' 'Description
TRUEevaluated 9653 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 8245 times by 1 test
Evaluated by:
  • pr
s == ' '
*s == ' 'Description
TRUEevaluated 9653 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 8245 times by 1 test
Evaluated by:
  • pr
)
8245-9653
2612 {-
2613-
2614-
2615 s++;-
2616 ++spaces_not_printed;-
2617 }
executed 9653 times by 1 test: end of block
Executed by:
  • pr
9653
2618 else-
2619 {-
2620 if (spaces_not_printed > 0
spaces_not_printed > 0Description
TRUEevaluated 1290 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 6955 times by 1 test
Evaluated by:
  • pr
)
1290-6955
2621 print_white_space ();
executed 1290 times by 1 test: print_white_space ();
Executed by:
  • pr
1290
2622 putchar_unlocked (*s++);-
2623 ++output_position;-
2624 }
executed 8245 times by 1 test: end of block
Executed by:
  • pr
8245
2625 }-
2626-
2627 if (spaces_not_printed > 0
spaces_not_printed > 0Description
TRUEevaluated 9653 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 2975 times by 1 test
Evaluated by:
  • pr
)
2975-9653
2628 print_white_space ();
executed 9653 times by 1 test: print_white_space ();
Executed by:
  • pr
9653
2629 }
executed 12628 times by 1 test: end of block
Executed by:
  • pr
12628
2630 }
executed 12628 times by 1 test: end of block
Executed by:
  • pr
12628
2631}-
2632-
2633-
2634-
2635-
2636static void-
2637print_clump (COLUMN *p, int n, char *clump)-
2638{-
2639 while (n--
n--Description
TRUEevaluated 851093 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 849176 times by 1 test
Evaluated by:
  • pr
)
849176-851093
2640 (
executed 851093 times by 1 test: (p->char_func) (*clump++);
Executed by:
  • pr
p->char_func) (*clump++);
executed 851093 times by 1 test: (p->char_func) (*clump++);
Executed by:
  • pr
851093
2641}
executed 849176 times by 1 test: end of block
Executed by:
  • pr
849176
2642static void-
2643print_char (char c)-
2644{-
2645 if (tabify_output
tabify_outputDescription
TRUEevaluated 523560 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 350512 times by 1 test
Evaluated by:
  • pr
)
350512-523560
2646 {-
2647 if (c == ' '
c == ' 'Description
TRUEevaluated 269135 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 254425 times by 1 test
Evaluated by:
  • pr
)
254425-269135
2648 {-
2649 ++spaces_not_printed;-
2650 return;
executed 269135 times by 1 test: return;
Executed by:
  • pr
269135
2651 }-
2652 else if (spaces_not_printed > 0
spaces_not_printed > 0Description
TRUEevaluated 34241 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 220184 times by 1 test
Evaluated by:
  • pr
)
34241-220184
2653 print_white_space ();
executed 34241 times by 1 test: print_white_space ();
Executed by:
  • pr
34241
2654-
2655-
2656 if (!
! ((*__ctype_b...int) _ISprint)Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 254413 times by 1 test
Evaluated by:
  • pr
12-254413
2657 ((*__ctype_b_loc ())[(int) ((
! ((*__ctype_b...int) _ISprint)Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 254413 times by 1 test
Evaluated by:
  • pr
12-254413
2658 to_uchar (c)
! ((*__ctype_b...int) _ISprint)Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 254413 times by 1 test
Evaluated by:
  • pr
12-254413
2659 ))] & (unsigned short int) _ISprint)
! ((*__ctype_b...int) _ISprint)Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 254413 times by 1 test
Evaluated by:
  • pr
12-254413
2660 )-
2661 {-
2662 if (c == '\b'
c == '\b'Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • pr
)
0-12
2663 --
never executed: --output_position;
output_position;
never executed: --output_position;
0
2664 }
executed 12 times by 1 test: end of block
Executed by:
  • pr
12
2665 else-
2666 ++
executed 254413 times by 1 test: ++output_position;
Executed by:
  • pr
output_position;
executed 254413 times by 1 test: ++output_position;
Executed by:
  • pr
254413
2667 }-
2668 putchar_unlocked (c);-
2669}
executed 604937 times by 1 test: end of block
Executed by:
  • pr
604937
2670-
2671-
2672-
2673-
2674static -
2675 _Bool-
2676-
2677skip_to_page (uintmax_t page)-
2678{-
2679 for (uintmax_t n = 1; n < page
n < pageDescription
TRUEevaluated 715 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 239 times by 1 test
Evaluated by:
  • pr
; ++n)
239-715
2680 {-
2681 COLUMN *p;-
2682 int j;-
2683-
2684 for (int i = 1; i < lines_per_body
i < lines_per_bodyDescription
TRUEevaluated 8288 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 715 times by 1 test
Evaluated by:
  • pr
; ++i)
715-8288
2685 {-
2686 for (j = 1, p = column_vector; j <= columns
j <= columnsDescription
TRUEevaluated 14578 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 8288 times by 1 test
Evaluated by:
  • pr
; ++j, ++p)
8288-14578
2687 if (p->status == OPEN
p->status == OPENDescription
TRUEevaluated 4798 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 9780 times by 1 test
Evaluated by:
  • pr
)
4798-9780
2688 skip_read (p, j);
executed 4798 times by 1 test: skip_read (p, j);
Executed by:
  • pr
4798
2689 }
executed 8288 times by 1 test: end of block
Executed by:
  • pr
8288
2690 last_line = -
2691 1-
2692 ;-
2693 for (j = 1, p = column_vector; j <= columns
j <= columnsDescription
TRUEevaluated 1358 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 715 times by 1 test
Evaluated by:
  • pr
; ++j, ++p)
715-1358
2694 if (p->status == OPEN
p->status == OPENDescription
TRUEevaluated 581 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 777 times by 1 test
Evaluated by:
  • pr
)
581-777
2695 skip_read (p, j);
executed 581 times by 1 test: skip_read (p, j);
Executed by:
  • pr
581
2696-
2697 if (storing_columns
storing_columnsDescription
TRUEevaluated 216 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 499 times by 1 test
Evaluated by:
  • pr
)
216-499
2698 for (j = 1, p = column_vector; j <= columns
j <= columnsDescription
TRUEevaluated 576 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 216 times by 1 test
Evaluated by:
  • pr
; ++j, ++p)
216-576
2699 if (p->status != CLOSED
p->status != CLOSEDDescription
TRUEevaluated 576 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-576
2700 p->status = ON_HOLD;
executed 576 times by 1 test: p->status = ON_HOLD;
Executed by:
  • pr
576
2701-
2702 reset_status ();-
2703 last_line = -
2704 0-
2705 ;-
2706-
2707 if (files_ready_to_read < 1
files_ready_to_read < 1Description
TRUEnever evaluated
FALSEevaluated 715 times by 1 test
Evaluated by:
  • pr
)
0-715
2708 {-
2709-
2710-
2711 error (0, 0,-
2712 -
2713 dcgettext (((void *)0), -
2714 "starting page number %"-
2715 "l" "u" -
2716 " exceeds page count %"-
2717 "l" "u", 5)-
2718 -
2719 ,-
2720 page, n);-
2721 break;
never executed: break;
0
2722 }-
2723 }
executed 715 times by 1 test: end of block
Executed by:
  • pr
715
2724 return
executed 239 times by 1 test: return files_ready_to_read > 0;
Executed by:
  • pr
files_ready_to_read > 0;
executed 239 times by 1 test: return files_ready_to_read > 0;
Executed by:
  • pr
239
2725}-
2726-
2727-
2728-
2729-
2730-
2731-
2732static void-
2733print_header (void)-
2734{-
2735 char page_text[256 + (((((sizeof (page_number) * 8) - (! ((__typeof__ (page_number)) 0 < (__typeof__ (page_number)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (page_number)) 0 < (__typeof__ (page_number)) -1)))];-
2736 int available_width;-
2737 int lhs_spaces;-
2738 int rhs_spaces;-
2739-
2740 output_position = 0;-
2741 pad_across_to (chars_per_margin);-
2742 print_white_space ();-
2743-
2744 if (page_number == 0
page_number == 0Description
TRUEnever evaluated
FALSEevaluated 3534 times by 1 test
Evaluated by:
  • pr
)
0-3534
2745 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page 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), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2746 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2747 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page 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), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2748 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2749 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2750 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2751 "page number overflow"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2752 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2753 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2754 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2755 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2756 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2757 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2758 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2759 "page number overflow"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2760 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2761 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2762 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2763 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"page number overflow\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "page number overflow" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2764-
2765-
2766-
2767-
2768 sprintf (page_text, -
2769 dcgettext (((void *)0), -
2770 "Page %"-
2771 "l" "u", 5)-
2772 , page_number);-
2773 available_width = header_width_available - gnu_mbswidth (page_text, 0);-
2774 available_width = -
2775 (((
(( 0 )>( available_width ))Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3507 times by 1 test
Evaluated by:
  • pr
27-3507
2776 0
(( 0 )>( available_width ))Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3507 times by 1 test
Evaluated by:
  • pr
27-3507
2777 )>(
(( 0 )>( available_width ))Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3507 times by 1 test
Evaluated by:
  • pr
27-3507
2778 available_width
(( 0 )>( available_width ))Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3507 times by 1 test
Evaluated by:
  • pr
27-3507
2779 ))
(( 0 )>( available_width ))Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3507 times by 1 test
Evaluated by:
  • pr
?(
27-3507
2780 0-
2781 ):(-
2782 available_width-
2783 ))-
2784 ;-
2785 lhs_spaces = available_width >> 1;-
2786 rhs_spaces = available_width - lhs_spaces;-
2787-
2788 printf ("\n\n%*s%s%*s%s%*s%s\n\n\n",-
2789 chars_per_margin, "",-
2790 date_text, lhs_spaces, " ",-
2791 file_text, rhs_spaces, " ", page_text);-
2792-
2793 print_a_header = -
2794 0-
2795 ;-
2796 output_position = 0;-
2797}
executed 3534 times by 1 test: end of block
Executed by:
  • pr
3534
2798static -
2799 _Bool-
2800-
2801read_line (COLUMN *p)-
2802{-
2803 int c;-
2804 int chars ;-
2805 int last_input_position;-
2806 int j, k;-
2807 COLUMN *q;-
2808-
2809-
2810 c = getc_unlocked (p->fp);-
2811-
2812 last_input_position = input_position;-
2813-
2814 if (c == '\f'
c == '\f'Description
TRUEevaluated 2341 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 30934 times by 1 test
Evaluated by:
  • pr
&& p->full_page_printed
p->full_page_printedDescription
TRUEevaluated 364 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1977 times by 1 test
Evaluated by:
  • pr
)
364-30934
2815 if ((
(c = getc_unlo...->fp)) == '\n'Description
TRUEevaluated 167 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 197 times by 1 test
Evaluated by:
  • pr
c = getc_unlocked (p->fp)) == '\n'
(c = getc_unlo...->fp)) == '\n'Description
TRUEevaluated 167 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 197 times by 1 test
Evaluated by:
  • pr
)
167-197
2816 c = getc_unlocked (p->fp);
executed 167 times by 1 test: c = getc_unlocked (p->fp);
Executed by:
  • pr
167
2817 p->full_page_printed = -
2818 0-
2819 ;-
2820-
2821 switch (c)-
2822 {-
2823 case
executed 2218 times by 1 test: case '\f':
Executed by:
  • pr
'\f':
executed 2218 times by 1 test: case '\f':
Executed by:
  • pr
2218
2824 if ((
(c = getc_unlo...->fp)) != '\n'Description
TRUEevaluated 1042 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1176 times by 1 test
Evaluated by:
  • pr
c = getc_unlocked (p->fp)) != '\n'
(c = getc_unlo...->fp)) != '\n'Description
TRUEevaluated 1042 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1176 times by 1 test
Evaluated by:
  • pr
)
1042-1176
2825 ungetc (c, p->fp);
executed 1042 times by 1 test: ungetc (c, p->fp);
Executed by:
  • pr
1042
2826 FF_only = -
2827 1-
2828 ;-
2829 if (print_a_header
print_a_headerDescription
TRUEevaluated 888 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1330 times by 1 test
Evaluated by:
  • pr
&& !storing_columns
!storing_columnsDescription
TRUEevaluated 888 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-1330
2830 {-
2831 pad_vertically = -
2832 1-
2833 ;-
2834 print_header ();-
2835 }
executed 888 times by 1 test: end of block
Executed by:
  • pr
888
2836 else if (keep_FF
keep_FFDescription
TRUEevaluated 228 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 1102 times by 1 test
Evaluated by:
  • pr
)
228-1102
2837 print_a_FF =
executed 228 times by 1 test: print_a_FF = 1 ;
Executed by:
  • pr
228
2838 1
executed 228 times by 1 test: print_a_FF = 1 ;
Executed by:
  • pr
228
2839 ;
executed 228 times by 1 test: print_a_FF = 1 ;
Executed by:
  • pr
228
2840 hold_file (p);-
2841 return
executed 2218 times by 1 test: return 1 ;
Executed by:
  • pr
executed 2218 times by 1 test: return 1 ;
Executed by:
  • pr
2218
2842 1
executed 2218 times by 1 test: return 1 ;
Executed by:
  • pr
2218
2843 ;
executed 2218 times by 1 test: return 1 ;
Executed by:
  • pr
2218
2844 case
executed 744 times by 1 test: case (-1) :
Executed by:
  • pr
executed 744 times by 1 test: case (-1) :
Executed by:
  • pr
744
2845 (-1)
executed 744 times by 1 test: case (-1) :
Executed by:
  • pr
744
2846 :
executed 744 times by 1 test: case (-1) :
Executed by:
  • pr
744
2847 close_file (p);-
2848 return
executed 744 times by 1 test: return 1 ;
Executed by:
  • pr
executed 744 times by 1 test: return 1 ;
Executed by:
  • pr
744
2849 1
executed 744 times by 1 test: return 1 ;
Executed by:
  • pr
744
2850 ;
executed 744 times by 1 test: return 1 ;
Executed by:
  • pr
744
2851 case
executed 501 times by 1 test: case '\n':
Executed by:
  • pr
'\n':
executed 501 times by 1 test: case '\n':
Executed by:
  • pr
501
2852 break;
executed 501 times by 1 test: break;
Executed by:
  • pr
501
2853 default
executed 29812 times by 1 test: default:
Executed by:
  • pr
:
executed 29812 times by 1 test: default:
Executed by:
  • pr
29812
2854 chars = char_to_clump (c);-
2855 }
executed 29812 times by 1 test: end of block
Executed by:
  • pr
29812
2856-
2857 if (truncate_lines
truncate_linesDescription
TRUEevaluated 19761 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 10552 times by 1 test
Evaluated by:
  • pr
&& input_position > chars_per_column
input_position...ars_per_columnDescription
TRUEnever evaluated
FALSEevaluated 19761 times by 1 test
Evaluated by:
  • pr
)
0-19761
2858 {-
2859 input_position = last_input_position;-
2860 return
never executed: return 0 ;
never executed: return 0 ;
0
2861 0
never executed: return 0 ;
0
2862 ;
never executed: return 0 ;
0
2863 }-
2864-
2865 if (p->char_func != store_char
p->char_func != store_charDescription
TRUEevaluated 21403 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 8910 times by 1 test
Evaluated by:
  • pr
)
8910-21403
2866 {-
2867 pad_vertically = -
2868 1-
2869 ;-
2870-
2871 if (print_a_header
print_a_headerDescription
TRUEevaluated 1431 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 19972 times by 1 test
Evaluated by:
  • pr
&& !storing_columns
!storing_columnsDescription
TRUEevaluated 1431 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-19972
2872 print_header ();
executed 1431 times by 1 test: print_header ();
Executed by:
  • pr
1431
2873-
2874 if (parallel_files
parallel_filesDescription
TRUEevaluated 4458 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 16945 times by 1 test
Evaluated by:
  • pr
&& align_empty_cols
align_empty_colsDescription
TRUEevaluated 581 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3877 times by 1 test
Evaluated by:
  • pr
)
581-16945
2875 {-
2876-
2877 k = separators_not_printed;-
2878 separators_not_printed = 0;-
2879 for (j = 1, q = column_vector; j <= k
j <= kDescription
TRUEevaluated 717 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 581 times by 1 test
Evaluated by:
  • pr
; ++j, ++q)
581-717
2880 {-
2881 align_column (q);-
2882 separators_not_printed += 1;-
2883 }
executed 717 times by 1 test: end of block
Executed by:
  • pr
717
2884 padding_not_printed = p->start_position;-
2885 if (truncate_lines
truncate_linesDescription
TRUEevaluated 413 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 168 times by 1 test
Evaluated by:
  • pr
)
168-413
2886 spaces_not_printed = chars_per_column;
executed 413 times by 1 test: spaces_not_printed = chars_per_column;
Executed by:
  • pr
413
2887 else-
2888 spaces_not_printed = 0;
executed 168 times by 1 test: spaces_not_printed = 0;
Executed by:
  • pr
168
2889 align_empty_cols = -
2890 0-
2891 ;-
2892 }
executed 581 times by 1 test: end of block
Executed by:
  • pr
581
2893-
2894 if (col_sep_length < padding_not_printed
col_sep_length...ng_not_printedDescription
TRUEevaluated 6325 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 15078 times by 1 test
Evaluated by:
  • pr
)
6325-15078
2895 {-
2896 pad_across_to (padding_not_printed - col_sep_length);-
2897 padding_not_printed = 0;-
2898 }
executed 6325 times by 1 test: end of block
Executed by:
  • pr
6325
2899-
2900 if (use_col_separator
use_col_separatorDescription
TRUEevaluated 11595 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 9808 times by 1 test
Evaluated by:
  • pr
)
9808-11595
2901 print_sep_string ();
executed 11595 times by 1 test: print_sep_string ();
Executed by:
  • pr
11595
2902 }
executed 21403 times by 1 test: end of block
Executed by:
  • pr
21403
2903-
2904 if (p->numbered
p->numberedDescription
TRUEevaluated 5136 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 25177 times by 1 test
Evaluated by:
  • pr
)
5136-25177
2905 add_line_number (p);
executed 5136 times by 1 test: add_line_number (p);
Executed by:
  • pr
5136
2906-
2907 empty_line = -
2908 0-
2909 ;-
2910 if (c == '\n'
c == '\n'Description
TRUEevaluated 501 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 29812 times by 1 test
Evaluated by:
  • pr
)
501-29812
2911 return
executed 501 times by 1 test: return 1 ;
Executed by:
  • pr
executed 501 times by 1 test: return 1 ;
Executed by:
  • pr
501
2912 1
executed 501 times by 1 test: return 1 ;
Executed by:
  • pr
501
2913 ;
executed 501 times by 1 test: return 1 ;
Executed by:
  • pr
501
2914-
2915 print_clump (p, chars, clump_buff);-
2916-
2917 while (-
2918 1-
2919 )-
2920 {-
2921 c = getc_unlocked (p->fp);-
2922-
2923 switch (c)-
2924 {-
2925 case
executed 14811 times by 1 test: case '\n':
Executed by:
  • pr
'\n':
executed 14811 times by 1 test: case '\n':
Executed by:
  • pr
14811
2926 return
executed 14811 times by 1 test: return 1 ;
Executed by:
  • pr
executed 14811 times by 1 test: return 1 ;
Executed by:
  • pr
14811
2927 1
executed 14811 times by 1 test: return 1 ;
Executed by:
  • pr
14811
2928 ;
executed 14811 times by 1 test: return 1 ;
Executed by:
  • pr
14811
2929 case
executed 357 times by 1 test: case '\f':
Executed by:
  • pr
'\f':
executed 357 times by 1 test: case '\f':
Executed by:
  • pr
357
2930 if ((
(c = getc_unlo...->fp)) != '\n'Description
TRUEevaluated 281 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 76 times by 1 test
Evaluated by:
  • pr
c = getc_unlocked (p->fp)) != '\n'
(c = getc_unlo...->fp)) != '\n'Description
TRUEevaluated 281 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 76 times by 1 test
Evaluated by:
  • pr
)
76-281
2931 ungetc (c, p->fp);
executed 281 times by 1 test: ungetc (c, p->fp);
Executed by:
  • pr
281
2932 if (keep_FF
keep_FFDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 345 times by 1 test
Evaluated by:
  • pr
)
12-345
2933 print_a_FF =
executed 12 times by 1 test: print_a_FF = 1 ;
Executed by:
  • pr
12
2934 1
executed 12 times by 1 test: print_a_FF = 1 ;
Executed by:
  • pr
12
2935 ;
executed 12 times by 1 test: print_a_FF = 1 ;
Executed by:
  • pr
12
2936 hold_file (p);-
2937 return
executed 357 times by 1 test: return 1 ;
Executed by:
  • pr
executed 357 times by 1 test: return 1 ;
Executed by:
  • pr
357
2938 1
executed 357 times by 1 test: return 1 ;
Executed by:
  • pr
357
2939 ;
executed 357 times by 1 test: return 1 ;
Executed by:
  • pr
357
2940 case
executed 9 times by 1 test: case (-1) :
Executed by:
  • pr
executed 9 times by 1 test: case (-1) :
Executed by:
  • pr
9
2941 (-1)
executed 9 times by 1 test: case (-1) :
Executed by:
  • pr
9
2942 :
executed 9 times by 1 test: case (-1) :
Executed by:
  • pr
9
2943 close_file (p);-
2944 return
executed 9 times by 1 test: return 1 ;
Executed by:
  • pr
executed 9 times by 1 test: return 1 ;
Executed by:
  • pr
9
2945 1
executed 9 times by 1 test: return 1 ;
Executed by:
  • pr
9
2946 ;
executed 9 times by 1 test: return 1 ;
Executed by:
  • pr
9
2947 }-
2948-
2949 last_input_position = input_position;-
2950 chars = char_to_clump (c);-
2951 if (truncate_lines
truncate_linesDescription
TRUEevaluated 475708 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 358291 times by 1 test
Evaluated by:
  • pr
&& input_position > chars_per_column
input_position...ars_per_columnDescription
TRUEevaluated 14635 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 461073 times by 1 test
Evaluated by:
  • pr
)
14635-475708
2952 {-
2953 input_position = last_input_position;-
2954 return
executed 14635 times by 1 test: return 0 ;
Executed by:
  • pr
executed 14635 times by 1 test: return 0 ;
Executed by:
  • pr
14635
2955 0
executed 14635 times by 1 test: return 0 ;
Executed by:
  • pr
14635
2956 ;
executed 14635 times by 1 test: return 0 ;
Executed by:
  • pr
14635
2957 }-
2958-
2959 print_clump (p, chars, clump_buff);-
2960 }
executed 819364 times by 1 test: end of block
Executed by:
  • pr
819364
2961}
never executed: end of block
0
2962static -
2963 _Bool-
2964-
2965print_stored (COLUMN *p)-
2966{-
2967 COLUMN *q;-
2968-
2969 int line = p->current_line++;-
2970 char *first = &buff[line_vector[line]];-
2971 char *last = &buff[line_vector[line + 1]];-
2972-
2973 pad_vertically = -
2974 1-
2975 ;-
2976-
2977 if (print_a_header
print_a_headerDescription
TRUEevaluated 1215 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 8208 times by 1 test
Evaluated by:
  • pr
)
1215-8208
2978 print_header ();
executed 1215 times by 1 test: print_header ();
Executed by:
  • pr
1215
2979-
2980 if (p->status == FF_FOUND
p->status == FF_FOUNDDescription
TRUEevaluated 921 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 8502 times by 1 test
Evaluated by:
  • pr
)
921-8502
2981 {-
2982 int i;-
2983 for (i = 1, q = column_vector; i <= columns
i <= columnsDescription
TRUEevaluated 2442 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 921 times by 1 test
Evaluated by:
  • pr
; ++i, ++q)
921-2442
2984 q->status = ON_HOLD;
executed 2442 times by 1 test: q->status = ON_HOLD;
Executed by:
  • pr
2442
2985 if (column_vector->lines_to_print <= 0
column_vector-..._to_print <= 0Description
TRUEevaluated 513 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 408 times by 1 test
Evaluated by:
  • pr
)
408-513
2986 {-
2987 if (!extremities
!extremitiesDescription
TRUEevaluated 66 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 447 times by 1 test
Evaluated by:
  • pr
)
66-447
2988 pad_vertically =
executed 66 times by 1 test: pad_vertically = 0 ;
Executed by:
  • pr
66
2989 0
executed 66 times by 1 test: pad_vertically = 0 ;
Executed by:
  • pr
66
2990 ;
executed 66 times by 1 test: pad_vertically = 0 ;
Executed by:
  • pr
66
2991 return
executed 513 times by 1 test: return 1 ;
Executed by:
  • pr
executed 513 times by 1 test: return 1 ;
Executed by:
  • pr
513
2992 1
executed 513 times by 1 test: return 1 ;
Executed by:
  • pr
513
2993 ;
executed 513 times by 1 test: return 1 ;
Executed by:
  • pr
513
2994 }-
2995 }
executed 408 times by 1 test: end of block
Executed by:
  • pr
408
2996-
2997 if (col_sep_length < padding_not_printed
col_sep_length...ng_not_printedDescription
TRUEevaluated 5148 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 3762 times by 1 test
Evaluated by:
  • pr
)
3762-5148
2998 {-
2999 pad_across_to (padding_not_printed - col_sep_length);-
3000 padding_not_printed = 0;-
3001 }
executed 5148 times by 1 test: end of block
Executed by:
  • pr
5148
3002-
3003 if (use_col_separator
use_col_separatorDescription
TRUEevaluated 8910 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-8910
3004 print_sep_string ();
executed 8910 times by 1 test: print_sep_string ();
Executed by:
  • pr
8910
3005-
3006 while (first != last
first != lastDescription
TRUEevaluated 223917 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 8910 times by 1 test
Evaluated by:
  • pr
)
8910-223917
3007 print_char (*first++);
executed 223917 times by 1 test: print_char (*first++);
Executed by:
  • pr
223917
3008-
3009 if (spaces_not_printed == 0
spaces_not_printed == 0Description
TRUEevaluated 4626 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 4284 times by 1 test
Evaluated by:
  • pr
)
4284-4626
3010 {-
3011 output_position = p->start_position + end_vector[line];-
3012 if (p->start_position - col_sep_length == chars_per_margin
p->start_posit...ars_per_marginDescription
TRUEevaluated 2130 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 2496 times by 1 test
Evaluated by:
  • pr
)
2130-2496
3013 output_position -= col_sep_length;
executed 2130 times by 1 test: output_position -= col_sep_length;
Executed by:
  • pr
2130
3014 }
executed 4626 times by 1 test: end of block
Executed by:
  • pr
4626
3015-
3016 return
executed 8910 times by 1 test: return 1 ;
Executed by:
  • pr
executed 8910 times by 1 test: return 1 ;
Executed by:
  • pr
8910
3017 1
executed 8910 times by 1 test: return 1 ;
Executed by:
  • pr
8910
3018 ;
executed 8910 times by 1 test: return 1 ;
Executed by:
  • pr
8910
3019}-
3020static int-
3021char_to_clump (char c)-
3022{-
3023 unsigned char uc = c;-
3024 char *s = clump_buff;-
3025 int i;-
3026 char esc_buff[4];-
3027 int width;-
3028 int chars;-
3029 int chars_per_c = 8;-
3030-
3031 if (c == input_tab_char
c == input_tab_charDescription
TRUEevaluated 276 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 863535 times by 1 test
Evaluated by:
  • pr
)
276-863535
3032 chars_per_c = chars_per_input_tab;
executed 276 times by 1 test: chars_per_c = chars_per_input_tab;
Executed by:
  • pr
276
3033-
3034 if (c == input_tab_char
c == input_tab_charDescription
TRUEevaluated 276 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 863535 times by 1 test
Evaluated by:
  • pr
|| c == '\t'
c == '\t'Description
TRUEevaluated 30 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 863505 times by 1 test
Evaluated by:
  • pr
)
30-863535
3035 {-
3036 width = ((chars_per_c) - ((input_position) % (chars_per_c)));-
3037-
3038 if (untabify_input
untabify_inputDescription
TRUEevaluated 300 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 6 times by 1 test
Evaluated by:
  • pr
)
6-300
3039 {-
3040 for (i = width; i
iDescription
TRUEevaluated 2532 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 300 times by 1 test
Evaluated by:
  • pr
; --i)
300-2532
3041 *
executed 2532 times by 1 test: *s++ = ' ';
Executed by:
  • pr
s++ = ' ';
executed 2532 times by 1 test: *s++ = ' ';
Executed by:
  • pr
2532
3042 chars = width;-
3043 }
executed 300 times by 1 test: end of block
Executed by:
  • pr
300
3044 else-
3045 {-
3046 *s = c;-
3047 chars = 1;-
3048 }
executed 6 times by 1 test: end of block
Executed by:
  • pr
6
3049-
3050 }-
3051 else if (!
! ((*__ctype_b...int) _ISprint)Description
TRUEevaluated 330 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 863175 times by 1 test
Evaluated by:
  • pr
330-863175
3052 ((*__ctype_b_loc ())[(int) ((
! ((*__ctype_b...int) _ISprint)Description
TRUEevaluated 330 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 863175 times by 1 test
Evaluated by:
  • pr
330-863175
3053 uc
! ((*__ctype_b...int) _ISprint)Description
TRUEevaluated 330 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 863175 times by 1 test
Evaluated by:
  • pr
330-863175
3054 ))] & (unsigned short int) _ISprint)
! ((*__ctype_b...int) _ISprint)Description
TRUEevaluated 330 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 863175 times by 1 test
Evaluated by:
  • pr
330-863175
3055 )-
3056 {-
3057 if (use_esc_sequence
use_esc_sequenceDescription
TRUEnever evaluated
FALSEevaluated 330 times by 1 test
Evaluated by:
  • pr
)
0-330
3058 {-
3059 width = 4;-
3060 chars = 4;-
3061 *s++ = '\\';-
3062 sprintf (esc_buff, "%03o", uc);-
3063 for (i = 0; i <= 2
i <= 2Description
TRUEnever evaluated
FALSEnever evaluated
; ++i)
0
3064 *
never executed: *s++ = esc_buff[i];
s++ = esc_buff[i];
never executed: *s++ = esc_buff[i];
0
3065 }
never executed: end of block
0
3066 else if (use_cntrl_prefix
use_cntrl_prefixDescription
TRUEnever evaluated
FALSEevaluated 330 times by 1 test
Evaluated by:
  • pr
)
0-330
3067 {-
3068 if (uc < 0200
uc < 0200Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3069 {-
3070 width = 2;-
3071 chars = 2;-
3072 *s++ = '^';-
3073 *s = c ^ 0100;-
3074 }
never executed: end of block
0
3075 else-
3076 {-
3077 width = 4;-
3078 chars = 4;-
3079 *s++ = '\\';-
3080 sprintf (esc_buff, "%03o", uc);-
3081 for (i = 0; i <= 2
i <= 2Description
TRUEnever evaluated
FALSEnever evaluated
; ++i)
0
3082 *
never executed: *s++ = esc_buff[i];
s++ = esc_buff[i];
never executed: *s++ = esc_buff[i];
0
3083 }
never executed: end of block
0
3084 }-
3085 else if (c == '\b'
c == '\b'Description
TRUEevaluated 330 times by 1 test
Evaluated by:
  • pr
FALSEnever evaluated
)
0-330
3086 {-
3087 width = -1;-
3088 chars = 1;-
3089 *s = c;-
3090 }
executed 330 times by 1 test: end of block
Executed by:
  • pr
330
3091 else-
3092 {-
3093 width = 0;-
3094 chars = 1;-
3095 *s = c;-
3096 }
never executed: end of block
0
3097 }-
3098 else-
3099 {-
3100 width = 1;-
3101 chars = 1;-
3102 *s = c;-
3103 }
executed 863175 times by 1 test: end of block
Executed by:
  • pr
863175
3104-
3105-
3106 if (width < 0
width < 0Description
TRUEevaluated 330 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 863481 times by 1 test
Evaluated by:
  • pr
&& input_position == 0
input_position == 0Description
TRUEevaluated 315 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 15 times by 1 test
Evaluated by:
  • pr
)
15-863481
3107 {-
3108 chars = 0;-
3109 input_position = 0;-
3110 }
executed 315 times by 1 test: end of block
Executed by:
  • pr
315
3111 else if (width < 0
width < 0Description
TRUEevaluated 15 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 863481 times by 1 test
Evaluated by:
  • pr
&& input_position <= -width
input_position <= -widthDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 6 times by 1 test
Evaluated by:
  • pr
)
6-863481
3112 input_position = 0;
executed 9 times by 1 test: input_position = 0;
Executed by:
  • pr
9
3113 else-
3114 input_position += width;
executed 863487 times by 1 test: input_position += width;
Executed by:
  • pr
863487
3115-
3116 return
executed 863811 times by 1 test: return chars;
Executed by:
  • pr
chars;
executed 863811 times by 1 test: return chars;
Executed by:
  • pr
863811
3117}-
3118-
3119-
3120-
3121-
3122-
3123-
3124static void-
3125cleanup (void)-
3126{-
3127 free (number_buff);-
3128 free (clump_buff);-
3129 free (column_vector);-
3130 free (line_vector);-
3131 free (end_vector);-
3132 free (buff);-
3133}
executed 725 times by 1 test: end of block
Executed by:
  • pr
725
3134-
3135-
3136-
3137void-
3138usage (int status)-
3139{-
3140 if (status !=
status != 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 33 times by 1 test
Evaluated by:
  • pr
4-33
3141 0
status != 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • pr
FALSEevaluated 33 times by 1 test
Evaluated by:
  • pr
4-33
3142 )-
3143 do { fprintf (-
3144 stderr-
3145 , -
3146 dcgettext (((void *)0), -
3147 "Try '%s --help' for more information.\n"-
3148 , 5)-
3149 , program_name); }
executed 4 times by 1 test: end of block
Executed by:
  • pr
while (0);
4
3150 else-
3151 {-
3152 printf (-
3153 dcgettext (((void *)0), -
3154 "Usage: %s [OPTION]... [FILE]...\n"-
3155 , 5)-
3156-
3157 -
3158 ,-
3159 program_name);-
3160-
3161 fputs_unlocked (-
3162 dcgettext (((void *)0), -
3163 "Paginate or columnate FILE(s) for printing.\n"-
3164 , 5)-
3165 ,-
3166 stdout-
3167 )-
3168-
3169 ;-
3170-
3171 emit_stdin_note ();-
3172 emit_mandatory_arg_note ();-
3173-
3174 fputs_unlocked (-
3175 dcgettext (((void *)0), -
3176 " +FIRST_PAGE[:LAST_PAGE], --pages=FIRST_PAGE[:LAST_PAGE]\n begin [stop] printing with page FIRST_[LAST_]PAGE\n -COLUMN, --columns=COLUMN\n output COLUMN columns and print columns down,\n unless -a is used. Balance number of lines in the\n columns on each page\n"-
3177 , 5)-
3178 ,-
3179 stdout-
3180 )-
3181-
3182-
3183-
3184-
3185-
3186-
3187 ;-
3188 fputs_unlocked (-
3189 dcgettext (((void *)0), -
3190 " -a, --across print columns across rather than down, used together\n with -COLUMN\n -c, --show-control-chars\n use hat notation (^G) and octal backslash notation\n -d, --double-space\n double space the output\n"-
3191 , 5)-
3192 ,-
3193 stdout-
3194 )-
3195-
3196-
3197-
3198-
3199-
3200-
3201 ;-
3202 fputs_unlocked (-
3203 dcgettext (((void *)0), -
3204 " -D, --date-format=FORMAT\n use FORMAT for the header date\n -e[CHAR[WIDTH]], --expand-tabs[=CHAR[WIDTH]]\n expand input CHARs (TABs) to tab WIDTH (8)\n -F, -f, --form-feed\n use form feeds instead of newlines to separate pages\n (by a 3-line page header with -F or a 5-line header\n and trailer without -F)\n"-
3205 , 5)-
3206 ,-
3207 stdout-
3208 )-
3209 ;-
3210 fputs_unlocked (-
3211 dcgettext (((void *)0), -
3212 " -h, --header=HEADER\n use a centered HEADER instead of filename in page header,\n -h \"\" prints a blank line, don't use -h\"\"\n -i[CHAR[WIDTH]], --output-tabs[=CHAR[WIDTH]]\n replace spaces with CHARs (TABs) to tab WIDTH (8)\n -J, --join-lines merge full lines, turns off -W line truncation, no column\n alignment, --sep-string[=STRING] sets separators\n"-
3213 , 5)-
3214 ,-
3215 stdout-
3216 )-
3217-
3218-
3219-
3220-
3221-
3222-
3223-
3224 ;-
3225 fputs_unlocked (-
3226 dcgettext (((void *)0), -
3227 " -l, --length=PAGE_LENGTH\n set the page length to PAGE_LENGTH (66) lines\n (default number of lines of text 56, and with -F 63).\n implies -t if PAGE_LENGTH <= 10\n"-
3228 , 5)-
3229 ,-
3230 stdout-
3231 )-
3232-
3233-
3234-
3235-
3236 ;-
3237 fputs_unlocked (-
3238 dcgettext (((void *)0), -
3239 " -m, --merge print all files in parallel, one in each column,\n truncate lines, but join lines of full length with -J\n"-
3240 , 5)-
3241 ,-
3242 stdout-
3243 )-
3244-
3245-
3246 ;-
3247 fputs_unlocked (-
3248 dcgettext (((void *)0), -
3249 " -n[SEP[DIGITS]], --number-lines[=SEP[DIGITS]]\n number lines, use DIGITS (5) digits, then SEP (TAB),\n default counting starts with 1st line of input file\n -N, --first-line-number=NUMBER\n start counting with NUMBER at 1st line of first\n page printed (see +FIRST_PAGE)\n"-
3250 , 5)-
3251 ,-
3252 stdout-
3253 )-
3254-
3255-
3256-
3257-
3258-
3259-
3260 ;-
3261 fputs_unlocked (-
3262 dcgettext (((void *)0), -
3263 " -o, --indent=MARGIN\n offset each line with MARGIN (zero) spaces, do not\n affect -w or -W, MARGIN will be added to PAGE_WIDTH\n -r, --no-file-warnings\n omit warning when a file cannot be opened\n"-
3264 , 5)-
3265 ,-
3266 stdout-
3267 )-
3268-
3269-
3270-
3271-
3272-
3273 ;-
3274 fputs_unlocked (-
3275 dcgettext (((void *)0), -
3276 " -s[CHAR], --separator[=CHAR]\n separate columns by a single character, default for CHAR\n is the <TAB> character without -w and \'no char\' with -w.\n -s[CHAR] turns off line truncation of all 3 column\n options (-COLUMN|-a -COLUMN|-m) except -w is set\n"-
3277 , 5)-
3278 ,-
3279 stdout-
3280 )-
3281-
3282-
3283-
3284-
3285-
3286-
3287 ;-
3288 fputs_unlocked (-
3289 dcgettext (((void *)0), -
3290 " -S[STRING], --sep-string[=STRING]\n separate columns by STRING,\n without -S: Default separator <TAB> with -J and <space>\n otherwise (same as -S\" \"), no effect on column options\n"-
3291 , 5)-
3292 ,-
3293 stdout-
3294 )-
3295-
3296-
3297-
3298-
3299 ;-
3300 fputs_unlocked (-
3301 dcgettext (((void *)0), -
3302 " -t, --omit-header omit page headers and trailers;\n implied if PAGE_LENGTH <= 10\n"-
3303 , 5)-
3304 ,-
3305 stdout-
3306 )-
3307-
3308-
3309 ;-
3310 fputs_unlocked (-
3311 dcgettext (((void *)0), -
3312 " -T, --omit-pagination\n omit page headers and trailers, eliminate any pagination\n by form feeds set in input files\n -v, --show-nonprinting\n use octal backslash notation\n -w, --width=PAGE_WIDTH\n set page width to PAGE_WIDTH (72) characters for\n multiple text-column output only, -s[char] turns off (72)\n"-
3313 , 5)-
3314 ,-
3315 stdout-
3316 )-
3317 ;-
3318 fputs_unlocked (-
3319 dcgettext (((void *)0), -
3320 " -W, --page-width=PAGE_WIDTH\n set page width to PAGE_WIDTH (72) characters always,\n truncate lines, except -J option is set, no interference\n with -S or -s\n"-
3321 , 5)-
3322 ,-
3323 stdout-
3324 )-
3325-
3326-
3327-
3328-
3329 ;-
3330 fputs_unlocked (-
3331 dcgettext (((void *)0), -
3332 " --help display this help and exit\n"-
3333 , 5)-
3334 ,-
3335 stdout-
3336 );-
3337 fputs_unlocked (-
3338 dcgettext (((void *)0), -
3339 " --version output version information and exit\n"-
3340 , 5)-
3341 ,-
3342 stdout-
3343 );-
3344 emit_ancillary_info ("pr");-
3345 }
executed 33 times by 1 test: end of block
Executed by:
  • pr
33
3346 exit (status);
executed 37 times by 1 test: exit (status);
Executed by:
  • pr
37
3347}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2