OpenCoverage

ls.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/ls.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11-
12-
13-
14-
15enum filetype-
16 {-
17 unknown,-
18 fifo,-
19 chardev,-
20 directory,-
21 blockdev,-
22 normal,-
23 symbolic_link,-
24 sock,-
25 whiteout,-
26 arg_directory-
27 };-
28-
29-
30-
31static char const filetype_letter[] = "?pcdb-lswd";-
32-
33-
34-
35_Static_assert (sizeof filetype_letter - 1 == arg_directory + 1, "verify (" "sizeof filetype_letter - 1 == arg_directory + 1" ")");-
36-
37-
38-
39-
40-
41-
42-
43enum acl_type-
44 {-
45 ACL_T_NONE,-
46 ACL_T_LSM_CONTEXT_ONLY,-
47 ACL_T_YES-
48 };-
49-
50struct fileinfo-
51 {-
52-
53 char *name;-
54-
55-
56 char *linkname;-
57-
58-
59 char *absolute_name;-
60-
61 struct stat stat;-
62-
63 enum filetype filetype;-
64-
65-
66-
67 mode_t linkmode;-
68-
69-
70 char *scontext;-
71-
72 -
73 _Bool -
74 stat_ok;-
75-
76-
77-
78 -
79 _Bool -
80 linkok;-
81-
82-
83-
84 enum acl_type acl_type;-
85-
86-
87 -
88 _Bool -
89 has_capability;-
90-
91-
92 int quoted;-
93 };-
94-
95-
96-
97-
98-
99-
100-
101struct bin_str-
102 {-
103 size_t len;-
104 const char *string;-
105 };-
106-
107-
108-
109-
110-
111static size_t quote_name (char const *name,-
112 struct quoting_options const *options,-
113 int needs_general_quoting,-
114 const struct bin_str *color,-
115 -
116 _Bool -
117 allow_pad, struct obstack *stack,-
118 char const *absolute_name);-
119static size_t quote_name_buf (char **inbuf, size_t bufsize, char *name,-
120 struct quoting_options const *options,-
121 int needs_general_quoting, size_t *width,-
122 -
123 _Bool -
124 *pad);-
125static char *make_link_name (char const *name, char const *linkname);-
126static int decode_switches (int argc, char **argv);-
127static -
128 _Bool -
129 file_ignored (char const *name);-
130static uintmax_t gobble_file (char const *name, enum filetype type,-
131 ino_t inode, -
132 _Bool -
133 command_line_arg,-
134 char const *dirname);-
135static const struct bin_str * get_color_indicator (const struct fileinfo *f,-
136 -
137 _Bool -
138 symlink_target);-
139static -
140 _Bool -
141 print_color_indicator (const struct bin_str *ind);-
142static void put_indicator (const struct bin_str *ind);-
143static void add_ignore_pattern (const char *pattern);-
144static void attach (char *dest, const char *dirname, const char *name);-
145static void clear_files (void);-
146static void extract_dirs_from_files (char const *dirname,-
147 -
148 _Bool -
149 command_line_arg);-
150static void get_link_name (char const *filename, struct fileinfo *f,-
151 -
152 _Bool -
153 command_line_arg);-
154static void indent (size_t from, size_t to);-
155static size_t calculate_columns (-
156 _Bool -
157 by_columns);-
158static void print_current_files (void);-
159static void print_dir (char const *name, char const *realname,-
160 -
161 _Bool -
162 command_line_arg);-
163static size_t print_file_name_and_frills (const struct fileinfo *f,-
164 size_t start_col);-
165static void print_horizontal (void);-
166static int format_user_width (uid_t u);-
167static int format_group_width (gid_t g);-
168static void print_long_format (const struct fileinfo *f);-
169static void print_many_per_line (void);-
170static size_t print_name_with_quoting (const struct fileinfo *f,-
171 -
172 _Bool -
173 symlink_target,-
174 struct obstack *stack,-
175 size_t start_col);-
176static void prep_non_filename_text (void);-
177static -
178 _Bool -
179 print_type_indicator (-
180 _Bool -
181 stat_ok, mode_t mode,-
182 enum filetype type);-
183static void print_with_separator (char sep);-
184static void queue_directory (char const *name, char const *realname,-
185 -
186 _Bool -
187 command_line_arg);-
188static void sort_files (void);-
189static void parse_ls_color (void);-
190-
191static void getenv_quoting_style (void);-
192static Hash_table *active_dir_set;-
193static struct fileinfo *cwd_file;-
194-
195-
196static size_t cwd_n_alloc;-
197-
198-
199static size_t cwd_n_used;-
200-
201-
202static -
203 _Bool -
204 cwd_some_quoted;-
205-
206-
207-
208static -
209 _Bool -
210 align_variable_outer_quotes;-
211-
212-
213-
214static void **sorted_file;-
215static size_t sorted_file_alloc;-
216-
217-
218-
219-
220-
221-
222static -
223 _Bool -
224 color_symlink_as_referent;-
225-
226static char const *hostname;-
227struct pending-
228 {-
229 char *name;-
230-
231-
232-
233 char *realname;-
234 -
235 _Bool -
236 command_line_arg;-
237 struct pending *next;-
238 };-
239-
240static struct pending *pending_dirs;-
241-
242-
243-
244-
245static struct timespec current_time;-
246-
247static -
248 _Bool -
249 print_scontext;-
250static char UNKNOWN_SECURITY_CONTEXT[] = "?";-
251-
252-
253-
254-
255static -
256 _Bool -
257 any_has_acl;-
258-
259-
260-
261-
262-
263static int inode_number_width;-
264static int block_size_width;-
265static int nlink_width;-
266static int scontext_width;-
267static int owner_width;-
268static int group_width;-
269static int author_width;-
270static int major_device_number_width;-
271static int minor_device_number_width;-
272static int file_size_width;-
273enum format-
274 {-
275 long_format,-
276 one_per_line,-
277 many_per_line,-
278 horizontal,-
279 with_commas-
280 };-
281-
282static enum format format;-
283-
284-
285-
286-
287enum time_style-
288 {-
289 full_iso_time_style,-
290 long_iso_time_style,-
291 iso_time_style,-
292 locale_time_style-
293 };-
294-
295static char const *const time_style_args[] =-
296{-
297 "full-iso", "long-iso", "iso", "locale", -
298 ((void *)0)-
299-
300};-
301static enum time_style const time_style_types[] =-
302{-
303 full_iso_time_style, long_iso_time_style, iso_time_style,-
304 locale_time_style-
305};-
306_Static_assert ((sizeof (time_style_args) / sizeof *(time_style_args)) == (sizeof (time_style_types) / sizeof *(time_style_types)) + 1, "verify (" "ARRAY_CARDINALITY (time_style_args) == ARRAY_CARDINALITY (time_style_types) + 1" ")");-
307-
308-
309-
310-
311-
312enum time_type-
313 {-
314 time_mtime,-
315 time_ctime,-
316 time_atime,-
317 time_numtypes-
318 };-
319-
320static enum time_type time_type;-
321-
322-
323-
324-
325-
326enum sort_type-
327 {-
328 sort_none = -1,-
329 sort_name,-
330 sort_extension,-
331 sort_size,-
332 sort_version,-
333 sort_time,-
334 sort_numtypes-
335 };-
336-
337static enum sort_type sort_type;-
338-
339-
340-
341-
342-
343-
344-
345static -
346 _Bool -
347 sort_reverse;-
348-
349-
350-
351static -
352 _Bool -
353 print_owner = -
354 1-
355 ;-
356-
357-
358-
359static -
360 _Bool -
361 print_author;-
362-
363-
364-
365static -
366 _Bool -
367 print_group = -
368 1-
369 ;-
370-
371-
372-
373-
374static -
375 _Bool -
376 numeric_ids;-
377-
378-
379-
380static -
381 _Bool -
382 print_block_size;-
383-
384-
385static int human_output_opts;-
386-
387-
388static uintmax_t output_block_size;-
389-
390-
391static int file_human_output_opts;-
392static uintmax_t file_output_block_size = 1;-
393-
394-
395-
396-
397static -
398 _Bool -
399 dired;-
400enum indicator_style-
401 {-
402 none,-
403 slash,-
404 file_type,-
405 classify-
406 };-
407-
408static enum indicator_style indicator_style;-
409-
410-
411static char const *const indicator_style_args[] =-
412{-
413 "none", "slash", "file-type", "classify", -
414 ((void *)0)-
415-
416};-
417static enum indicator_style const indicator_style_types[] =-
418{-
419 none, slash, file_type, classify-
420};-
421_Static_assert ((sizeof (indicator_style_args) / sizeof *(indicator_style_args)) == (sizeof (indicator_style_types) / sizeof *(indicator_style_types)) + 1, "verify (" "ARRAY_CARDINALITY (indicator_style_args) == ARRAY_CARDINALITY (indicator_style_types) + 1" ")");-
422-
423-
424-
425-
426-
427static -
428 _Bool -
429 print_with_color;-
430-
431static -
432 _Bool -
433 print_hyperlink;-
434-
435-
436-
437-
438-
439static -
440 _Bool -
441 used_color = -
442 0-
443 ;-
444-
445enum when_type-
446 {-
447 when_never,-
448 when_always,-
449 when_if_tty-
450 };-
451-
452enum Dereference_symlink-
453 {-
454 DEREF_UNDEFINED = 1,-
455 DEREF_NEVER,-
456 DEREF_COMMAND_LINE_ARGUMENTS,-
457 DEREF_COMMAND_LINE_SYMLINK_TO_DIR,-
458 DEREF_ALWAYS-
459 };-
460-
461enum indicator_no-
462 {-
463 C_LEFT, C_RIGHT, C_END, C_RESET, C_NORM, C_FILE, C_DIR, C_LINK,-
464 C_FIFO, C_SOCK,-
465 C_BLK, C_CHR, C_MISSING, C_ORPHAN, C_EXEC, C_DOOR, C_SETUID, C_SETGID,-
466 C_STICKY, C_OTHER_WRITABLE, C_STICKY_OTHER_WRITABLE, C_CAP, C_MULTIHARDLINK,-
467 C_CLR_TO_EOL-
468 };-
469-
470static const char *const indicator_name[]=-
471 {-
472 "lc", "rc", "ec", "rs", "no", "fi", "di", "ln", "pi", "so",-
473 "bd", "cd", "mi", "or", "ex", "do", "su", "sg", "st",-
474 "ow", "tw", "ca", "mh", "cl", -
475 ((void *)0)-
476 -
477 };-
478-
479struct color_ext_type-
480 {-
481 struct bin_str ext;-
482 struct bin_str seq;-
483 struct color_ext_type *next;-
484 };-
485-
486static struct bin_str color_indicator[] =-
487 {-
488 { sizeof ("\033[") - 1, "\033[" },-
489 { sizeof ("m") - 1, "m" },-
490 { 0, -
491 ((void *)0) -
492 },-
493 { sizeof ("0") - 1, "0" },-
494 { 0, -
495 ((void *)0) -
496 },-
497 { 0, -
498 ((void *)0) -
499 },-
500 { sizeof ("01;34") - 1, "01;34" },-
501 { sizeof ("01;36") - 1, "01;36" },-
502 { sizeof ("33") - 1, "33" },-
503 { sizeof ("01;35") - 1, "01;35" },-
504 { sizeof ("01;33") - 1, "01;33" },-
505 { sizeof ("01;33") - 1, "01;33" },-
506 { 0, -
507 ((void *)0) -
508 },-
509 { 0, -
510 ((void *)0) -
511 },-
512 { sizeof ("01;32") - 1, "01;32" },-
513 { sizeof ("01;35") - 1, "01;35" },-
514 { sizeof ("37;41") - 1, "37;41" },-
515 { sizeof ("30;43") - 1, "30;43" },-
516 { sizeof ("37;44") - 1, "37;44" },-
517 { sizeof ("34;42") - 1, "34;42" },-
518 { sizeof ("30;42") - 1, "30;42" },-
519 { sizeof ("30;41") - 1, "30;41" },-
520 { 0, -
521 ((void *)0) -
522 },-
523 { sizeof ("\033[K") - 1, "\033[K" },-
524 };-
525-
526-
527static struct color_ext_type *color_ext_list = -
528 ((void *)0)-
529 ;-
530-
531-
532static char *color_buf;-
533-
534-
535-
536-
537static -
538 _Bool -
539 check_symlink_color;-
540-
541-
542-
543static -
544 _Bool -
545 print_inode;-
546-
547-
548-
549-
550static enum Dereference_symlink dereference;-
551-
552-
553-
554-
555static -
556 _Bool -
557 recursive;-
558-
559-
560-
561-
562static -
563 _Bool -
564 immediate_dirs;-
565-
566-
567-
568static -
569 _Bool -
570 directories_first;-
571-
572-
573-
574static enum-
575{-
576-
577-
578 IGNORE_DEFAULT,-
579-
580-
581 IGNORE_DOT_AND_DOTDOT,-
582-
583-
584 IGNORE_MINIMAL-
585} ignore_mode;-
586-
587-
588-
589-
590-
591-
592struct ignore_pattern-
593 {-
594 const char *pattern;-
595 struct ignore_pattern *next;-
596 };-
597-
598static struct ignore_pattern *ignore_patterns;-
599-
600-
601-
602static struct ignore_pattern *hide_patterns;-
603static -
604 _Bool -
605 qmark_funny_chars;-
606-
607-
608-
609static struct quoting_options *filename_quoting_options;-
610static struct quoting_options *dirname_quoting_options;-
611-
612-
613-
614static size_t tabsize;-
615-
616-
617-
618static -
619 _Bool -
620 print_dir_name;-
621-
622-
623-
624-
625static size_t line_length;-
626-
627-
628-
629static timezone_t localtz;-
630-
631-
632-
633-
634static -
635 _Bool -
636 format_needs_stat;-
637-
638-
639-
640-
641static -
642 _Bool -
643 format_needs_type;-
644-
645-
646-
647-
648-
649-
650-
651enum { TIME_STAMP_LEN_MAXIMUM = -
652 (((-
653 1000-
654 )>(-
655 (((((sizeof (time_t) * 8) - (! ((__typeof__ (time_t)) 0 < (__typeof__ (time_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (time_t)) 0 < (__typeof__ (time_t)) -1)))-
656 ))?(-
657 1000-
658 ):(-
659 (((((sizeof (time_t) * 8) - (! ((__typeof__ (time_t)) 0 < (__typeof__ (time_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (time_t)) 0 < (__typeof__ (time_t)) -1)))-
660 )) -
661 };-
662-
663-
664-
665-
666static char const *long_time_format[2] =-
667 {-
668 "%b %e %Y",-
669 "%b %e %H:%M"-
670 };-
671-
672-
673-
674static sigset_t caught_signals;-
675-
676-
677-
678static sig_atomic_t volatile interrupt_signal;-
679-
680-
681-
682static sig_atomic_t volatile stop_signal_count;-
683-
684-
685-
686static int exit_status;-
687-
688-
689enum-
690 {-
691-
692-
693-
694-
695 LS_MINOR_PROBLEM = 1,-
696-
697-
698-
699 LS_FAILURE = 2-
700 };-
701-
702-
703-
704enum-
705{-
706 AUTHOR_OPTION = 0x7f + 1,-
707 BLOCK_SIZE_OPTION,-
708 COLOR_OPTION,-
709 DEREFERENCE_COMMAND_LINE_SYMLINK_TO_DIR_OPTION,-
710 FILE_TYPE_INDICATOR_OPTION,-
711 FORMAT_OPTION,-
712 FULL_TIME_OPTION,-
713 GROUP_DIRECTORIES_FIRST_OPTION,-
714 HIDE_OPTION,-
715 HYPERLINK_OPTION,-
716 INDICATOR_STYLE_OPTION,-
717 QUOTING_STYLE_OPTION,-
718 SHOW_CONTROL_CHARS_OPTION,-
719 SI_OPTION,-
720 SORT_OPTION,-
721 TIME_OPTION,-
722 TIME_STYLE_OPTION-
723};-
724-
725static struct option const long_options[] =-
726{-
727 {"all", -
728 0-
729 , -
730 ((void *)0)-
731 , 'a'},-
732 {"escape", -
733 0-
734 , -
735 ((void *)0)-
736 , 'b'},-
737 {"directory", -
738 0-
739 , -
740 ((void *)0)-
741 , 'd'},-
742 {"dired", -
743 0-
744 , -
745 ((void *)0)-
746 , 'D'},-
747 {"full-time", -
748 0-
749 , -
750 ((void *)0)-
751 , FULL_TIME_OPTION},-
752 {"group-directories-first", -
753 0-
754 , -
755 ((void *)0)-
756 ,-
757 GROUP_DIRECTORIES_FIRST_OPTION},-
758 {"human-readable", -
759 0-
760 , -
761 ((void *)0)-
762 , 'h'},-
763 {"inode", -
764 0-
765 , -
766 ((void *)0)-
767 , 'i'},-
768 {"kibibytes", -
769 0-
770 , -
771 ((void *)0)-
772 , 'k'},-
773 {"numeric-uid-gid", -
774 0-
775 , -
776 ((void *)0)-
777 , 'n'},-
778 {"no-group", -
779 0-
780 , -
781 ((void *)0)-
782 , 'G'},-
783 {"hide-control-chars", -
784 0-
785 , -
786 ((void *)0)-
787 , 'q'},-
788 {"reverse", -
789 0-
790 , -
791 ((void *)0)-
792 , 'r'},-
793 {"size", -
794 0-
795 , -
796 ((void *)0)-
797 , 's'},-
798 {"width", -
799 1-
800 , -
801 ((void *)0)-
802 , 'w'},-
803 {"almost-all", -
804 0-
805 , -
806 ((void *)0)-
807 , 'A'},-
808 {"ignore-backups", -
809 0-
810 , -
811 ((void *)0)-
812 , 'B'},-
813 {"classify", -
814 0-
815 , -
816 ((void *)0)-
817 , 'F'},-
818 {"file-type", -
819 0-
820 , -
821 ((void *)0)-
822 , FILE_TYPE_INDICATOR_OPTION},-
823 {"si", -
824 0-
825 , -
826 ((void *)0)-
827 , SI_OPTION},-
828 {"dereference-command-line", -
829 0-
830 , -
831 ((void *)0)-
832 , 'H'},-
833 {"dereference-command-line-symlink-to-dir", -
834 0-
835 , -
836 ((void *)0)-
837 ,-
838 DEREFERENCE_COMMAND_LINE_SYMLINK_TO_DIR_OPTION},-
839 {"hide", -
840 1-
841 , -
842 ((void *)0)-
843 , HIDE_OPTION},-
844 {"ignore", -
845 1-
846 , -
847 ((void *)0)-
848 , 'I'},-
849 {"indicator-style", -
850 1-
851 , -
852 ((void *)0)-
853 , INDICATOR_STYLE_OPTION},-
854 {"dereference", -
855 0-
856 , -
857 ((void *)0)-
858 , 'L'},-
859 {"literal", -
860 0-
861 , -
862 ((void *)0)-
863 , 'N'},-
864 {"quote-name", -
865 0-
866 , -
867 ((void *)0)-
868 , 'Q'},-
869 {"quoting-style", -
870 1-
871 , -
872 ((void *)0)-
873 , QUOTING_STYLE_OPTION},-
874 {"recursive", -
875 0-
876 , -
877 ((void *)0)-
878 , 'R'},-
879 {"format", -
880 1-
881 , -
882 ((void *)0)-
883 , FORMAT_OPTION},-
884 {"show-control-chars", -
885 0-
886 , -
887 ((void *)0)-
888 , SHOW_CONTROL_CHARS_OPTION},-
889 {"sort", -
890 1-
891 , -
892 ((void *)0)-
893 , SORT_OPTION},-
894 {"tabsize", -
895 1-
896 , -
897 ((void *)0)-
898 , 'T'},-
899 {"time", -
900 1-
901 , -
902 ((void *)0)-
903 , TIME_OPTION},-
904 {"time-style", -
905 1-
906 , -
907 ((void *)0)-
908 , TIME_STYLE_OPTION},-
909 {"color", -
910 2-
911 , -
912 ((void *)0)-
913 , COLOR_OPTION},-
914 {"hyperlink", -
915 2-
916 , -
917 ((void *)0)-
918 , HYPERLINK_OPTION},-
919 {"block-size", -
920 1-
921 , -
922 ((void *)0)-
923 , BLOCK_SIZE_OPTION},-
924 {"context", -
925 0-
926 , 0, 'Z'},-
927 {"author", -
928 0-
929 , -
930 ((void *)0)-
931 , AUTHOR_OPTION},-
932 {"help", -
933 0-
934 , -
935 ((void *)0)-
936 , GETOPT_HELP_CHAR},-
937 {"version", -
938 0-
939 , -
940 ((void *)0)-
941 , GETOPT_VERSION_CHAR},-
942 {-
943 ((void *)0)-
944 , 0, -
945 ((void *)0)-
946 , 0}-
947};-
948-
949static char const *const format_args[] =-
950{-
951 "verbose", "long", "commas", "horizontal", "across",-
952 "vertical", "single-column", -
953 ((void *)0)-
954-
955};-
956static enum format const format_types[] =-
957{-
958 long_format, long_format, with_commas, horizontal, horizontal,-
959 many_per_line, one_per_line-
960};-
961_Static_assert ((sizeof (format_args) / sizeof *(format_args)) == (sizeof (format_types) / sizeof *(format_types)) + 1, "verify (" "ARRAY_CARDINALITY (format_args) == ARRAY_CARDINALITY (format_types) + 1" ")");-
962-
963static char const *const sort_args[] =-
964{-
965 "none", "time", "size", "extension", "version", -
966 ((void *)0)-
967-
968};-
969static enum sort_type const sort_types[] =-
970{-
971 sort_none, sort_time, sort_size, sort_extension, sort_version-
972};-
973_Static_assert ((sizeof (sort_args) / sizeof *(sort_args)) == (sizeof (sort_types) / sizeof *(sort_types)) + 1, "verify (" "ARRAY_CARDINALITY (sort_args) == ARRAY_CARDINALITY (sort_types) + 1" ")");-
974-
975static char const *const time_args[] =-
976{-
977 "atime", "access", "use", "ctime", "status", -
978 ((void *)0)-
979-
980};-
981static enum time_type const time_types[] =-
982{-
983 time_atime, time_atime, time_atime, time_ctime, time_ctime-
984};-
985_Static_assert ((sizeof (time_args) / sizeof *(time_args)) == (sizeof (time_types) / sizeof *(time_types)) + 1, "verify (" "ARRAY_CARDINALITY (time_args) == ARRAY_CARDINALITY (time_types) + 1" ")");-
986-
987static char const *const when_args[] =-
988{-
989-
990 "always", "yes", "force",-
991 "never", "no", "none",-
992 "auto", "tty", "if-tty", -
993 ((void *)0)-
994-
995};-
996static enum when_type const when_types[] =-
997{-
998 when_always, when_always, when_always,-
999 when_never, when_never, when_never,-
1000 when_if_tty, when_if_tty, when_if_tty-
1001};-
1002_Static_assert ((sizeof (when_args) / sizeof *(when_args)) == (sizeof (when_types) / sizeof *(when_types)) + 1, "verify (" "ARRAY_CARDINALITY (when_args) == ARRAY_CARDINALITY (when_types) + 1" ")");-
1003-
1004-
1005struct column_info-
1006{-
1007 -
1008 _Bool -
1009 valid_len;-
1010 size_t line_len;-
1011 size_t *col_arr;-
1012};-
1013-
1014-
1015static struct column_info *column_info;-
1016-
1017-
1018static size_t max_idx;-
1019static size_t dired_pos;-
1020static struct obstack dired_obstack;-
1021-
1022-
1023-
1024-
1025-
1026-
1027static struct obstack subdired_obstack;-
1028static struct obstack dev_ino_obstack;-
1029-
1030-
1031static void-
1032dev_ino_push (dev_t dev, ino_t ino)-
1033{-
1034 void *vdi;-
1035 struct dev_ino *di;-
1036 int dev_ino_size = sizeof *di;-
1037 __extension__ ({ struct obstack *__o = (&dev_ino_obstack); size_t __len = (dev_ino_size); if (__extension__ ({ struct obstack const *__o1 = (__o); (size_t) (__o1->chunk_limit - __o1->next_free); }) < __len
__extension__ ...e); }) < __lenDescription
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
) _obstack_newchunk (__o, __len);
never executed: _obstack_newchunk (__o, __len);
((void) ((__o)->next_free += (__len))); });
0-10
1038 vdi = ((void *) (&dev_ino_obstack)->next_free);-
1039 di = vdi;-
1040 di--;-
1041 di->st_dev = dev;-
1042 di->st_ino = ino;-
1043}
executed 10 times by 1 test: end of block
Executed by:
  • ls
10
1044-
1045-
1046-
1047static struct dev_ino-
1048dev_ino_pop (void)-
1049{-
1050 void *vdi;-
1051 struct dev_ino *di;-
1052 int dev_ino_size = sizeof *di;-
1053 -
1054 ((-
1055 dev_ino_size <= __extension__ ({ struct obstack const *__o = (&dev_ino_obstack); (size_t) (__o->next_free - __o->object_base); })-
1056 ) ? (void) (0) : __assert_fail (-
1057 "dev_ino_size <= obstack_object_size (&dev_ino_obstack)"-
1058 , "src/ls.c", 1026, __PRETTY_FUNCTION__))-
1059 ;-
1060 ((void) ((&dev_ino_obstack)->next_free += (-dev_ino_size)));-
1061 vdi = ((void *) (&dev_ino_obstack)->next_free);-
1062 di = vdi;-
1063 return
executed 10 times by 1 test: return *di;
Executed by:
  • ls
*di;
executed 10 times by 1 test: return *di;
Executed by:
  • ls
10
1064}-
1065static void-
1066dired_dump_obstack (const char *prefix, struct obstack *os)-
1067{-
1068 size_t n_pos;-
1069-
1070 n_pos = __extension__ ({ struct obstack const *__o = (os); (size_t) (__o->next_free - __o->object_base); }) / sizeof (dired_pos);-
1071 if (n_pos > 0
n_pos > 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1072 {-
1073 size_t *pos = (size_t *) __extension__ ({ struct obstack *__o1 = (os); void *__value = (void *) __o1->object_base; if (__o1->next_free == __value
__o1->next_free == __valueDescription
TRUEnever evaluated
FALSEnever evaluated
) __o1->maybe_empty_object = 1;
never executed: __o1->maybe_empty_object = 1;
__o1->next_free = ((sizeof (ptrdiff_t) < sizeof (void *) ? (__o1->object_base) : (char *) 0) + (((__o1->next_free) - (sizeof (ptrdiff_t) < sizeof (void *) ? (__o1->object_base) : (char *) 0) + (__o1->alignment_mask)) & ~(__o1->alignment_mask))); if ((
(size_t) (__o1...) __o1->chunk)Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (__o1->next_free - (char *) __o1->chunk) > (size_t) (__o1->chunk_limit - (char *) __o1->chunk)
(size_t) (__o1...) __o1->chunk)Description
TRUEnever evaluated
FALSEnever evaluated
) __o1->next_free = __o1->chunk_limit;
never executed: __o1->next_free = __o1->chunk_limit;
__o1->object_base = __o1->next_free; __value; });
0
1074 fputs_unlocked (prefix,-
1075 stdout-
1076 );-
1077 for (size_t i = 0; i < n_pos
i < n_posDescription
TRUEnever evaluated
FALSEnever evaluated
; i++)
0
1078 printf (" %lu", (unsigned long int) pos[i]);
never executed: printf (" %lu", (unsigned long int) pos[i]);
0
1079 putchar_unlocked ('\n');-
1080 }
never executed: end of block
0
1081}
never executed: end of block
0
1082-
1083-
1084-
1085-
1086-
1087static char const * __attribute__ ((__pure__))-
1088first_percent_b (char const *fmt)-
1089{-
1090 for (; *
*fmtDescription
TRUEevaluated 492 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 22 times by 1 test
Evaluated by:
  • ls
fmt
*fmtDescription
TRUEevaluated 492 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 22 times by 1 test
Evaluated by:
  • ls
; fmt++)
22-492
1091 if (fmt[0] == '%'
fmt[0] == '%'Description
TRUEevaluated 318 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 174 times by 1 test
Evaluated by:
  • ls
)
174-318
1092 switch (fmt[1])-
1093 {-
1094 case
executed 276 times by 2 tests: case 'b':
Executed by:
  • ls
  • vdir
'b':
executed 276 times by 2 tests: case 'b':
Executed by:
  • ls
  • vdir
return
executed 276 times by 2 tests: return fmt;
Executed by:
  • ls
  • vdir
fmt;
executed 276 times by 2 tests: return fmt;
Executed by:
  • ls
  • vdir
276
1095 case
never executed: case '%':
'%':
never executed: case '%':
fmt++; break;
never executed: break;
0
1096 }
never executed: end of block
0
1097 return
executed 22 times by 1 test: return ((void *)0) ;
Executed by:
  • ls
executed 22 times by 1 test: return ((void *)0) ;
Executed by:
  • ls
22
1098 ((void *)0)
executed 22 times by 1 test: return ((void *)0) ;
Executed by:
  • ls
22
1099 ;
executed 22 times by 1 test: return ((void *)0) ;
Executed by:
  • ls
22
1100}-
1101-
1102static char RFC3986[256];-
1103static void-
1104file_escape_init (void)-
1105{-
1106 for (int i = 0; i < 256
i < 256Description
TRUEnever evaluated
FALSEnever evaluated
; i++)
0
1107 RFC3986[i] |= c_isalnum (i)
c_isalnum (i)Description
TRUEnever evaluated
FALSEnever evaluated
|| i == '~'
i == '~'Description
TRUEnever evaluated
FALSEnever evaluated
|| i == '-'
i == '-'Description
TRUEnever evaluated
FALSEnever evaluated
|| i == '.'
i == '.'Description
TRUEnever evaluated
FALSEnever evaluated
|| i == '_'
i == '_'Description
TRUEnever evaluated
FALSEnever evaluated
;
never executed: RFC3986[i] |= c_isalnum (i) || i == '~' || i == '-' || i == '.' || i == '_';
0
1108}
never executed: end of block
0
1109enum { MAX_MON_WIDTH = 12 };-
1110-
1111-
1112enum { ABFORMAT_SIZE = 128 };-
1113static char abformat[2][12][ABFORMAT_SIZE];-
1114-
1115-
1116-
1117static -
1118 _Bool -
1119 use_abformat;-
1120-
1121-
1122-
1123-
1124static -
1125 _Bool-
1126-
1127abmon_init (char abmon[12][ABFORMAT_SIZE])-
1128{-
1129-
1130-
1131-
1132 size_t required_mon_width = MAX_MON_WIDTH;-
1133 size_t curr_max_width;-
1134 do-
1135 {-
1136 curr_max_width = required_mon_width;-
1137 required_mon_width = 0;-
1138 for (int i = 0; i < 12
i < 12Description
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 276 times by 2 tests
Evaluated by:
  • ls
  • vdir
; i++)
276-3312
1139 {-
1140 size_t width = curr_max_width;-
1141 char const *abbr = -
1142 rpl_nl_langinfo -
1143 (-
1144 ABMON_1 -
1145 + i);-
1146 if (-
1147 (
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
__extension__ (__builtin_constant_p (
__builtin_constant_p ( '%' )Description
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1148 '%'
__builtin_constant_p ( '%' )Description
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1149 )
__builtin_constant_p ( '%' )Description
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_constant_p ( abbr )Description
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1150 abbr
!__builtin_constant_p ( abbr )Description
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1151 )
!__builtin_constant_p ( abbr )Description
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
&& (
( '%' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1152 '%'
( '%' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1153 ) == '\0'
( '%' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
? (char *) __rawmemchr (
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1154 abbr
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1155 ,
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1156 '%'
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1157 ) : __builtin_strchr (
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1158 abbr
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1159 ,
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1160 '%'
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1161 )))
(__extension__...abbr , '%' )))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1162 )-
1163 return
never executed: return 0 ;
never executed: return 0 ;
0
1164 0
never executed: return 0 ;
0
1165 ;
never executed: return 0 ;
0
1166 size_t req = mbsalign (abbr, abmon[i], ABFORMAT_SIZE,-
1167 &width, MBS_ALIGN_LEFT, 0);-
1168 if (! (req < ABFORMAT_SIZE)
! (req < ABFORMAT_SIZE)Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-3312
1169 return
never executed: return 0 ;
never executed: return 0 ;
0
1170 0
never executed: return 0 ;
0
1171 ;
never executed: return 0 ;
0
1172 required_mon_width = -
1173 (((
(( required_mo...h )>( width ))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1174 required_mon_width
(( required_mo...h )>( width ))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1175 )>(
(( required_mo...h )>( width ))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1176 width
(( required_mo...h )>( width ))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1177 ))
(( required_mo...h )>( width ))Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
?(
0-3312
1178 required_mon_width-
1179 ):(-
1180 width-
1181 ))-
1182 ;-
1183 }
executed 3312 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
3312
1184 }
executed 276 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
276
1185 while (curr_max_width > required_mon_width
curr_max_width...ired_mon_widthDescription
TRUEevaluated 138 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 138 times by 2 tests
Evaluated by:
  • ls
  • vdir
);
138
1186-
1187 return
executed 138 times by 2 tests: return 1 ;
Executed by:
  • ls
  • vdir
executed 138 times by 2 tests: return 1 ;
Executed by:
  • ls
  • vdir
138
1188 1
executed 138 times by 2 tests: return 1 ;
Executed by:
  • ls
  • vdir
138
1189 ;
executed 138 times by 2 tests: return 1 ;
Executed by:
  • ls
  • vdir
138
1190-
1191}-
1192-
1193-
1194-
1195static void-
1196abformat_init (void)-
1197{-
1198 char const *pb[2];-
1199 for (int recent = 0; recent < 2
recent < 2Description
TRUEevaluated 298 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
; recent++)
149-298
1200 pb[recent] = first_percent_b (long_time_format[recent]);
executed 298 times by 2 tests: pb[recent] = first_percent_b (long_time_format[recent]);
Executed by:
  • ls
  • vdir
298
1201 if (! (pb[0]
pb[0]Description
TRUEevaluated 138 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 11 times by 1 test
Evaluated by:
  • ls
|| pb[1]
pb[1]Description
TRUEnever evaluated
FALSEevaluated 11 times by 1 test
Evaluated by:
  • ls
))
0-138
1202 return;
executed 11 times by 1 test: return;
Executed by:
  • ls
11
1203-
1204 char abmon[12][ABFORMAT_SIZE];-
1205 if (! abmon_init (abmon)
! abmon_init (abmon)Description
TRUEnever evaluated
FALSEevaluated 138 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-138
1206 return;
never executed: return;
0
1207-
1208 for (int recent = 0; recent < 2
recent < 2Description
TRUEevaluated 276 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 138 times by 2 tests
Evaluated by:
  • ls
  • vdir
; recent++)
138-276
1209 {-
1210 char const *fmt = long_time_format[recent];-
1211 for (int i = 0; i < 12
i < 12Description
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 276 times by 2 tests
Evaluated by:
  • ls
  • vdir
; i++)
276-3312
1212 {-
1213 char *nfmt = abformat[recent][i];-
1214 int nbytes;-
1215-
1216 if (! pb[recent]
! pb[recent]Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-3312
1217 nbytes = snprintf (nfmt, ABFORMAT_SIZE, "%s", fmt);
never executed: nbytes = snprintf (nfmt, ABFORMAT_SIZE, "%s", fmt);
0
1218 else-
1219 {-
1220 if (! (pb[recent] - fmt <=
! (pb[recent] ...0x7fffffff)) )Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1221 (((
(( ABFORMAT_SI...<(0x7fffffff))Description
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
! (pb[recent] ...0x7fffffff)) )Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1222 ABFORMAT_SIZE
(( ABFORMAT_SI...<(0x7fffffff))Description
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
! (pb[recent] ...0x7fffffff)) )Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1223 )<(0x7fffffff))
(( ABFORMAT_SI...<(0x7fffffff))Description
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
?(
! (pb[recent] ...0x7fffffff)) )Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1224 ABFORMAT_SIZE
! (pb[recent] ...0x7fffffff)) )Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1225 ):(0x7fffffff))
! (pb[recent] ...0x7fffffff)) )Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-3312
1226 )
! (pb[recent] ...0x7fffffff)) )Description
TRUEnever evaluated
FALSEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-3312
1227 return;
never executed: return;
0
1228 int prefix_len = pb[recent] - fmt;-
1229 nbytes = snprintf (nfmt, ABFORMAT_SIZE, "%.*s%s%s",-
1230 prefix_len, fmt, abmon[i], pb[recent] + 2);-
1231 }
executed 3312 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
3312
1232-
1233 if (! (0 <= nbytes
0 <= nbytesDescription
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
&& nbytes < ABFORMAT_SIZE
nbytes < ABFORMAT_SIZEDescription
TRUEevaluated 3312 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
))
0-3312
1234 return;
never executed: return;
0
1235 }
executed 3312 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
3312
1236 }
executed 276 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
276
1237-
1238 use_abformat = -
1239 1-
1240 ;-
1241}
executed 138 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
138
1242-
1243static size_t-
1244dev_ino_hash (void const *x, size_t table_size)-
1245{-
1246 struct dev_ino const *p = x;-
1247 return
executed 20 times by 1 test: return (uintmax_t) p->st_ino % table_size;
Executed by:
  • ls
(uintmax_t) p->st_ino % table_size;
executed 20 times by 1 test: return (uintmax_t) p->st_ino % table_size;
Executed by:
  • ls
20
1248}-
1249-
1250static -
1251 _Bool-
1252-
1253dev_ino_compare (void const *x, void const *y)-
1254{-
1255 struct dev_ino const *a = x;-
1256 struct dev_ino const *b = y;-
1257 return
executed 10 times by 1 test: return ((*a).st_ino == (*b).st_ino && (*a).st_dev == (*b).st_dev) ? 1 : 0 ;
Executed by:
  • ls
((*a).st_ino == (*b).st_ino && (*a).st_dev == (*b).st_dev) ?
executed 10 times by 1 test: return ((*a).st_ino == (*b).st_ino && (*a).st_dev == (*b).st_dev) ? 1 : 0 ;
Executed by:
  • ls
10
1258 1
executed 10 times by 1 test: return ((*a).st_ino == (*b).st_ino && (*a).st_dev == (*b).st_dev) ? 1 : 0 ;
Executed by:
  • ls
10
1259 :
executed 10 times by 1 test: return ((*a).st_ino == (*b).st_ino && (*a).st_dev == (*b).st_dev) ? 1 : 0 ;
Executed by:
  • ls
10
1260 0
executed 10 times by 1 test: return ((*a).st_ino == (*b).st_ino && (*a).st_dev == (*b).st_dev) ? 1 : 0 ;
Executed by:
  • ls
10
1261 ;
executed 10 times by 1 test: return ((*a).st_ino == (*b).st_ino && (*a).st_dev == (*b).st_dev) ? 1 : 0 ;
Executed by:
  • ls
10
1262}-
1263-
1264static void-
1265dev_ino_free (void *x)-
1266{-
1267 free (x);-
1268}
executed 10 times by 1 test: end of block
Executed by:
  • ls
10
1269-
1270-
1271-
1272-
1273-
1274static -
1275 _Bool-
1276-
1277visit_dir (dev_t dev, ino_t ino)-
1278{-
1279 struct dev_ino *ent;-
1280 struct dev_ino *ent_from_table;-
1281 -
1282 _Bool -
1283 found_match;-
1284-
1285 ent = xmalloc (sizeof *ent);-
1286 ent->st_ino = ino;-
1287 ent->st_dev = dev;-
1288-
1289-
1290 ent_from_table = hash_insert (active_dir_set, ent);-
1291-
1292 if (ent_from_table ==
ent_from_table == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
0-10
1293 ((void *)0)
ent_from_table == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
0-10
1294 )-
1295 {-
1296-
1297 xalloc_die ();-
1298 }
never executed: end of block
0
1299-
1300 found_match = (ent_from_table != ent);-
1301-
1302 if (found_match
found_matchDescription
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
)
0-10
1303 {-
1304-
1305 free (ent);-
1306 }
never executed: end of block
0
1307-
1308 return
executed 10 times by 1 test: return found_match;
Executed by:
  • ls
found_match;
executed 10 times by 1 test: return found_match;
Executed by:
  • ls
10
1309}-
1310-
1311static void-
1312free_pending_ent (struct pending *p)-
1313{-
1314 free (p->name);-
1315 free (p->realname);-
1316 free (p);-
1317}
executed 51 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
51
1318-
1319static -
1320 _Bool-
1321-
1322is_colored (enum indicator_no type)-
1323{-
1324 size_t len = color_indicator[type].len;-
1325 char const *s = color_indicator[type].string;-
1326 return
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
! (len == 0
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1327 || (len == 1 &&
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1328 (__extension__ (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1329 sizeof ("0") - 1
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1330 ) && ((__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1331 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1332 ) && strlen (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1333 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1334 ) < ((size_t) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1335 sizeof ("0") - 1
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1336 ))) || (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1337 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1338 ) && strlen (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1339 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1340 ) < ((size_t) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1341 sizeof ("0") - 1
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1342 )))) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1343 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1344 ) && __builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1345 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1346 ) && (__s1_len = __builtin_strlen (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1347 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1348 ), __s2_len = __builtin_strlen (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1349 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1350 ), (!((size_t)(const void *)((
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1351 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1352 ) + 1) - (size_t)(const void *)(
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1353 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1354 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1355 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1356 ) + 1) - (size_t)(const void *)(
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1357 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1358 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1359 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1360 ,
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1361 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1362 ) : (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1363 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1364 ) && ((size_t)(const void *)((
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1365 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1366 ) + 1) - (size_t)(const void *)(
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1367 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1368 ) == 1) && (__s1_len = __builtin_strlen (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1369 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1370 ), __s1_len < 4) ? (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1371 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1372 ) && ((size_t)(const void *)((
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1373 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1374 ) + 1) - (size_t)(const void *)(
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1375 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1376 ) == 1) ? __builtin_strcmp (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1377 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1378 ,
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1379 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1380 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1381 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1382 ); int __result = (((const unsigned char *) (const char *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1383 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1384 ))[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 *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1385 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1386 ))[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 *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1387 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1388 ))[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 *) ( s ))[3] - __s2[3]);
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1389 s
never executed: __result = (((const unsigned char *) (const char *) ( s ))[3] - __s2[3]);
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1390 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( s ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1391 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1392 ) && ((size_t)(const void *)((
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1393 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1394 ) + 1) - (size_t)(const void *)(
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1395 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1396 ) == 1) && (__s2_len = __builtin_strlen (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1397 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1398 ), __s2_len < 4) ? (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1399 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1400 ) && ((size_t)(const void *)((
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1401 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1402 ) + 1) - (size_t)(const void *)(
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1403 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1404 ) == 1) ? __builtin_strcmp (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1405 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1406 ,
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1407 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1408 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1409 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1410 ); int __result = (((const unsigned char *) (const char *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1411 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1412 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1413 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1414 ))[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 *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1415 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1416 ))[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 *) ( "" "0" "" ))[3] - __s2[3]);
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1417 "" "0" ""
never executed: __result = (((const unsigned char *) (const char *) ( "" "0" "" ))[3] - __s2[3]);
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1418 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( "" "0" "" ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1419 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1420 ,
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1421 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1422 )))); }) : strncmp (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1423 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1424 ,
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1425 "" "0" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1426 ,
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1427 sizeof ("0") - 1
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1428 )))
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1429 == 0)
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1430 || (len == 2 &&
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1431 (__extension__ (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1432 sizeof ("00") - 1
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1433 ) && ((__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1434 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1435 ) && strlen (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1436 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1437 ) < ((size_t) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1438 sizeof ("00") - 1
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1439 ))) || (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1440 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1441 ) && strlen (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1442 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1443 ) < ((size_t) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1444 sizeof ("00") - 1
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1445 )))) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1446 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1447 ) && __builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1448 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1449 ) && (__s1_len = __builtin_strlen (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1450 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1451 ), __s2_len = __builtin_strlen (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1452 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1453 ), (!((size_t)(const void *)((
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1454 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1455 ) + 1) - (size_t)(const void *)(
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1456 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1457 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1458 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1459 ) + 1) - (size_t)(const void *)(
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1460 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1461 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1462 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1463 ,
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1464 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1465 ) : (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1466 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1467 ) && ((size_t)(const void *)((
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1468 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1469 ) + 1) - (size_t)(const void *)(
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1470 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1471 ) == 1) && (__s1_len = __builtin_strlen (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1472 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1473 ), __s1_len < 4) ? (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1474 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1475 ) && ((size_t)(const void *)((
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1476 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1477 ) + 1) - (size_t)(const void *)(
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1478 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1479 ) == 1) ? __builtin_strcmp (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1480 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1481 ,
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1482 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1483 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1484 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1485 ); int __result = (((const unsigned char *) (const char *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1486 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1487 ))[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 *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1488 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1489 ))[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 *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1490 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1491 ))[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 *) ( s ))[3] - __s2[3]);
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1492 s
never executed: __result = (((const unsigned char *) (const char *) ( s ))[3] - __s2[3]);
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1493 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( s ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1494 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1495 ) && ((size_t)(const void *)((
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1496 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1497 ) + 1) - (size_t)(const void *)(
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1498 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1499 ) == 1) && (__s2_len = __builtin_strlen (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1500 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1501 ), __s2_len < 4) ? (__builtin_constant_p (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1502 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1503 ) && ((size_t)(const void *)((
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1504 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1505 ) + 1) - (size_t)(const void *)(
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1506 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1507 ) == 1) ? __builtin_strcmp (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1508 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1509 ,
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1510 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1511 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1512 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1513 ); int __result = (((const unsigned char *) (const char *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1514 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1515 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1516 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1517 ))[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 *) (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1518 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1519 ))[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 *) ( "" "00" "" ))[3] - __s2[3]);
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1520 "" "00" ""
never executed: __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]);
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1521 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
0-178
1522 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1523 ,
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1524 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1525 )))); }) : strncmp (
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1526 s
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1527 ,
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1528 "" "00" ""
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1529 ,
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1530 sizeof ("00") - 1
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1531 )))
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1532 == 0));
executed 178 times by 1 test: return ! (len == 0 || (len == 1 && (__extension__ (__builtin_constant_p ( sizeof ("0") - 1 ) && ((__builtin_constant_p ( s ) && strlen ( s ) < ((size_t) ( sizeof ("0") - 1 ))) || (__builtin_constant_p ( "" "0" "" ) && strlen ( "" "0" "" ) < ((size_t) ( si...2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( "" "00" "" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( s , "" "00" "" )))); }) : strncmp ( s , "" "00" "" , sizeof ("00") - 1 ))) == 0));
Executed by:
  • ls
178
1533}-
1534-
1535static void-
1536restore_default_color (void)-
1537{-
1538 put_indicator (&color_indicator[C_LEFT]);-
1539 put_indicator (&color_indicator[C_RIGHT]);-
1540}
never executed: end of block
0
1541-
1542static void-
1543set_normal_color (void)-
1544{-
1545 if (print_with_color
print_with_colorDescription
TRUEevaluated 36 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1091 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
&& is_colored (C_NORM)
is_colored (C_NORM)Description
TRUEnever evaluated
FALSEevaluated 36 times by 1 test
Evaluated by:
  • ls
)
0-1091
1546 {-
1547 put_indicator (&color_indicator[C_LEFT]);-
1548 put_indicator (&color_indicator[C_NORM]);-
1549 put_indicator (&color_indicator[C_RIGHT]);-
1550 }
never executed: end of block
0
1551}
executed 1127 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
1127
1552-
1553-
1554-
1555static void-
1556sighandler (int sig)-
1557{-
1558 if (!
! 1Description
TRUEnever evaluated
FALSEnever evaluated
0
1559 1
! 1Description
TRUEnever evaluated
FALSEnever evaluated
0
1560 )-
1561 signal (sig,
dead code: signal (sig, ((__sighandler_t) 1) );
-
1562 ((__sighandler_t) 1)
dead code: signal (sig, ((__sighandler_t) 1) );
-
1563 );
dead code: signal (sig, ((__sighandler_t) 1) );
-
1564 if (! interrupt_signal
! interrupt_signalDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1565 interrupt_signal = sig;
never executed: interrupt_signal = sig;
0
1566}
never executed: end of block
0
1567-
1568-
1569-
1570static void-
1571stophandler (int sig)-
1572{-
1573 if (!
! 1Description
TRUEnever evaluated
FALSEnever evaluated
0
1574 1
! 1Description
TRUEnever evaluated
FALSEnever evaluated
0
1575 )-
1576 signal (sig, stophandler);
dead code: signal (sig, stophandler);
-
1577 if (! interrupt_signal
! interrupt_signalDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1578 stop_signal_count++;
never executed: stop_signal_count++;
0
1579}
never executed: end of block
0
1580-
1581-
1582-
1583-
1584-
1585-
1586-
1587static void-
1588process_signals (void)-
1589{-
1590 while (interrupt_signal
interrupt_signalDescription
TRUEnever evaluated
FALSEevaluated 1492 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
|| stop_signal_count
stop_signal_countDescription
TRUEnever evaluated
FALSEevaluated 1492 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1492
1591 {-
1592 int sig;-
1593 int stops;-
1594 sigset_t oldset;-
1595-
1596 if (used_color
used_colorDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1597 restore_default_color ();
never executed: restore_default_color ();
0
1598 fflush_unlocked (-
1599 stdout-
1600 );-
1601-
1602 sigprocmask (-
1603 0-
1604 , &caught_signals, &oldset);-
1605-
1606-
1607-
1608 sig = interrupt_signal;-
1609 stops = stop_signal_count;-
1610-
1611-
1612-
1613-
1614 if (stops
stopsDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1615 {-
1616 stop_signal_count = stops - 1;-
1617 sig = -
1618 19-
1619 ;-
1620 }
never executed: end of block
0
1621 else-
1622 signal (sig,
never executed: signal (sig, ((__sighandler_t) 0) );
0
1623 ((__sighandler_t) 0)
never executed: signal (sig, ((__sighandler_t) 0) );
0
1624 );
never executed: signal (sig, ((__sighandler_t) 0) );
0
1625-
1626-
1627 raise (sig);-
1628 sigprocmask (-
1629 2-
1630 , &oldset, -
1631 ((void *)0)-
1632 );-
1633-
1634-
1635-
1636 }
never executed: end of block
0
1637}
executed 1492 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
1492
1638-
1639-
1640-
1641-
1642static void-
1643signal_setup (-
1644 _Bool -
1645 init)-
1646{-
1647-
1648 static int const sig[] =-
1649 {-
1650-
1651 -
1652 20-
1653 ,-
1654-
1655-
1656 -
1657 14-
1658 , -
1659 1-
1660 , -
1661 2-
1662 , -
1663 13-
1664 , -
1665 3-
1666 , -
1667 15-
1668 ,-
1669-
1670 -
1671 29-
1672 ,-
1673-
1674-
1675 -
1676 27-
1677 ,-
1678-
1679-
1680 -
1681 26-
1682 ,-
1683-
1684-
1685 -
1686 24-
1687 ,-
1688-
1689-
1690 -
1691 25-
1692 ,-
1693-
1694 };-
1695 enum { nsigs = (sizeof (sig) / sizeof *(sig)) };-
1696-
1697-
1698-
1699-
1700-
1701 int j;-
1702-
1703 if (init
initDescription
TRUEnever evaluated
FALSEevaluated 24 times by 1 test
Evaluated by:
  • ls
)
0-24
1704 {-
1705-
1706 struct sigaction act;-
1707-
1708 sigemptyset (&caught_signals);-
1709 for (j = 0; j < nsigs
j < nsigsDescription
TRUEnever evaluated
FALSEnever evaluated
; j++)
0
1710 {-
1711 sigaction (sig[j], -
1712 ((void *)0)-
1713 , &act);-
1714 if (act.
act. __sigacti...ghandler_t) 1)Description
TRUEnever evaluated
FALSEnever evaluated
0
1715 __sigaction_handler.sa_handler
act. __sigacti...ghandler_t) 1)Description
TRUEnever evaluated
FALSEnever evaluated
0
1716 !=
act. __sigacti...ghandler_t) 1)Description
TRUEnever evaluated
FALSEnever evaluated
0
1717 ((__sighandler_t) 1)
act. __sigacti...ghandler_t) 1)Description
TRUEnever evaluated
FALSEnever evaluated
0
1718 )-
1719 sigaddset (&caught_signals, sig[j]);
never executed: sigaddset (&caught_signals, sig[j]);
0
1720 }
never executed: end of block
0
1721-
1722 act.sa_mask = caught_signals;-
1723 act.sa_flags = -
1724 0x10000000-
1725 ;-
1726-
1727 for (j = 0; j < nsigs
j < nsigsDescription
TRUEnever evaluated
FALSEnever evaluated
; j++)
0
1728 if (sigismember (&caught_signals, sig[j])
sigismember (&...gnals, sig[j])Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1729 {-
1730 act.-
1731 __sigaction_handler.sa_handler -
1732 = sig[j] ==
sig[j] == 20Description
TRUEnever evaluated
FALSEnever evaluated
0
1733 20
sig[j] == 20Description
TRUEnever evaluated
FALSEnever evaluated
0
1734 ? stophandler : sighandler;-
1735 sigaction (sig[j], &act, -
1736 ((void *)0)-
1737 );-
1738 }
never executed: end of block
0
1739 }
never executed: end of block
0
1740 else-
1741 {-
1742-
1743 for (j = 0; j < nsigs
j < nsigsDescription
TRUEevaluated 288 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 24 times by 1 test
Evaluated by:
  • ls
; j++)
24-288
1744 if (sigismember (&caught_signals, sig[j])
sigismember (&...gnals, sig[j])Description
TRUEnever evaluated
FALSEevaluated 288 times by 1 test
Evaluated by:
  • ls
)
0-288
1745 signal (sig[j],
never executed: signal (sig[j], ((__sighandler_t) 0) );
0
1746 ((__sighandler_t) 0)
never executed: signal (sig[j], ((__sighandler_t) 0) );
0
1747 );
never executed: signal (sig[j], ((__sighandler_t) 0) );
0
1748-
1749-
1750-
1751-
1752-
1753 }
executed 24 times by 1 test: end of block
Executed by:
  • ls
24
1754}-
1755-
1756static inline void-
1757signal_init (void)-
1758{-
1759 signal_setup (-
1760 1-
1761 );-
1762}
never executed: end of block
0
1763-
1764static inline void-
1765signal_restore (void)-
1766{-
1767 signal_setup (-
1768 0-
1769 );-
1770}
executed 24 times by 1 test: end of block
Executed by:
  • ls
24
1771-
1772int-
1773main (int argc, char **argv)-
1774{-
1775 int i;-
1776 struct pending *thispend;-
1777 int n_files;-
1778-
1779 ;-
1780 set_program_name (argv[0]);-
1781 setlocale (-
1782 6-
1783 , "");-
1784 bindtextdomain ("coreutils", "/usr/local/share/locale");-
1785 textdomain ("coreutils");-
1786-
1787 initialize_exit_failure (LS_FAILURE);-
1788 atexit (close_stdout);-
1789-
1790 -
1791 ((-
1792 (sizeof (color_indicator) / sizeof *(color_indicator)) + 1 == (sizeof (indicator_name) / sizeof *(indicator_name))-
1793 ) ? (void) (0) : __assert_fail (-
1794 "ARRAY_CARDINALITY (color_indicator) + 1 == ARRAY_CARDINALITY (indicator_name)"-
1795 ,-
1796 "src/ls.c"-
1797 ,-
1798 1463-
1799 , __PRETTY_FUNCTION__))-
1800 -
1801 ;-
1802-
1803 exit_status = -
1804 0-
1805 ;-
1806 print_dir_name = -
1807 1-
1808 ;-
1809 pending_dirs = -
1810 ((void *)0)-
1811 ;-
1812-
1813 current_time.tv_sec = ((time_t) ~ ((time_t) (! (! ((time_t) 0 < (time_t) -1)) ? (time_t) -1 : ((((time_t) 1 << ((sizeof (time_t) * 8) - 2)) - 1) * 2 + 1))));-
1814 current_time.tv_nsec = -1;-
1815-
1816 i = decode_switches (argc, argv);-
1817-
1818 if (print_with_color
print_with_colorDescription
TRUEevaluated 32 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1134 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
32-1134
1819 parse_ls_color ();
executed 32 times by 1 test: parse_ls_color ();
Executed by:
  • ls
32
1820-
1821-
1822-
1823 if (print_with_color
print_with_colorDescription
TRUEevaluated 28 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1138 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
28-1138
1824 {-
1825-
1826 if (is_colored (C_ORPHAN)
is_colored (C_ORPHAN)Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 18 times by 1 test
Evaluated by:
  • ls
10-18
1827 || (is_colored (C_EXEC)
is_colored (C_EXEC)Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
&& color_symlink_as_referent
color_symlink_as_referentDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
)
2-16
1828 || (is_colored (C_MISSING)
is_colored (C_MISSING)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
&& format == long_format
format == long_formatDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
))
0-10
1829 check_symlink_color =
executed 18 times by 1 test: check_symlink_color = 1 ;
Executed by:
  • ls
18
1830 1
executed 18 times by 1 test: check_symlink_color = 1 ;
Executed by:
  • ls
18
1831 ;
executed 18 times by 1 test: check_symlink_color = 1 ;
Executed by:
  • ls
18
1832 }
executed 28 times by 1 test: end of block
Executed by:
  • ls
28
1833-
1834 if (dereference == DEREF_UNDEFINED
dereference == DEREF_UNDEFINEDDescription
TRUEevaluated 1160 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 6 times by 1 test
Evaluated by:
  • ls
)
6-1160
1835 dereference = ((immediate_dirs
immediate_dirsDescription
TRUEevaluated 1038 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 122 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
executed 1160 times by 3 tests: dereference = ((immediate_dirs || indicator_style == classify || format == long_format) ? DEREF_NEVER : DEREF_COMMAND_LINE_SYMLINK_TO_DIR);
Executed by:
  • dir
  • ls
  • vdir
122-1160
1836 || indicator_style == classify
indicator_style == classifyDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 118 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
executed 1160 times by 3 tests: dereference = ((immediate_dirs || indicator_style == classify || format == long_format) ? DEREF_NEVER : DEREF_COMMAND_LINE_SYMLINK_TO_DIR);
Executed by:
  • dir
  • ls
  • vdir
4-1160
1837 || format == long_format
format == long_formatDescription
TRUEevaluated 29 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 89 times by 2 tests
Evaluated by:
  • dir
  • ls
)
executed 1160 times by 3 tests: dereference = ((immediate_dirs || indicator_style == classify || format == long_format) ? DEREF_NEVER : DEREF_COMMAND_LINE_SYMLINK_TO_DIR);
Executed by:
  • dir
  • ls
  • vdir
29-1160
1838 ? DEREF_NEVER
executed 1160 times by 3 tests: dereference = ((immediate_dirs || indicator_style == classify || format == long_format) ? DEREF_NEVER : DEREF_COMMAND_LINE_SYMLINK_TO_DIR);
Executed by:
  • dir
  • ls
  • vdir
1160
1839 : DEREF_COMMAND_LINE_SYMLINK_TO_DIR);
executed 1160 times by 3 tests: dereference = ((immediate_dirs || indicator_style == classify || format == long_format) ? DEREF_NEVER : DEREF_COMMAND_LINE_SYMLINK_TO_DIR);
Executed by:
  • dir
  • ls
  • vdir
1160
1840-
1841-
1842-
1843 if (recursive
recursiveDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1160 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
6-1160
1844 {-
1845 active_dir_set = hash_initialize (30, -
1846 ((void *)0)-
1847 ,-
1848 dev_ino_hash,-
1849 dev_ino_compare,-
1850 dev_ino_free);-
1851 if (active_dir_set ==
active_dir_set == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • ls
0-6
1852 ((void *)0)
active_dir_set == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • ls
0-6
1853 )-
1854 xalloc_die ();
never executed: xalloc_die ();
0
1855-
1856 _obstack_begin ((&dev_ino_obstack), 0, 0, (malloc), (free));-
1857 }
executed 6 times by 1 test: end of block
Executed by:
  • ls
6
1858-
1859 localtz = tzalloc (getenv ("TZ"));-
1860-
1861 format_needs_stat = sort_type == sort_time
sort_type == sort_timeDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1158 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
|| sort_type == sort_size
sort_type == sort_sizeDescription
TRUEnever evaluated
FALSEevaluated 1158 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
0-1158
1862 || format == long_format
format == long_formatDescription
TRUEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 1009 times by 2 tests
Evaluated by:
  • dir
  • ls
149-1009
1863 || print_scontext
print_scontextDescription
TRUEnever evaluated
FALSEevaluated 1009 times by 2 tests
Evaluated by:
  • dir
  • ls
0-1009
1864 || print_block_size
print_block_sizeDescription
TRUEnever evaluated
FALSEevaluated 1009 times by 2 tests
Evaluated by:
  • dir
  • ls
;
0-1009
1865 format_needs_type = (! format_needs_stat
! format_needs_statDescription
TRUEevaluated 1009 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 157 times by 2 tests
Evaluated by:
  • ls
  • vdir
157-1009
1866 && (recursive
recursiveDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1003 times by 2 tests
Evaluated by:
  • dir
  • ls
6-1003
1867 || print_with_color
print_with_colorDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 983 times by 2 tests
Evaluated by:
  • dir
  • ls
20-983
1868 || indicator_style != none
indicator_style != noneDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 973 times by 2 tests
Evaluated by:
  • dir
  • ls
10-973
1869 || directories_first
directories_firstDescription
TRUEnever evaluated
FALSEevaluated 973 times by 2 tests
Evaluated by:
  • dir
  • ls
));
0-973
1870-
1871 if (dired
diredDescription
TRUEnever evaluated
FALSEevaluated 1166 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1166
1872 {-
1873 _obstack_begin ((&dired_obstack), 0, 0, (malloc), (free));-
1874 _obstack_begin ((&subdired_obstack), 0, 0, (malloc), (free));-
1875 }
never executed: end of block
0
1876-
1877 if (print_hyperlink
print_hyperlinkDescription
TRUEnever evaluated
FALSEevaluated 1166 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1166
1878 {-
1879 file_escape_init ();-
1880-
1881 hostname = xgethostname ();-
1882-
1883-
1884 if (! hostname
! hostnameDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1885 hostname = "";
never executed: hostname = "";
0
1886 }
never executed: end of block
0
1887-
1888 cwd_n_alloc = 100;-
1889 cwd_file = xnmalloc (cwd_n_alloc, sizeof *cwd_file);-
1890 cwd_n_used = 0;-
1891-
1892 clear_files ();-
1893-
1894 n_files = argc - i;-
1895-
1896 if (n_files <= 0
n_files <= 0Description
TRUEevaluated 3 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 1163 times by 1 test
Evaluated by:
  • ls
)
3-1163
1897 {-
1898 if (immediate_dirs
immediate_dirsDescription
TRUEnever evaluated
FALSEevaluated 3 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-3
1899 gobble_file (".", directory, NOT_AN_INODE_NUMBER,
never executed: gobble_file (".", directory, NOT_AN_INODE_NUMBER, 1 , "");
0
1900 1
never executed: gobble_file (".", directory, NOT_AN_INODE_NUMBER, 1 , "");
0
1901 , "");
never executed: gobble_file (".", directory, NOT_AN_INODE_NUMBER, 1 , "");
0
1902 else-
1903 queue_directory (".",
executed 3 times by 3 tests: queue_directory (".", ((void *)0) , 1 );
Executed by:
  • dir
  • ls
  • vdir
3
1904 ((void *)0)
executed 3 times by 3 tests: queue_directory (".", ((void *)0) , 1 );
Executed by:
  • dir
  • ls
  • vdir
3
1905 ,
executed 3 times by 3 tests: queue_directory (".", ((void *)0) , 1 );
Executed by:
  • dir
  • ls
  • vdir
3
1906 1
executed 3 times by 3 tests: queue_directory (".", ((void *)0) , 1 );
Executed by:
  • dir
  • ls
  • vdir
3
1907 );
executed 3 times by 3 tests: queue_directory (".", ((void *)0) , 1 );
Executed by:
  • dir
  • ls
  • vdir
3
1908 }-
1909 else-
1910 do-
1911 gobble_file (argv[i++], unknown, NOT_AN_INODE_NUMBER,
executed 1225 times by 1 test: gobble_file (argv[i++], unknown, NOT_AN_INODE_NUMBER, 1 , "");
Executed by:
  • ls
1225
1912 1
executed 1225 times by 1 test: gobble_file (argv[i++], unknown, NOT_AN_INODE_NUMBER, 1 , "");
Executed by:
  • ls
1225
1913 , "");
executed 1225 times by 1 test: gobble_file (argv[i++], unknown, NOT_AN_INODE_NUMBER, 1 , "");
Executed by:
  • ls
1225
1914 while (i < argc
i < argcDescription
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1163 times by 1 test
Evaluated by:
  • ls
);
62-1163
1915-
1916 if (cwd_n_used
cwd_n_usedDescription
TRUEevaluated 1047 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 119 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
119-1047
1917 {-
1918 sort_files ();-
1919 if (!immediate_dirs
!immediate_dirsDescription
TRUEevaluated 119 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 928 times by 1 test
Evaluated by:
  • ls
)
119-928
1920 extract_dirs_from_files (
executed 119 times by 1 test: extract_dirs_from_files ( ((void *)0) , 1 );
Executed by:
  • ls
119
1921 ((void *)0)
executed 119 times by 1 test: extract_dirs_from_files ( ((void *)0) , 1 );
Executed by:
  • ls
119
1922 ,
executed 119 times by 1 test: extract_dirs_from_files ( ((void *)0) , 1 );
Executed by:
  • ls
119
1923 1
executed 119 times by 1 test: extract_dirs_from_files ( ((void *)0) , 1 );
Executed by:
  • ls
119
1924 );
executed 119 times by 1 test: extract_dirs_from_files ( ((void *)0) , 1 );
Executed by:
  • ls
119
1925-
1926 }
executed 1047 times by 1 test: end of block
Executed by:
  • ls
1047
1927-
1928-
1929-
1930-
1931-
1932 if (cwd_n_used
cwd_n_usedDescription
TRUEevaluated 1015 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 151 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
151-1015
1933 {-
1934 print_current_files ();-
1935 if (pending_dirs
pending_dirsDescription
TRUEnever evaluated
FALSEevaluated 1015 times by 1 test
Evaluated by:
  • ls
)
0-1015
1936 do {putchar_unlocked (('\n')); ++dired_pos;}
never executed: end of block
while (0);
0
1937 }
executed 1015 times by 1 test: end of block
Executed by:
  • ls
1015
1938 else if (n_files <= 1
n_files <= 1Description
TRUEevaluated 145 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 6 times by 1 test
Evaluated by:
  • ls
&& pending_dirs
pending_dirsDescription
TRUEevaluated 29 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 116 times by 1 test
Evaluated by:
  • ls
&& pending_dirs->next == 0
pending_dirs->next == 0Description
TRUEevaluated 29 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
)
0-145
1939 print_dir_name =
executed 29 times by 3 tests: print_dir_name = 0 ;
Executed by:
  • dir
  • ls
  • vdir
29
1940 0
executed 29 times by 3 tests: print_dir_name = 0 ;
Executed by:
  • dir
  • ls
  • vdir
29
1941 ;
executed 29 times by 3 tests: print_dir_name = 0 ;
Executed by:
  • dir
  • ls
  • vdir
29
1942-
1943 while (pending_dirs
pending_dirsDescription
TRUEevaluated 51 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 1166 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
51-1166
1944 {-
1945 thispend = pending_dirs;-
1946 pending_dirs = pending_dirs->next;-
1947-
1948 if ((
(!!active_dir_set)Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 31 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
!!active_dir_set)
(!!active_dir_set)Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 31 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
20-31
1949 {-
1950 if (thispend->name ==
thispend->name == ((void *)0)Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
10
1951 ((void *)0)
thispend->name == ((void *)0)Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
10
1952 )-
1953 {-
1954-
1955-
1956-
1957-
1958 struct dev_ino di = dev_ino_pop ();-
1959 struct dev_ino *found = hash_delete (active_dir_set, &di);-
1960-
1961 -
1962 ((-
1963 found-
1964 ) ? (void) (0) : __assert_fail (-
1965 "found"-
1966 , "src/ls.c", 1595, __PRETTY_FUNCTION__))-
1967 ;-
1968 dev_ino_free (found);-
1969 free_pending_ent (thispend);-
1970 continue;
executed 10 times by 1 test: continue;
Executed by:
  • ls
10
1971 }-
1972 }
executed 10 times by 1 test: end of block
Executed by:
  • ls
10
1973-
1974 print_dir (thispend->name, thispend->realname,-
1975 thispend->command_line_arg);-
1976-
1977 free_pending_ent (thispend);-
1978 print_dir_name = -
1979 1-
1980 ;-
1981 }
executed 41 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
41
1982-
1983 if (print_with_color
print_with_colorDescription
TRUEevaluated 28 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1138 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
&& used_color
used_colorDescription
TRUEevaluated 24 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
)
4-1138
1984 {-
1985 int j;-
1986-
1987-
1988-
1989 if (!(color_indicator[C_LEFT].len == 2
color_indicato...LEFT].len == 2Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-24
1990 && memcmp (color_indicator[C_LEFT].string, "\033[", 2) == 0
memcmp (color_...033[", 2) == 0Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-24
1991 && color_indicator[C_RIGHT].len == 1
color_indicato...IGHT].len == 1Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-24
1992 && color_indicator[C_RIGHT].string[0] == 'm'
color_indicato...ring[0] == 'm'Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
))
0-24
1993 restore_default_color ();
never executed: restore_default_color ();
0
1994-
1995 fflush_unlocked (-
1996 stdout-
1997 );-
1998-
1999 signal_restore ();-
2000-
2001-
2002-
2003-
2004-
2005 for (j = stop_signal_count; j
jDescription
TRUEnever evaluated
FALSEevaluated 24 times by 1 test
Evaluated by:
  • ls
; j--)
0-24
2006 raise (
never executed: raise ( 19 );
0
2007 19
never executed: raise ( 19 );
0
2008 );
never executed: raise ( 19 );
0
2009 j = interrupt_signal;-
2010 if (j
jDescription
TRUEnever evaluated
FALSEevaluated 24 times by 1 test
Evaluated by:
  • ls
)
0-24
2011 raise (j);
never executed: raise (j);
0
2012 }
executed 24 times by 1 test: end of block
Executed by:
  • ls
24
2013-
2014 if (dired
diredDescription
TRUEnever evaluated
FALSEevaluated 1166 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1166
2015 {-
2016-
2017 dired_dump_obstack ("//DIRED//", &dired_obstack);-
2018 dired_dump_obstack ("//SUBDIRED//", &subdired_obstack);-
2019 printf ("//DIRED-OPTIONS// --quoting-style=%s\n",-
2020 quoting_style_args[get_quoting_style (filename_quoting_options)]);-
2021 }
never executed: end of block
0
2022-
2023 if ((
(!!active_dir_set)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1160 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
!!active_dir_set)
(!!active_dir_set)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1160 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
6-1160
2024 {-
2025 -
2026 ((-
2027 hash_get_n_entries (active_dir_set) == 0-
2028 ) ? (void) (0) : __assert_fail (-
2029 "hash_get_n_entries (active_dir_set) == 0"-
2030 , "src/ls.c", 1647, __PRETTY_FUNCTION__))-
2031 ;-
2032 hash_free (active_dir_set);-
2033 }
executed 6 times by 1 test: end of block
Executed by:
  • ls
6
2034-
2035 return
executed 1166 times by 3 tests: return exit_status;
Executed by:
  • dir
  • ls
  • vdir
exit_status;
executed 1166 times by 3 tests: return exit_status;
Executed by:
  • dir
  • ls
  • vdir
1166
2036}-
2037-
2038-
2039-
2040-
2041static -
2042 _Bool-
2043-
2044set_line_length (char const *spec)-
2045{-
2046 uintmax_t val;-
2047-
2048-
2049-
2050 switch (xstrtoumax (spec, -
2051 ((void *)0)-
2052 , 0, &val, ""))-
2053 {-
2054 case
never executed: case LONGINT_OK:
LONGINT_OK:
never executed: case LONGINT_OK:
0
2055 line_length = -
2056 (((
(( val )<((184...709551615UL)))Description
TRUEnever evaluated
FALSEnever evaluated
0
2057 val
(( val )<((184...709551615UL)))Description
TRUEnever evaluated
FALSEnever evaluated
0
2058 )<((18446744073709551615UL)))
(( val )<((184...709551615UL)))Description
TRUEnever evaluated
FALSEnever evaluated
?(
0
2059 val-
2060 ):((18446744073709551615UL)))-
2061 ;-
2062 return
never executed: return 1 ;
never executed: return 1 ;
0
2063 1
never executed: return 1 ;
0
2064 ;
never executed: return 1 ;
0
2065-
2066 case
never executed: case LONGINT_OVERFLOW:
LONGINT_OVERFLOW:
never executed: case LONGINT_OVERFLOW:
0
2067 line_length = -
2068 (18446744073709551615UL)-
2069 ;-
2070 return
never executed: return 1 ;
never executed: return 1 ;
0
2071 1
never executed: return 1 ;
0
2072 ;
never executed: return 1 ;
0
2073-
2074 default
executed 4 times by 2 tests: default:
Executed by:
  • dir
  • vdir
:
executed 4 times by 2 tests: default:
Executed by:
  • dir
  • vdir
4
2075 return
executed 4 times by 2 tests: return 0 ;
Executed by:
  • dir
  • vdir
executed 4 times by 2 tests: return 0 ;
Executed by:
  • dir
  • vdir
4
2076 0
executed 4 times by 2 tests: return 0 ;
Executed by:
  • dir
  • vdir
4
2077 ;
executed 4 times by 2 tests: return 0 ;
Executed by:
  • dir
  • vdir
4
2078 }-
2079}-
2080-
2081-
2082-
2083-
2084static int-
2085decode_switches (int argc, char **argv)-
2086{-
2087 char *time_style_option = -
2088 ((void *)0)-
2089 ;-
2090-
2091 -
2092 _Bool -
2093 sort_type_specified = -
2094 0-
2095 ;-
2096 -
2097 _Bool -
2098 kibibytes_specified = -
2099 0-
2100 ;-
2101-
2102 qmark_funny_chars = -
2103 0-
2104 ;-
2105-
2106-
2107-
2108 switch (ls_mode)-
2109 {-
2110 case
executed 92 times by 1 test: case 2:
Executed by:
  • dir
2:
executed 92 times by 1 test: case 2:
Executed by:
  • dir
92
2111-
2112 format = many_per_line;-
2113 set_quoting_style (-
2114 ((void *)0)-
2115 , escape_quoting_style);-
2116 break;
executed 92 times by 1 test: break;
Executed by:
  • dir
92
2117-
2118 case
executed 92 times by 1 test: case 3:
Executed by:
  • vdir
3:
executed 92 times by 1 test: case 3:
Executed by:
  • vdir
92
2119-
2120 format = long_format;-
2121 set_quoting_style (-
2122 ((void *)0)-
2123 , escape_quoting_style);-
2124 break;
executed 92 times by 1 test: break;
Executed by:
  • vdir
92
2125-
2126 case
executed 1175 times by 1 test: case 1:
Executed by:
  • ls
1:
executed 1175 times by 1 test: case 1:
Executed by:
  • ls
1175
2127-
2128 if (isatty (
isatty ( 1 )Description
TRUEnever evaluated
FALSEevaluated 1175 times by 1 test
Evaluated by:
  • ls
0-1175
2129 1
isatty ( 1 )Description
TRUEnever evaluated
FALSEevaluated 1175 times by 1 test
Evaluated by:
  • ls
0-1175
2130 )
isatty ( 1 )Description
TRUEnever evaluated
FALSEevaluated 1175 times by 1 test
Evaluated by:
  • ls
)
0-1175
2131 {-
2132 format = many_per_line;-
2133 set_quoting_style (-
2134 ((void *)0)-
2135 , shell_escape_quoting_style);-
2136-
2137 qmark_funny_chars = -
2138 1-
2139 ;-
2140 }
never executed: end of block
0
2141 else-
2142 {-
2143 format = one_per_line;-
2144 qmark_funny_chars = -
2145 0-
2146 ;-
2147 }
executed 1175 times by 1 test: end of block
Executed by:
  • ls
1175
2148 break;
executed 1175 times by 1 test: break;
Executed by:
  • ls
1175
2149-
2150 default
never executed: default:
:
never executed: default:
0
2151 abort ();
never executed: abort ();
0
2152 }-
2153-
2154 time_type = time_mtime;-
2155 sort_type = sort_name;-
2156 sort_reverse = -
2157 0-
2158 ;-
2159 numeric_ids = -
2160 0-
2161 ;-
2162 print_block_size = -
2163 0-
2164 ;-
2165 indicator_style = none;-
2166 print_inode = -
2167 0-
2168 ;-
2169 dereference = DEREF_UNDEFINED;-
2170 recursive = -
2171 0-
2172 ;-
2173 immediate_dirs = -
2174 0-
2175 ;-
2176 ignore_mode = IGNORE_DEFAULT;-
2177 ignore_patterns = -
2178 ((void *)0)-
2179 ;-
2180 hide_patterns = -
2181 ((void *)0)-
2182 ;-
2183 print_scontext = -
2184 0-
2185 ;-
2186-
2187 getenv_quoting_style ();-
2188-
2189 line_length = 80;-
2190 {-
2191 char const *p = getenv ("COLUMNS");-
2192 if (p
pDescription
TRUEnever evaluated
FALSEevaluated 1359 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
&& *
*pDescription
TRUEnever evaluated
FALSEnever evaluated
p
*pDescription
TRUEnever evaluated
FALSEnever evaluated
&& ! set_line_length (p)
! set_line_length (p)Description
TRUEnever evaluated
FALSEnever evaluated
)
0-1359
2193 error (0, 0,
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid width in environment variable COLUMNS: %s" , 5) , quote (p));
0
2194
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid width in environment variable COLUMNS: %s" , 5) , quote (p));
0
2195 dcgettext (((void *)0),
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid width in environment variable COLUMNS: %s" , 5) , quote (p));
0
2196 "ignoring invalid width in environment variable COLUMNS: %s"
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid width in environment variable COLUMNS: %s" , 5) , quote (p));
0
2197 , 5)
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid width in environment variable COLUMNS: %s" , 5) , quote (p));
0
2198 ,
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid width in environment variable COLUMNS: %s" , 5) , quote (p));
0
2199 quote (p));
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid width in environment variable COLUMNS: %s" , 5) , quote (p));
0
2200 }-
2201-
2202-
2203 {-
2204 struct winsize ws;-
2205-
2206 if (ioctl (
ioctl ( 1 , 0x...3 , &ws) != -1Description
TRUEnever evaluated
FALSEevaluated 1359 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
0-1359
2207 1
ioctl ( 1 , 0x...3 , &ws) != -1Description
TRUEnever evaluated
FALSEevaluated 1359 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
0-1359
2208 ,
ioctl ( 1 , 0x...3 , &ws) != -1Description
TRUEnever evaluated
FALSEevaluated 1359 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
0-1359
2209 0x5413
ioctl ( 1 , 0x...3 , &ws) != -1Description
TRUEnever evaluated
FALSEevaluated 1359 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
0-1359
2210 , &ws) != -1
ioctl ( 1 , 0x...3 , &ws) != -1Description
TRUEnever evaluated
FALSEevaluated 1359 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
0-1359
2211 && 0 < ws.ws_col
0 < ws.ws_colDescription
TRUEnever evaluated
FALSEnever evaluated
&& ws.ws_col == (size_t) ws.ws_col
ws.ws_col == (...e_t) ws.ws_colDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
2212 line_length = ws.ws_col;
never executed: line_length = ws.ws_col;
0
2213 }-
2214-
2215-
2216 {-
2217 char const *p = getenv ("TABSIZE");-
2218 tabsize = 8;-
2219 if (p
pDescription
TRUEnever evaluated
FALSEevaluated 1359 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1359
2220 {-
2221 unsigned long int tmp_ulong;-
2222 if (xstrtoul (p,
xstrtoul (p, (... == LONGINT_OKDescription
TRUEnever evaluated
FALSEnever evaluated
0
2223 ((void *)0)
xstrtoul (p, (... == LONGINT_OKDescription
TRUEnever evaluated
FALSEnever evaluated
0
2224 , 0, &tmp_ulong,
xstrtoul (p, (... == LONGINT_OKDescription
TRUEnever evaluated
FALSEnever evaluated
0
2225 ((void *)0)
xstrtoul (p, (... == LONGINT_OKDescription
TRUEnever evaluated
FALSEnever evaluated
0
2226 ) == LONGINT_OK
xstrtoul (p, (... == LONGINT_OKDescription
TRUEnever evaluated
FALSEnever evaluated
0
2227 && tmp_ulong <=
tmp_ulong <= (...73709551615UL)Description
TRUEnever evaluated
FALSEnever evaluated
0
2228 (18446744073709551615UL)
tmp_ulong <= (...73709551615UL)Description
TRUEnever evaluated
FALSEnever evaluated
0
2229 )-
2230 {-
2231 tabsize = tmp_ulong;-
2232 }
never executed: end of block
0
2233 else-
2234 {-
2235 error (0, 0,-
2236 -
2237 dcgettext (((void *)0), -
2238 "ignoring invalid tab size in environment variable TABSIZE: %s"-
2239 , 5)-
2240 ,-
2241 quote (p));-
2242 }
never executed: end of block
0
2243 }-
2244 }-
2245-
2246 while (-
2247 1-
2248 )-
2249 {-
2250 int oi = -1;-
2251 int c = getopt_long (argc, argv,-
2252 "abcdfghiklmnopqrstuvw:xABCDFGHI:LNQRST:UXZ1",-
2253 long_options, &oi);-
2254 if (c == -1
c == -1Description
TRUEevaluated 1166 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 1809 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
1166-1809
2255 break;
executed 1166 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
1166
2256-
2257 switch (c)-
2258 {-
2259 case
executed 4 times by 2 tests: case 'a':
Executed by:
  • dir
  • vdir
'a':
executed 4 times by 2 tests: case 'a':
Executed by:
  • dir
  • vdir
4
2260 ignore_mode = IGNORE_MINIMAL;-
2261 break;
executed 4 times by 2 tests: break;
Executed by:
  • dir
  • vdir
4
2262-
2263 case
executed 4 times by 2 tests: case 'b':
Executed by:
  • dir
  • vdir
'b':
executed 4 times by 2 tests: case 'b':
Executed by:
  • dir
  • vdir
4
2264 set_quoting_style (-
2265 ((void *)0)-
2266 , escape_quoting_style);-
2267 break;
executed 4 times by 2 tests: break;
Executed by:
  • dir
  • vdir
4
2268-
2269 case
executed 5 times by 3 tests: case 'c':
Executed by:
  • dir
  • ls
  • vdir
'c':
executed 5 times by 3 tests: case 'c':
Executed by:
  • dir
  • ls
  • vdir
5
2270 time_type = time_ctime;-
2271 break;
executed 5 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
5
2272-
2273 case
executed 1046 times by 3 tests: case 'd':
Executed by:
  • dir
  • ls
  • vdir
'd':
executed 1046 times by 3 tests: case 'd':
Executed by:
  • dir
  • ls
  • vdir
1046
2274 immediate_dirs = -
2275 1-
2276 ;-
2277 break;
executed 1046 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
1046
2278-
2279 case
executed 2 times by 2 tests: case 'f':
Executed by:
  • dir
  • vdir
'f':
executed 2 times by 2 tests: case 'f':
Executed by:
  • dir
  • vdir
2
2280-
2281 ignore_mode = IGNORE_MINIMAL;-
2282 sort_type = sort_none;-
2283 sort_type_specified = -
2284 1-
2285 ;-
2286-
2287 if (format == long_format
format == long_formatDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • vdir
FALSEevaluated 1 time by 1 test
Evaluated by:
  • dir
)
1
2288 format = (isatty (
isatty ( 1 )Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • vdir
executed 1 time by 1 test: format = (isatty ( 1 ) ? many_per_line : one_per_line);
Executed by:
  • vdir
0-1
2289 1
isatty ( 1 )Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • vdir
executed 1 time by 1 test: format = (isatty ( 1 ) ? many_per_line : one_per_line);
Executed by:
  • vdir
0-1
2290 )
isatty ( 1 )Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • vdir
? many_per_line : one_per_line);
executed 1 time by 1 test: format = (isatty ( 1 ) ? many_per_line : one_per_line);
Executed by:
  • vdir
0-1
2291 print_block_size = -
2292 0-
2293 ;-
2294 print_with_color = -
2295 0-
2296 ;-
2297 print_hyperlink = -
2298 0-
2299 ;-
2300 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2301-
2302 case
executed 4 times by 3 tests: case FILE_TYPE_INDICATOR_OPTION:
Executed by:
  • dir
  • ls
  • vdir
FILE_TYPE_INDICATOR_OPTION:
executed 4 times by 3 tests: case FILE_TYPE_INDICATOR_OPTION:
Executed by:
  • dir
  • ls
  • vdir
4
2303 indicator_style = file_type;-
2304 break;
executed 4 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
4
2305-
2306 case
executed 122 times by 3 tests: case 'g':
Executed by:
  • dir
  • ls
  • vdir
'g':
executed 122 times by 3 tests: case 'g':
Executed by:
  • dir
  • ls
  • vdir
122
2307 format = long_format;-
2308 print_owner = -
2309 0-
2310 ;-
2311 break;
executed 122 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
122
2312-
2313 case
executed 4 times by 2 tests: case 'h':
Executed by:
  • dir
  • vdir
'h':
executed 4 times by 2 tests: case 'h':
Executed by:
  • dir
  • vdir
4
2314 file_human_output_opts = human_output_opts =-
2315 human_autoscale | human_SI | human_base_1024;-
2316 file_output_block_size = output_block_size = 1;-
2317 break;
executed 4 times by 2 tests: break;
Executed by:
  • dir
  • vdir
4
2318-
2319 case
executed 4 times by 2 tests: case 'i':
Executed by:
  • dir
  • vdir
'i':
executed 4 times by 2 tests: case 'i':
Executed by:
  • dir
  • vdir
4
2320 print_inode = -
2321 1-
2322 ;-
2323 break;
executed 4 times by 2 tests: break;
Executed by:
  • dir
  • vdir
4
2324-
2325 case
executed 4 times by 2 tests: case 'k':
Executed by:
  • dir
  • vdir
'k':
executed 4 times by 2 tests: case 'k':
Executed by:
  • dir
  • vdir
4
2326 kibibytes_specified = -
2327 1-
2328 ;-
2329 break;
executed 4 times by 2 tests: break;
Executed by:
  • dir
  • vdir
4
2330-
2331 case
executed 22 times by 3 tests: case 'l':
Executed by:
  • dir
  • ls
  • vdir
'l':
executed 22 times by 3 tests: case 'l':
Executed by:
  • dir
  • ls
  • vdir
22
2332 format = long_format;-
2333 break;
executed 22 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
22
2334-
2335 case
executed 2 times by 2 tests: case 'm':
Executed by:
  • dir
  • vdir
'm':
executed 2 times by 2 tests: case 'm':
Executed by:
  • dir
  • vdir
2
2336 format = with_commas;-
2337 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2338-
2339 case
executed 24 times by 3 tests: case 'n':
Executed by:
  • dir
  • ls
  • vdir
'n':
executed 24 times by 3 tests: case 'n':
Executed by:
  • dir
  • ls
  • vdir
24
2340 numeric_ids = -
2341 1-
2342 ;-
2343 format = long_format;-
2344 break;
executed 24 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
24
2345-
2346 case
executed 124 times by 3 tests: case 'o':
Executed by:
  • dir
  • ls
  • vdir
'o':
executed 124 times by 3 tests: case 'o':
Executed by:
  • dir
  • ls
  • vdir
124
2347 format = long_format;-
2348 print_group = -
2349 0-
2350 ;-
2351 break;
executed 124 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
124
2352-
2353 case
executed 2 times by 2 tests: case 'p':
Executed by:
  • dir
  • vdir
'p':
executed 2 times by 2 tests: case 'p':
Executed by:
  • dir
  • vdir
2
2354 indicator_style = slash;-
2355 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2356-
2357 case
executed 22 times by 3 tests: case 'q':
Executed by:
  • dir
  • ls
  • vdir
'q':
executed 22 times by 3 tests: case 'q':
Executed by:
  • dir
  • ls
  • vdir
22
2358 qmark_funny_chars = -
2359 1-
2360 ;-
2361 break;
executed 22 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
22
2362-
2363 case
executed 4 times by 2 tests: case 'r':
Executed by:
  • dir
  • vdir
'r':
executed 4 times by 2 tests: case 'r':
Executed by:
  • dir
  • vdir
4
2364 sort_reverse = -
2365 1-
2366 ;-
2367 break;
executed 4 times by 2 tests: break;
Executed by:
  • dir
  • vdir
4
2368-
2369 case
executed 4 times by 2 tests: case 's':
Executed by:
  • dir
  • vdir
's':
executed 4 times by 2 tests: case 's':
Executed by:
  • dir
  • vdir
4
2370 print_block_size = -
2371 1-
2372 ;-
2373 break;
executed 4 times by 2 tests: break;
Executed by:
  • dir
  • vdir
4
2374-
2375 case
executed 9 times by 3 tests: case 't':
Executed by:
  • dir
  • ls
  • vdir
't':
executed 9 times by 3 tests: case 't':
Executed by:
  • dir
  • ls
  • vdir
9
2376 sort_type = sort_time;-
2377 sort_type_specified = -
2378 1-
2379 ;-
2380 break;
executed 9 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
9
2381-
2382 case
executed 4 times by 3 tests: case 'u':
Executed by:
  • dir
  • ls
  • vdir
'u':
executed 4 times by 3 tests: case 'u':
Executed by:
  • dir
  • ls
  • vdir
4
2383 time_type = time_atime;-
2384 break;
executed 4 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
4
2385-
2386 case
executed 4 times by 3 tests: case 'v':
Executed by:
  • dir
  • ls
  • vdir
'v':
executed 4 times by 3 tests: case 'v':
Executed by:
  • dir
  • ls
  • vdir
4
2387 sort_type = sort_version;-
2388 sort_type_specified = -
2389 1-
2390 ;-
2391 break;
executed 4 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
4
2392-
2393 case
executed 4 times by 2 tests: case 'w':
Executed by:
  • dir
  • vdir
'w':
executed 4 times by 2 tests: case 'w':
Executed by:
  • dir
  • vdir
4
2394 if (! set_line_length (optarg)
! set_line_length (optarg)Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • dir
  • vdir
FALSEnever evaluated
)
0-4
2395 ((
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, "%s: %s",
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2396 dcgettext (((void *)0),
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2397 "invalid line width"
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2398 , 5)
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2399 , quote (optarg)), ((
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2400 0
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2401 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s",
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2402 dcgettext (((void *)0),
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2403 "invalid line width"
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2404 , 5)
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2405 , quote (optarg)), ((
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2406 0
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2407 ) ? (void) 0 : __builtin_unreachable ()))))
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2408 ;
executed 4 times by 2 tests: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, \"%s: %s\", dcgettext (((void *)0), \"invalid line width\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,... *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, "%s: %s", dcgettext (((void *)0), "invalid line width" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • dir
  • vdir
4
2409 break;
never executed: break;
0
2410-
2411 case
executed 2 times by 2 tests: case 'x':
Executed by:
  • dir
  • vdir
'x':
executed 2 times by 2 tests: case 'x':
Executed by:
  • dir
  • vdir
2
2412 format = horizontal;-
2413 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2414-
2415 case
executed 6 times by 3 tests: case 'A':
Executed by:
  • dir
  • ls
  • vdir
'A':
executed 6 times by 3 tests: case 'A':
Executed by:
  • dir
  • ls
  • vdir
6
2416 ignore_mode = IGNORE_DOT_AND_DOTDOT;-
2417 break;
executed 6 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
6
2418-
2419 case
executed 4 times by 2 tests: case 'B':
Executed by:
  • dir
  • vdir
'B':
executed 4 times by 2 tests: case 'B':
Executed by:
  • dir
  • vdir
4
2420 add_ignore_pattern ("*~");-
2421 add_ignore_pattern (".*~");-
2422 break;
executed 4 times by 2 tests: break;
Executed by:
  • dir
  • vdir
4
2423-
2424 case
executed 3 times by 3 tests: case 'C':
Executed by:
  • dir
  • ls
  • vdir
'C':
executed 3 times by 3 tests: case 'C':
Executed by:
  • dir
  • ls
  • vdir
3
2425 format = many_per_line;-
2426 break;
executed 3 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
3
2427-
2428 case
executed 4 times by 2 tests: case 'D':
Executed by:
  • dir
  • vdir
'D':
executed 4 times by 2 tests: case 'D':
Executed by:
  • dir
  • vdir
4
2429 dired = -
2430 1-
2431 ;-
2432 break;
executed 4 times by 2 tests: break;
Executed by:
  • dir
  • vdir
4
2433-
2434 case
executed 16 times by 3 tests: case 'F':
Executed by:
  • dir
  • ls
  • vdir
'F':
executed 16 times by 3 tests: case 'F':
Executed by:
  • dir
  • ls
  • vdir
16
2435 indicator_style = classify;-
2436 break;
executed 16 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
16
2437-
2438 case
executed 4 times by 2 tests: case 'G':
Executed by:
  • dir
  • vdir
'G':
executed 4 times by 2 tests: case 'G':
Executed by:
  • dir
  • vdir
4
2439 print_group = -
2440 0-
2441 ;-
2442 break;
executed 4 times by 2 tests: break;
Executed by:
  • dir
  • vdir
4
2443-
2444 case
executed 6 times by 3 tests: case 'H':
Executed by:
  • dir
  • ls
  • vdir
'H':
executed 6 times by 3 tests: case 'H':
Executed by:
  • dir
  • ls
  • vdir
6
2445 dereference = DEREF_COMMAND_LINE_ARGUMENTS;-
2446 break;
executed 6 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
6
2447-
2448 case
executed 2 times by 2 tests: case DEREFERENCE_COMMAND_LINE_SYMLINK_TO_DIR_OPTION:
Executed by:
  • dir
  • vdir
DEREFERENCE_COMMAND_LINE_SYMLINK_TO_DIR_OPTION:
executed 2 times by 2 tests: case DEREFERENCE_COMMAND_LINE_SYMLINK_TO_DIR_OPTION:
Executed by:
  • dir
  • vdir
2
2449 dereference = DEREF_COMMAND_LINE_SYMLINK_TO_DIR;-
2450 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2451-
2452 case
executed 6 times by 3 tests: case 'I':
Executed by:
  • dir
  • ls
  • vdir
'I':
executed 6 times by 3 tests: case 'I':
Executed by:
  • dir
  • ls
  • vdir
6
2453 add_ignore_pattern (optarg);-
2454 break;
executed 6 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
6
2455-
2456 case
executed 8 times by 3 tests: case 'L':
Executed by:
  • dir
  • ls
  • vdir
'L':
executed 8 times by 3 tests: case 'L':
Executed by:
  • dir
  • ls
  • vdir
8
2457 dereference = DEREF_ALWAYS;-
2458 break;
executed 8 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
8
2459-
2460 case
executed 6 times by 3 tests: case 'N':
Executed by:
  • dir
  • ls
  • vdir
'N':
executed 6 times by 3 tests: case 'N':
Executed by:
  • dir
  • ls
  • vdir
6
2461 set_quoting_style (-
2462 ((void *)0)-
2463 , literal_quoting_style);-
2464 break;
executed 6 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
6
2465-
2466 case
executed 6 times by 3 tests: case 'Q':
Executed by:
  • dir
  • ls
  • vdir
'Q':
executed 6 times by 3 tests: case 'Q':
Executed by:
  • dir
  • ls
  • vdir
6
2467 set_quoting_style (-
2468 ((void *)0)-
2469 , c_quoting_style);-
2470 break;
executed 6 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
6
2471-
2472 case
executed 10 times by 3 tests: case 'R':
Executed by:
  • dir
  • ls
  • vdir
'R':
executed 10 times by 3 tests: case 'R':
Executed by:
  • dir
  • ls
  • vdir
10
2473 recursive = -
2474 1-
2475 ;-
2476 break;
executed 10 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
10
2477-
2478 case
executed 2 times by 2 tests: case 'S':
Executed by:
  • dir
  • vdir
'S':
executed 2 times by 2 tests: case 'S':
Executed by:
  • dir
  • vdir
2
2479 sort_type = sort_size;-
2480 sort_type_specified = -
2481 1-
2482 ;-
2483 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2484-
2485 case
executed 4 times by 2 tests: case 'T':
Executed by:
  • dir
  • vdir
'T':
executed 4 times by 2 tests: case 'T':
Executed by:
  • dir
  • vdir
4
2486 tabsize = xnumtoumax (optarg, 0, 0, -
2487 (18446744073709551615UL)-
2488 , "",-
2489 -
2490 dcgettext (((void *)0), -
2491 "invalid tab size"-
2492 , 5)-
2493 , LS_FAILURE);-
2494 break;
never executed: break;
0
2495-
2496 case
executed 4 times by 3 tests: case 'U':
Executed by:
  • dir
  • ls
  • vdir
'U':
executed 4 times by 3 tests: case 'U':
Executed by:
  • dir
  • ls
  • vdir
4
2497 sort_type = sort_none;-
2498 sort_type_specified = -
2499 1-
2500 ;-
2501 break;
executed 4 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
4
2502-
2503 case
executed 2 times by 2 tests: case 'X':
Executed by:
  • dir
  • vdir
'X':
executed 2 times by 2 tests: case 'X':
Executed by:
  • dir
  • vdir
2
2504 sort_type = sort_extension;-
2505 sort_type_specified = -
2506 1-
2507 ;-
2508 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2509-
2510 case
executed 6 times by 3 tests: case '1':
Executed by:
  • dir
  • ls
  • vdir
'1':
executed 6 times by 3 tests: case '1':
Executed by:
  • dir
  • ls
  • vdir
6
2511-
2512 if (format != long_format
format != long_formatDescription
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 1 time by 1 test
Evaluated by:
  • vdir
)
1-5
2513 format = one_per_line;
executed 5 times by 2 tests: format = one_per_line;
Executed by:
  • dir
  • ls
5
2514 break;
executed 6 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
6
2515-
2516 case
executed 2 times by 2 tests: case AUTHOR_OPTION:
Executed by:
  • dir
  • vdir
AUTHOR_OPTION:
executed 2 times by 2 tests: case AUTHOR_OPTION:
Executed by:
  • dir
  • vdir
2
2517 print_author = -
2518 1-
2519 ;-
2520 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2521-
2522 case
executed 2 times by 2 tests: case HIDE_OPTION:
Executed by:
  • dir
  • vdir
HIDE_OPTION:
executed 2 times by 2 tests: case HIDE_OPTION:
Executed by:
  • dir
  • vdir
2
2523 {-
2524 struct ignore_pattern *hide = xmalloc (sizeof *hide);-
2525 hide->pattern = optarg;-
2526 hide->next = hide_patterns;-
2527 hide_patterns = hide;-
2528 }-
2529 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2530-
2531 case
executed 2 times by 2 tests: case SORT_OPTION:
Executed by:
  • dir
  • vdir
SORT_OPTION:
executed 2 times by 2 tests: case SORT_OPTION:
Executed by:
  • dir
  • vdir
2
2532 sort_type = ((sort_types) [__xargmatch_internal ("--sort", optarg, sort_args, (char const *) (sort_types), sizeof *(sort_types), argmatch_die)]);-
2533 sort_type_specified = -
2534 1-
2535 ;-
2536 break;
never executed: break;
0
2537-
2538 case
executed 2 times by 2 tests: case GROUP_DIRECTORIES_FIRST_OPTION:
Executed by:
  • dir
  • vdir
GROUP_DIRECTORIES_FIRST_OPTION:
executed 2 times by 2 tests: case GROUP_DIRECTORIES_FIRST_OPTION:
Executed by:
  • dir
  • vdir
2
2539 directories_first = -
2540 1-
2541 ;-
2542 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2543-
2544 case
executed 2 times by 2 tests: case TIME_OPTION:
Executed by:
  • dir
  • vdir
TIME_OPTION:
executed 2 times by 2 tests: case TIME_OPTION:
Executed by:
  • dir
  • vdir
2
2545 time_type = ((time_types) [__xargmatch_internal ("--time", optarg, time_args, (char const *) (time_types), sizeof *(time_types), argmatch_die)]);-
2546 break;
never executed: break;
0
2547-
2548 case
executed 2 times by 2 tests: case FORMAT_OPTION:
Executed by:
  • dir
  • vdir
FORMAT_OPTION:
executed 2 times by 2 tests: case FORMAT_OPTION:
Executed by:
  • dir
  • vdir
2
2549 format = ((format_types) [__xargmatch_internal ("--format", optarg, format_args, (char const *) (format_types), sizeof *(format_types), argmatch_die)]);-
2550 break;
never executed: break;
0
2551-
2552 case
executed 4 times by 3 tests: case FULL_TIME_OPTION:
Executed by:
  • dir
  • ls
  • vdir
FULL_TIME_OPTION:
executed 4 times by 3 tests: case FULL_TIME_OPTION:
Executed by:
  • dir
  • ls
  • vdir
4
2553 format = long_format;-
2554 time_style_option = bad_cast ("full-iso");-
2555 break;
executed 4 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
4
2556-
2557 case
executed 34 times by 3 tests: case COLOR_OPTION:
Executed by:
  • dir
  • ls
  • vdir
COLOR_OPTION:
executed 34 times by 3 tests: case COLOR_OPTION:
Executed by:
  • dir
  • ls
  • vdir
34
2558 {-
2559 int i;-
2560 if (optarg
optargDescription
TRUEevaluated 32 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • vdir
)
2-32
2561 i = ((when_types) [__xargmatch_internal ("--color", optarg, when_args, (char const *) (when_types), sizeof *(when_types), argmatch_die)]);
executed 32 times by 1 test: i = ((when_types) [__xargmatch_internal ("--color", optarg, when_args, (char const *) (when_types), sizeof *(when_types), argmatch_die)]);
Executed by:
  • ls
32
2562 else-
2563-
2564-
2565 i = when_always;
executed 2 times by 2 tests: i = when_always;
Executed by:
  • dir
  • vdir
2
2566-
2567 print_with_color = (i == when_always
i == when_alwaysDescription
TRUEevaluated 34 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
0-34
2568 || (i == when_if_tty
i == when_if_ttyDescription
TRUEnever evaluated
FALSEnever evaluated
0
2569 && isatty (
isatty ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
0
2570 1
isatty ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
0
2571 )
isatty ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
));
0
2572-
2573 if (print_with_color
print_with_colorDescription
TRUEevaluated 34 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
)
0-34
2574 {-
2575-
2576-
2577-
2578 tabsize = 0;-
2579 }
executed 34 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
34
2580 break;
executed 34 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
34
2581 }-
2582-
2583 case
executed 2 times by 2 tests: case HYPERLINK_OPTION:
Executed by:
  • dir
  • vdir
HYPERLINK_OPTION:
executed 2 times by 2 tests: case HYPERLINK_OPTION:
Executed by:
  • dir
  • vdir
2
2584 {-
2585 int i;-
2586 if (optarg
optargDescription
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • vdir
)
0-2
2587 i = ((when_types) [__xargmatch_internal ("--hyperlink", optarg, when_args, (char const *) (when_types), sizeof *(when_types), argmatch_die)]);
never executed: i = ((when_types) [__xargmatch_internal ("--hyperlink", optarg, when_args, (char const *) (when_types), sizeof *(when_types), argmatch_die)]);
0
2588 else-
2589-
2590-
2591 i = when_always;
executed 2 times by 2 tests: i = when_always;
Executed by:
  • dir
  • vdir
2
2592-
2593 print_hyperlink = (i == when_always
i == when_alwaysDescription
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • vdir
FALSEnever evaluated
0-2
2594 || (i == when_if_tty
i == when_if_ttyDescription
TRUEnever evaluated
FALSEnever evaluated
0
2595 && isatty (
isatty ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
0
2596 1
isatty ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
0
2597 )
isatty ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
));
0
2598 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2599 }-
2600-
2601 case
executed 4 times by 2 tests: case INDICATOR_STYLE_OPTION:
Executed by:
  • dir
  • vdir
INDICATOR_STYLE_OPTION:
executed 4 times by 2 tests: case INDICATOR_STYLE_OPTION:
Executed by:
  • dir
  • vdir
4
2602 indicator_style = ((indicator_style_types) [__xargmatch_internal ("--indicator-style", optarg, indicator_style_args, (char const *) (indicator_style_types), sizeof *(indicator_style_types), argmatch_die)])-
2603-
2604 ;-
2605 break;
never executed: break;
0
2606-
2607 case
executed 36 times by 3 tests: case QUOTING_STYLE_OPTION:
Executed by:
  • dir
  • ls
  • vdir
QUOTING_STYLE_OPTION:
executed 36 times by 3 tests: case QUOTING_STYLE_OPTION:
Executed by:
  • dir
  • ls
  • vdir
36
2608 set_quoting_style (-
2609 ((void *)0)-
2610 ,-
2611 ((quoting_style_vals) [__xargmatch_internal ("--quoting-style", optarg, quoting_style_args, (char const *) (quoting_style_vals), sizeof *(quoting_style_vals), argmatch_die)])-
2612-
2613 );-
2614 break;
executed 34 times by 1 test: break;
Executed by:
  • ls
34
2615-
2616 case
executed 11 times by 3 tests: case TIME_STYLE_OPTION:
Executed by:
  • dir
  • ls
  • vdir
TIME_STYLE_OPTION:
executed 11 times by 3 tests: case TIME_STYLE_OPTION:
Executed by:
  • dir
  • ls
  • vdir
11
2617 time_style_option = optarg;-
2618 break;
executed 11 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
11
2619-
2620 case
executed 2 times by 2 tests: case SHOW_CONTROL_CHARS_OPTION:
Executed by:
  • dir
  • vdir
SHOW_CONTROL_CHARS_OPTION:
executed 2 times by 2 tests: case SHOW_CONTROL_CHARS_OPTION:
Executed by:
  • dir
  • vdir
2
2621 qmark_funny_chars = -
2622 0-
2623 ;-
2624 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2625-
2626 case
executed 2 times by 2 tests: case BLOCK_SIZE_OPTION:
Executed by:
  • dir
  • vdir
BLOCK_SIZE_OPTION:
executed 2 times by 2 tests: case BLOCK_SIZE_OPTION:
Executed by:
  • dir
  • vdir
2
2627 {-
2628 enum strtol_error e = human_options (optarg, &human_output_opts,-
2629 &output_block_size);-
2630 if (e != LONGINT_OK
e != LONGINT_OKDescription
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • vdir
FALSEnever evaluated
)
0-2
2631 xstrtol_fatal (e, oi, 0, long_options, optarg);
executed 2 times by 2 tests: xstrtol_fatal (e, oi, 0, long_options, optarg);
Executed by:
  • dir
  • vdir
2
2632 file_human_output_opts = human_output_opts;-
2633 file_output_block_size = output_block_size;-
2634 }-
2635 break;
never executed: break;
0
2636-
2637 case
executed 2 times by 2 tests: case SI_OPTION:
Executed by:
  • dir
  • vdir
SI_OPTION:
executed 2 times by 2 tests: case SI_OPTION:
Executed by:
  • dir
  • vdir
2
2638 file_human_output_opts = human_output_opts =-
2639 human_autoscale | human_SI;-
2640 file_output_block_size = output_block_size = 1;-
2641 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • vdir
2
2642-
2643 case
executed 4 times by 2 tests: case 'Z':
Executed by:
  • dir
  • vdir
'Z':
executed 4 times by 2 tests: case 'Z':
Executed by:
  • dir
  • vdir
4
2644 print_scontext = -
2645 1-
2646 ;-
2647 break;
executed 4 times by 2 tests: break;
Executed by:
  • dir
  • vdir
4
2648-
2649 case
executed 152 times by 3 tests: case GETOPT_HELP_CHAR:
Executed by:
  • dir
  • ls
  • vdir
GETOPT_HELP_CHAR:
executed 152 times by 3 tests: case GETOPT_HELP_CHAR:
Executed by:
  • dir
  • ls
  • vdir
usage (
152
2650 0-
2651 ); break;
never executed: break;
;
0
2652-
2653 case
executed 12 times by 3 tests: case GETOPT_VERSION_CHAR:
Executed by:
  • dir
  • ls
  • vdir
GETOPT_VERSION_CHAR:
executed 12 times by 3 tests: case GETOPT_VERSION_CHAR:
Executed by:
  • dir
  • ls
  • vdir
version_etc (
12
2654 stdout-
2655 , (ls_mode == 1 ? "ls" : (ls_mode == 2 ? "dir" : "vdir")), "GNU coreutils", Version, ("Richard M. Stallman"), ("David MacKenzie"), (char *) -
2656 ((void *)0)-
2657 ); exit (
executed 12 times by 3 tests: exit ( 0 );
Executed by:
  • dir
  • ls
  • vdir
12
2658 0
executed 12 times by 3 tests: exit ( 0 );
Executed by:
  • dir
  • ls
  • vdir
12
2659 );
executed 12 times by 3 tests: exit ( 0 );
Executed by:
  • dir
  • ls
  • vdir
break;
never executed: break;
;
0-12
2660-
2661 default
executed 7 times by 3 tests: default:
Executed by:
  • dir
  • ls
  • vdir
:
executed 7 times by 3 tests: default:
Executed by:
  • dir
  • ls
  • vdir
7
2662 usage (LS_FAILURE);-
2663 }
never executed: end of block
0
2664 }-
2665-
2666 if (! output_block_size
! output_block_sizeDescription
TRUEevaluated 1166 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
)
0-1166
2667 {-
2668 char const *ls_block_size = getenv ("LS_BLOCK_SIZE");-
2669 human_options (ls_block_size,-
2670 &human_output_opts, &output_block_size);-
2671 if (ls_block_size
ls_block_sizeDescription
TRUEnever evaluated
FALSEevaluated 1166 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
|| getenv ("BLOCK_SIZE")
getenv ("BLOCK_SIZE")Description
TRUEnever evaluated
FALSEevaluated 1166 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1166
2672 {-
2673 file_human_output_opts = human_output_opts;-
2674 file_output_block_size = output_block_size;-
2675 }
never executed: end of block
0
2676 if (kibibytes_specified
kibibytes_specifiedDescription
TRUEnever evaluated
FALSEevaluated 1166 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1166
2677 {-
2678 human_output_opts = 0;-
2679 output_block_size = 1024;-
2680 }
never executed: end of block
0
2681 }
executed 1166 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
1166
2682-
2683-
2684 max_idx = line_length / 3;-
2685-
2686-
2687 max_idx += line_length % 3 != 0;-
2688-
2689 enum quoting_style qs = get_quoting_style (-
2690 ((void *)0)-
2691 );-
2692 align_variable_outer_quotes = format != with_commas
format != with_commasDescription
TRUEevaluated 1166 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
0-1166
2693 && format != one_per_line
format != one_per_lineDescription
TRUEevaluated 151 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 1015 times by 1 test
Evaluated by:
  • ls
151-1015
2694 && (line_length
line_lengthDescription
TRUEevaluated 151 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
|| format == long_format
format == long_formatDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-151
2695 && (qs == shell_quoting_style
qs == shell_quoting_styleDescription
TRUEnever evaluated
FALSEevaluated 151 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
0-151
2696 || qs == shell_escape_quoting_style
qs == shell_es..._quoting_styleDescription
TRUEnever evaluated
FALSEevaluated 151 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
0-151
2697 || qs == c_maybe_quoting_style
qs == c_maybe_quoting_styleDescription
TRUEnever evaluated
FALSEevaluated 151 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
);
0-151
2698 filename_quoting_options = clone_quoting_options (-
2699 ((void *)0)-
2700 );-
2701 if (qs == escape_quoting_style
qs == escape_quoting_styleDescription
TRUEevaluated 6 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 1160 times by 1 test
Evaluated by:
  • ls
)
6-1160
2702 set_char_quoting (filename_quoting_options, ' ', 1);
executed 6 times by 3 tests: set_char_quoting (filename_quoting_options, ' ', 1);
Executed by:
  • dir
  • ls
  • vdir
6
2703 if (file_type <= indicator_style
file_type <= indicator_styleDescription
TRUEevaluated 14 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1152 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
14-1152
2704 {-
2705 char const *p;-
2706 for (p = &"*=>@|"[indicator_style - file_type]; *
*pDescription
TRUEevaluated 58 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 14 times by 1 test
Evaluated by:
  • ls
p
*pDescription
TRUEevaluated 58 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 14 times by 1 test
Evaluated by:
  • ls
; p++)
14-58
2707 set_char_quoting (filename_quoting_options, *p, 1);
executed 58 times by 1 test: set_char_quoting (filename_quoting_options, *p, 1);
Executed by:
  • ls
58
2708 }
executed 14 times by 1 test: end of block
Executed by:
  • ls
14
2709-
2710 dirname_quoting_options = clone_quoting_options (-
2711 ((void *)0)-
2712 );-
2713 set_char_quoting (dirname_quoting_options, ':', 1);-
2714-
2715-
2716-
2717-
2718 if (dired
diredDescription
TRUEnever evaluated
FALSEevaluated 1166 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
&& (format != long_format
format != long_formatDescription
TRUEnever evaluated
FALSEnever evaluated
|| print_hyperlink
print_hyperlinkDescription
TRUEnever evaluated
FALSEnever evaluated
))
0-1166
2719 dired =
never executed: dired = 0 ;
0
2720 0
never executed: dired = 0 ;
0
2721 ;
never executed: dired = 0 ;
0
2722 if ((time_type == time_ctime
time_type == time_ctimeDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1163 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
|| time_type == time_atime
time_type == time_atimeDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1161 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
2-1163
2723 && !sort_type_specified
!sort_type_specifiedDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 3 times by 1 test
Evaluated by:
  • ls
&& format != long_format
format != long_formatDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • ls
FALSEevaluated 1 time by 1 test
Evaluated by:
  • ls
)
1-3
2724 {-
2725 sort_type = sort_time;-
2726 }
executed 1 time by 1 test: end of block
Executed by:
  • ls
1
2727-
2728 if (format == long_format
format == long_formatDescription
TRUEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 1017 times by 2 tests
Evaluated by:
  • dir
  • ls
)
149-1017
2729 {-
2730 char *style = time_style_option;-
2731 static char const posix_prefix[] = "posix-";-
2732-
2733 if (! style
! styleDescription
TRUEevaluated 138 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 11 times by 1 test
Evaluated by:
  • ls
)
11-138
2734 if (! (style = getenv ("TIME_STYLE"))
! (style = get..."TIME_STYLE"))Description
TRUEevaluated 138 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
)
0-138
2735 style = bad_cast ("locale");
executed 138 times by 2 tests: style = bad_cast ("locale");
Executed by:
  • ls
  • vdir
138
2736-
2737 while ((
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2738 (__extension__ (__builtin_constant_p (
__builtin_cons...x_prefix - 1 )Description
TRUEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2739 sizeof posix_prefix - 1
__builtin_cons...x_prefix - 1 )Description
TRUEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2740 )
__builtin_cons...x_prefix - 1 )Description
TRUEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
&& ((__builtin_constant_p (
__builtin_constant_p ( style )Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2741 style
__builtin_constant_p ( style )Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2742 )
__builtin_constant_p ( style )Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
&& strlen (
strlen ( style..._prefix - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2743 style
strlen ( style..._prefix - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2744 ) < ((size_t) (
strlen ( style..._prefix - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2745 sizeof posix_prefix - 1
strlen ( style..._prefix - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2746 ))
strlen ( style..._prefix - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
) || (__builtin_constant_p (
__builtin_cons...posix_prefix )Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2747 posix_prefix
__builtin_cons...posix_prefix )Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2748 )
__builtin_cons...posix_prefix )Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
&& strlen (
strlen ( posix..._prefix - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2749 posix_prefix
strlen ( posix..._prefix - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2750 ) < ((size_t) (
strlen ( posix..._prefix - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2751 sizeof posix_prefix - 1
strlen ( posix..._prefix - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2752 ))
strlen ( posix..._prefix - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
)) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2753 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2754 ) && __builtin_constant_p (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2755 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2756 ) && (__s1_len = __builtin_strlen (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2757 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2758 ), __s2_len = __builtin_strlen (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2759 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2760 ), (!((size_t)(const void *)((
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2761 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2762 ) + 1) - (size_t)(const void *)(
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2763 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2764 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2765 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2766 ) + 1) - (size_t)(const void *)(
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2767 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2768 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2769 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2770 ,
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2771 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2772 ) : (__builtin_constant_p (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2773 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2774 ) && ((size_t)(const void *)((
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2775 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2776 ) + 1) - (size_t)(const void *)(
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2777 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2778 ) == 1) && (__s1_len = __builtin_strlen (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2779 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2780 ), __s1_len < 4) ? (__builtin_constant_p (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2781 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2782 ) && ((size_t)(const void *)((
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2783 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2784 ) + 1) - (size_t)(const void *)(
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2785 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2786 ) == 1) ? __builtin_strcmp (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2787 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2788 ,
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2789 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2790 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2791 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2792 ); int __result = (((const unsigned char *) (const char *) (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2793 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2794 ))[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... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2795 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2796 ))[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... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2797 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2798 ))[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 *) ( style ))[3] - __s2[3]);
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2799 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
never executed: __result = (((const unsigned char *) (const char *) ( style ))[3] - __s2[3]);
0-149
2800 ))[3] - __s2[3]);
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
never executed: __result = (((const unsigned char *) (const char *) ( style ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2801 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2802 ) && ((size_t)(const void *)((
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2803 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2804 ) + 1) - (size_t)(const void *)(
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2805 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2806 ) == 1) && (__s2_len = __builtin_strlen (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2807 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2808 ), __s2_len < 4) ? (__builtin_constant_p (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2809 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2810 ) && ((size_t)(const void *)((
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2811 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2812 ) + 1) - (size_t)(const void *)(
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2813 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2814 ) == 1) ? __builtin_strcmp (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2815 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2816 ,
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2817 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2818 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2819 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2820 ); int __result = (((const unsigned char *) (const char *) (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2821 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2822 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2823 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2824 ))[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... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2825 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2826 ))[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 *) ( posix_prefix ))[3] - __s2[3]);
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2827 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
never executed: __result = (((const unsigned char *) (const char *) ( posix_prefix ))[3] - __s2[3]);
0-149
2828 ))[3] - __s2[3]);
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
never executed: __result = (((const unsigned char *) (const char *) ( posix_prefix ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2829 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2830 ,
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2831 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2832 )))); }) : strncmp (
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2833 style
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2834 ,
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2835 posix_prefix
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2836 ,
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2837 sizeof posix_prefix - 1
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2838 )))
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-149
2839 == 0)
( (__extension... - 1 ))) == 0)Description
TRUEnever evaluated
FALSEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-149
2840 {-
2841 if (! hard_locale (
! hard_locale ( 2 )Description
TRUEnever evaluated
FALSEnever evaluated
0
2842 2
! hard_locale ( 2 )Description
TRUEnever evaluated
FALSEnever evaluated
0
2843 )
! hard_locale ( 2 )Description
TRUEnever evaluated
FALSEnever evaluated
)
0
2844 return
never executed: return optind;
optind;
never executed: return optind;
0
2845 style += sizeof posix_prefix - 1;-
2846 }
never executed: end of block
0
2847-
2848 if (*
*style == '+'Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 141 times by 2 tests
Evaluated by:
  • ls
  • vdir
style == '+'
*style == '+'Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 141 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
8-141
2849 {-
2850 char *p0 = style + 1;-
2851 char *p1 = -
2852 (__extension__ (__builtin_constant_p (
__builtin_constant_p ( '\n' )Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-8
2853 '\n'
__builtin_constant_p ( '\n' )Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-8
2854 )
__builtin_constant_p ( '\n' )Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_constant_p ( p0 )Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-8
2855 p0
!__builtin_constant_p ( p0 )Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-8
2856 )
!__builtin_constant_p ( p0 )Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
&& (
( '\n' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
0-8
2857 '\n'
( '\n' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
0-8
2858 ) == '\0'
( '\n' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
? (char *) __rawmemchr (
0-8
2859 p0-
2860 , -
2861 '\n'-
2862 ) : __builtin_strchr (-
2863 p0-
2864 , -
2865 '\n'-
2866 )))-
2867 ;-
2868 if (! p1
! p1Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-8
2869 p1 = p0;
executed 8 times by 1 test: p1 = p0;
Executed by:
  • ls
8
2870 else-
2871 {-
2872 if (-
2873 (
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
__extension__ (__builtin_constant_p (
__builtin_constant_p ( '\n' )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2874 '\n'
__builtin_constant_p ( '\n' )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2875 )
__builtin_constant_p ( '\n' )Description
TRUEnever evaluated
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_con...t_p ( p1 + 1 )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2876 p1 + 1
!__builtin_con...t_p ( p1 + 1 )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2877 )
!__builtin_con...t_p ( p1 + 1 )Description
TRUEnever evaluated
FALSEnever evaluated
&& (
( '\n' ) == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2878 '\n'
( '\n' ) == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2879 ) == '\0'
( '\n' ) == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
? (char *) __rawmemchr (
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2880 p1 + 1
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2881 ,
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2882 '\n'
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2883 ) : __builtin_strchr (
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2884 p1 + 1
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2885 ,
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2886 '\n'
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2887 )))
(__extension__...+ 1 , '\n' )))Description
TRUEnever evaluated
FALSEnever evaluated
0
2888 )-
2889 ((
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0,
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2890 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2891 "invalid time style format %s"
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2892 , 5)
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2893 , quote (p0)), ((
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2894 0
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2895 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0,
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2896 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2897 "invalid time style format %s"
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2898 , 5)
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2899 , quote (p0)), ((
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2900 0
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2901 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2902 ;
never executed: ((!!sizeof (struct { _Static_assert (LS_FAILURE, "verify_expr (" "LS_FAILURE" ", " "(error (LS_FAILURE, 0, dcgettext (((void *)0), \"invalid time style format %s\", 5), quote (p0)), assume (false))" ")"); int _gl_dummy; })) ? ((error (LS_FAILURE, 0, dcget...)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (LS_FAILURE, 0, dcgettext (((void *)0), "invalid time style format %s" , 5) , quote (p0)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2903 *p1++ = '\0';-
2904 }
never executed: end of block
0
2905 long_time_format[0] = p0;-
2906 long_time_format[1] = p1;-
2907 }
executed 8 times by 1 test: end of block
Executed by:
  • ls
8
2908 else-
2909 {-
2910 ptrdiff_t res = argmatch (style, time_style_args,-
2911 (char const *) time_style_types,-
2912 sizeof (*time_style_types));-
2913 if (res < 0
res < 0Description
TRUEnever evaluated
FALSEevaluated 141 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-141
2914 {-
2915-
2916-
2917-
2918 argmatch_invalid ("time style", style, res);-
2919-
2920-
2921-
2922-
2923-
2924-
2925 fputs_unlocked (-
2926 dcgettext (((void *)0), -
2927 "Valid arguments are:\n"-
2928 , 5)-
2929 ,-
2930 stderr-
2931 );-
2932 char const *const *p = time_style_args;-
2933 while (*
*pDescription
TRUEnever evaluated
FALSEnever evaluated
p
*pDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
2934 fprintf (
never executed: fprintf ( stderr , " - [posix-]%s\n", *p++);
0
2935 stderr
never executed: fprintf ( stderr , " - [posix-]%s\n", *p++);
0
2936 , " - [posix-]%s\n", *p++);
never executed: fprintf ( stderr , " - [posix-]%s\n", *p++);
0
2937 fputs_unlocked (-
2938 dcgettext (((void *)0), -
2939 " - +FORMAT (e.g., +%H:%M) for a 'date'-style" " format\n"-
2940 , 5)-
2941 ,-
2942 stderr-
2943 )-
2944 ;-
2945 usage (LS_FAILURE);-
2946 }
never executed: end of block
0
2947 switch (res)-
2948 {-
2949 case
executed 2 times by 1 test: case full_iso_time_style:
Executed by:
  • ls
full_iso_time_style:
executed 2 times by 1 test: case full_iso_time_style:
Executed by:
  • ls
2
2950 long_time_format[0] = long_time_format[1] =-
2951 "%Y-%m-%d %H:%M:%S.%N %z";-
2952 break;
executed 2 times by 1 test: break;
Executed by:
  • ls
2
2953-
2954 case
executed 1 time by 1 test: case long_iso_time_style:
Executed by:
  • ls
long_iso_time_style:
executed 1 time by 1 test: case long_iso_time_style:
Executed by:
  • ls
1
2955 long_time_format[0] = long_time_format[1] = "%Y-%m-%d %H:%M";-
2956 break;
executed 1 time by 1 test: break;
Executed by:
  • ls
1
2957-
2958 case
never executed: case iso_time_style:
iso_time_style:
never executed: case iso_time_style:
0
2959 long_time_format[0] = "%Y-%m-%d ";-
2960 long_time_format[1] = "%m-%d %H:%M";-
2961 break;
never executed: break;
0
2962-
2963 case
executed 138 times by 2 tests: case locale_time_style:
Executed by:
  • ls
  • vdir
locale_time_style:
executed 138 times by 2 tests: case locale_time_style:
Executed by:
  • ls
  • vdir
138
2964 if (hard_locale (
hard_locale ( 2 )Description
TRUEnever evaluated
FALSEevaluated 138 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-138
2965 2
hard_locale ( 2 )Description
TRUEnever evaluated
FALSEevaluated 138 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-138
2966 )
hard_locale ( 2 )Description
TRUEnever evaluated
FALSEevaluated 138 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-138
2967 {-
2968 for (int i = 0; i < 2
i < 2Description
TRUEnever evaluated
FALSEnever evaluated
; i++)
0
2969 long_time_format[i] =
never executed: long_time_format[i] = dcgettext ( ((void *)0) , long_time_format[i], 2 );
0
2970 dcgettext (
never executed: long_time_format[i] = dcgettext ( ((void *)0) , long_time_format[i], 2 );
0
2971 ((void *)0)
never executed: long_time_format[i] = dcgettext ( ((void *)0) , long_time_format[i], 2 );
0
2972 , long_time_format[i],
never executed: long_time_format[i] = dcgettext ( ((void *)0) , long_time_format[i], 2 );
0
2973 2
never executed: long_time_format[i] = dcgettext ( ((void *)0) , long_time_format[i], 2 );
0
2974 );
never executed: long_time_format[i] = dcgettext ( ((void *)0) , long_time_format[i], 2 );
0
2975 }
never executed: end of block
0
2976 }
executed 138 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
138
2977 }
executed 141 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
141
2978-
2979 abformat_init ();-
2980 }
executed 149 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
149
2981-
2982 return
executed 1166 times by 3 tests: return optind;
Executed by:
  • dir
  • ls
  • vdir
optind;
executed 1166 times by 3 tests: return optind;
Executed by:
  • dir
  • ls
  • vdir
1166
2983}-
2984static -
2985 _Bool-
2986-
2987get_funky_string (char **dest, const char **src, -
2988 _Bool -
2989 equals_end,-
2990 size_t *output_count)-
2991{-
2992 char num;-
2993 size_t count;-
2994 enum {-
2995 ST_GND, ST_BACKSLASH, ST_OCTAL, ST_HEX, ST_CARET, ST_END, ST_ERROR-
2996 } state;-
2997 const char *p;-
2998 char *q;-
2999-
3000 p = *src;-
3001 q = *dest;-
3002-
3003 count = 0;-
3004 num = 0;-
3005-
3006 state = ST_GND;-
3007 while (state < ST_END
state < ST_ENDDescription
TRUEevaluated 314 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 62 times by 1 test
Evaluated by:
  • ls
)
62-314
3008 {-
3009 switch (state)-
3010 {-
3011 case
executed 314 times by 1 test: case ST_GND:
Executed by:
  • ls
ST_GND:
executed 314 times by 1 test: case ST_GND:
Executed by:
  • ls
314
3012 switch (*p)-
3013 {-
3014 case
executed 46 times by 1 test: case ':':
Executed by:
  • ls
':':
executed 46 times by 1 test: case ':':
Executed by:
  • ls
46
3015 case
executed 16 times by 1 test: case '\0':
Executed by:
  • ls
'\0':
executed 16 times by 1 test: case '\0':
Executed by:
  • ls
16
3016 state = ST_END;-
3017 break;
executed 62 times by 1 test: break;
Executed by:
  • ls
62
3018 case
never executed: case '\\':
'\\':
never executed: case '\\':
0
3019 state = ST_BACKSLASH;-
3020 ++p;-
3021 break;
never executed: break;
0
3022 case
never executed: case '^':
'^':
never executed: case '^':
0
3023 state = ST_CARET;-
3024 ++p;-
3025 break;
never executed: break;
0
3026 case
never executed: case '=':
'=':
never executed: case '=':
0
3027 if (equals_end
equals_endDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
3028 {-
3029 state = ST_END;-
3030 break;
never executed: break;
0
3031 }-
3032 ((void) 0);-
3033 default
executed 252 times by 1 test: default:
Executed by:
  • ls
code before this statement never executed: default:
executed 252 times by 1 test: default:
Executed by:
  • ls
:
code before this statement never executed: default:
executed 252 times by 1 test: default:
Executed by:
  • ls
0-252
3034 *(q++) = *(p++);-
3035 ++count;-
3036 break;
executed 252 times by 1 test: break;
Executed by:
  • ls
252
3037 }-
3038 break;
executed 314 times by 1 test: break;
Executed by:
  • ls
314
3039-
3040 case
never executed: case ST_BACKSLASH:
ST_BACKSLASH:
never executed: case ST_BACKSLASH:
0
3041 switch (*p)-
3042 {-
3043 case
never executed: case '0':
'0':
never executed: case '0':
0
3044 case
never executed: case '1':
'1':
never executed: case '1':
0
3045 case
never executed: case '2':
'2':
never executed: case '2':
0
3046 case
never executed: case '3':
'3':
never executed: case '3':
0
3047 case
never executed: case '4':
'4':
never executed: case '4':
0
3048 case
never executed: case '5':
'5':
never executed: case '5':
0
3049 case
never executed: case '6':
'6':
never executed: case '6':
0
3050 case
never executed: case '7':
'7':
never executed: case '7':
0
3051 state = ST_OCTAL;-
3052 num = *p - '0';-
3053 break;
never executed: break;
0
3054 case
never executed: case 'x':
'x':
never executed: case 'x':
0
3055 case
never executed: case 'X':
'X':
never executed: case 'X':
0
3056 state = ST_HEX;-
3057 num = 0;-
3058 break;
never executed: break;
0
3059 case
never executed: case 'a':
'a':
never executed: case 'a':
0
3060 num = '\a';-
3061 break;
never executed: break;
0
3062 case
never executed: case 'b':
'b':
never executed: case 'b':
0
3063 num = '\b';-
3064 break;
never executed: break;
0
3065 case
never executed: case 'e':
'e':
never executed: case 'e':
0
3066 num = 27;-
3067 break;
never executed: break;
0
3068 case
never executed: case 'f':
'f':
never executed: case 'f':
0
3069 num = '\f';-
3070 break;
never executed: break;
0
3071 case
never executed: case 'n':
'n':
never executed: case 'n':
0
3072 num = '\n';-
3073 break;
never executed: break;
0
3074 case
never executed: case 'r':
'r':
never executed: case 'r':
0
3075 num = '\r';-
3076 break;
never executed: break;
0
3077 case
never executed: case 't':
't':
never executed: case 't':
0
3078 num = '\t';-
3079 break;
never executed: break;
0
3080 case
never executed: case 'v':
'v':
never executed: case 'v':
0
3081 num = '\v';-
3082 break;
never executed: break;
0
3083 case
never executed: case '?':
'?':
never executed: case '?':
0
3084 num = 127;-
3085 break;
never executed: break;
0
3086 case
never executed: case '_':
'_':
never executed: case '_':
0
3087 num = ' ';-
3088 break;
never executed: break;
0
3089 case
never executed: case '\0':
'\0':
never executed: case '\0':
0
3090 state = ST_ERROR;-
3091 break;
never executed: break;
0
3092 default
never executed: default:
:
never executed: default:
0
3093 num = *p;-
3094 break;
never executed: break;
0
3095 }-
3096 if (state == ST_BACKSLASH
state == ST_BACKSLASHDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
3097 {-
3098 *(q++) = num;-
3099 ++count;-
3100 state = ST_GND;-
3101 }
never executed: end of block
0
3102 ++p;-
3103 break;
never executed: break;
0
3104-
3105 case
never executed: case ST_OCTAL:
ST_OCTAL:
never executed: case ST_OCTAL:
0
3106 if (*
*p < '0'Description
TRUEnever evaluated
FALSEnever evaluated
p < '0'
*p < '0'Description
TRUEnever evaluated
FALSEnever evaluated
|| *
*p > '7'Description
TRUEnever evaluated
FALSEnever evaluated
p > '7'
*p > '7'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3107 {-
3108 *(q++) = num;-
3109 ++count;-
3110 state = ST_GND;-
3111 }
never executed: end of block
0
3112 else-
3113 num = (num << 3) + (*(p++) - '0');
never executed: num = (num << 3) + (*(p++) - '0');
0
3114 break;
never executed: break;
0
3115-
3116 case
never executed: case ST_HEX:
ST_HEX:
never executed: case ST_HEX:
0
3117 switch (*p)-
3118 {-
3119 case
never executed: case '0':
'0':
never executed: case '0':
0
3120 case
never executed: case '1':
'1':
never executed: case '1':
0
3121 case
never executed: case '2':
'2':
never executed: case '2':
0
3122 case
never executed: case '3':
'3':
never executed: case '3':
0
3123 case
never executed: case '4':
'4':
never executed: case '4':
0
3124 case
never executed: case '5':
'5':
never executed: case '5':
0
3125 case
never executed: case '6':
'6':
never executed: case '6':
0
3126 case
never executed: case '7':
'7':
never executed: case '7':
0
3127 case
never executed: case '8':
'8':
never executed: case '8':
0
3128 case
never executed: case '9':
'9':
never executed: case '9':
0
3129 num = (num << 4) + (*(p++) - '0');-
3130 break;
never executed: break;
0
3131 case
never executed: case 'a':
'a':
never executed: case 'a':
0
3132 case
never executed: case 'b':
'b':
never executed: case 'b':
0
3133 case
never executed: case 'c':
'c':
never executed: case 'c':
0
3134 case
never executed: case 'd':
'd':
never executed: case 'd':
0
3135 case
never executed: case 'e':
'e':
never executed: case 'e':
0
3136 case
never executed: case 'f':
'f':
never executed: case 'f':
0
3137 num = (num << 4) + (*(p++) - 'a') + 10;-
3138 break;
never executed: break;
0
3139 case
never executed: case 'A':
'A':
never executed: case 'A':
0
3140 case
never executed: case 'B':
'B':
never executed: case 'B':
0
3141 case
never executed: case 'C':
'C':
never executed: case 'C':
0
3142 case
never executed: case 'D':
'D':
never executed: case 'D':
0
3143 case
never executed: case 'E':
'E':
never executed: case 'E':
0
3144 case
never executed: case 'F':
'F':
never executed: case 'F':
0
3145 num = (num << 4) + (*(p++) - 'A') + 10;-
3146 break;
never executed: break;
0
3147 default
never executed: default:
:
never executed: default:
0
3148 *(q++) = num;-
3149 ++count;-
3150 state = ST_GND;-
3151 break;
never executed: break;
0
3152 }-
3153 break;
never executed: break;
0
3154-
3155 case
never executed: case ST_CARET:
ST_CARET:
never executed: case ST_CARET:
0
3156 state = ST_GND;-
3157 if (*
*p >= '@'Description
TRUEnever evaluated
FALSEnever evaluated
p >= '@'
*p >= '@'Description
TRUEnever evaluated
FALSEnever evaluated
&& *
*p <= '~'Description
TRUEnever evaluated
FALSEnever evaluated
p <= '~'
*p <= '~'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3158 {-
3159 *(q++) = *(p++) & 037;-
3160 ++count;-
3161 }
never executed: end of block
0
3162 else if (*
*p == '?'Description
TRUEnever evaluated
FALSEnever evaluated
p == '?'
*p == '?'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3163 {-
3164 *(q++) = 127;-
3165 ++count;-
3166 }
never executed: end of block
0
3167 else-
3168 state = ST_ERROR;
never executed: state = ST_ERROR;
0
3169 break;
never executed: break;
0
3170-
3171 default
never executed: default:
:
never executed: default:
0
3172 abort ();
never executed: abort ();
0
3173 }-
3174 }-
3175-
3176 *dest = q;-
3177 *src = p;-
3178 *output_count = count;-
3179-
3180 return
executed 62 times by 1 test: return state != ST_ERROR;
Executed by:
  • ls
state != ST_ERROR;
executed 62 times by 1 test: return state != ST_ERROR;
Executed by:
  • ls
62
3181}-
3182-
3183enum parse_state-
3184 {-
3185 PS_START = 1,-
3186 PS_2,-
3187 PS_3,-
3188 PS_4,-
3189 PS_DONE,-
3190 PS_FAIL-
3191 };-
3192-
3193-
3194-
3195-
3196static -
3197 _Bool-
3198-
3199known_term_type (void)-
3200{-
3201 char const *term = getenv ("TERM");-
3202 if (! term
! termDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
|| ! *term
! *termDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-4
3203 return
executed 4 times by 1 test: return 0 ;
Executed by:
  • ls
executed 4 times by 1 test: return 0 ;
Executed by:
  • ls
4
3204 0
executed 4 times by 1 test: return 0 ;
Executed by:
  • ls
4
3205 ;
executed 4 times by 1 test: return 0 ;
Executed by:
  • ls
4
3206-
3207 char const *line = G_line;-
3208 while (line - G_line < sizeof (G_line)
line - G_line ...izeof (G_line)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3209 {-
3210 if (-
3211 (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
__extension__ (__builtin_constant_p (
__builtin_cons..."TERM ") - 1 )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3212 sizeof ("TERM ") - 1
__builtin_cons..."TERM ") - 1 )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3213 )
__builtin_cons..."TERM ") - 1 )Description
TRUEnever evaluated
FALSEnever evaluated
&& ((__builtin_constant_p (
__builtin_constant_p ( line )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3214 line
__builtin_constant_p ( line )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3215 )
__builtin_constant_p ( line )Description
TRUEnever evaluated
FALSEnever evaluated
&& strlen (
strlen ( line ...TERM ") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3216 line
strlen ( line ...TERM ") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3217 ) < ((size_t) (
strlen ( line ...TERM ") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3218 sizeof ("TERM ") - 1
strlen ( line ...TERM ") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3219 ))
strlen ( line ...TERM ") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
) || (__builtin_constant_p (
__builtin_cons..." "TERM " "" )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3220 "" "TERM " ""
__builtin_cons..." "TERM " "" )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3221 )
__builtin_cons..." "TERM " "" )Description
TRUEnever evaluated
FALSEnever evaluated
&& strlen (
strlen ( "" "T...TERM ") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3222 "" "TERM " ""
strlen ( "" "T...TERM ") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3223 ) < ((size_t) (
strlen ( "" "T...TERM ") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3224 sizeof ("TERM ") - 1
strlen ( "" "T...TERM ") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3225 ))
strlen ( "" "T...TERM ") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
)) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3226 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3227 ) && __builtin_constant_p (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3228 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3229 ) && (__s1_len = __builtin_strlen (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3230 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3231 ), __s2_len = __builtin_strlen (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3232 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3233 ), (!((size_t)(const void *)((
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3234 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3235 ) + 1) - (size_t)(const void *)(
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3236 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3237 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3238 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3239 ) + 1) - (size_t)(const void *)(
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3240 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3241 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3242 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3243 ,
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3244 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3245 ) : (__builtin_constant_p (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3246 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3247 ) && ((size_t)(const void *)((
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3248 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3249 ) + 1) - (size_t)(const void *)(
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3250 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3251 ) == 1) && (__s1_len = __builtin_strlen (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3252 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3253 ), __s1_len < 4) ? (__builtin_constant_p (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3254 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3255 ) && ((size_t)(const void *)((
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3256 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3257 ) + 1) - (size_t)(const void *)(
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3258 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3259 ) == 1) ? __builtin_strcmp (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3260 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3261 ,
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3262 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3263 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3264 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3265 ); int __result = (((const unsigned char *) (const char *) (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3266 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3267 ))[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__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3268 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3269 ))[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__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3270 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3271 ))[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 *) ( line ))[3] - __s2[3]);
0
3272 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( line ))[3] - __s2[3]);
0
3273 ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3274 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3275 ) && ((size_t)(const void *)((
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3276 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3277 ) + 1) - (size_t)(const void *)(
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3278 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3279 ) == 1) && (__s2_len = __builtin_strlen (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3280 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3281 ), __s2_len < 4) ? (__builtin_constant_p (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3282 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3283 ) && ((size_t)(const void *)((
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3284 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3285 ) + 1) - (size_t)(const void *)(
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3286 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3287 ) == 1) ? __builtin_strcmp (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3288 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3289 ,
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3290 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3291 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3292 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3293 ); int __result = (((const unsigned char *) (const char *) (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3294 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3295 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3296 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3297 ))[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__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3298 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3299 ))[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 *) ( "" "TERM " "" ))[3] - __s2[3]);
0
3300 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( "" "TERM " "" ))[3] - __s2[3]);
0
3301 ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3302 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3303 ,
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3304 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3305 )))); }) : strncmp (
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3306 line
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3307 ,
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3308 "" "TERM " ""
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3309 ,
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3310 sizeof ("TERM ") - 1
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3311 )))
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
3312 == 0
(__extension__...) - 1 ))) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3313 {-
3314 if (fnmatch (line + 5, term, 0) == 0
fnmatch (line ... term, 0) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3315 return
never executed: return 1 ;
never executed: return 1 ;
0
3316 1
never executed: return 1 ;
0
3317 ;
never executed: return 1 ;
0
3318 }
never executed: end of block
0
3319 line += strlen (line) + 1;-
3320 }
never executed: end of block
0
3321-
3322 return
never executed: return 0 ;
never executed: return 0 ;
0
3323 0
never executed: return 0 ;
0
3324 ;
never executed: return 0 ;
0
3325}-
3326-
3327static void-
3328parse_ls_color (void)-
3329{-
3330 const char *p;-
3331 char *buf;-
3332 int ind_no;-
3333 char label[3];-
3334 struct color_ext_type *ext;-
3335-
3336 if ((
(p = getenv ("...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 32 times by 1 test
Evaluated by:
  • ls
p = getenv ("LS_COLORS")) ==
(p = getenv ("...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 32 times by 1 test
Evaluated by:
  • ls
0-32
3337 ((void *)0)
(p = getenv ("...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 32 times by 1 test
Evaluated by:
  • ls
0-32
3338 || *
*p == '\0'Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 28 times by 1 test
Evaluated by:
  • ls
p == '\0'
*p == '\0'Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 28 times by 1 test
Evaluated by:
  • ls
)
4-28
3339 {-
3340-
3341-
3342-
3343-
3344 char const *colorterm = getenv ("COLORTERM");-
3345 if (! (colorterm
colortermDescription
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
&& *
*colortermDescription
TRUEnever evaluated
FALSEnever evaluated
colorterm
*colortermDescription
TRUEnever evaluated
FALSEnever evaluated
) && ! known_term_type ()
! known_term_type ()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-4
3346 print_with_color =
executed 4 times by 1 test: print_with_color = 0 ;
Executed by:
  • ls
4
3347 0
executed 4 times by 1 test: print_with_color = 0 ;
Executed by:
  • ls
4
3348 ;
executed 4 times by 1 test: print_with_color = 0 ;
Executed by:
  • ls
4
3349 return;
executed 4 times by 1 test: return;
Executed by:
  • ls
4
3350 }-
3351-
3352 ext = -
3353 ((void *)0)-
3354 ;-
3355 strcpy (label, "??");-
3356-
3357-
3358-
3359-
3360-
3361 buf = color_buf = xstrdup (p);-
3362-
3363 enum parse_state state = PS_START;-
3364 while (-
3365 1-
3366 )-
3367 {-
3368 switch (state)-
3369 {-
3370 case
executed 136 times by 1 test: case PS_START:
Executed by:
  • ls
PS_START:
executed 136 times by 1 test: case PS_START:
Executed by:
  • ls
136
3371 switch (*p)-
3372 {-
3373 case
executed 46 times by 1 test: case ':':
Executed by:
  • ls
':':
executed 46 times by 1 test: case ':':
Executed by:
  • ls
46
3374 ++p;-
3375 break;
executed 46 times by 1 test: break;
Executed by:
  • ls
46
3376-
3377 case
never executed: case '*':
'*':
never executed: case '*':
0
3378-
3379-
3380-
3381-
3382-
3383 ext = xmalloc (sizeof *ext);-
3384 ext->next = color_ext_list;-
3385 color_ext_list = ext;-
3386-
3387 ++p;-
3388 ext->ext.string = buf;-
3389-
3390 state = (get_funky_string (&buf, &p,
get_funky_stri...&ext->ext.len)Description
TRUEnever evaluated
FALSEnever evaluated
0
3391 1
get_funky_stri...&ext->ext.len)Description
TRUEnever evaluated
FALSEnever evaluated
0
3392 , &ext->ext.len)
get_funky_stri...&ext->ext.len)Description
TRUEnever evaluated
FALSEnever evaluated
0
3393 ? PS_4 : PS_FAIL);-
3394 break;
never executed: break;
0
3395-
3396 case
executed 28 times by 1 test: case '\0':
Executed by:
  • ls
'\0':
executed 28 times by 1 test: case '\0':
Executed by:
  • ls
28
3397 state = PS_DONE;-
3398 goto
executed 28 times by 1 test: goto done;
Executed by:
  • ls
done;
executed 28 times by 1 test: goto done;
Executed by:
  • ls
28
3399-
3400 default
executed 62 times by 1 test: default:
Executed by:
  • ls
:
executed 62 times by 1 test: default:
Executed by:
  • ls
62
3401 label[0] = *(p++);-
3402 state = PS_2;-
3403 break;
executed 62 times by 1 test: break;
Executed by:
  • ls
62
3404 }-
3405 break;
executed 108 times by 1 test: break;
Executed by:
  • ls
108
3406-
3407 case
executed 62 times by 1 test: case PS_2:
Executed by:
  • ls
PS_2:
executed 62 times by 1 test: case PS_2:
Executed by:
  • ls
62
3408 if (*
*pDescription
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
p
*pDescription
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-62
3409 {-
3410 label[1] = *(p++);-
3411 state = PS_3;-
3412 }
executed 62 times by 1 test: end of block
Executed by:
  • ls
62
3413 else-
3414 state = PS_FAIL;
never executed: state = PS_FAIL;
0
3415 break;
executed 62 times by 1 test: break;
Executed by:
  • ls
62
3416-
3417 case
executed 62 times by 1 test: case PS_3:
Executed by:
  • ls
PS_3:
executed 62 times by 1 test: case PS_3:
Executed by:
  • ls
62
3418 state = PS_FAIL;-
3419 if (*(
*(p++) == '='Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
p++) == '='
*(p++) == '='Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-62
3420 {-
3421 for (ind_no = 0; indicator_name[ind_no] !=
indicator_name...!= ((void *)0)Description
TRUEevaluated 756 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-756
3422 ((void *)0)
indicator_name...!= ((void *)0)Description
TRUEevaluated 756 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-756
3423 ; ++ind_no)-
3424 {-
3425 if ((
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3426 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3427 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3428 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3429 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3430 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3431 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3432 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3433 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3434 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3435 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3436 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3437 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3438 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3439 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3440 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3441 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3442 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3443 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3444 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3445 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3446 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3447 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3448 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3449 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3450 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3451 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3452 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3453 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3454 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3455 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3456 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3457 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3458 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3459 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3460 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3461 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3462 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3463 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3464 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3465 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3466 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3467 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3468 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
0-694
3469 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3470 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
0-694
3471 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3472 ))[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 *) ( label ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
0-694
3473 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
never executed: __result = (((const unsigned char *) (const char *) ( label ))[3] - __s2[3]);
0-694
3474 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
never executed: __result = (((const unsigned char *) (const char *) ( label ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
0-694
3475 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3476 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3477 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3478 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3479 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3480 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3481 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3482 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3483 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3484 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3485 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3486 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3487 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3488 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3489 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3490 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3491 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3492 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3493 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3494 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3495 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3496 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
0-694
3497 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3498 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
0-694
3499 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3500 ))[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 *) ( indicator_name[ind_no] ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
0-694
3501 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
never executed: __result = (((const unsigned char *) (const char *) ( indicator_name[ind_no] ))[3] - __s2[3]);
0-694
3502 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
never executed: __result = (((const unsigned char *) (const char *) ( indicator_name[ind_no] ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
0-694
3503 label
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3504 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3505 indicator_name[ind_no]
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3506 )))); })
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
62-694
3507 == 0)
( __extension_...)))); }) == 0)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 694 times by 1 test
Evaluated by:
  • ls
)
62-694
3508 {-
3509 color_indicator[ind_no].string = buf;-
3510 state = (get_funky_string (&buf, &p,
get_funky_stri...r[ind_no].len)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-62
3511 0
get_funky_stri...r[ind_no].len)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-62
3512 ,
get_funky_stri...r[ind_no].len)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-62
3513 &color_indicator[ind_no].len)
get_funky_stri...r[ind_no].len)Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-62
3514 ? PS_START : PS_FAIL);-
3515 break;
executed 62 times by 1 test: break;
Executed by:
  • ls
62
3516 }-
3517 }
executed 694 times by 1 test: end of block
Executed by:
  • ls
694
3518 if (state == PS_FAIL
state == PS_FAILDescription
TRUEnever evaluated
FALSEevaluated 62 times by 1 test
Evaluated by:
  • ls
)
0-62
3519 error (0, 0,
never executed: error (0, 0, dcgettext (((void *)0), "unrecognized prefix: %s" , 5) , quote (label));
0
3520 dcgettext (((void *)0),
never executed: error (0, 0, dcgettext (((void *)0), "unrecognized prefix: %s" , 5) , quote (label));
0
3521 "unrecognized prefix: %s"
never executed: error (0, 0, dcgettext (((void *)0), "unrecognized prefix: %s" , 5) , quote (label));
0
3522 , 5)
never executed: error (0, 0, dcgettext (((void *)0), "unrecognized prefix: %s" , 5) , quote (label));
0
3523 , quote (label));
never executed: error (0, 0, dcgettext (((void *)0), "unrecognized prefix: %s" , 5) , quote (label));
0
3524 }
executed 62 times by 1 test: end of block
Executed by:
  • ls
62
3525 break;
executed 62 times by 1 test: break;
Executed by:
  • ls
62
3526-
3527 case
never executed: case PS_4:
PS_4:
never executed: case PS_4:
0
3528 if (*(
*(p++) == '='Description
TRUEnever evaluated
FALSEnever evaluated
p++) == '='
*(p++) == '='Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3529 {-
3530 ext->seq.string = buf;-
3531 state = (get_funky_string (&buf, &p,
get_funky_stri...&ext->seq.len)Description
TRUEnever evaluated
FALSEnever evaluated
0
3532 0
get_funky_stri...&ext->seq.len)Description
TRUEnever evaluated
FALSEnever evaluated
0
3533 , &ext->seq.len)
get_funky_stri...&ext->seq.len)Description
TRUEnever evaluated
FALSEnever evaluated
0
3534 ? PS_START : PS_FAIL);-
3535 }
never executed: end of block
0
3536 else-
3537 state = PS_FAIL;
never executed: state = PS_FAIL;
0
3538 break;
never executed: break;
0
3539-
3540 case
never executed: case PS_FAIL:
PS_FAIL:
never executed: case PS_FAIL:
0
3541 goto
never executed: goto done;
done;
never executed: goto done;
0
3542-
3543 default
never executed: default:
:
never executed: default:
0
3544 abort ();
never executed: abort ();
0
3545 }-
3546 }-
3547 done:
code before this statement never executed: done:
0
3548-
3549 if (state == PS_FAIL
state == PS_FAILDescription
TRUEnever evaluated
FALSEevaluated 28 times by 1 test
Evaluated by:
  • ls
)
0-28
3550 {-
3551 struct color_ext_type *e;-
3552 struct color_ext_type *e2;-
3553-
3554 error (0, 0,-
3555 -
3556 dcgettext (((void *)0), -
3557 "unparsable value for LS_COLORS environment variable"-
3558 , 5)-
3559 );-
3560 free (color_buf);-
3561 for (e = color_ext_list; e !=
e != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
3562 ((void *)0)
e != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
3563 ; )-
3564 {-
3565 e2 = e;-
3566 e = e->next;-
3567 free (e2);-
3568 }
never executed: end of block
0
3569 print_with_color = -
3570 0-
3571 ;-
3572 }
never executed: end of block
0
3573-
3574 if (color_indicator[C_LINK].len == 6
color_indicato...LINK].len == 6Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 18 times by 1 test
Evaluated by:
  • ls
10-18
3575 && !
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3576 (__extension__ (__builtin_constant_p (
__builtin_cons...target") - 1 )Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3577 sizeof ("target") - 1
__builtin_cons...target") - 1 )Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3578 )
__builtin_cons...target") - 1 )Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
&& ((__builtin_constant_p (
__builtin_cons...LINK].string )Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3579 color_indicator[C_LINK].string
__builtin_cons...LINK].string )Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3580 )
__builtin_cons...LINK].string )Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
&& strlen (
strlen ( color...arget") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3581 color_indicator[C_LINK].string
strlen ( color...arget") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3582 ) < ((size_t) (
strlen ( color...arget") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3583 sizeof ("target") - 1
strlen ( color...arget") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3584 ))
strlen ( color...arget") - 1 ))Description
TRUEnever evaluated
FALSEnever evaluated
) || (__builtin_constant_p (
__builtin_cons... "target" "" )Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3585 "" "target" ""
__builtin_cons... "target" "" )Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3586 )
__builtin_cons... "target" "" )Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
&& strlen (
strlen ( "" "t...arget") - 1 ))Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3587 "" "target" ""
strlen ( "" "t...arget") - 1 ))Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3588 ) < ((size_t) (
strlen ( "" "t...arget") - 1 ))Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3589 sizeof ("target") - 1
strlen ( "" "t...arget") - 1 ))Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3590 ))
strlen ( "" "t...arget") - 1 ))Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
)) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3591 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3592 ) && __builtin_constant_p (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3593 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3594 ) && (__s1_len = __builtin_strlen (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3595 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3596 ), __s2_len = __builtin_strlen (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3597 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3598 ), (!((size_t)(const void *)((
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3599 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3600 ) + 1) - (size_t)(const void *)(
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3601 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3602 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3603 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3604 ) + 1) - (size_t)(const void *)(
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3605 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3606 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3607 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3608 ,
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3609 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3610 ) : (__builtin_constant_p (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3611 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3612 ) && ((size_t)(const void *)((
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3613 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3614 ) + 1) - (size_t)(const void *)(
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3615 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3616 ) == 1) && (__s1_len = __builtin_strlen (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3617 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3618 ), __s1_len < 4) ? (__builtin_constant_p (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3619 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3620 ) && ((size_t)(const void *)((
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3621 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3622 ) + 1) - (size_t)(const void *)(
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3623 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3624 ) == 1) ? __builtin_strcmp (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3625 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3626 ,
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3627 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3628 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3629 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3630 ); int __result = (((const unsigned char *) (const char *) (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3631 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3632 ))[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...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3633 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3634 ))[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...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3635 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3636 ))[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 *) ( color_indicator[C_LINK].string ))[3] - __s2[3]);
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3637 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( color_indicator[C_LINK].string ))[3] - __s2[3]);
0-10
3638 ))[3] - __s2[3]);
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( color_indicator[C_LINK].string ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3639 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3640 ) && ((size_t)(const void *)((
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3641 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3642 ) + 1) - (size_t)(const void *)(
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3643 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3644 ) == 1) && (__s2_len = __builtin_strlen (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3645 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3646 ), __s2_len < 4) ? (__builtin_constant_p (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3647 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3648 ) && ((size_t)(const void *)((
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3649 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3650 ) + 1) - (size_t)(const void *)(
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3651 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3652 ) == 1) ? __builtin_strcmp (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3653 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3654 ,
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3655 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3656 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3657 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3658 ); int __result = (((const unsigned char *) (const char *) (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3659 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3660 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3661 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3662 ))[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...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3663 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3664 ))[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 *) ( "" "target" "" ))[3] - __s2[3]);
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3665 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( "" "target" "" ))[3] - __s2[3]);
0-10
3666 ))[3] - __s2[3]);
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( "" "target" "" ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3667 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3668 ,
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3669 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3670 )))); }) : strncmp (
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3671 color_indicator[C_LINK].string
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3672 ,
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3673 "" "target" ""
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3674 ,
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3675 sizeof ("target") - 1
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3676 )))
! (__extension...rget") - 1 )))Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
3677 )-
3678 color_symlink_as_referent =
executed 10 times by 1 test: color_symlink_as_referent = 1 ;
Executed by:
  • ls
10
3679 1
executed 10 times by 1 test: color_symlink_as_referent = 1 ;
Executed by:
  • ls
10
3680 ;
executed 10 times by 1 test: color_symlink_as_referent = 1 ;
Executed by:
  • ls
10
3681}
executed 28 times by 1 test: end of block
Executed by:
  • ls
28
3682-
3683-
3684-
3685-
3686static void-
3687getenv_quoting_style (void)-
3688{-
3689 char const *q_style = getenv ("QUOTING_STYLE");-
3690 if (q_style
q_styleDescription
TRUEnever evaluated
FALSEevaluated 1359 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1359
3691 {-
3692 int i = argmatch (q_style, quoting_style_args, (char const *) (quoting_style_vals), sizeof *(quoting_style_vals));-
3693 if (0 <= i
0 <= iDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
3694 set_quoting_style (
never executed: set_quoting_style ( ((void *)0) , quoting_style_vals[i]);
0
3695 ((void *)0)
never executed: set_quoting_style ( ((void *)0) , quoting_style_vals[i]);
0
3696 , quoting_style_vals[i]);
never executed: set_quoting_style ( ((void *)0) , quoting_style_vals[i]);
0
3697 else-
3698 error (0, 0,
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid value of environment variable QUOTING_STYLE: %s" , 5) , quote (q_style));
0
3699
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid value of environment variable QUOTING_STYLE: %s" , 5) , quote (q_style));
0
3700 dcgettext (((void *)0),
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid value of environment variable QUOTING_STYLE: %s" , 5) , quote (q_style));
0
3701 "ignoring invalid value of environment variable QUOTING_STYLE: %s"
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid value of environment variable QUOTING_STYLE: %s" , 5) , quote (q_style));
0
3702 , 5)
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid value of environment variable QUOTING_STYLE: %s" , 5) , quote (q_style));
0
3703 ,
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid value of environment variable QUOTING_STYLE: %s" , 5) , quote (q_style));
0
3704 quote (q_style));
never executed: error (0, 0, dcgettext (((void *)0), "ignoring invalid value of environment variable QUOTING_STYLE: %s" , 5) , quote (q_style));
0
3705 }-
3706}
executed 1359 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
1359
3707-
3708-
3709-
3710-
3711static void-
3712set_exit_status (-
3713 _Bool -
3714 serious)-
3715{-
3716 if (serious
seriousDescription
TRUEevaluated 120 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
)
2-120
3717 exit_status = LS_FAILURE;
executed 120 times by 1 test: exit_status = LS_FAILURE;
Executed by:
  • ls
120
3718 else if (exit_status ==
exit_status == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-2
3719 0
exit_status == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-2
3720 )-
3721 exit_status = LS_MINOR_PROBLEM;
executed 2 times by 1 test: exit_status = LS_MINOR_PROBLEM;
Executed by:
  • ls
2
3722}
executed 122 times by 1 test: end of block
Executed by:
  • ls
122
3723-
3724-
3725-
3726-
3727-
3728static void-
3729file_failure (-
3730 _Bool -
3731 serious, char const *message, char const *file)-
3732{-
3733 error (0, -
3734 (*__errno_location ())-
3735 , message, quotearg_style (shell_escape_always_quoting_style, file));-
3736 set_exit_status (serious);-
3737}
executed 122 times by 1 test: end of block
Executed by:
  • ls
122
3738static void-
3739queue_directory (char const *name, char const *realname, -
3740 _Bool -
3741 command_line_arg)-
3742{-
3743 struct pending *new = xmalloc (sizeof *new);-
3744 new->realname = realname
realnameDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 41 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
? xstrdup (realname) :
10-41
3745 ((void *)0)-
3746 ;-
3747 new->name = name
nameDescription
TRUEevaluated 41 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
? xstrdup (name) :
10-41
3748 ((void *)0)-
3749 ;-
3750 new->command_line_arg = command_line_arg;-
3751 new->next = pending_dirs;-
3752 pending_dirs = new;-
3753}
executed 51 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
51
3754-
3755-
3756-
3757-
3758-
3759-
3760static void-
3761print_dir (char const *name, char const *realname, -
3762 _Bool -
3763 command_line_arg)-
3764{-
3765 DIR *dirp;-
3766 struct dirent *next;-
3767 uintmax_t total_blocks = 0;-
3768 static -
3769 _Bool -
3770 first = -
3771 1-
3772 ;-
3773-
3774 -
3775 (*__errno_location ()) -
3776 = 0;-
3777 dirp = opendir (name);-
3778 if (!dirp
!dirpDescription
TRUEnever evaluated
FALSEevaluated 41 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-41
3779 {-
3780 file_failure (command_line_arg, -
3781 dcgettext (((void *)0), -
3782 "cannot open directory %s"-
3783 , 5)-
3784 , name);-
3785 return;
never executed: return;
0
3786 }-
3787-
3788 if ((
(!!active_dir_set)Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 31 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
!!active_dir_set)
(!!active_dir_set)Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 31 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
10-31
3789 {-
3790 struct stat dir_stat;-
3791 int fd = dirfd (dirp);-
3792-
3793-
3794 if ((
(0 <= fd ? fst...dir_stat)) < 0Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
0 <= fd
0 <= fdDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
(0 <= fd ? fst...dir_stat)) < 0Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
0-10
3795 ? fstat (fd, &dir_stat)
(0 <= fd ? fst...dir_stat)) < 0Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
0-10
3796 : stat (name, &dir_stat)) < 0
(0 <= fd ? fst...dir_stat)) < 0Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
)
0-10
3797 {-
3798 file_failure (command_line_arg,-
3799 -
3800 dcgettext (((void *)0), -
3801 "cannot determine device and inode of %s"-
3802 , 5)-
3803 , name);-
3804 closedir (dirp);-
3805 return;
never executed: return;
0
3806 }-
3807-
3808-
3809-
3810 if (visit_dir (dir_stat.st_dev, dir_stat.st_ino)
visit_dir (dir...r_stat.st_ino)Description
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
)
0-10
3811 {-
3812 error (0, 0, -
3813 dcgettext (((void *)0), -
3814 "%s: not listing already-listed directory"-
3815 , 5)-
3816 ,-
3817 quotearg_n_style_colon (0, shell_escape_quoting_style, name));-
3818 closedir (dirp);-
3819 set_exit_status (-
3820 1-
3821 );-
3822 return;
never executed: return;
0
3823 }-
3824-
3825 dev_ino_push (dir_stat.st_dev, dir_stat.st_ino);-
3826 }
executed 10 times by 1 test: end of block
Executed by:
  • ls
10
3827-
3828 clear_files ();-
3829-
3830 if (recursive
recursiveDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 31 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
|| print_dir_name
print_dir_nameDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 23 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
8-31
3831 {-
3832 if (!first
!firstDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 12 times by 1 test
Evaluated by:
  • ls
)
6-12
3833 do {putchar_unlocked (('\n')); ++dired_pos;}
executed 6 times by 1 test: end of block
Executed by:
  • ls
while (0);
6
3834 first = -
3835 0-
3836 ;-
3837 do { if (dired
diredDescription
TRUEnever evaluated
FALSEevaluated 18 times by 1 test
Evaluated by:
  • ls
) do {fputs_unlocked (" ",
0-18
3838 stdout-
3839 ); dired_pos += sizeof (" ") - 1;}
never executed: end of block
while (0); } while (0);
0
3840-
3841 char *absolute_name = -
3842 ((void *)0)-
3843 ;-
3844 if (print_hyperlink
print_hyperlinkDescription
TRUEnever evaluated
FALSEevaluated 18 times by 1 test
Evaluated by:
  • ls
)
0-18
3845 {-
3846 absolute_name = canonicalize_filename_mode (name, CAN_MISSING);-
3847 if (! absolute_name
! absolute_nameDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
3848 file_failure (command_line_arg,
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "error canonicalizing %s" , 5) , name);
0
3849
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "error canonicalizing %s" , 5) , name);
0
3850 dcgettext (((void *)0),
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "error canonicalizing %s" , 5) , name);
0
3851 "error canonicalizing %s"
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "error canonicalizing %s" , 5) , name);
0
3852 , 5)
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "error canonicalizing %s" , 5) , name);
0
3853 , name);
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "error canonicalizing %s" , 5) , name);
0
3854 }
never executed: end of block
0
3855 quote_name (realname ? realname : name, dirname_quoting_options, -1,-
3856 -
3857 ((void *)0)-
3858 , -
3859 1-
3860 , &subdired_obstack, absolute_name);-
3861-
3862 free (absolute_name);-
3863-
3864 do {fputs_unlocked (":\n",-
3865 stdout-
3866 ); dired_pos += sizeof (":\n") - 1;} while (0);-
3867 }
executed 18 times by 1 test: end of block
Executed by:
  • ls
18
3868-
3869-
3870-
3871-
3872 while (1)-
3873 {-
3874-
3875-
3876 -
3877 (*__errno_location ()) -
3878 = 0;-
3879 next = readdir (dirp);-
3880 if (next
nextDescription
TRUEevaluated 352 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 41 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
41-352
3881 {-
3882 if (! file_ignored (next->d_name)
! file_ignored (next->d_name)Description
TRUEevaluated 56 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 296 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
56-296
3883 {-
3884 enum filetype type = unknown;-
3885-
3886-
3887 switch (next->d_type)-
3888 {-
3889 case
never executed: case DT_BLK :
never executed: case DT_BLK :
0
3890 DT_BLK
never executed: case DT_BLK :
0
3891 :
never executed: case DT_BLK :
type = blockdev; break;
never executed: break;
0
3892 case
never executed: case DT_CHR :
never executed: case DT_CHR :
0
3893 DT_CHR
never executed: case DT_CHR :
0
3894 :
never executed: case DT_CHR :
type = chardev; break;
never executed: break;
0
3895 case
executed 7 times by 3 tests: case DT_DIR :
Executed by:
  • dir
  • ls
  • vdir
executed 7 times by 3 tests: case DT_DIR :
Executed by:
  • dir
  • ls
  • vdir
7
3896 DT_DIR
executed 7 times by 3 tests: case DT_DIR :
Executed by:
  • dir
  • ls
  • vdir
7
3897 :
executed 7 times by 3 tests: case DT_DIR :
Executed by:
  • dir
  • ls
  • vdir
type = directory; break;
executed 7 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
7
3898 case
never executed: case DT_FIFO :
never executed: case DT_FIFO :
0
3899 DT_FIFO
never executed: case DT_FIFO :
0
3900 :
never executed: case DT_FIFO :
type = fifo; break;
never executed: break;
0
3901 case
executed 13 times by 2 tests: case DT_LNK :
Executed by:
  • ls
  • vdir
executed 13 times by 2 tests: case DT_LNK :
Executed by:
  • ls
  • vdir
13
3902 DT_LNK
executed 13 times by 2 tests: case DT_LNK :
Executed by:
  • ls
  • vdir
13
3903 :
executed 13 times by 2 tests: case DT_LNK :
Executed by:
  • ls
  • vdir
type = symbolic_link; break;
executed 13 times by 2 tests: break;
Executed by:
  • ls
  • vdir
13
3904 case
executed 36 times by 3 tests: case DT_REG :
Executed by:
  • dir
  • ls
  • vdir
executed 36 times by 3 tests: case DT_REG :
Executed by:
  • dir
  • ls
  • vdir
36
3905 DT_REG
executed 36 times by 3 tests: case DT_REG :
Executed by:
  • dir
  • ls
  • vdir
36
3906 :
executed 36 times by 3 tests: case DT_REG :
Executed by:
  • dir
  • ls
  • vdir
type = normal; break;
executed 36 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
36
3907 case
never executed: case DT_SOCK :
never executed: case DT_SOCK :
0
3908 DT_SOCK
never executed: case DT_SOCK :
0
3909 :
never executed: case DT_SOCK :
type = sock; break;
never executed: break;
0
3910-
3911 case
never executed: case DT_WHT :
never executed: case DT_WHT :
0
3912 DT_WHT
never executed: case DT_WHT :
0
3913 :
never executed: case DT_WHT :
type = whiteout; break;
never executed: break;
0
3914-
3915 }-
3916-
3917 total_blocks += gobble_file (next->d_name, type,-
3918 NOT_AN_INODE_NUMBER,-
3919 -
3920 0-
3921 , name);-
3922-
3923-
3924-
3925-
3926-
3927 if (format == one_per_line
format == one_per_lineDescription
TRUEevaluated 33 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 23 times by 2 tests
Evaluated by:
  • dir
  • vdir
&& sort_type == sort_none
sort_type == sort_noneDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 31 times by 1 test
Evaluated by:
  • ls
2-33
3928 && !print_block_size
!print_block_sizeDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
&& !recursive
!recursiveDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-2
3929 {-
3930-
3931-
3932-
3933 sort_files ();-
3934 print_current_files ();-
3935 clear_files ();-
3936 }
executed 2 times by 1 test: end of block
Executed by:
  • ls
2
3937 }
executed 56 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
56
3938 }
executed 352 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
352
3939 else if (-
3940 (*
(*__errno_location ()) != 0Description
TRUEnever evaluated
FALSEevaluated 41 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
__errno_location ())
(*__errno_location ()) != 0Description
TRUEnever evaluated
FALSEevaluated 41 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
0-41
3941 != 0
(*__errno_location ()) != 0Description
TRUEnever evaluated
FALSEevaluated 41 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-41
3942 {-
3943 file_failure (command_line_arg, -
3944 dcgettext (((void *)0), -
3945 "reading directory %s"-
3946 , 5)-
3947 , name);-
3948 if (-
3949 (*
(*__errno_location ()) != 75Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) != 75Description
TRUEnever evaluated
FALSEnever evaluated
0
3950 !=
(*__errno_location ()) != 75Description
TRUEnever evaluated
FALSEnever evaluated
0
3951 75
(*__errno_location ()) != 75Description
TRUEnever evaluated
FALSEnever evaluated
0
3952 )-
3953 break;
never executed: break;
0
3954 }
never executed: end of block
0
3955 else-
3956 break;
executed 41 times by 3 tests: break;
Executed by:
  • dir
  • ls
  • vdir
41
3957-
3958-
3959-
3960-
3961 process_signals ();-
3962 }
executed 352 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
352
3963-
3964 if (closedir (dirp) != 0
closedir (dirp) != 0Description
TRUEnever evaluated
FALSEevaluated 41 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-41
3965 {-
3966 file_failure (command_line_arg, -
3967 dcgettext (((void *)0), -
3968 "closing directory %s"-
3969 , 5)-
3970 , name);-
3971-
3972 }
never executed: end of block
0
3973-
3974-
3975 sort_files ();-
3976-
3977-
3978-
3979-
3980 if (recursive
recursiveDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 31 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
10-31
3981 extract_dirs_from_files (name,
executed 10 times by 1 test: extract_dirs_from_files (name, 0 );
Executed by:
  • ls
10
3982 0
executed 10 times by 1 test: extract_dirs_from_files (name, 0 );
Executed by:
  • ls
10
3983 );
executed 10 times by 1 test: extract_dirs_from_files (name, 0 );
Executed by:
  • ls
10
3984-
3985 if (format == long_format
format == long_formatDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • vdir
FALSEevaluated 40 times by 2 tests
Evaluated by:
  • dir
  • ls
|| print_block_size
print_block_sizeDescription
TRUEnever evaluated
FALSEevaluated 40 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-40
3986 {-
3987 const char *p;-
3988 char buf[((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
3989 16 -
3990 + 1) - -
3991 16 -
3992 + 1 + 3) + 1];-
3993-
3994 do { if (dired
diredDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • vdir
) do {fputs_unlocked (" ",
0-1
3995 stdout-
3996 ); dired_pos += sizeof (" ") - 1;}
never executed: end of block
while (0); } while (0);
0
3997 p = -
3998 dcgettext (((void *)0), -
3999 "total"-
4000 , 5)-
4001 ;-
4002 do {fputs_unlocked (p,-
4003 stdout-
4004 ); dired_pos += strlen (p);} while (0);-
4005 do {putchar_unlocked ((' ')); ++dired_pos;} while (0);-
4006 p = human_readable (total_blocks, buf, human_output_opts,-
4007 -
4008 512-
4009 , output_block_size);-
4010 do {fputs_unlocked (p,-
4011 stdout-
4012 ); dired_pos += strlen (p);} while (0);-
4013 do {putchar_unlocked (('\n')); ++dired_pos;} while (0);-
4014 }
executed 1 time by 1 test: end of block
Executed by:
  • vdir
1
4015-
4016 if (cwd_n_used
cwd_n_usedDescription
TRUEevaluated 23 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 18 times by 1 test
Evaluated by:
  • ls
)
18-23
4017 print_current_files ();
executed 23 times by 3 tests: print_current_files ();
Executed by:
  • dir
  • ls
  • vdir
23
4018}
executed 41 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
41
4019-
4020-
4021-
4022-
4023static void-
4024add_ignore_pattern (const char *pattern)-
4025{-
4026 struct ignore_pattern *ignore;-
4027-
4028 ignore = xmalloc (sizeof *ignore);-
4029 ignore->pattern = pattern;-
4030-
4031 ignore->next = ignore_patterns;-
4032 ignore_patterns = ignore;-
4033}
executed 14 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
14
4034-
4035-
4036-
4037static -
4038 _Bool-
4039-
4040patterns_match (struct ignore_pattern const *patterns, char const *file)-
4041{-
4042 struct ignore_pattern const *p;-
4043 for (p = patterns; p
pDescription
TRUEevaluated 216 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 326 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
; p = p->next)
216-326
4044 if (fnmatch (p->pattern, file,
fnmatch (p->pa...1 << 2) ) == 0Description
TRUEevaluated 214 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
2-214
4045 (1 << 2)
fnmatch (p->pa...1 << 2) ) == 0Description
TRUEevaluated 214 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
2-214
4046 ) == 0
fnmatch (p->pa...1 << 2) ) == 0Description
TRUEevaluated 214 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
)
2-214
4047 return
executed 214 times by 1 test: return 1 ;
Executed by:
  • ls
executed 214 times by 1 test: return 1 ;
Executed by:
  • ls
214
4048 1
executed 214 times by 1 test: return 1 ;
Executed by:
  • ls
214
4049 ;
executed 214 times by 1 test: return 1 ;
Executed by:
  • ls
214
4050 return
executed 326 times by 3 tests: return 0 ;
Executed by:
  • dir
  • ls
  • vdir
executed 326 times by 3 tests: return 0 ;
Executed by:
  • dir
  • ls
  • vdir
326
4051 0
executed 326 times by 3 tests: return 0 ;
Executed by:
  • dir
  • ls
  • vdir
326
4052 ;
executed 326 times by 3 tests: return 0 ;
Executed by:
  • dir
  • ls
  • vdir
326
4053}-
4054-
4055-
4056-
4057static -
4058 _Bool-
4059-
4060file_ignored (char const *name)-
4061{-
4062 return
executed 352 times by 3 tests: return ((ignore_mode != IGNORE_MINIMAL && name[0] == '.' && (ignore_mode == IGNORE_DEFAULT || ! name[1 + (name[1] == '.')])) || (ignore_mode == IGNORE_DEFAULT && patterns_match (hide_patterns, name)) || patterns_match (ignore_patterns, name));
Executed by:
  • dir
  • ls
  • vdir
((ignore_mode != IGNORE_MINIMAL
executed 352 times by 3 tests: return ((ignore_mode != IGNORE_MINIMAL && name[0] == '.' && (ignore_mode == IGNORE_DEFAULT || ! name[1 + (name[1] == '.')])) || (ignore_mode == IGNORE_DEFAULT && patterns_match (hide_patterns, name)) || patterns_match (ignore_patterns, name));
Executed by:
  • dir
  • ls
  • vdir
352
4063 && name[0] == '.'
executed 352 times by 3 tests: return ((ignore_mode != IGNORE_MINIMAL && name[0] == '.' && (ignore_mode == IGNORE_DEFAULT || ! name[1 + (name[1] == '.')])) || (ignore_mode == IGNORE_DEFAULT && patterns_match (hide_patterns, name)) || patterns_match (ignore_patterns, name));
Executed by:
  • dir
  • ls
  • vdir
352
4064 && (ignore_mode == IGNORE_DEFAULT || ! name[1 + (name[1] == '.')]))
executed 352 times by 3 tests: return ((ignore_mode != IGNORE_MINIMAL && name[0] == '.' && (ignore_mode == IGNORE_DEFAULT || ! name[1 + (name[1] == '.')])) || (ignore_mode == IGNORE_DEFAULT && patterns_match (hide_patterns, name)) || patterns_match (ignore_patterns, name));
Executed by:
  • dir
  • ls
  • vdir
352
4065 || (ignore_mode == IGNORE_DEFAULT
executed 352 times by 3 tests: return ((ignore_mode != IGNORE_MINIMAL && name[0] == '.' && (ignore_mode == IGNORE_DEFAULT || ! name[1 + (name[1] == '.')])) || (ignore_mode == IGNORE_DEFAULT && patterns_match (hide_patterns, name)) || patterns_match (ignore_patterns, name));
Executed by:
  • dir
  • ls
  • vdir
352
4066 && patterns_match (hide_patterns, name))
executed 352 times by 3 tests: return ((ignore_mode != IGNORE_MINIMAL && name[0] == '.' && (ignore_mode == IGNORE_DEFAULT || ! name[1 + (name[1] == '.')])) || (ignore_mode == IGNORE_DEFAULT && patterns_match (hide_patterns, name)) || patterns_match (ignore_patterns, name));
Executed by:
  • dir
  • ls
  • vdir
352
4067 || patterns_match (ignore_patterns, name));
executed 352 times by 3 tests: return ((ignore_mode != IGNORE_MINIMAL && name[0] == '.' && (ignore_mode == IGNORE_DEFAULT || ! name[1 + (name[1] == '.')])) || (ignore_mode == IGNORE_DEFAULT && patterns_match (hide_patterns, name)) || patterns_match (ignore_patterns, name));
Executed by:
  • dir
  • ls
  • vdir
352
4068}-
4069-
4070-
4071-
4072-
4073-
4074static uintmax_t-
4075unsigned_file_size (off_t size)-
4076{-
4077 return
executed 320 times by 2 tests: return size + (size < 0) * ((uintmax_t) ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1))) - ((off_t) ~ ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))) + 1);
Executed by:
  • ls
  • vdir
size + (size < 0) * ((uintmax_t) ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1))) - ((off_t) ~ ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))) + 1);
executed 320 times by 2 tests: return size + (size < 0) * ((uintmax_t) ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1))) - ((off_t) ~ ((off_t) (! (! ((off_t) 0 < (off_t) -1)) ? (off_t) -1 : ((((off_t) 1 << ((sizeof (off_t) * 8) - 2)) - 1) * 2 + 1)))) + 1);
Executed by:
  • ls
  • vdir
320
4078}-
4079static -
4080 _Bool-
4081-
4082has_capability (char const *name __attribute__ ((__unused__)))-
4083{-
4084 -
4085 (*__errno_location ()) -
4086 = -
4087 95-
4088 ;-
4089 return
executed 4 times by 1 test: return 0 ;
Executed by:
  • ls
executed 4 times by 1 test: return 0 ;
Executed by:
  • ls
4
4090 0
executed 4 times by 1 test: return 0 ;
Executed by:
  • ls
4
4091 ;
executed 4 times by 1 test: return 0 ;
Executed by:
  • ls
4
4092}-
4093-
4094-
4095-
4096-
4097static void-
4098free_ent (struct fileinfo *f)-
4099{-
4100 free (f->name);-
4101 free (f->linkname);-
4102 free (f->absolute_name);-
4103 if (f->scontext != UNKNOWN_SECURITY_CONTEXT
f->scontext !=...CURITY_CONTEXTDescription
TRUEevaluated 40 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-40
4104 {-
4105 if (is_smack_enabled ()
is_smack_enabled ()Description
TRUEnever evaluated
FALSEevaluated 40 times by 1 test
Evaluated by:
  • ls
)
0-40
4106 free (f->scontext);
never executed: free (f->scontext);
0
4107 else-
4108 freecon (f->scontext);
executed 40 times by 1 test: freecon (f->scontext);
Executed by:
  • ls
40
4109 }-
4110}
executed 40 times by 1 test: end of block
Executed by:
  • ls
40
4111-
4112-
4113static void-
4114clear_files (void)-
4115{-
4116 for (size_t i = 0; i < cwd_n_used
i < cwd_n_usedDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1209 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
; i++)
6-1209
4117 {-
4118 struct fileinfo *f = sorted_file[i];-
4119 free_ent (f);-
4120 }
executed 6 times by 1 test: end of block
Executed by:
  • ls
6
4121-
4122 cwd_n_used = 0;-
4123 cwd_some_quoted = -
4124 0-
4125 ;-
4126 any_has_acl = -
4127 0-
4128 ;-
4129 inode_number_width = 0;-
4130 block_size_width = 0;-
4131 nlink_width = 0;-
4132 owner_width = 0;-
4133 group_width = 0;-
4134 author_width = 0;-
4135 scontext_width = 0;-
4136 major_device_number_width = 0;-
4137 minor_device_number_width = 0;-
4138 file_size_width = 0;-
4139}
executed 1209 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
1209
4140-
4141-
4142-
4143static -
4144 _Bool-
4145-
4146errno_unsupported (int err)-
4147{-
4148 return
executed 324 times by 2 tests: return (err == 22 || err == 38 || is_ENOTSUP (err));
Executed by:
  • ls
  • vdir
(err ==
executed 324 times by 2 tests: return (err == 22 || err == 38 || is_ENOTSUP (err));
Executed by:
  • ls
  • vdir
324
4149 22
executed 324 times by 2 tests: return (err == 22 || err == 38 || is_ENOTSUP (err));
Executed by:
  • ls
  • vdir
324
4150 || err ==
executed 324 times by 2 tests: return (err == 22 || err == 38 || is_ENOTSUP (err));
Executed by:
  • ls
  • vdir
324
4151 38
executed 324 times by 2 tests: return (err == 22 || err == 38 || is_ENOTSUP (err));
Executed by:
  • ls
  • vdir
324
4152 || is_ENOTSUP (err));
executed 324 times by 2 tests: return (err == 22 || err == 38 || is_ENOTSUP (err));
Executed by:
  • ls
  • vdir
324
4153}-
4154-
4155-
4156-
4157-
4158static int-
4159getfilecon_cache (char const *file, struct fileinfo *f, -
4160 _Bool -
4161 deref)-
4162{-
4163-
4164-
4165 static dev_t unsupported_device;-
4166-
4167 if (f->stat.st_dev == unsupported_device
f->stat.st_dev...pported_deviceDescription
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-160
4168 {-
4169 -
4170 (*__errno_location ()) -
4171 = -
4172 95-
4173 ;-
4174 return
never executed: return -1;
-1;
never executed: return -1;
0
4175 }-
4176 int r = 0;-
4177-
4178-
4179-
4180-
4181-
4182-
4183 r = (deref
derefDescription
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4184 ? rpl_getfilecon (file, &f->scontext)-
4185 : rpl_lgetfilecon (file, &f->scontext));-
4186 if (r < 0
r < 0Description
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
&& errno_unsupported (
errno_unsuppor...location ()) )Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4187 (*__errno_location ())
errno_unsuppor...location ()) )Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4188 )
errno_unsuppor...location ()) )Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-160
4189 unsupported_device = f->stat.st_dev;
never executed: unsupported_device = f->stat.st_dev;
0
4190 return
executed 160 times by 2 tests: return r;
Executed by:
  • ls
  • vdir
r;
executed 160 times by 2 tests: return r;
Executed by:
  • ls
  • vdir
160
4191}-
4192-
4193-
4194-
4195-
4196static int-
4197file_has_acl_cache (char const *file, struct fileinfo *f)-
4198{-
4199-
4200-
4201 static dev_t unsupported_device;-
4202-
4203 if (f->stat.st_dev == unsupported_device
f->stat.st_dev...pported_deviceDescription
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-160
4204 {-
4205 -
4206 (*__errno_location ()) -
4207 = -
4208 95-
4209 ;-
4210 return
never executed: return 0;
0;
never executed: return 0;
0
4211 }-
4212-
4213-
4214-
4215 -
4216 (*__errno_location ()) -
4217 = 0;-
4218 int n = file_has_acl (file, &f->stat);-
4219 if (n <= 0
n <= 0Description
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
&& errno_unsupported (
errno_unsuppor...location ()) )Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4220 (*__errno_location ())
errno_unsuppor...location ()) )Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4221 )
errno_unsuppor...location ()) )Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-160
4222 unsupported_device = f->stat.st_dev;
never executed: unsupported_device = f->stat.st_dev;
0
4223 return
executed 160 times by 2 tests: return n;
Executed by:
  • ls
  • vdir
n;
executed 160 times by 2 tests: return n;
Executed by:
  • ls
  • vdir
160
4224}-
4225-
4226-
4227-
4228-
4229static -
4230 _Bool-
4231-
4232has_capability_cache (char const *file, struct fileinfo *f)-
4233{-
4234-
4235-
4236 static dev_t unsupported_device;-
4237-
4238 if (f->stat.st_dev == unsupported_device
f->stat.st_dev...pported_deviceDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
)
2-4
4239 {-
4240 -
4241 (*__errno_location ()) -
4242 = -
4243 95-
4244 ;-
4245 return
executed 2 times by 1 test: return 0;
Executed by:
  • ls
0;
executed 2 times by 1 test: return 0;
Executed by:
  • ls
2
4246 }-
4247-
4248 -
4249 _Bool -
4250 b = has_capability (file);-
4251 if ( !b
!bDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
&& errno_unsupported (
errno_unsuppor...location ()) )Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-4
4252 (*__errno_location ())
errno_unsuppor...location ()) )Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-4
4253 )
errno_unsuppor...location ()) )Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-4
4254 unsupported_device = f->stat.st_dev;
executed 4 times by 1 test: unsupported_device = f->stat.st_dev;
Executed by:
  • ls
4
4255 return
executed 4 times by 1 test: return b;
Executed by:
  • ls
b;
executed 4 times by 1 test: return b;
Executed by:
  • ls
4
4256}-
4257-
4258static -
4259 _Bool-
4260-
4261needs_quoting (char const* name)-
4262{-
4263 char test[2];-
4264 size_t len = quotearg_buffer (test, sizeof test , name, -1,-
4265 filename_quoting_options);-
4266 return
never executed: return *name != *test || strlen (name) != len;
*name != *test || strlen (name) != len;
never executed: return *name != *test || strlen (name) != len;
0
4267}-
4268-
4269-
4270-
4271-
4272static uintmax_t-
4273gobble_file (char const *name, enum filetype type, ino_t inode,-
4274 -
4275 _Bool -
4276 command_line_arg, char const *dirname)-
4277{-
4278 uintmax_t blocks = 0;-
4279 struct fileinfo *f;-
4280-
4281-
4282-
4283 -
4284 ((-
4285 ! command_line_arg || inode == NOT_AN_INODE_NUMBER-
4286 ) ? (void) (0) : __assert_fail (-
4287 "! command_line_arg || inode == NOT_AN_INODE_NUMBER"-
4288 , "src/ls.c", 3114, __PRETTY_FUNCTION__))-
4289 ;-
4290-
4291 if (cwd_n_used == cwd_n_alloc
cwd_n_used == cwd_n_allocDescription
TRUEnever evaluated
FALSEevaluated 1281 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1281
4292 {-
4293 cwd_file = xnrealloc (cwd_file, cwd_n_alloc, 2 * sizeof *cwd_file);-
4294 cwd_n_alloc *= 2;-
4295 }
never executed: end of block
0
4296-
4297 f = &cwd_file[cwd_n_used];-
4298 memset (f, '\0', sizeof *f);-
4299 f->stat.st_ino = inode;-
4300 f->filetype = type;-
4301-
4302 f->quoted = -1;-
4303 if ((
(! cwd_some_quoted)Description
TRUEevaluated 1281 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
! cwd_some_quoted)
(! cwd_some_quoted)Description
TRUEevaluated 1281 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
&& align_variable_outer_quotes
align_variable_outer_quotesDescription
TRUEnever evaluated
FALSEevaluated 1281 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1281
4304 {-
4305-
4306 f->quoted = needs_quoting (name);-
4307 if (f->quoted
f->quotedDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
4308 cwd_some_quoted = 1;
never executed: cwd_some_quoted = 1;
0
4309 }
never executed: end of block
0
4310-
4311 if (command_line_arg
command_line_argDescription
TRUEevaluated 1225 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 56 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
56-1225
4312 || print_hyperlink
print_hyperlinkDescription
TRUEnever evaluated
FALSEevaluated 56 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
0-56
4313 || format_needs_stat
format_needs_statDescription
TRUEevaluated 14 times by 1 test
Evaluated by:
  • vdir
FALSEevaluated 42 times by 2 tests
Evaluated by:
  • dir
  • ls
14-42
4314-
4315-
4316-
4317 || (type == directory
type == directoryDescription
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 36 times by 2 tests
Evaluated by:
  • dir
  • ls
&& print_with_color
print_with_colorDescription
TRUEnever evaluated
FALSEevaluated 6 times by 2 tests
Evaluated by:
  • dir
  • ls
0-36
4318 && (is_colored (C_OTHER_WRITABLE)
is_colored (C_OTHER_WRITABLE)Description
TRUEnever evaluated
FALSEnever evaluated
0
4319 || is_colored (C_STICKY)
is_colored (C_STICKY)Description
TRUEnever evaluated
FALSEnever evaluated
0
4320 || is_colored (C_STICKY_OTHER_WRITABLE)
is_colored (C_...THER_WRITABLE)Description
TRUEnever evaluated
FALSEnever evaluated
))
0
4321-
4322-
4323 || ((print_inode
print_inodeDescription
TRUEnever evaluated
FALSEevaluated 42 times by 2 tests
Evaluated by:
  • dir
  • ls
|| format_needs_type
format_needs_typeDescription
TRUEevaluated 18 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 24 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-42
4324 && (type == symbolic_link
type == symbolic_linkDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 6 times by 1 test
Evaluated by:
  • ls
|| type == unknown
type == unknownDescription
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • ls
)
0-12
4325 && (dereference == DEREF_ALWAYS
dereference == DEREF_ALWAYSDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
2-10
4326 || color_symlink_as_referent
color_symlink_as_referentDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 6 times by 1 test
Evaluated by:
  • ls
|| check_symlink_color
check_symlink_colorDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
))
2-6
4327-
4328-
4329 || (print_inode
print_inodeDescription
TRUEnever evaluated
FALSEevaluated 34 times by 2 tests
Evaluated by:
  • dir
  • ls
&& inode == NOT_AN_INODE_NUMBER
inode == NOT_AN_INODE_NUMBERDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-34
4330 || (format_needs_type
format_needs_typeDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 24 times by 2 tests
Evaluated by:
  • dir
  • ls
10-24
4331 && (type == unknown
type == unknownDescription
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
|| command_line_arg
command_line_argDescription
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
0-10
4332-
4333-
4334-
4335 || (type == normal
type == normalDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
&& (indicator_style == classify
indicator_style == classifyDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-8
4336-
4337-
4338-
4339-
4340-
4341-
4342 || (print_with_color
print_with_colorDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-2
4343 && (is_colored (C_EXEC)
is_colored (C_EXEC)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-2
4344 || is_colored (C_SETUID)
is_colored (C_SETUID)Description
TRUEnever evaluated
FALSEnever evaluated
0
4345 || is_colored (C_SETGID)
is_colored (C_SETGID)Description
TRUEnever evaluated
FALSEnever evaluated
0
4346 || is_colored (C_CAP)
is_colored (C_CAP)Description
TRUEnever evaluated
FALSEnever evaluated
))
0
4347 )))))-
4348-
4349 {-
4350-
4351 char *full_name;-
4352 -
4353 _Bool -
4354 do_deref;-
4355 int err;-
4356-
4357 if (name[0] == '/'
name[0] == '/'Description
TRUEevaluated 1029 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 220 times by 2 tests
Evaluated by:
  • ls
  • vdir
|| dirname[0] == 0
dirname[0] == 0Description
TRUEevaluated 196 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 24 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
24-1029
4358 full_name = (char *) name;
executed 1225 times by 1 test: full_name = (char *) name;
Executed by:
  • ls
1225
4359 else-
4360 {-
4361 full_name = __builtin_alloca (strlen (name) + strlen (dirname) + 2);-
4362 attach (full_name, dirname, name);-
4363 }
executed 24 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
24
4364-
4365 if (print_hyperlink
print_hyperlinkDescription
TRUEnever evaluated
FALSEevaluated 1249 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-1249
4366 {-
4367 f->absolute_name = canonicalize_filename_mode (full_name,-
4368 CAN_MISSING);-
4369 if (! f->absolute_name
! f->absolute_nameDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
4370 file_failure (command_line_arg,
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "error canonicalizing %s" , 5) , full_name);
0
4371
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "error canonicalizing %s" , 5) , full_name);
0
4372 dcgettext (((void *)0),
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "error canonicalizing %s" , 5) , full_name);
0
4373 "error canonicalizing %s"
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "error canonicalizing %s" , 5) , full_name);
0
4374 , 5)
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "error canonicalizing %s" , 5) , full_name);
0
4375 , full_name);
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "error canonicalizing %s" , 5) , full_name);
0
4376 }
never executed: end of block
0
4377-
4378 switch (dereference)-
4379 {-
4380 case
executed 6 times by 1 test: case DEREF_ALWAYS:
Executed by:
  • ls
DEREF_ALWAYS:
executed 6 times by 1 test: case DEREF_ALWAYS:
Executed by:
  • ls
6
4381 err = stat (full_name, &f->stat);-
4382 do_deref = -
4383 1-
4384 ;-
4385 break;
executed 6 times by 1 test: break;
Executed by:
  • ls
6
4386-
4387 case
executed 2 times by 1 test: case DEREF_COMMAND_LINE_ARGUMENTS:
Executed by:
  • ls
DEREF_COMMAND_LINE_ARGUMENTS:
executed 2 times by 1 test: case DEREF_COMMAND_LINE_ARGUMENTS:
Executed by:
  • ls
2
4388 case
executed 149 times by 1 test: case DEREF_COMMAND_LINE_SYMLINK_TO_DIR:
Executed by:
  • ls
DEREF_COMMAND_LINE_SYMLINK_TO_DIR:
executed 149 times by 1 test: case DEREF_COMMAND_LINE_SYMLINK_TO_DIR:
Executed by:
  • ls
149
4389 if (command_line_arg
command_line_argDescription
TRUEevaluated 143 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
)
8-143
4390 {-
4391 -
4392 _Bool -
4393 need_lstat;-
4394 err = stat (full_name, &f->stat);-
4395 do_deref = -
4396 1-
4397 ;-
4398-
4399 if (dereference == DEREF_COMMAND_LINE_ARGUMENTS
dereference ==...LINE_ARGUMENTSDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 141 times by 1 test
Evaluated by:
  • ls
)
2-141
4400 break;
executed 2 times by 1 test: break;
Executed by:
  • ls
2
4401-
4402 need_lstat = (err < 0
err < 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 135 times by 1 test
Evaluated by:
  • ls
6-135
4403 ? -
4404 (*__errno_location ()) -
4405 == -
4406 2-
4407 -
4408 : ! -
4409 ((((-
4410 f->stat.st_mode-
4411 )) & 0170000) == (0040000))-
4412 );-
4413 if (!need_lstat
!need_lstatDescription
TRUEevaluated 32 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 109 times by 1 test
Evaluated by:
  • ls
)
32-109
4414 break;
executed 32 times by 1 test: break;
Executed by:
  • ls
32
4415-
4416-
4417-
4418-
4419-
4420 }
executed 109 times by 1 test: end of block
Executed by:
  • ls
109
4421 ((void) 0);-
4422-
4423 default
executed 1092 times by 2 tests: default:
Executed by:
  • ls
  • vdir
:
executed 1092 times by 2 tests: default:
Executed by:
  • ls
  • vdir
code before this statement executed 117 times by 1 test: default:
Executed by:
  • ls
117-1092
4424 err = lstat (full_name, &f->stat);-
4425 do_deref = -
4426 0-
4427 ;-
4428 break;
executed 1209 times by 2 tests: break;
Executed by:
  • ls
  • vdir
1209
4429 }-
4430-
4431 if (err != 0
err != 0Description
TRUEevaluated 122 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1127 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
122-1127
4432 {-
4433-
4434-
4435-
4436 file_failure (command_line_arg,-
4437 -
4438 dcgettext (((void *)0), -
4439 "cannot access %s"-
4440 , 5)-
4441 , full_name);-
4442 if (command_line_arg
command_line_argDescription
TRUEevaluated 120 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
)
2-120
4443 return
executed 120 times by 1 test: return 0;
Executed by:
  • ls
0;
executed 120 times by 1 test: return 0;
Executed by:
  • ls
120
4444-
4445 f->name = xstrdup (name);-
4446 cwd_n_used++;-
4447-
4448 return
executed 2 times by 1 test: return 0;
Executed by:
  • ls
0;
executed 2 times by 1 test: return 0;
Executed by:
  • ls
2
4449 }-
4450-
4451 f->stat_ok = -
4452 1-
4453 ;-
4454-
4455-
4456 if ((type == normal
type == normalDescription
TRUEevaluated 14 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 1113 times by 2 tests
Evaluated by:
  • ls
  • vdir
||
14-1113
4457 ((((
(((( f->stat.s... == (0100000))Description
TRUEevaluated 121 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 992 times by 2 tests
Evaluated by:
  • ls
  • vdir
121-992
4458 f->stat.st_mode
(((( f->stat.s... == (0100000))Description
TRUEevaluated 121 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 992 times by 2 tests
Evaluated by:
  • ls
  • vdir
121-992
4459 )) & 0170000) == (0100000))
(((( f->stat.s... == (0100000))Description
TRUEevaluated 121 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 992 times by 2 tests
Evaluated by:
  • ls
  • vdir
121-992
4460 )-
4461 && print_with_color
print_with_colorDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 129 times by 2 tests
Evaluated by:
  • ls
  • vdir
&& is_colored (C_CAP)
is_colored (C_CAP)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-129
4462 f->has_capability = has_capability_cache (full_name, f);
executed 6 times by 1 test: f->has_capability = has_capability_cache (full_name, f);
Executed by:
  • ls
6
4463-
4464 if (format == long_format
format == long_formatDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 967 times by 1 test
Evaluated by:
  • ls
|| print_scontext
print_scontextDescription
TRUEnever evaluated
FALSEevaluated 967 times by 1 test
Evaluated by:
  • ls
)
0-967
4465 {-
4466 -
4467 _Bool -
4468 have_scontext = -
4469 0-
4470 ;-
4471 -
4472 _Bool -
4473 have_acl = -
4474 0-
4475 ;-
4476 int attr_len = getfilecon_cache (full_name, f, do_deref);-
4477 err = (attr_len < 0);-
4478-
4479 if (err == 0
err == 0Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-160
4480 {-
4481 if (is_smack_enabled ()
is_smack_enabled ()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
4482 have_scontext = ! (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4483 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4484 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4485 ) && __builtin_constant_p (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4486 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4487 ) && (__s1_len = __builtin_strlen (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4488 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4489 ), __s2_len = __builtin_strlen (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4490 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4491 ), (!((size_t)(const void *)((
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4492 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4493 ) + 1) - (size_t)(const void *)(
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4494 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4495 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4496 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4497 ) + 1) - (size_t)(const void *)(
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4498 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4499 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4500 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4501 ,
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4502 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4503 ) : (__builtin_constant_p (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4504 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4505 ) && ((size_t)(const void *)((
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4506 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4507 ) + 1) - (size_t)(const void *)(
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4508 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4509 ) == 1) && (__s1_len = __builtin_strlen (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4510 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4511 ), __s1_len < 4) ? (__builtin_constant_p (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4512 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4513 ) && ((size_t)(const void *)((
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4514 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4515 ) + 1) - (size_t)(const void *)(
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4516 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4517 ) == 1) ? __builtin_strcmp (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4518 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4519 ,
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4520 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4521 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4522 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4523 ); int __result = (((const unsigned char *) (const char *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4524 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4525 ))[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 *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4526 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4527 ))[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 *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4528 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4529 ))[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 *) ( "_" ))[3] - __s2[3]);
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4530 "_"
never executed: __result = (((const unsigned char *) (const char *) ( "_" ))[3] - __s2[3]);
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4531 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( "_" ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4532 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4533 ) && ((size_t)(const void *)((
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4534 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4535 ) + 1) - (size_t)(const void *)(
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4536 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4537 ) == 1) && (__s2_len = __builtin_strlen (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4538 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4539 ), __s2_len < 4) ? (__builtin_constant_p (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4540 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4541 ) && ((size_t)(const void *)((
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4542 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4543 ) + 1) - (size_t)(const void *)(
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4544 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4545 ) == 1) ? __builtin_strcmp (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4546 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4547 ,
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4548 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4549 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4550 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4551 ); int __result = (((const unsigned char *) (const char *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4552 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4553 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4554 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4555 ))[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 *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4556 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4557 ))[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 *) ( f->scontext ))[3] - __s2[3]);
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4558 f->scontext
never executed: __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]);
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4559 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4560 "_"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4561 ,
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4562 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4563 )))); })
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4564 == 0);
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "_" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "_" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const void *)(( "_" ) +...nsigned char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "_" , f->scontext )))); }) == 0);
0
4565 else-
4566 have_scontext = ! (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4567 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4568 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4569 ) && __builtin_constant_p (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4570 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4571 ) && (__s1_len = __builtin_strlen (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4572 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4573 ), __s2_len = __builtin_strlen (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4574 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4575 ), (!((size_t)(const void *)((
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4576 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4577 ) + 1) - (size_t)(const void *)(
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4578 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4579 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4580 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4581 ) + 1) - (size_t)(const void *)(
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4582 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4583 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4584 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4585 ,
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4586 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4587 ) : (__builtin_constant_p (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4588 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4589 ) && ((size_t)(const void *)((
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4590 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4591 ) + 1) - (size_t)(const void *)(
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4592 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4593 ) == 1) && (__s1_len = __builtin_strlen (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4594 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4595 ), __s1_len < 4) ? (__builtin_constant_p (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4596 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4597 ) && ((size_t)(const void *)((
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4598 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4599 ) + 1) - (size_t)(const void *)(
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4600 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4601 ) == 1) ? __builtin_strcmp (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4602 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4603 ,
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4604 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4605 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4606 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4607 ); int __result = (((const unsigned char *) (const char *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4608 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4609 ))[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 *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4610 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4611 ))[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 *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4612 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4613 ))[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 *) ( "unlabeled" ))[3] - __s2[3]);
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4614 "unlabeled"
never executed: __result = (((const unsigned char *) (const char *) ( "unlabeled" ))[3] - __s2[3]);
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4615 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( "unlabeled" ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4616 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4617 ) && ((size_t)(const void *)((
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4618 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4619 ) + 1) - (size_t)(const void *)(
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4620 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4621 ) == 1) && (__s2_len = __builtin_strlen (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4622 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4623 ), __s2_len < 4) ? (__builtin_constant_p (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4624 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4625 ) && ((size_t)(const void *)((
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4626 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4627 ) + 1) - (size_t)(const void *)(
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4628 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4629 ) == 1) ? __builtin_strcmp (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4630 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4631 ,
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4632 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4633 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4634 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4635 ); int __result = (((const unsigned char *) (const char *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4636 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4637 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4638 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4639 ))[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 *) (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4640 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4641 ))[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 *) ( f->scontext ))[3] - __s2[3]);
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4642 f->scontext
never executed: __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]);
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4643 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4644 "unlabeled"
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4645 ,
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4646 f->scontext
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4647 )))); })
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4648 == 0);
never executed: have_scontext = ! ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ( "unlabeled" ) && __builtin_constant_p ( f->scontext ) && (__s1_len = __builtin_strlen ( "unlabeled" ), __s2_len = __builtin_strlen ( f->scontext ), (!((size_t)(const v...char *) (const char *) ( f->scontext ))[2] - __s2[2]); if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) (const char *) ( f->scontext ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp ( "unlabeled" , f->scontext )))); }) == 0);
0
4649 }-
4650 else-
4651 {-
4652 f->scontext = UNKNOWN_SECURITY_CONTEXT;-
4653-
4654-
4655-
4656-
4657-
4658 if (is_ENOTSUP (
is_ENOTSUP ( (...location ()) )Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4659 (*__errno_location ())
is_ENOTSUP ( (...location ()) )Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4660 )
is_ENOTSUP ( (...location ()) )Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
||
0-160
4661 (*
(*__errno_location ()) == 61Description
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 61Description
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
0-160
4662 ==
(*__errno_location ()) == 61Description
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
0-160
4663 61
(*__errno_location ()) == 61Description
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
0-160
4664 )-
4665 err = 0;
executed 160 times by 2 tests: err = 0;
Executed by:
  • ls
  • vdir
160
4666 }
executed 160 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
160
4667-
4668 if (err == 0
err == 0Description
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
&& format == long_format
format == long_formatDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
)
0-160
4669 {-
4670 int n = file_has_acl_cache (full_name, f);-
4671 err = (n < 0);-
4672 have_acl = (0 < n);-
4673 }
executed 160 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
160
4674-
4675 f->acl_type = (!have_scontext
!have_scontextDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
&& !have_acl
!have_aclDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
0-160
4676 ? ACL_T_NONE-
4677 : (have_scontext
have_scontextDescription
TRUEnever evaluated
FALSEnever evaluated
&& !have_acl
!have_aclDescription
TRUEnever evaluated
FALSEnever evaluated
0
4678 ? ACL_T_LSM_CONTEXT_ONLY-
4679 : ACL_T_YES));-
4680 any_has_acl |= f->acl_type != ACL_T_NONE;-
4681-
4682 if (err
errDescription
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-160
4683 error (0,
never executed: error (0, (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, full_name));
0
4684 (*__errno_location ())
never executed: error (0, (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, full_name));
0
4685 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, full_name));
never executed: error (0, (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, full_name));
0
4686 }
executed 160 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
160
4687-
4688 if (-
4689 ((((
(((( f->stat.s... == (0120000))Description
TRUEevaluated 32 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 1095 times by 2 tests
Evaluated by:
  • ls
  • vdir
32-1095
4690 f->stat.st_mode
(((( f->stat.s... == (0120000))Description
TRUEevaluated 32 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 1095 times by 2 tests
Evaluated by:
  • ls
  • vdir
32-1095
4691 )) & 0170000) == (0120000))
(((( f->stat.s... == (0120000))Description
TRUEevaluated 32 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 1095 times by 2 tests
Evaluated by:
  • ls
  • vdir
32-1095
4692 -
4693 && (format == long_format
format == long_formatDescription
TRUEevaluated 13 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 19 times by 1 test
Evaluated by:
  • ls
|| check_symlink_color
check_symlink_colorDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 11 times by 1 test
Evaluated by:
  • ls
))
8-19
4694 {-
4695 struct stat linkstats;-
4696-
4697 get_link_name (full_name, f, command_line_arg);-
4698 char *linkname = make_link_name (full_name, f->linkname);-
4699-
4700-
4701-
4702 if (linkname
linknameDescription
TRUEevaluated 21 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
&& f->quoted == 0
f->quoted == 0Description
TRUEnever evaluated
FALSEevaluated 21 times by 2 tests
Evaluated by:
  • ls
  • vdir
&& needs_quoting (f->linkname)
needs_quoting (f->linkname)Description
TRUEnever evaluated
FALSEnever evaluated
)
0-21
4703 f->quoted = -1;
never executed: f->quoted = -1;
0
4704-
4705-
4706-
4707 if (linkname
linknameDescription
TRUEevaluated 21 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
0-21
4708 && (file_type <= indicator_style
file_type <= indicator_styleDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 17 times by 2 tests
Evaluated by:
  • ls
  • vdir
|| check_symlink_color
check_symlink_colorDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 5 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
4-17
4709 && stat (linkname, &linkstats) == 0
stat (linkname...inkstats) == 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
)
6-10
4710 {-
4711 f->linkok = -
4712 1-
4713 ;-
4714-
4715-
4716-
4717-
4718 if (!command_line_arg
!command_line_argDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
|| format == long_format
format == long_formatDescription
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
0-4
4719 || !
! (((( linksta... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
0-4
4720 ((((
! (((( linksta... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
0-4
4721 linkstats.st_mode
! (((( linksta... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
0-4
4722 )) & 0170000) == (0040000))
! (((( linksta... == (0040000))Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
0-4
4723 )-
4724 {-
4725-
4726-
4727 f->linkmode = linkstats.st_mode;-
4728 }
executed 2 times by 1 test: end of block
Executed by:
  • ls
2
4729 }
executed 6 times by 1 test: end of block
Executed by:
  • ls
6
4730 free (linkname);-
4731 }
executed 21 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
21
4732-
4733 if (-
4734 ((((
(((( f->stat.s... == (0120000))Description
TRUEevaluated 32 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 1095 times by 2 tests
Evaluated by:
  • ls
  • vdir
32-1095
4735 f->stat.st_mode
(((( f->stat.s... == (0120000))Description
TRUEevaluated 32 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 1095 times by 2 tests
Evaluated by:
  • ls
  • vdir
32-1095
4736 )) & 0170000) == (0120000))
(((( f->stat.s... == (0120000))Description
TRUEevaluated 32 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 1095 times by 2 tests
Evaluated by:
  • ls
  • vdir
32-1095
4737 )-
4738 f->filetype = symbolic_link;
executed 32 times by 2 tests: f->filetype = symbolic_link;
Executed by:
  • ls
  • vdir
32
4739 else if (-
4740 ((((
(((( f->stat.s... == (0040000))Description
TRUEevaluated 960 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 135 times by 2 tests
Evaluated by:
  • ls
  • vdir
135-960
4741 f->stat.st_mode
(((( f->stat.s... == (0040000))Description
TRUEevaluated 960 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 135 times by 2 tests
Evaluated by:
  • ls
  • vdir
135-960
4742 )) & 0170000) == (0040000))
(((( f->stat.s... == (0040000))Description
TRUEevaluated 960 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 135 times by 2 tests
Evaluated by:
  • ls
  • vdir
135-960
4743 )-
4744 {-
4745 if (command_line_arg
command_line_argDescription
TRUEevaluated 959 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1 time by 1 test
Evaluated by:
  • vdir
&& !immediate_dirs
!immediate_dirsDescription
TRUEevaluated 34 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 925 times by 1 test
Evaluated by:
  • ls
)
1-959
4746 f->filetype = arg_directory;
executed 34 times by 1 test: f->filetype = arg_directory;
Executed by:
  • ls
34
4747 else-
4748 f->filetype = directory;
executed 926 times by 2 tests: f->filetype = directory;
Executed by:
  • ls
  • vdir
926
4749 }-
4750 else-
4751 f->filetype = normal;
executed 135 times by 2 tests: f->filetype = normal;
Executed by:
  • ls
  • vdir
135
4752-
4753 blocks = ((f->stat).st_blocks);-
4754 if (format == long_format
format == long_formatDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 967 times by 1 test
Evaluated by:
  • ls
|| print_block_size
print_block_sizeDescription
TRUEnever evaluated
FALSEevaluated 967 times by 1 test
Evaluated by:
  • ls
)
0-967
4755 {-
4756 char buf[((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
4757 16 -
4758 + 1) - -
4759 16 -
4760 + 1 + 3) + 1];-
4761 int len = gnu_mbswidth (human_readable (blocks, buf, human_output_opts,-
4762 -
4763 512-
4764 , output_block_size),-
4765 0);-
4766 if (block_size_width < len
block_size_width < lenDescription
TRUEevaluated 147 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 13 times by 1 test
Evaluated by:
  • vdir
)
13-147
4767 block_size_width = len;
executed 147 times by 2 tests: block_size_width = len;
Executed by:
  • ls
  • vdir
147
4768 }
executed 160 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
160
4769-
4770 if (format == long_format
format == long_formatDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 967 times by 1 test
Evaluated by:
  • ls
)
160-967
4771 {-
4772 if (print_owner
print_ownerDescription
TRUEevaluated 40 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 120 times by 1 test
Evaluated by:
  • ls
)
40-120
4773 {-
4774 int len = format_user_width (f->stat.st_uid);-
4775 if (owner_width < len
owner_width < lenDescription
TRUEevaluated 27 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 13 times by 1 test
Evaluated by:
  • vdir
)
13-27
4776 owner_width = len;
executed 27 times by 2 tests: owner_width = len;
Executed by:
  • ls
  • vdir
27
4777 }
executed 40 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
40
4778-
4779 if (print_group
print_groupDescription
TRUEevaluated 38 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 122 times by 1 test
Evaluated by:
  • ls
)
38-122
4780 {-
4781 int len = format_group_width (f->stat.st_gid);-
4782 if (group_width < len
group_width < lenDescription
TRUEevaluated 25 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 13 times by 1 test
Evaluated by:
  • vdir
)
13-25
4783 group_width = len;
executed 25 times by 2 tests: group_width = len;
Executed by:
  • ls
  • vdir
25
4784 }
executed 38 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
38
4785-
4786 if (print_author
print_authorDescription
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-160
4787 {-
4788 int len = format_user_width (f->stat.st_uid);-
4789 if (author_width < len
author_width < lenDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
4790 author_width = len;
never executed: author_width = len;
0
4791 }
never executed: end of block
0
4792 }
executed 160 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
160
4793-
4794 if (print_scontext
print_scontextDescription
TRUEnever evaluated
FALSEevaluated 1127 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-1127
4795 {-
4796 int len = strlen (f->scontext);-
4797 if (scontext_width < len
scontext_width < lenDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
4798 scontext_width = len;
never executed: scontext_width = len;
0
4799 }
never executed: end of block
0
4800-
4801 if (format == long_format
format == long_formatDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 967 times by 1 test
Evaluated by:
  • ls
)
160-967
4802 {-
4803 char b[((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)];-
4804 int b_len = strlen (umaxtostr (f->stat.st_nlink, b));-
4805 if (nlink_width < b_len
nlink_width < b_lenDescription
TRUEevaluated 147 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 13 times by 1 test
Evaluated by:
  • vdir
)
13-147
4806 nlink_width = b_len;
executed 147 times by 2 tests: nlink_width = b_len;
Executed by:
  • ls
  • vdir
147
4807-
4808 if (-
4809 ((((
(((( f->stat.s... == (0020000))Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4810 f->stat.st_mode
(((( f->stat.s... == (0020000))Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4811 )) & 0170000) == (0020000))
(((( f->stat.s... == (0020000))Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4812 || -
4813 ((((
(((( f->stat.s... == (0060000))Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4814 f->stat.st_mode
(((( f->stat.s... == (0060000))Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4815 )) & 0170000) == (0060000))
(((( f->stat.s... == (0060000))Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
4816 )-
4817 {-
4818 char buf[((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)];-
4819 int len = strlen (umaxtostr (-
4820 gnu_dev_major (-
4821 f->stat.st_rdev-
4822 )-
4823 , buf));-
4824 if (major_device_number_width < len
major_device_n...er_width < lenDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
4825 major_device_number_width = len;
never executed: major_device_number_width = len;
0
4826 len = strlen (umaxtostr (-
4827 gnu_dev_minor (-
4828 f->stat.st_rdev-
4829 )-
4830 , buf));-
4831 if (minor_device_number_width < len
minor_device_n...er_width < lenDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
4832 minor_device_number_width = len;
never executed: minor_device_number_width = len;
0
4833 len = major_device_number_width + 2 + minor_device_number_width;-
4834 if (file_size_width < len
file_size_width < lenDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
4835 file_size_width = len;
never executed: file_size_width = len;
0
4836 }
never executed: end of block
0
4837 else-
4838 {-
4839 char buf[((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
4840 16 -
4841 + 1) - -
4842 16 -
4843 + 1 + 3) + 1];-
4844 uintmax_t size = unsigned_file_size (f->stat.st_size);-
4845 int len = gnu_mbswidth (human_readable (size, buf,-
4846 file_human_output_opts,-
4847 1, file_output_block_size),-
4848 0);-
4849 if (file_size_width < len
file_size_width < lenDescription
TRUEevaluated 148 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 12 times by 1 test
Evaluated by:
  • vdir
)
12-148
4850 file_size_width = len;
executed 148 times by 2 tests: file_size_width = len;
Executed by:
  • ls
  • vdir
148
4851 }
executed 160 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
160
4852 }-
4853 }
executed 1127 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
1127
4854-
4855 if (print_inode
print_inodeDescription
TRUEnever evaluated
FALSEevaluated 1159 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1159
4856 {-
4857 char buf[((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)];-
4858 int len = strlen (umaxtostr (f->stat.st_ino, buf));-
4859 if (inode_number_width < len
inode_number_width < lenDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
4860 inode_number_width = len;
never executed: inode_number_width = len;
0
4861 }
never executed: end of block
0
4862-
4863 f->name = xstrdup (name);-
4864 cwd_n_used++;-
4865-
4866 return
executed 1159 times by 3 tests: return blocks;
Executed by:
  • dir
  • ls
  • vdir
blocks;
executed 1159 times by 3 tests: return blocks;
Executed by:
  • dir
  • ls
  • vdir
1159
4867}-
4868-
4869-
4870static -
4871 _Bool-
4872-
4873is_directory (const struct fileinfo *f)-
4874{-
4875 return
executed 173 times by 1 test: return f->filetype == directory || f->filetype == arg_directory;
Executed by:
  • ls
f->filetype == directory || f->filetype == arg_directory;
executed 173 times by 1 test: return f->filetype == directory || f->filetype == arg_directory;
Executed by:
  • ls
173
4876}-
4877-
4878-
4879-
4880-
4881-
4882static void-
4883get_link_name (char const *filename, struct fileinfo *f, -
4884 _Bool -
4885 command_line_arg)-
4886{-
4887 f->linkname = areadlink_with_size (filename, f->stat.st_size);-
4888 if (f->linkname ==
f->linkname == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 21 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-21
4889 ((void *)0)
f->linkname == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 21 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-21
4890 )-
4891 file_failure (command_line_arg,
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "cannot read symbolic link %s" , 5) , filename);
0
4892 dcgettext (((void *)0),
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "cannot read symbolic link %s" , 5) , filename);
0
4893 "cannot read symbolic link %s"
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "cannot read symbolic link %s" , 5) , filename);
0
4894 , 5)
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "cannot read symbolic link %s" , 5) , filename);
0
4895 ,
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "cannot read symbolic link %s" , 5) , filename);
0
4896 filename);
never executed: file_failure (command_line_arg, dcgettext (((void *)0), "cannot read symbolic link %s" , 5) , filename);
0
4897}
executed 21 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
21
4898-
4899-
4900-
4901-
4902-
4903-
4904static char *-
4905make_link_name (char const *name, char const *linkname)-
4906{-
4907 if (!linkname
!linknameDescription
TRUEnever evaluated
FALSEevaluated 21 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-21
4908 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
4909 ((void *)0)
never executed: return ((void *)0) ;
0
4910 ;
never executed: return ((void *)0) ;
0
4911-
4912 if (((((
(((linkname)[0]) == '/')Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 17 times by 2 tests
Evaluated by:
  • ls
  • vdir
linkname)[0]) == '/')
(((linkname)[0]) == '/')Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 17 times by 2 tests
Evaluated by:
  • ls
  • vdir
|| 0 != 0
0 != 0Description
TRUEnever evaluated
FALSEevaluated 17 times by 2 tests
Evaluated by:
  • ls
  • vdir
))
0-17
4913 return
executed 4 times by 1 test: return xstrdup (linkname);
Executed by:
  • ls
xstrdup (linkname);
executed 4 times by 1 test: return xstrdup (linkname);
Executed by:
  • ls
4
4914-
4915-
4916-
4917 size_t prefix_len = dir_len (name);-
4918 if (prefix_len == 0
prefix_len == 0Description
TRUEevaluated 13 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
)
4-13
4919 return
executed 13 times by 2 tests: return xstrdup (linkname);
Executed by:
  • ls
  • vdir
xstrdup (linkname);
executed 13 times by 2 tests: return xstrdup (linkname);
Executed by:
  • ls
  • vdir
13
4920-
4921 char *p = xmalloc (prefix_len + 1 + strlen (linkname) + 1);-
4922-
4923-
4924-
4925-
4926 if ( ! ((name[prefix_len - 1]) == '/')
! ((name[prefi... - 1]) == '/')Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-4
4927 ++
executed 4 times by 1 test: ++prefix_len;
Executed by:
  • ls
prefix_len;
executed 4 times by 1 test: ++prefix_len;
Executed by:
  • ls
4
4928-
4929 stpcpy (stpncpy (p, name, prefix_len), linkname);-
4930 return
executed 4 times by 1 test: return p;
Executed by:
  • ls
p;
executed 4 times by 1 test: return p;
Executed by:
  • ls
4
4931}-
4932-
4933-
4934-
4935-
4936static -
4937 _Bool-
4938-
4939basename_is_dot_or_dotdot (const char *name)-
4940{-
4941 char const *base = last_component (name);-
4942 return
executed 4 times by 1 test: return dot_or_dotdot (base);
Executed by:
  • ls
dot_or_dotdot (base);
executed 4 times by 1 test: return dot_or_dotdot (base);
Executed by:
  • ls
4
4943}-
4944static void-
4945extract_dirs_from_files (char const *dirname, -
4946 _Bool -
4947 command_line_arg)-
4948{-
4949 size_t i;-
4950 size_t j;-
4951 -
4952 _Bool -
4953 ignore_dot_and_dot_dot = (dirname != -
4954 ((void *)0)-
4955 );-
4956-
4957 if (dirname
dirnameDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 119 times by 1 test
Evaluated by:
  • ls
&& (
(!!active_dir_set)Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
!!active_dir_set)
(!!active_dir_set)Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-119
4958 {-
4959-
4960-
4961-
4962 queue_directory (-
4963 ((void *)0)-
4964 , dirname, -
4965 0-
4966 );-
4967 }
executed 10 times by 1 test: end of block
Executed by:
  • ls
10
4968-
4969-
4970-
4971 for (i = cwd_n_used; i-- != 0
i-- != 0Description
TRUEevaluated 173 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 129 times by 1 test
Evaluated by:
  • ls
; )
129-173
4972 {-
4973 struct fileinfo *f = sorted_file[i];-
4974-
4975 if (is_directory (f)
is_directory (f)Description
TRUEevaluated 38 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 135 times by 1 test
Evaluated by:
  • ls
38-135
4976 && (! ignore_dot_and_dot_dot
! ignore_dot_and_dot_dotDescription
TRUEevaluated 34 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
4-34
4977 || ! basename_is_dot_or_dotdot (f->name)
! basename_is_...tdot (f->name)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
))
0-4
4978 {-
4979 if (!dirname
!dirnameDescription
TRUEevaluated 34 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
|| f->name[0] == '/'
f->name[0] == '/'Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
)
0-34
4980 queue_directory (f->name, f->linkname, command_line_arg);
executed 34 times by 1 test: queue_directory (f->name, f->linkname, command_line_arg);
Executed by:
  • ls
34
4981 else-
4982 {-
4983 char *name = file_name_concat (dirname, f->name, -
4984 ((void *)0)-
4985 );-
4986 queue_directory (name, f->linkname, command_line_arg);-
4987 free (name);-
4988 }
executed 4 times by 1 test: end of block
Executed by:
  • ls
4
4989 if (f->filetype == arg_directory
f->filetype == arg_directoryDescription
TRUEevaluated 34 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
)
4-34
4990 free_ent (f);
executed 34 times by 1 test: free_ent (f);
Executed by:
  • ls
34
4991 }
executed 38 times by 1 test: end of block
Executed by:
  • ls
38
4992 }
executed 173 times by 1 test: end of block
Executed by:
  • ls
173
4993-
4994-
4995-
4996-
4997 for (i = 0, j = 0; i < cwd_n_used
i < cwd_n_usedDescription
TRUEevaluated 173 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 129 times by 1 test
Evaluated by:
  • ls
; i++)
129-173
4998 {-
4999 struct fileinfo *f = sorted_file[i];-
5000 sorted_file[j] = f;-
5001 j += (f->filetype != arg_directory);-
5002 }
executed 173 times by 1 test: end of block
Executed by:
  • ls
173
5003 cwd_n_used = j;-
5004}
executed 129 times by 1 test: end of block
Executed by:
  • ls
129
5005-
5006-
5007-
5008-
5009static jmp_buf failed_strcoll;-
5010-
5011static int-
5012xstrcoll (char const *a, char const *b)-
5013{-
5014 int diff;-
5015 -
5016 (*__errno_location ()) -
5017 = 0;-
5018 diff = strcoll (a, b);-
5019 if (-
5020 (*
(*__errno_location ())Description
TRUEnever evaluated
FALSEevaluated 93 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
__errno_location ())
(*__errno_location ())Description
TRUEnever evaluated
FALSEevaluated 93 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
0-93
5021 )-
5022 {-
5023 error (0, -
5024 (*__errno_location ())-
5025 , -
5026 dcgettext (((void *)0), -
5027 "cannot compare file names %s and %s"-
5028 , 5)-
5029 ,-
5030 quote_n (0, a), quote_n (1, b));-
5031 set_exit_status (-
5032 0-
5033 );-
5034 longjmp (failed_strcoll, 1);-
5035 }
never executed: end of block
0
5036 return
executed 93 times by 3 tests: return diff;
Executed by:
  • dir
  • ls
  • vdir
diff;
executed 93 times by 3 tests: return diff;
Executed by:
  • dir
  • ls
  • vdir
93
5037}-
5038-
5039-
5040-
5041typedef void const *V;-
5042typedef int (*qsortFunc)(V a, V b);-
5043static inline int-
5044cmp_ctime (struct fileinfo const *a, struct fileinfo const *b,-
5045 int (*cmp) (char const *, char const *))-
5046{-
5047 int diff = timespec_cmp (get_stat_ctime (&b->stat),-
5048 get_stat_ctime (&a->stat));-
5049 return
executed 3 times by 1 test: return diff ? diff : cmp (a->name, b->name);
Executed by:
  • ls
diff ? diff : cmp (a->name, b->name);
executed 3 times by 1 test: return diff ? diff : cmp (a->name, b->name);
Executed by:
  • ls
3
5050}-
5051-
5052static inline int-
5053cmp_mtime (struct fileinfo const *a, struct fileinfo const *b,-
5054 int (*cmp) (char const *, char const *))-
5055{-
5056 int diff = timespec_cmp (get_stat_mtime (&b->stat),-
5057 get_stat_mtime (&a->stat));-
5058 return
executed 5 times by 1 test: return diff ? diff : cmp (a->name, b->name);
Executed by:
  • ls
diff ? diff : cmp (a->name, b->name);
executed 5 times by 1 test: return diff ? diff : cmp (a->name, b->name);
Executed by:
  • ls
5
5059}-
5060-
5061static inline int-
5062cmp_atime (struct fileinfo const *a, struct fileinfo const *b,-
5063 int (*cmp) (char const *, char const *))-
5064{-
5065 int diff = timespec_cmp (get_stat_atime (&b->stat),-
5066 get_stat_atime (&a->stat));-
5067 return
executed 3 times by 1 test: return diff ? diff : cmp (a->name, b->name);
Executed by:
  • ls
diff ? diff : cmp (a->name, b->name);
executed 3 times by 1 test: return diff ? diff : cmp (a->name, b->name);
Executed by:
  • ls
3
5068}-
5069-
5070static inline int-
5071cmp_size (struct fileinfo const *a, struct fileinfo const *b,-
5072 int (*cmp) (char const *, char const *))-
5073{-
5074 int diff = ((
(b->stat.st_si...>stat.st_size)Description
TRUEnever evaluated
FALSEnever evaluated
b->stat.st_size) < (a->stat.st_size)
(b->stat.st_si...>stat.st_size)Description
TRUEnever evaluated
FALSEnever evaluated
? -1 : (b->stat.st_size) > (a->stat.st_size));
0
5075 return
never executed: return diff ? diff : cmp (a->name, b->name);
diff ? diff : cmp (a->name, b->name);
never executed: return diff ? diff : cmp (a->name, b->name);
0
5076}-
5077-
5078static inline int-
5079cmp_name (struct fileinfo const *a, struct fileinfo const *b,-
5080 int (*cmp) (char const *, char const *))-
5081{-
5082 return
executed 93 times by 3 tests: return cmp (a->name, b->name);
Executed by:
  • dir
  • ls
  • vdir
cmp (a->name, b->name);
executed 93 times by 3 tests: return cmp (a->name, b->name);
Executed by:
  • dir
  • ls
  • vdir
93
5083}-
5084-
5085-
5086-
5087-
5088static inline int-
5089cmp_extension (struct fileinfo const *a, struct fileinfo const *b,-
5090 int (*cmp) (char const *, char const *))-
5091{-
5092 char const *base1 = strrchr (a->name, '.');-
5093 char const *base2 = strrchr (b->name, '.');-
5094 int diff = cmp (base1 ? base1 : "", base2 ? base2 : "");-
5095 return
never executed: return diff ? diff : cmp (a->name, b->name);
diff ? diff : cmp (a->name, b->name);
never executed: return diff ? diff : cmp (a->name, b->name);
0
5096}-
5097-
5098static int xstrcoll_ctime (V a, V b) { return
executed 3 times by 1 test: return cmp_ctime (a, b, xstrcoll);
Executed by:
  • ls
cmp_ctime (a, b, xstrcoll);
executed 3 times by 1 test: return cmp_ctime (a, b, xstrcoll);
Executed by:
  • ls
} static int __attribute__ ((__pure__)) strcmp_ctime (V a, V b) { return
never executed: return cmp_ctime (a, b, strcmp);
cmp_ctime (a, b, strcmp);
never executed: return cmp_ctime (a, b, strcmp);
} static int rev_xstrcoll_ctime (V a, V b) { return
never executed: return cmp_ctime (b, a, xstrcoll);
cmp_ctime (b, a, xstrcoll);
never executed: return cmp_ctime (b, a, xstrcoll);
} static int __attribute__ ((__pure__)) rev_strcmp_ctime (V a, V b) { return
never executed: return cmp_ctime (b, a, strcmp);
cmp_ctime (b, a, strcmp);
never executed: return cmp_ctime (b, a, strcmp);
} static int xstrcoll_df_ctime (V a, V b) { do {
0-3
5099_Bool -
5100a_is_dir = is_directory ((struct fileinfo const *) a); -
5101_Bool -
5102b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_ctime (a, b, xstrcoll);
cmp_ctime (a, b, xstrcoll);
never executed: return cmp_ctime (a, b, xstrcoll);
} static int __attribute__ ((__pure__)) strcmp_df_ctime (V a, V b) { do {
0
5103_Bool -
5104a_is_dir = is_directory ((struct fileinfo const *) a); -
5105_Bool -
5106b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_ctime (a, b, strcmp);
cmp_ctime (a, b, strcmp);
never executed: return cmp_ctime (a, b, strcmp);
} static int rev_xstrcoll_df_ctime (V a, V b) { do {
0
5107_Bool -
5108a_is_dir = is_directory ((struct fileinfo const *) a); -
5109_Bool -
5110b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_ctime (b, a, xstrcoll);
cmp_ctime (b, a, xstrcoll);
never executed: return cmp_ctime (b, a, xstrcoll);
} static int __attribute__ ((__pure__)) rev_strcmp_df_ctime (V a, V b) { do {
0
5111_Bool -
5112a_is_dir = is_directory ((struct fileinfo const *) a); -
5113_Bool -
5114b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_ctime (b, a, strcmp);
cmp_ctime (b, a, strcmp);
never executed: return cmp_ctime (b, a, strcmp);
}
0
5115static int xstrcoll_mtime (V a, V b) { return
executed 5 times by 1 test: return cmp_mtime (a, b, xstrcoll);
Executed by:
  • ls
cmp_mtime (a, b, xstrcoll);
executed 5 times by 1 test: return cmp_mtime (a, b, xstrcoll);
Executed by:
  • ls
} static int __attribute__ ((__pure__)) strcmp_mtime (V a, V b) { return
never executed: return cmp_mtime (a, b, strcmp);
cmp_mtime (a, b, strcmp);
never executed: return cmp_mtime (a, b, strcmp);
} static int rev_xstrcoll_mtime (V a, V b) { return
never executed: return cmp_mtime (b, a, xstrcoll);
cmp_mtime (b, a, xstrcoll);
never executed: return cmp_mtime (b, a, xstrcoll);
} static int __attribute__ ((__pure__)) rev_strcmp_mtime (V a, V b) { return
never executed: return cmp_mtime (b, a, strcmp);
cmp_mtime (b, a, strcmp);
never executed: return cmp_mtime (b, a, strcmp);
} static int xstrcoll_df_mtime (V a, V b) { do {
0-5
5116_Bool -
5117a_is_dir = is_directory ((struct fileinfo const *) a); -
5118_Bool -
5119b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_mtime (a, b, xstrcoll);
cmp_mtime (a, b, xstrcoll);
never executed: return cmp_mtime (a, b, xstrcoll);
} static int __attribute__ ((__pure__)) strcmp_df_mtime (V a, V b) { do {
0
5120_Bool -
5121a_is_dir = is_directory ((struct fileinfo const *) a); -
5122_Bool -
5123b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_mtime (a, b, strcmp);
cmp_mtime (a, b, strcmp);
never executed: return cmp_mtime (a, b, strcmp);
} static int rev_xstrcoll_df_mtime (V a, V b) { do {
0
5124_Bool -
5125a_is_dir = is_directory ((struct fileinfo const *) a); -
5126_Bool -
5127b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_mtime (b, a, xstrcoll);
cmp_mtime (b, a, xstrcoll);
never executed: return cmp_mtime (b, a, xstrcoll);
} static int __attribute__ ((__pure__)) rev_strcmp_df_mtime (V a, V b) { do {
0
5128_Bool -
5129a_is_dir = is_directory ((struct fileinfo const *) a); -
5130_Bool -
5131b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_mtime (b, a, strcmp);
cmp_mtime (b, a, strcmp);
never executed: return cmp_mtime (b, a, strcmp);
}
0
5132static int xstrcoll_atime (V a, V b) { return
executed 3 times by 1 test: return cmp_atime (a, b, xstrcoll);
Executed by:
  • ls
cmp_atime (a, b, xstrcoll);
executed 3 times by 1 test: return cmp_atime (a, b, xstrcoll);
Executed by:
  • ls
} static int __attribute__ ((__pure__)) strcmp_atime (V a, V b) { return
never executed: return cmp_atime (a, b, strcmp);
cmp_atime (a, b, strcmp);
never executed: return cmp_atime (a, b, strcmp);
} static int rev_xstrcoll_atime (V a, V b) { return
never executed: return cmp_atime (b, a, xstrcoll);
cmp_atime (b, a, xstrcoll);
never executed: return cmp_atime (b, a, xstrcoll);
} static int __attribute__ ((__pure__)) rev_strcmp_atime (V a, V b) { return
never executed: return cmp_atime (b, a, strcmp);
cmp_atime (b, a, strcmp);
never executed: return cmp_atime (b, a, strcmp);
} static int xstrcoll_df_atime (V a, V b) { do {
0-3
5133_Bool -
5134a_is_dir = is_directory ((struct fileinfo const *) a); -
5135_Bool -
5136b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_atime (a, b, xstrcoll);
cmp_atime (a, b, xstrcoll);
never executed: return cmp_atime (a, b, xstrcoll);
} static int __attribute__ ((__pure__)) strcmp_df_atime (V a, V b) { do {
0
5137_Bool -
5138a_is_dir = is_directory ((struct fileinfo const *) a); -
5139_Bool -
5140b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_atime (a, b, strcmp);
cmp_atime (a, b, strcmp);
never executed: return cmp_atime (a, b, strcmp);
} static int rev_xstrcoll_df_atime (V a, V b) { do {
0
5141_Bool -
5142a_is_dir = is_directory ((struct fileinfo const *) a); -
5143_Bool -
5144b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_atime (b, a, xstrcoll);
cmp_atime (b, a, xstrcoll);
never executed: return cmp_atime (b, a, xstrcoll);
} static int __attribute__ ((__pure__)) rev_strcmp_df_atime (V a, V b) { do {
0
5145_Bool -
5146a_is_dir = is_directory ((struct fileinfo const *) a); -
5147_Bool -
5148b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_atime (b, a, strcmp);
cmp_atime (b, a, strcmp);
never executed: return cmp_atime (b, a, strcmp);
}
0
5149static int xstrcoll_size (V a, V b) { return
never executed: return cmp_size (a, b, xstrcoll);
cmp_size (a, b, xstrcoll);
never executed: return cmp_size (a, b, xstrcoll);
} static int __attribute__ ((__pure__)) strcmp_size (V a, V b) { return
never executed: return cmp_size (a, b, strcmp);
cmp_size (a, b, strcmp);
never executed: return cmp_size (a, b, strcmp);
} static int rev_xstrcoll_size (V a, V b) { return
never executed: return cmp_size (b, a, xstrcoll);
cmp_size (b, a, xstrcoll);
never executed: return cmp_size (b, a, xstrcoll);
} static int __attribute__ ((__pure__)) rev_strcmp_size (V a, V b) { return
never executed: return cmp_size (b, a, strcmp);
cmp_size (b, a, strcmp);
never executed: return cmp_size (b, a, strcmp);
} static int xstrcoll_df_size (V a, V b) { do {
0
5150_Bool -
5151a_is_dir = is_directory ((struct fileinfo const *) a); -
5152_Bool -
5153b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_size (a, b, xstrcoll);
cmp_size (a, b, xstrcoll);
never executed: return cmp_size (a, b, xstrcoll);
} static int __attribute__ ((__pure__)) strcmp_df_size (V a, V b) { do {
0
5154_Bool -
5155a_is_dir = is_directory ((struct fileinfo const *) a); -
5156_Bool -
5157b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_size (a, b, strcmp);
cmp_size (a, b, strcmp);
never executed: return cmp_size (a, b, strcmp);
} static int rev_xstrcoll_df_size (V a, V b) { do {
0
5158_Bool -
5159a_is_dir = is_directory ((struct fileinfo const *) a); -
5160_Bool -
5161b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_size (b, a, xstrcoll);
cmp_size (b, a, xstrcoll);
never executed: return cmp_size (b, a, xstrcoll);
} static int __attribute__ ((__pure__)) rev_strcmp_df_size (V a, V b) { do {
0
5162_Bool -
5163a_is_dir = is_directory ((struct fileinfo const *) a); -
5164_Bool -
5165b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_size (b, a, strcmp);
cmp_size (b, a, strcmp);
never executed: return cmp_size (b, a, strcmp);
}
0
5166static int xstrcoll_name (V a, V b) { return
executed 93 times by 3 tests: return cmp_name (a, b, xstrcoll);
Executed by:
  • dir
  • ls
  • vdir
cmp_name (a, b, xstrcoll);
executed 93 times by 3 tests: return cmp_name (a, b, xstrcoll);
Executed by:
  • dir
  • ls
  • vdir
} static int __attribute__ ((__pure__)) strcmp_name (V a, V b) { return
never executed: return cmp_name (a, b, strcmp);
cmp_name (a, b, strcmp);
never executed: return cmp_name (a, b, strcmp);
} static int rev_xstrcoll_name (V a, V b) { return
never executed: return cmp_name (b, a, xstrcoll);
cmp_name (b, a, xstrcoll);
never executed: return cmp_name (b, a, xstrcoll);
} static int __attribute__ ((__pure__)) rev_strcmp_name (V a, V b) { return
never executed: return cmp_name (b, a, strcmp);
cmp_name (b, a, strcmp);
never executed: return cmp_name (b, a, strcmp);
} static int xstrcoll_df_name (V a, V b) { do {
0-93
5167_Bool -
5168a_is_dir = is_directory ((struct fileinfo const *) a); -
5169_Bool -
5170b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_name (a, b, xstrcoll);
cmp_name (a, b, xstrcoll);
never executed: return cmp_name (a, b, xstrcoll);
} static int __attribute__ ((__pure__)) strcmp_df_name (V a, V b) { do {
0
5171_Bool -
5172a_is_dir = is_directory ((struct fileinfo const *) a); -
5173_Bool -
5174b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_name (a, b, strcmp);
cmp_name (a, b, strcmp);
never executed: return cmp_name (a, b, strcmp);
} static int rev_xstrcoll_df_name (V a, V b) { do {
0
5175_Bool -
5176a_is_dir = is_directory ((struct fileinfo const *) a); -
5177_Bool -
5178b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_name (b, a, xstrcoll);
cmp_name (b, a, xstrcoll);
never executed: return cmp_name (b, a, xstrcoll);
} static int __attribute__ ((__pure__)) rev_strcmp_df_name (V a, V b) { do {
0
5179_Bool -
5180a_is_dir = is_directory ((struct fileinfo const *) a); -
5181_Bool -
5182b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_name (b, a, strcmp);
cmp_name (b, a, strcmp);
never executed: return cmp_name (b, a, strcmp);
}
0
5183static int xstrcoll_extension (V a, V b) { return
never executed: return cmp_extension (a, b, xstrcoll);
cmp_extension (a, b, xstrcoll);
never executed: return cmp_extension (a, b, xstrcoll);
} static int __attribute__ ((__pure__)) strcmp_extension (V a, V b) { return
never executed: return cmp_extension (a, b, strcmp);
cmp_extension (a, b, strcmp);
never executed: return cmp_extension (a, b, strcmp);
} static int rev_xstrcoll_extension (V a, V b) { return
never executed: return cmp_extension (b, a, xstrcoll);
cmp_extension (b, a, xstrcoll);
never executed: return cmp_extension (b, a, xstrcoll);
} static int __attribute__ ((__pure__)) rev_strcmp_extension (V a, V b) { return
never executed: return cmp_extension (b, a, strcmp);
cmp_extension (b, a, strcmp);
never executed: return cmp_extension (b, a, strcmp);
} static int xstrcoll_df_extension (V a, V b) { do {
0
5184_Bool -
5185a_is_dir = is_directory ((struct fileinfo const *) a); -
5186_Bool -
5187b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_extension (a, b, xstrcoll);
cmp_extension (a, b, xstrcoll);
never executed: return cmp_extension (a, b, xstrcoll);
} static int __attribute__ ((__pure__)) strcmp_df_extension (V a, V b) { do {
0
5188_Bool -
5189a_is_dir = is_directory ((struct fileinfo const *) a); -
5190_Bool -
5191b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_extension (a, b, strcmp);
cmp_extension (a, b, strcmp);
never executed: return cmp_extension (a, b, strcmp);
} static int rev_xstrcoll_df_extension (V a, V b) { do {
0
5192_Bool -
5193a_is_dir = is_directory ((struct fileinfo const *) a); -
5194_Bool -
5195b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_extension (b, a, xstrcoll);
cmp_extension (b, a, xstrcoll);
never executed: return cmp_extension (b, a, xstrcoll);
} static int __attribute__ ((__pure__)) rev_strcmp_df_extension (V a, V b) { do {
0
5196_Bool -
5197a_is_dir = is_directory ((struct fileinfo const *) a); -
5198_Bool -
5199b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_extension (b, a, strcmp);
cmp_extension (b, a, strcmp);
never executed: return cmp_extension (b, a, strcmp);
}
0
5200static inline int-
5201cmp_version (struct fileinfo const *a, struct fileinfo const *b)-
5202{-
5203 return
executed 80 times by 1 test: return filevercmp (a->name, b->name);
Executed by:
  • ls
filevercmp (a->name, b->name);
executed 80 times by 1 test: return filevercmp (a->name, b->name);
Executed by:
  • ls
80
5204}-
5205-
5206static int xstrcoll_version (V a, V b)-
5207{ return
executed 80 times by 1 test: return cmp_version (a, b);
Executed by:
  • ls
cmp_version (a, b);
executed 80 times by 1 test: return cmp_version (a, b);
Executed by:
  • ls
}
80
5208static int rev_xstrcoll_version (V a, V b)-
5209{ return
never executed: return cmp_version (b, a);
cmp_version (b, a);
never executed: return cmp_version (b, a);
}
0
5210static int xstrcoll_df_version (V a, V b)-
5211{ do { -
5212 _Bool -
5213 a_is_dir = is_directory ((struct fileinfo const *) a); -
5214 _Bool -
5215 b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_version (a, b);
cmp_version (a, b);
never executed: return cmp_version (a, b);
}
0
5216static int rev_xstrcoll_df_version (V a, V b)-
5217{ do { -
5218 _Bool -
5219 a_is_dir = is_directory ((struct fileinfo const *) a); -
5220 _Bool -
5221 b_is_dir = is_directory ((struct fileinfo const *) b); if (a_is_dir
a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& !b_is_dir
!b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return -1;
-1;
never executed: return -1;
if (!a_is_dir
!a_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
&& b_is_dir
b_is_dirDescription
TRUEnever evaluated
FALSEnever evaluated
) return
never executed: return 1;
1;
never executed: return 1;
} while (0); return
never executed: return cmp_version (b, a);
cmp_version (b, a);
never executed: return cmp_version (b, a);
}
0
5222static qsortFunc const sort_functions[][2][2][2] =-
5223 {-
5224 { { { xstrcoll_name, xstrcoll_df_name }, { rev_xstrcoll_name, rev_xstrcoll_df_name }, }, { { strcmp_name, strcmp_df_name }, { rev_strcmp_name, rev_strcmp_df_name }, } },-
5225 { { { xstrcoll_extension, xstrcoll_df_extension }, { rev_xstrcoll_extension, rev_xstrcoll_df_extension }, }, { { strcmp_extension, strcmp_df_extension }, { rev_strcmp_extension, rev_strcmp_df_extension }, } },-
5226 { { { xstrcoll_size, xstrcoll_df_size }, { rev_xstrcoll_size, rev_xstrcoll_df_size }, }, { { strcmp_size, strcmp_df_size }, { rev_strcmp_size, rev_strcmp_df_size }, } },-
5227-
5228 {-
5229 {-
5230 { xstrcoll_version, xstrcoll_df_version },-
5231 { rev_xstrcoll_version, rev_xstrcoll_df_version },-
5232 },-
5233-
5234-
5235-
5236-
5237-
5238 {-
5239 { -
5240 ((void *)0)-
5241 , -
5242 ((void *)0) -
5243 },-
5244 { -
5245 ((void *)0)-
5246 , -
5247 ((void *)0) -
5248 },-
5249 }-
5250 },-
5251-
5252-
5253 { { { xstrcoll_mtime, xstrcoll_df_mtime }, { rev_xstrcoll_mtime, rev_xstrcoll_df_mtime }, }, { { strcmp_mtime, strcmp_df_mtime }, { rev_strcmp_mtime, rev_strcmp_df_mtime }, } },-
5254 { { { xstrcoll_ctime, xstrcoll_df_ctime }, { rev_xstrcoll_ctime, rev_xstrcoll_df_ctime }, }, { { strcmp_ctime, strcmp_df_ctime }, { rev_strcmp_ctime, rev_strcmp_df_ctime }, } },-
5255 { { { xstrcoll_atime, xstrcoll_df_atime }, { rev_xstrcoll_atime, rev_xstrcoll_df_atime }, }, { { strcmp_atime, strcmp_df_atime }, { rev_strcmp_atime, rev_strcmp_df_atime }, } }-
5256 };-
5257_Static_assert ((sizeof (sort_functions) / sizeof *(sort_functions)) == sort_numtypes + time_numtypes - 1, "verify (" "ARRAY_CARDINALITY (sort_functions) == sort_numtypes + time_numtypes - 1" ")")-
5258 ;-
5259-
5260-
5261-
5262static void-
5263initialize_ordering_vector (void)-
5264{-
5265 for (size_t i = 0; i < cwd_n_used
i < cwd_n_usedDescription
TRUEevaluated 1161 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 1090 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
; i++)
1090-1161
5266 sorted_file[i] = &cwd_file[i];
executed 1161 times by 3 tests: sorted_file[i] = &cwd_file[i];
Executed by:
  • dir
  • ls
  • vdir
1161
5267}
executed 1090 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
1090
5268-
5269-
5270-
5271static void-
5272sort_files (void)-
5273{-
5274 -
5275 _Bool -
5276 use_strcmp;-
5277-
5278 if (sorted_file_alloc < cwd_n_used + cwd_n_used / 2
sorted_file_al...cwd_n_used / 2Description
TRUEevaluated 1050 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 40 times by 1 test
Evaluated by:
  • ls
)
40-1050
5279 {-
5280 free (sorted_file);-
5281 sorted_file = xnmalloc (cwd_n_used, 3 * sizeof *sorted_file);-
5282 sorted_file_alloc = 3 * cwd_n_used;-
5283 }
executed 1050 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
1050
5284-
5285 initialize_ordering_vector ();-
5286-
5287 if (sort_type == sort_none
sort_type == sort_noneDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1084 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
6-1084
5288 return;
executed 6 times by 1 test: return;
Executed by:
  • ls
6
5289-
5290-
5291-
5292-
5293-
5294-
5295 if (!
! _setjmp ( failed_strcoll )Description
TRUEevaluated 1084 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
0-1084
5296 _setjmp (
! _setjmp ( failed_strcoll )Description
TRUEevaluated 1084 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
0-1084
5297 failed_strcoll
! _setjmp ( failed_strcoll )Description
TRUEevaluated 1084 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
0-1084
5298 )
! _setjmp ( failed_strcoll )Description
TRUEevaluated 1084 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
0-1084
5299 )-
5300 use_strcmp =
executed 1084 times by 3 tests: use_strcmp = 0 ;
Executed by:
  • dir
  • ls
  • vdir
1084
5301 0
executed 1084 times by 3 tests: use_strcmp = 0 ;
Executed by:
  • dir
  • ls
  • vdir
1084
5302 ;
executed 1084 times by 3 tests: use_strcmp = 0 ;
Executed by:
  • dir
  • ls
  • vdir
1084
5303 else-
5304 {-
5305 use_strcmp = -
5306 1-
5307 ;-
5308 -
5309 ((-
5310 sort_type != sort_version-
5311 ) ? (void) (0) : __assert_fail (-
5312 "sort_type != sort_version"-
5313 , "src/ls.c", 3815, __PRETTY_FUNCTION__))-
5314 ;-
5315 initialize_ordering_vector ();-
5316 }
never executed: end of block
0
5317-
5318-
5319 mpsort ((void const **) sorted_file, cwd_n_used,-
5320 sort_functions[sort_type + (sort_type == sort_time ? time_type : 0)]-
5321 [use_strcmp][sort_reverse]-
5322 [directories_first]);-
5323}
executed 1084 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
1084
5324-
5325-
5326-
5327static void-
5328print_current_files (void)-
5329{-
5330 size_t i;-
5331-
5332 switch (format)-
5333 {-
5334 case
executed 891 times by 1 test: case one_per_line:
Executed by:
  • ls
one_per_line:
executed 891 times by 1 test: case one_per_line:
Executed by:
  • ls
891
5335 for (i = 0; i < cwd_n_used
i < cwd_n_usedDescription
TRUEevaluated 956 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 891 times by 1 test
Evaluated by:
  • ls
; i++)
891-956
5336 {-
5337 print_file_name_and_frills (sorted_file[i], 0);-
5338 putchar_unlocked ('\n');-
5339 }
executed 956 times by 1 test: end of block
Executed by:
  • ls
956
5340 break;
executed 891 times by 1 test: break;
Executed by:
  • ls
891
5341-
5342 case
executed 2 times by 2 tests: case many_per_line:
Executed by:
  • dir
  • ls
many_per_line:
executed 2 times by 2 tests: case many_per_line:
Executed by:
  • dir
  • ls
2
5343 if (! line_length
! line_lengthDescription
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-2
5344 print_with_separator (' ');
never executed: print_with_separator (' ');
0
5345 else-
5346 print_many_per_line ();
executed 2 times by 2 tests: print_many_per_line ();
Executed by:
  • dir
  • ls
2
5347 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • ls
2
5348-
5349 case
never executed: case horizontal:
horizontal:
never executed: case horizontal:
0
5350 if (! line_length
! line_lengthDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
5351 print_with_separator (' ');
never executed: print_with_separator (' ');
0
5352 else-
5353 print_horizontal ();
never executed: print_horizontal ();
0
5354 break;
never executed: break;
0
5355-
5356 case
never executed: case with_commas:
with_commas:
never executed: case with_commas:
0
5357 print_with_separator (',');-
5358 break;
never executed: break;
0
5359-
5360 case
executed 147 times by 2 tests: case long_format:
Executed by:
  • ls
  • vdir
long_format:
executed 147 times by 2 tests: case long_format:
Executed by:
  • ls
  • vdir
147
5361 for (i = 0; i < cwd_n_used
i < cwd_n_usedDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 147 times by 2 tests
Evaluated by:
  • ls
  • vdir
; i++)
147-160
5362 {-
5363 set_normal_color ();-
5364 print_long_format (sorted_file[i]);-
5365 do {putchar_unlocked (('\n')); ++dired_pos;} while (0);-
5366 }
executed 160 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
160
5367 break;
executed 147 times by 2 tests: break;
Executed by:
  • ls
  • vdir
147
5368 }-
5369}
executed 1040 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
1040
5370-
5371-
5372-
5373-
5374-
5375static size_t-
5376align_nstrftime (char *buf, size_t size, -
5377 _Bool -
5378 recent, struct tm const *tm,-
5379 timezone_t tz, int ns)-
5380{-
5381 char const *nfmt = (use_abformat
use_abformatDescription
TRUEevaluated 149 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 11 times by 1 test
Evaluated by:
  • ls
11-149
5382 ? abformat[recent][tm->tm_mon]-
5383 : long_time_format[recent]);-
5384 return
executed 160 times by 2 tests: return nstrftime (buf, size, nfmt, tm, tz, ns);
Executed by:
  • ls
  • vdir
nstrftime (buf, size, nfmt, tm, tz, ns);
executed 160 times by 2 tests: return nstrftime (buf, size, nfmt, tm, tz, ns);
Executed by:
  • ls
  • vdir
160
5385}-
5386-
5387-
5388-
5389-
5390static int-
5391long_time_expected_width (void)-
5392{-
5393 static int width = -1;-
5394-
5395 if (width < 0
width < 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
5396 {-
5397 time_t epoch = 0;-
5398 struct tm tm;-
5399 char buf[TIME_STAMP_LEN_MAXIMUM + 1];-
5400 if (localtime_rz (localtz, &epoch, &tm)
localtime_rz (..., &epoch, &tm)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
5401 {-
5402 size_t len = align_nstrftime (buf, sizeof buf, -
5403 0-
5404 ,-
5405 &tm, localtz, 0);-
5406 if (len != 0
len != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
5407 width = mbsnwidth (buf, len, 0);
never executed: width = mbsnwidth (buf, len, 0);
0
5408 }
never executed: end of block
0
5409-
5410 if (width < 0
width < 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
5411 width = 0;
never executed: width = 0;
0
5412 }
never executed: end of block
0
5413-
5414 return
never executed: return width;
width;
never executed: return width;
0
5415}-
5416-
5417-
5418-
5419-
5420static void-
5421format_user_or_group (char const *name, unsigned long int id, int width)-
5422{-
5423 size_t len;-
5424-
5425 if (name
nameDescription
TRUEevaluated 44 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 34 times by 1 test
Evaluated by:
  • ls
)
34-44
5426 {-
5427 int width_gap = width - gnu_mbswidth (name, 0);-
5428 int pad = -
5429 (((
(( 0 )>( width_gap ))Description
TRUEnever evaluated
FALSEevaluated 44 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-44
5430 0
(( 0 )>( width_gap ))Description
TRUEnever evaluated
FALSEevaluated 44 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-44
5431 )>(
(( 0 )>( width_gap ))Description
TRUEnever evaluated
FALSEevaluated 44 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-44
5432 width_gap
(( 0 )>( width_gap ))Description
TRUEnever evaluated
FALSEevaluated 44 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-44
5433 ))
(( 0 )>( width_gap ))Description
TRUEnever evaluated
FALSEevaluated 44 times by 2 tests
Evaluated by:
  • ls
  • vdir
?(
0-44
5434 0-
5435 ):(-
5436 width_gap-
5437 ))-
5438 ;-
5439 fputs_unlocked (name,-
5440 stdout-
5441 );-
5442 len = strlen (name) + pad;-
5443-
5444 do-
5445 putchar_unlocked (' ');
executed 44 times by 2 tests: putchar_unlocked (' ');
Executed by:
  • ls
  • vdir
44
5446 while (pad--
pad--Description
TRUEnever evaluated
FALSEevaluated 44 times by 2 tests
Evaluated by:
  • ls
  • vdir
);
0-44
5447 }
executed 44 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
44
5448 else-
5449 {-
5450 printf ("%*lu ", width, id);-
5451 len = width;-
5452 }
executed 34 times by 1 test: end of block
Executed by:
  • ls
34
5453-
5454 dired_pos += len + 1;-
5455}
executed 78 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
78
5456-
5457-
5458-
5459-
5460static void-
5461format_user (uid_t u, int width, -
5462 _Bool -
5463 stat_ok)-
5464{-
5465 format_user_or_group (! stat_ok ? "?" :-
5466 (numeric_ids ? -
5467 ((void *)0) -
5468 : getuser (u)), u, width);-
5469}
executed 40 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
40
5470-
5471-
5472-
5473static void-
5474format_group (gid_t g, int width, -
5475 _Bool -
5476 stat_ok)-
5477{-
5478 format_user_or_group (! stat_ok ? "?" :-
5479 (numeric_ids ? -
5480 ((void *)0) -
5481 : getgroup (g)), g, width);-
5482}
executed 38 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
38
5483-
5484-
5485-
5486static int-
5487format_user_or_group_width (char const *name, unsigned long int id)-
5488{-
5489 if (name
nameDescription
TRUEevaluated 44 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 34 times by 1 test
Evaluated by:
  • ls
)
34-44
5490 {-
5491 int len = gnu_mbswidth (name, 0);-
5492 return
executed 44 times by 2 tests: return ((( 0 )>( len ))?( 0 ):( len )) ;
Executed by:
  • ls
  • vdir
executed 44 times by 2 tests: return ((( 0 )>( len ))?( 0 ):( len )) ;
Executed by:
  • ls
  • vdir
44
5493 (((
executed 44 times by 2 tests: return ((( 0 )>( len ))?( 0 ):( len )) ;
Executed by:
  • ls
  • vdir
44
5494 0
executed 44 times by 2 tests: return ((( 0 )>( len ))?( 0 ):( len )) ;
Executed by:
  • ls
  • vdir
44
5495 )>(
executed 44 times by 2 tests: return ((( 0 )>( len ))?( 0 ):( len )) ;
Executed by:
  • ls
  • vdir
44
5496 len
executed 44 times by 2 tests: return ((( 0 )>( len ))?( 0 ):( len )) ;
Executed by:
  • ls
  • vdir
44
5497 ))?(
executed 44 times by 2 tests: return ((( 0 )>( len ))?( 0 ):( len )) ;
Executed by:
  • ls
  • vdir
44
5498 0
executed 44 times by 2 tests: return ((( 0 )>( len ))?( 0 ):( len )) ;
Executed by:
  • ls
  • vdir
44
5499 ):(
executed 44 times by 2 tests: return ((( 0 )>( len ))?( 0 ):( len )) ;
Executed by:
  • ls
  • vdir
44
5500 len
executed 44 times by 2 tests: return ((( 0 )>( len ))?( 0 ):( len )) ;
Executed by:
  • ls
  • vdir
44
5501 ))
executed 44 times by 2 tests: return ((( 0 )>( len ))?( 0 ):( len )) ;
Executed by:
  • ls
  • vdir
44
5502 ;
executed 44 times by 2 tests: return ((( 0 )>( len ))?( 0 ):( len )) ;
Executed by:
  • ls
  • vdir
44
5503 }-
5504 else-
5505 {-
5506 char buf[((((((sizeof (id) * 8) - (! ((__typeof__ (id)) 0 < (__typeof__ (id)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (id)) 0 < (__typeof__ (id)) -1))) + 1)];-
5507 sprintf (buf, "%lu", id);-
5508 return
executed 34 times by 1 test: return strlen (buf);
Executed by:
  • ls
strlen (buf);
executed 34 times by 1 test: return strlen (buf);
Executed by:
  • ls
34
5509 }-
5510}-
5511-
5512-
5513-
5514static int-
5515format_user_width (uid_t u)-
5516{-
5517 return
executed 40 times by 2 tests: return format_user_or_group_width (numeric_ids ? ((void *)0) : getuser (u), u);
Executed by:
  • ls
  • vdir
format_user_or_group_width (numeric_ids ?
executed 40 times by 2 tests: return format_user_or_group_width (numeric_ids ? ((void *)0) : getuser (u), u);
Executed by:
  • ls
  • vdir
40
5518 ((void *)0)
executed 40 times by 2 tests: return format_user_or_group_width (numeric_ids ? ((void *)0) : getuser (u), u);
Executed by:
  • ls
  • vdir
40
5519 : getuser (u), u);
executed 40 times by 2 tests: return format_user_or_group_width (numeric_ids ? ((void *)0) : getuser (u), u);
Executed by:
  • ls
  • vdir
40
5520}-
5521-
5522-
5523-
5524static int-
5525format_group_width (gid_t g)-
5526{-
5527 return
executed 38 times by 2 tests: return format_user_or_group_width (numeric_ids ? ((void *)0) : getgroup (g), g);
Executed by:
  • ls
  • vdir
format_user_or_group_width (numeric_ids ?
executed 38 times by 2 tests: return format_user_or_group_width (numeric_ids ? ((void *)0) : getgroup (g), g);
Executed by:
  • ls
  • vdir
38
5528 ((void *)0)
executed 38 times by 2 tests: return format_user_or_group_width (numeric_ids ? ((void *)0) : getgroup (g), g);
Executed by:
  • ls
  • vdir
38
5529 : getgroup (g), g);
executed 38 times by 2 tests: return format_user_or_group_width (numeric_ids ? ((void *)0) : getgroup (g), g);
Executed by:
  • ls
  • vdir
38
5530}-
5531-
5532-
5533-
5534-
5535static char *-
5536format_inode (char *buf, size_t buflen, const struct fileinfo *f)-
5537{-
5538 -
5539 ((-
5540 ((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1) <= buflen-
5541 ) ? (void) (0) : __assert_fail (-
5542 "INT_BUFSIZE_BOUND (uintmax_t) <= buflen"-
5543 , "src/ls.c", 4009, __PRETTY_FUNCTION__))-
5544 ;-
5545 return
never executed: return (f->stat_ok && f->stat.st_ino != NOT_AN_INODE_NUMBER ? umaxtostr (f->stat.st_ino, buf) : (char *) "?");
(f->stat_ok && f->stat.st_ino != NOT_AN_INODE_NUMBER
never executed: return (f->stat_ok && f->stat.st_ino != NOT_AN_INODE_NUMBER ? umaxtostr (f->stat.st_ino, buf) : (char *) "?");
0
5546 ? umaxtostr (f->stat.st_ino, buf)
never executed: return (f->stat_ok && f->stat.st_ino != NOT_AN_INODE_NUMBER ? umaxtostr (f->stat.st_ino, buf) : (char *) "?");
0
5547 : (char *) "?");
never executed: return (f->stat_ok && f->stat.st_ino != NOT_AN_INODE_NUMBER ? umaxtostr (f->stat.st_ino, buf) : (char *) "?");
0
5548}-
5549-
5550-
5551static void-
5552print_long_format (const struct fileinfo *f)-
5553{-
5554 char modebuf[12];-
5555 char buf-
5556 [((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
5557 16 -
5558 + 1) - -
5559 16 -
5560 + 1 + 3) + 1-
5561 + ((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
5562 16 -
5563 + 1) - -
5564 16 -
5565 + 1 + 3) + 1-
5566 + sizeof (modebuf) - 1 + 1-
5567 + ((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)-
5568 + ((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
5569 16 -
5570 + 1) - -
5571 16 -
5572 + 1 + 3) + 2-
5573 + ((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
5574 16 -
5575 + 1) - -
5576 16 -
5577 + 1 + 3) + 1-
5578 + TIME_STAMP_LEN_MAXIMUM + 1-
5579 ];-
5580 size_t s;-
5581 char *p;-
5582 struct timespec when_timespec;-
5583 struct tm when_local;-
5584-
5585-
5586-
5587 if (f->stat_ok
f->stat_okDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
)
0-160
5588 filemodestring (&f->stat, modebuf);
executed 160 times by 2 tests: filemodestring (&f->stat, modebuf);
Executed by:
  • ls
  • vdir
160
5589 else-
5590 {-
5591 modebuf[0] = filetype_letter[f->filetype];-
5592 memset (modebuf + 1, '?', 10);-
5593 modebuf[11] = '\0';-
5594 }
never executed: end of block
0
5595 if (! any_has_acl
! any_has_aclDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
)
0-160
5596 modebuf[10] = '\0';
executed 160 times by 2 tests: modebuf[10] = '\0';
Executed by:
  • ls
  • vdir
160
5597 else if (f->acl_type == ACL_T_LSM_CONTEXT_ONLY
f->acl_type ==...M_CONTEXT_ONLYDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
5598 modebuf[10] = '.';
never executed: modebuf[10] = '.';
0
5599 else if (f->acl_type == ACL_T_YES
f->acl_type == ACL_T_YESDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
5600 modebuf[10] = '+';
never executed: modebuf[10] = '+';
0
5601-
5602 switch (time_type)-
5603 {-
5604 case
never executed: case time_ctime:
time_ctime:
never executed: case time_ctime:
0
5605 when_timespec = get_stat_ctime (&f->stat);-
5606 break;
never executed: break;
0
5607 case
executed 159 times by 2 tests: case time_mtime:
Executed by:
  • ls
  • vdir
time_mtime:
executed 159 times by 2 tests: case time_mtime:
Executed by:
  • ls
  • vdir
159
5608 when_timespec = get_stat_mtime (&f->stat);-
5609 break;
executed 159 times by 2 tests: break;
Executed by:
  • ls
  • vdir
159
5610 case
executed 1 time by 1 test: case time_atime:
Executed by:
  • ls
time_atime:
executed 1 time by 1 test: case time_atime:
Executed by:
  • ls
1
5611 when_timespec = get_stat_atime (&f->stat);-
5612 break;
executed 1 time by 1 test: break;
Executed by:
  • ls
1
5613 default
never executed: default:
:
never executed: default:
0
5614 abort ();
never executed: abort ();
0
5615 }-
5616-
5617 p = buf;-
5618-
5619 if (print_inode
print_inodeDescription
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-160
5620 {-
5621 char hbuf[((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)];-
5622 sprintf (p, "%*s ", inode_number_width,-
5623 format_inode (hbuf, sizeof hbuf, f));-
5624-
5625-
5626 p += strlen (p);-
5627 }
never executed: end of block
0
5628-
5629 if (print_block_size
print_block_sizeDescription
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-160
5630 {-
5631 char hbuf[((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
5632 16 -
5633 + 1) - -
5634 16 -
5635 + 1 + 3) + 1];-
5636 char const *blocks =-
5637 (! f->stat_ok
! f->stat_okDescription
TRUEnever evaluated
FALSEnever evaluated
0
5638 ? "?"-
5639 : human_readable (((f->stat).st_blocks), hbuf, human_output_opts,-
5640 -
5641 512-
5642 , output_block_size));-
5643 int pad;-
5644 for (pad = block_size_width - gnu_mbswidth (blocks, 0); 0 < pad
0 < padDescription
TRUEnever evaluated
FALSEnever evaluated
; pad--)
0
5645 *
never executed: *p++ = ' ';
p++ = ' ';
never executed: *p++ = ' ';
0
5646 while ((*
(*p++ = *blocks++)Description
TRUEnever evaluated
FALSEnever evaluated
p++ = *blocks++)
(*p++ = *blocks++)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
5647 continue;
never executed: continue;
0
5648 p[-1] = ' ';-
5649 }
never executed: end of block
0
5650-
5651-
5652-
5653 {-
5654 char hbuf[((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)];-
5655 sprintf (p, "%s %*s ", modebuf, nlink_width,-
5656 ! f->stat_ok ? "?" : umaxtostr (f->stat.st_nlink, hbuf));-
5657 }-
5658-
5659-
5660-
5661 p += strlen (p);-
5662-
5663 do { if (dired
diredDescription
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
) do {fputs_unlocked (" ",
0-160
5664 stdout-
5665 ); dired_pos += sizeof (" ") - 1;}
never executed: end of block
while (0); } while (0);
0
5666-
5667 if (print_owner
print_ownerDescription
TRUEevaluated 40 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 120 times by 1 test
Evaluated by:
  • ls
|| print_group
print_groupDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 114 times by 1 test
Evaluated by:
  • ls
|| print_author
print_authorDescription
TRUEnever evaluated
FALSEevaluated 114 times by 1 test
Evaluated by:
  • ls
|| print_scontext
print_scontextDescription
TRUEnever evaluated
FALSEevaluated 114 times by 1 test
Evaluated by:
  • ls
)
0-120
5668 {-
5669 do {fputs_unlocked (buf,-
5670 stdout-
5671 ); dired_pos += p - buf;} while (0);-
5672-
5673 if (print_owner
print_ownerDescription
TRUEevaluated 40 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 6 times by 1 test
Evaluated by:
  • ls
)
6-40
5674 format_user (f->stat.st_uid, owner_width, f->stat_ok);
executed 40 times by 2 tests: format_user (f->stat.st_uid, owner_width, f->stat_ok);
Executed by:
  • ls
  • vdir
40
5675-
5676 if (print_group
print_groupDescription
TRUEevaluated 38 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
)
8-38
5677 format_group (f->stat.st_gid, group_width, f->stat_ok);
executed 38 times by 2 tests: format_group (f->stat.st_gid, group_width, f->stat_ok);
Executed by:
  • ls
  • vdir
38
5678-
5679 if (print_author
print_authorDescription
TRUEnever evaluated
FALSEevaluated 46 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-46
5680 format_user (f->stat.st_uid, author_width, f->stat_ok);
never executed: format_user (f->stat.st_uid, author_width, f->stat_ok);
0
5681-
5682 if (print_scontext
print_scontextDescription
TRUEnever evaluated
FALSEevaluated 46 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-46
5683 format_user_or_group (f->scontext, 0, scontext_width);
never executed: format_user_or_group (f->scontext, 0, scontext_width);
0
5684-
5685 p = buf;-
5686 }
executed 46 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
46
5687-
5688 if (f->stat_ok
f->stat_okDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
0-160
5689 && (-
5690 ((((
(((( f->stat.s... == (0020000))Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
5691 f->stat.st_mode
(((( f->stat.s... == (0020000))Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
5692 )) & 0170000) == (0020000))
(((( f->stat.s... == (0020000))Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
5693 || -
5694 ((((
(((( f->stat.s... == (0060000))Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
5695 f->stat.st_mode
(((( f->stat.s... == (0060000))Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
5696 )) & 0170000) == (0060000))
(((( f->stat.s... == (0060000))Description
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
5697 ))-
5698 {-
5699 char majorbuf[((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)];-
5700 char minorbuf[((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)];-
5701 int blanks_width = (file_size_width-
5702 - (major_device_number_width + 2-
5703 + minor_device_number_width));-
5704 sprintf (p, "%*s, %*s ",-
5705 major_device_number_width + -
5706 (((-
5707 0-
5708 )>(-
5709 blanks_width-
5710 ))?(-
5711 0-
5712 ):(-
5713 blanks_width-
5714 ))-
5715 ,-
5716 umaxtostr (-
5717 gnu_dev_major (-
5718 f->stat.st_rdev-
5719 )-
5720 , majorbuf),-
5721 minor_device_number_width,-
5722 umaxtostr (-
5723 gnu_dev_minor (-
5724 f->stat.st_rdev-
5725 )-
5726 , minorbuf));-
5727 p += file_size_width + 1;-
5728 }
never executed: end of block
0
5729 else-
5730 {-
5731 char hbuf[((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
5732 16 -
5733 + 1) - -
5734 16 -
5735 + 1 + 3) + 1];-
5736 char const *size =-
5737 (! f->stat_ok
! f->stat_okDescription
TRUEnever evaluated
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
0-160
5738 ? "?"-
5739 : human_readable (unsigned_file_size (f->stat.st_size),-
5740 hbuf, file_human_output_opts, 1,-
5741 file_output_block_size));-
5742 int pad;-
5743 for (pad = file_size_width - gnu_mbswidth (size, 0); 0 < pad
0 < padDescription
TRUEevaluated 30 times by 1 test
Evaluated by:
  • vdir
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
; pad--)
30-160
5744 *
executed 30 times by 1 test: *p++ = ' ';
Executed by:
  • vdir
p++ = ' ';
executed 30 times by 1 test: *p++ = ' ';
Executed by:
  • vdir
30
5745 while ((*
(*p++ = *size++)Description
TRUEevaluated 523 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
p++ = *size++)
(*p++ = *size++)Description
TRUEevaluated 523 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
160-523
5746 continue;
executed 523 times by 2 tests: continue;
Executed by:
  • ls
  • vdir
523
5747 p[-1] = ' ';-
5748 }
executed 160 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
160
5749-
5750 s = 0;-
5751 *p = '\1';-
5752-
5753 if (f->stat_ok
f->stat_okDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
&& localtime_rz (localtz, &when_timespec.tv_sec, &when_local)
localtime_rz (..., &when_local)Description
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
)
0-160
5754 {-
5755 struct timespec six_months_ago;-
5756 -
5757 _Bool -
5758 recent;-
5759-
5760-
5761-
5762-
5763 if (timespec_cmp (current_time, when_timespec) < 0
timespec_cmp (..._timespec) < 0Description
TRUEevaluated 147 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 13 times by 1 test
Evaluated by:
  • vdir
)
13-147
5764 gettime (&current_time);
executed 147 times by 2 tests: gettime (&current_time);
Executed by:
  • ls
  • vdir
147
5765-
5766-
5767-
5768-
5769-
5770 six_months_ago.tv_sec = current_time.tv_sec - 31556952 / 2;-
5771 six_months_ago.tv_nsec = current_time.tv_nsec;-
5772-
5773 recent = (timespec_cmp (six_months_ago, when_timespec) < 0
timespec_cmp (..._timespec) < 0Description
TRUEevaluated 156 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
4-156
5774 && (
(timespec_cmp ...ent_time) < 0)Description
TRUEevaluated 156 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
timespec_cmp (when_timespec, current_time) < 0)
(timespec_cmp ...ent_time) < 0)Description
TRUEevaluated 156 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
);
0-156
5775-
5776-
5777-
5778 s = align_nstrftime (p, TIME_STAMP_LEN_MAXIMUM + 1, recent,-
5779 &when_local, localtz, when_timespec.tv_nsec);-
5780 }
executed 160 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
160
5781-
5782 if (s
sDescription
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
|| !*p
!*pDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-160
5783 {-
5784 p += s;-
5785 *p++ = ' ';-
5786-
5787-
5788 *p = '\0';-
5789 }
executed 160 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
160
5790 else-
5791 {-
5792-
5793-
5794 char hbuf[((((((sizeof (intmax_t) * 8) - (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) + 1)];-
5795 sprintf (p, "%*s ", long_time_expected_width (),-
5796 (! f->stat_ok-
5797 ? "?"-
5798 : timetostr (when_timespec.tv_sec, hbuf)));-
5799-
5800 p += strlen (p);-
5801 }
never executed: end of block
0
5802-
5803 do {fputs_unlocked (buf,-
5804 stdout-
5805 ); dired_pos += p - buf;} while (0);-
5806 size_t w = print_name_with_quoting (f, -
5807 0-
5808 , &dired_obstack, p - buf);-
5809-
5810 if (f->filetype == symbolic_link
f->filetype == symbolic_linkDescription
TRUEevaluated 13 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 147 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
13-147
5811 {-
5812 if (f->linkname
f->linknameDescription
TRUEevaluated 13 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEnever evaluated
)
0-13
5813 {-
5814 do {fputs_unlocked (" -> ",-
5815 stdout-
5816 ); dired_pos += sizeof (" -> ") - 1;} while (0);-
5817 print_name_with_quoting (f, -
5818 1-
5819 , -
5820 ((void *)0)-
5821 , (p - buf) + w + 4);-
5822 if (indicator_style != none
indicator_style != noneDescription
TRUEnever evaluated
FALSEevaluated 13 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-13
5823 print_type_indicator (
never executed: print_type_indicator ( 1 , f->linkmode, unknown);
0
5824 1
never executed: print_type_indicator ( 1 , f->linkmode, unknown);
0
5825 , f->linkmode, unknown);
never executed: print_type_indicator ( 1 , f->linkmode, unknown);
0
5826 }
executed 13 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
13
5827 }
executed 13 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
13
5828 else if (indicator_style != none
indicator_style != noneDescription
TRUEnever evaluated
FALSEevaluated 147 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
0-147
5829 print_type_indicator (f->stat_ok, f->stat.st_mode, f->filetype);
never executed: print_type_indicator (f->stat_ok, f->stat.st_mode, f->filetype);
0
5830}
executed 160 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
160
5831static size_t-
5832quote_name_buf (char **inbuf, size_t bufsize, char *name,-
5833 struct quoting_options const *options,-
5834 int needs_general_quoting, size_t *width, -
5835 _Bool -
5836 *pad)-
5837{-
5838 char *buf = *inbuf;-
5839 size_t displayed_width ;-
5840 size_t len = 0;-
5841 -
5842 _Bool -
5843 quoted;-
5844-
5845 enum quoting_style qs = get_quoting_style (options);-
5846 -
5847 _Bool -
5848 needs_further_quoting = qmark_funny_chars
qmark_funny_charsDescription
TRUEevaluated 18 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1162 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
18-1162
5849 && (qs == shell_quoting_style
qs == shell_quoting_styleDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 16 times by 1 test
Evaluated by:
  • ls
2-16
5850 || qs == shell_always_quoting_style
qs == shell_al..._quoting_styleDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 14 times by 1 test
Evaluated by:
  • ls
2-14
5851 || qs == literal_quoting_style
qs == literal_quoting_styleDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
);
4-10
5852-
5853 if (needs_general_quoting != 0
needs_general_quoting != 0Description
TRUEevaluated 1180 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEnever evaluated
)
0-1180
5854 {-
5855 len = quotearg_buffer (buf, bufsize, name, -1, options);-
5856 if (bufsize <= len
bufsize <= lenDescription
TRUEnever evaluated
FALSEevaluated 1180 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1180
5857 {-
5858 buf = xmalloc (len + 1);-
5859 quotearg_buffer (buf, len + 1, name, -1, options);-
5860 }
never executed: end of block
0
5861-
5862 quoted = (*
(*name != *buf)Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1156 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
name != *buf)
(*name != *buf)Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1156 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
|| strlen (name) != len
strlen (name) != lenDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1152 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
;
4-1156
5863 }
executed 1180 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
1180
5864 else if (needs_further_quoting
needs_further_quotingDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
5865 {-
5866 len = strlen (name);-
5867 if (bufsize <= len
bufsize <= lenDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
5868 buf = xmalloc (len + 1);
never executed: buf = xmalloc (len + 1);
0
5869 memcpy (buf, name, len + 1);-
5870-
5871 quoted = -
5872 0-
5873 ;-
5874 }
never executed: end of block
0
5875 else-
5876 {-
5877 len = strlen (name);-
5878 buf = name;-
5879 quoted = -
5880 0-
5881 ;-
5882 }
never executed: end of block
0
5883-
5884 if (needs_further_quoting
needs_further_quotingDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1172 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
8-1172
5885 {-
5886 if (-
5887 (
(__ctype_get_m...ur_max ()) > 1Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
__ctype_get_mb_cur_max ())
(__ctype_get_m...ur_max ()) > 1Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
0-8
5888 > 1
(__ctype_get_m...ur_max ()) > 1Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
)
0-8
5889 {-
5890 char const *p = buf;-
5891 char const *plimit = buf + len;-
5892 char *q = buf;-
5893 displayed_width = 0;-
5894-
5895 while (p < plimit
p < plimitDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
5896 switch (*p)-
5897 {-
5898 case
never executed: case ' ':
' ':
never executed: case ' ':
case
never executed: case '!':
'!':
never executed: case '!':
case
never executed: case '"':
'"':
never executed: case '"':
case
never executed: case '#':
'#':
never executed: case '#':
case
never executed: case '%':
'%':
never executed: case '%':
0
5899 case
never executed: case '&':
'&':
never executed: case '&':
case
never executed: case '\'':
'\'':
never executed: case '\'':
case
never executed: case '(':
'(':
never executed: case '(':
case
never executed: case ')':
')':
never executed: case ')':
case
never executed: case '*':
'*':
never executed: case '*':
0
5900 case
never executed: case '+':
'+':
never executed: case '+':
case
never executed: case ',':
',':
never executed: case ',':
case
never executed: case '-':
'-':
never executed: case '-':
case
never executed: case '.':
'.':
never executed: case '.':
case
never executed: case '/':
'/':
never executed: case '/':
0
5901 case
never executed: case '0':
'0':
never executed: case '0':
case
never executed: case '1':
'1':
never executed: case '1':
case
never executed: case '2':
'2':
never executed: case '2':
case
never executed: case '3':
'3':
never executed: case '3':
case
never executed: case '4':
'4':
never executed: case '4':
0
5902 case
never executed: case '5':
'5':
never executed: case '5':
case
never executed: case '6':
'6':
never executed: case '6':
case
never executed: case '7':
'7':
never executed: case '7':
case
never executed: case '8':
'8':
never executed: case '8':
case
never executed: case '9':
'9':
never executed: case '9':
0
5903 case
never executed: case ':':
':':
never executed: case ':':
case
never executed: case ';':
';':
never executed: case ';':
case
never executed: case '<':
'<':
never executed: case '<':
case
never executed: case '=':
'=':
never executed: case '=':
case
never executed: case '>':
'>':
never executed: case '>':
0
5904 case
never executed: case '?':
'?':
never executed: case '?':
0
5905 case
never executed: case 'A':
'A':
never executed: case 'A':
case
never executed: case 'B':
'B':
never executed: case 'B':
case
never executed: case 'C':
'C':
never executed: case 'C':
case
never executed: case 'D':
'D':
never executed: case 'D':
case
never executed: case 'E':
'E':
never executed: case 'E':
0
5906 case
never executed: case 'F':
'F':
never executed: case 'F':
case
never executed: case 'G':
'G':
never executed: case 'G':
case
never executed: case 'H':
'H':
never executed: case 'H':
case
never executed: case 'I':
'I':
never executed: case 'I':
case
never executed: case 'J':
'J':
never executed: case 'J':
0
5907 case
never executed: case 'K':
'K':
never executed: case 'K':
case
never executed: case 'L':
'L':
never executed: case 'L':
case
never executed: case 'M':
'M':
never executed: case 'M':
case
never executed: case 'N':
'N':
never executed: case 'N':
case
never executed: case 'O':
'O':
never executed: case 'O':
0
5908 case
never executed: case 'P':
'P':
never executed: case 'P':
case
never executed: case 'Q':
'Q':
never executed: case 'Q':
case
never executed: case 'R':
'R':
never executed: case 'R':
case
never executed: case 'S':
'S':
never executed: case 'S':
case
never executed: case 'T':
'T':
never executed: case 'T':
0
5909 case
never executed: case 'U':
'U':
never executed: case 'U':
case
never executed: case 'V':
'V':
never executed: case 'V':
case
never executed: case 'W':
'W':
never executed: case 'W':
case
never executed: case 'X':
'X':
never executed: case 'X':
case
never executed: case 'Y':
'Y':
never executed: case 'Y':
0
5910 case
never executed: case 'Z':
'Z':
never executed: case 'Z':
0
5911 case
never executed: case '[':
'[':
never executed: case '[':
case
never executed: case '\\':
'\\':
never executed: case '\\':
case
never executed: case ']':
']':
never executed: case ']':
case
never executed: case '^':
'^':
never executed: case '^':
case
never executed: case '_':
'_':
never executed: case '_':
0
5912 case
never executed: case 'a':
'a':
never executed: case 'a':
case
never executed: case 'b':
'b':
never executed: case 'b':
case
never executed: case 'c':
'c':
never executed: case 'c':
case
never executed: case 'd':
'd':
never executed: case 'd':
case
never executed: case 'e':
'e':
never executed: case 'e':
0
5913 case
never executed: case 'f':
'f':
never executed: case 'f':
case
never executed: case 'g':
'g':
never executed: case 'g':
case
never executed: case 'h':
'h':
never executed: case 'h':
case
never executed: case 'i':
'i':
never executed: case 'i':
case
never executed: case 'j':
'j':
never executed: case 'j':
0
5914 case
never executed: case 'k':
'k':
never executed: case 'k':
case
never executed: case 'l':
'l':
never executed: case 'l':
case
never executed: case 'm':
'm':
never executed: case 'm':
case
never executed: case 'n':
'n':
never executed: case 'n':
case
never executed: case 'o':
'o':
never executed: case 'o':
0
5915 case
never executed: case 'p':
'p':
never executed: case 'p':
case
never executed: case 'q':
'q':
never executed: case 'q':
case
never executed: case 'r':
'r':
never executed: case 'r':
case
never executed: case 's':
's':
never executed: case 's':
case
never executed: case 't':
't':
never executed: case 't':
0
5916 case
never executed: case 'u':
'u':
never executed: case 'u':
case
never executed: case 'v':
'v':
never executed: case 'v':
case
never executed: case 'w':
'w':
never executed: case 'w':
case
never executed: case 'x':
'x':
never executed: case 'x':
case
never executed: case 'y':
'y':
never executed: case 'y':
0
5917 case
never executed: case 'z':
'z':
never executed: case 'z':
case
never executed: case '{':
'{':
never executed: case '{':
case
never executed: case '|':
'|':
never executed: case '|':
case
never executed: case '}':
'}':
never executed: case '}':
case
never executed: case '~':
'~':
never executed: case '~':
0
5918-
5919 *q++ = *p++;-
5920 displayed_width += 1;-
5921 break;
never executed: break;
0
5922 default
never executed: default:
:
never executed: default:
0
5923-
5924-
5925-
5926 {-
5927 mbstate_t mbstate = { 0, };-
5928 do-
5929 {-
5930 wchar_t wc;-
5931 size_t bytes;-
5932 int w;-
5933-
5934 bytes = -
5935 rpl_mbrtowc -
5936 (&wc, p, plimit - p, &mbstate);-
5937-
5938 if (bytes == (size_t) -1
bytes == (size_t) -1Description
TRUEnever evaluated
FALSEnever evaluated
)
0
5939 {-
5940-
5941-
5942-
5943 p++;-
5944 *q++ = '?';-
5945 displayed_width += 1;-
5946 break;
never executed: break;
0
5947 }-
5948-
5949 if (bytes == (size_t) -2
bytes == (size_t) -2Description
TRUEnever evaluated
FALSEnever evaluated
)
0
5950 {-
5951-
5952-
5953-
5954 p = plimit;-
5955 *q++ = '?';-
5956 displayed_width += 1;-
5957 break;
never executed: break;
0
5958 }-
5959-
5960 if (bytes == 0
bytes == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
5961-
5962 bytes = 1;
never executed: bytes = 1;
0
5963-
5964 w = wcwidth (wc);-
5965 if (w >= 0
w >= 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
5966 {-
5967-
5968-
5969 for (; bytes > 0
bytes > 0Description
TRUEnever evaluated
FALSEnever evaluated
; --bytes)
0
5970 *
never executed: *q++ = *p++;
q++ = *p++;
never executed: *q++ = *p++;
0
5971 displayed_width += w;-
5972 }
never executed: end of block
0
5973 else-
5974 {-
5975-
5976-
5977-
5978 p += bytes;-
5979 *q++ = '?';-
5980 displayed_width += 1;-
5981 }
never executed: end of block
0
5982 }-
5983 while (! mbsinit (&mbstate)
! mbsinit (&mbstate)Description
TRUEnever evaluated
FALSEnever evaluated
);
0
5984 }-
5985 break;
never executed: break;
0
5986 }-
5987-
5988-
5989 len = q - buf;-
5990 }
never executed: end of block
0
5991 else-
5992 {-
5993 char *p = buf;-
5994 char const *plimit = buf + len;-
5995-
5996 while (p < plimit
p < plimitDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
)
8-20
5997 {-
5998 if (!
! ((*__ctype_b...int) _ISprint)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 12 times by 1 test
Evaluated by:
  • ls
8-12
5999 ((*__ctype_b_loc ())[(int) ((
! ((*__ctype_b...int) _ISprint)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 12 times by 1 test
Evaluated by:
  • ls
8-12
6000 to_uchar (*p)
! ((*__ctype_b...int) _ISprint)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 12 times by 1 test
Evaluated by:
  • ls
8-12
6001 ))] & (unsigned short int) _ISprint)
! ((*__ctype_b...int) _ISprint)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 12 times by 1 test
Evaluated by:
  • ls
8-12
6002 )-
6003 *
executed 8 times by 1 test: *p = '?';
Executed by:
  • ls
p = '?';
executed 8 times by 1 test: *p = '?';
Executed by:
  • ls
8
6004 p++;-
6005 }
executed 20 times by 1 test: end of block
Executed by:
  • ls
20
6006 displayed_width = len;-
6007 }
executed 8 times by 1 test: end of block
Executed by:
  • ls
8
6008 }-
6009 else if (width !=
width != ((void *)0)Description
TRUEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 1150 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
22-1150
6010 ((void *)0)
width != ((void *)0)Description
TRUEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 1150 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
22-1150
6011 )-
6012 {-
6013 if (-
6014 (
(__ctype_get_m...ur_max ()) > 1Description
TRUEnever evaluated
FALSEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
__ctype_get_mb_cur_max ())
(__ctype_get_m...ur_max ()) > 1Description
TRUEnever evaluated
FALSEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
0-22
6015 > 1
(__ctype_get_m...ur_max ()) > 1Description
TRUEnever evaluated
FALSEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-22
6016 displayed_width = mbsnwidth (buf, len, 0);
never executed: displayed_width = mbsnwidth (buf, len, 0);
0
6017 else-
6018 {-
6019 char const *p = buf;-
6020 char const *plimit = buf + len;-
6021-
6022 displayed_width = 0;-
6023 while (p < plimit
p < plimitDescription
TRUEevaluated 126 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
)
22-126
6024 {-
6025 if (-
6026 ((*
((*__ctype_b_l...int) _ISprint)Description
TRUEevaluated 126 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEnever evaluated
__ctype_b_loc ())[(int) ((
((*__ctype_b_l...int) _ISprint)Description
TRUEevaluated 126 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEnever evaluated
0-126
6027 to_uchar (*p)
((*__ctype_b_l...int) _ISprint)Description
TRUEevaluated 126 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEnever evaluated
0-126
6028 ))] & (unsigned short int) _ISprint)
((*__ctype_b_l...int) _ISprint)Description
TRUEevaluated 126 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEnever evaluated
0-126
6029 )-
6030 displayed_width++;
executed 126 times by 2 tests: displayed_width++;
Executed by:
  • dir
  • ls
126
6031 p++;-
6032 }
executed 126 times by 2 tests: end of block
Executed by:
  • dir
  • ls
126
6033 }
executed 22 times by 2 tests: end of block
Executed by:
  • dir
  • ls
22
6034 }-
6035-
6036-
6037-
6038-
6039 *pad = (align_variable_outer_quotes
align_variable_outer_quotesDescription
TRUEnever evaluated
FALSEevaluated 1180 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
&& cwd_some_quoted
cwd_some_quotedDescription
TRUEnever evaluated
FALSEnever evaluated
&& ! quoted
! quotedDescription
TRUEnever evaluated
FALSEnever evaluated
);
0-1180
6040-
6041 if (width !=
width != ((void *)0)Description
TRUEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 1158 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
22-1158
6042 ((void *)0)
width != ((void *)0)Description
TRUEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 1158 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
22-1158
6043 )-
6044 *
executed 22 times by 2 tests: *width = displayed_width;
Executed by:
  • dir
  • ls
width = displayed_width;
executed 22 times by 2 tests: *width = displayed_width;
Executed by:
  • dir
  • ls
22
6045-
6046 *inbuf = buf;-
6047-
6048 return
executed 1180 times by 3 tests: return len;
Executed by:
  • dir
  • ls
  • vdir
len;
executed 1180 times by 3 tests: return len;
Executed by:
  • dir
  • ls
  • vdir
1180
6049}-
6050-
6051static size_t-
6052quote_name_width (const char *name, struct quoting_options const *options,-
6053 int needs_general_quoting)-
6054{-
6055 char smallbuf[-
6056 8192-
6057 ];-
6058 char *buf = smallbuf;-
6059 size_t width;-
6060 -
6061 _Bool -
6062 pad;-
6063-
6064 quote_name_buf (&buf, sizeof smallbuf, (char *) name, options,-
6065 needs_general_quoting, &width, &pad);-
6066-
6067 if (buf != smallbuf
buf != smallbufDescription
TRUEnever evaluated
FALSEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
&& buf != name
buf != nameDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-22
6068 free (buf);
never executed: free (buf);
0
6069-
6070 width += pad;-
6071-
6072 return
executed 22 times by 2 tests: return width;
Executed by:
  • dir
  • ls
width;
executed 22 times by 2 tests: return width;
Executed by:
  • dir
  • ls
22
6073}-
6074-
6075-
6076-
6077static char *-
6078file_escape (const char *str, -
6079 _Bool -
6080 path)-
6081{-
6082 char *esc = xnmalloc (3, strlen (str) + 1);-
6083 char *p = esc;-
6084 while (*
*strDescription
TRUEnever evaluated
FALSEnever evaluated
str
*strDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
6085 {-
6086 if (path
pathDescription
TRUEnever evaluated
FALSEnever evaluated
&& ((*
((*str) == '/')Description
TRUEnever evaluated
FALSEnever evaluated
str) == '/')
((*str) == '/')Description
TRUEnever evaluated
FALSEnever evaluated
)
0
6087 {-
6088 *p++ = '/';-
6089 str++;-
6090 }
never executed: end of block
0
6091 else if (RFC3986[to_uchar (*str)]
RFC3986[to_uchar (*str)]Description
TRUEnever evaluated
FALSEnever evaluated
)
0
6092 *
never executed: *p++ = *str++;
p++ = *str++;
never executed: *p++ = *str++;
0
6093 else-
6094 p += sprintf (p, "%%%02x", to_uchar (*str++));
never executed: p += sprintf (p, "%%%02x", to_uchar (*str++));
0
6095 }-
6096 *p = '\0';-
6097 return
never executed: return esc;
esc;
never executed: return esc;
0
6098}-
6099-
6100static size_t-
6101quote_name (char const *name, struct quoting_options const *options,-
6102 int needs_general_quoting, const struct bin_str *color,-
6103 -
6104 _Bool -
6105 allow_pad, struct obstack *stack, char const *absolute_name)-
6106{-
6107 char smallbuf[-
6108 8192-
6109 ];-
6110 char *buf = smallbuf;-
6111 size_t len;-
6112 -
6113 _Bool -
6114 pad;-
6115-
6116 len = quote_name_buf (&buf, sizeof smallbuf, (char *) name, options,-
6117 needs_general_quoting, -
6118 ((void *)0)-
6119 , &pad);-
6120-
6121 if (pad
padDescription
TRUEnever evaluated
FALSEevaluated 1158 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
&& allow_pad
allow_padDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-1158
6122 do {putchar_unlocked ((' ')); ++dired_pos;}
never executed: end of block
while (0);
0
6123-
6124 if (color
colorDescription
TRUEevaluated 38 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1120 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
38-1120
6125 print_color_indicator (color);
executed 38 times by 1 test: print_color_indicator (color);
Executed by:
  • ls
38
6126-
6127-
6128-
6129 -
6130 _Bool -
6131 skip_quotes = -
6132 0-
6133 ;-
6134-
6135 if (absolute_name
absolute_nameDescription
TRUEnever evaluated
FALSEevaluated 1158 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1158
6136 {-
6137 if (align_variable_outer_quotes
align_variable_outer_quotesDescription
TRUEnever evaluated
FALSEnever evaluated
&& cwd_some_quoted
cwd_some_quotedDescription
TRUEnever evaluated
FALSEnever evaluated
&& ! pad
! padDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
6138 {-
6139 skip_quotes = -
6140 1-
6141 ;-
6142 putchar_unlocked (*buf);-
6143 }
never executed: end of block
0
6144 char *h = file_escape (hostname, -
6145 0-
6146 );-
6147 char *n = file_escape (absolute_name, -
6148 1-
6149 );-
6150-
6151-
6152-
6153-
6154-
6155 printf ("\033]8;;file://%s%s%s\a", h, *n == '/' ? "" : "/", n);-
6156 free (h);-
6157 free (n);-
6158 }
never executed: end of block
0
6159-
6160 if (stack
stackDescription
TRUEevaluated 178 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 980 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
178-980
6161 do { if (dired
diredDescription
TRUEnever evaluated
FALSEevaluated 178 times by 2 tests
Evaluated by:
  • ls
  • vdir
) __extension__ ({ struct obstack *__o = (stack); size_t __len = (sizeof (dired_pos)); if (__extension__ ({ struct obstack const *__o1 = (__o); (size_t) (__o1->chunk_limit - __o1->next_free); }) < __len
__extension__ ...e); }) < __lenDescription
TRUEnever evaluated
FALSEnever evaluated
) _obstack_newchunk (__o, __len);
never executed: _obstack_newchunk (__o, __len);
memcpy (__o->next_free, &dired_pos, __len); __o->next_free += __len; (void) 0; });
never executed: __extension__ ({ struct obstack *__o = (stack); size_t __len = (sizeof (dired_pos)); if (__extension__ ({ struct obstack const *__o1 = (__o); (size_t) (__o1->chunk_limit - __o1->next_free); }) < __len) _obstack_newchunk (__o, __len); memcpy (__o->next_free, &dired_pos, __len); __o->next_free += __len; (void) 0; });
}
executed 178 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
while (0);
0-178
6162-
6163 -
6164 (__extension__ ((__builtin_constant_p (-
6165 1-
6166 ) && __builtin_constant_p (-
6167 len - (skip_quotes * 2)-
6168 ) && (size_t) (-
6169 1-
6170 ) * (size_t) (-
6171 len - (skip_quotes * 2)-
6172 ) <= 8 && (size_t) (-
6173 1-
6174 ) != 0) ? ({ const char *__ptr = (const char *) (-
6175 buf + skip_quotes-
6176 ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) (-
6177 1-
6178 ) * (size_t) (-
6179 len - (skip_quotes * 2)-
6180 ); __cnt > 0
__cnt > 0Description
TRUEnever evaluated
FALSEnever evaluated
; --__cnt) if ((
(__builtin_exp...r++))) == (-1)Description
TRUEnever evaluated
FALSEnever evaluated
__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0)
__builtin_expe...write_end), 0)Description
TRUEnever evaluated
FALSEnever evaluated
? __overflow (__stream, (unsigned char) (*__ptr++)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (*__ptr++))) == (-1)
(__builtin_exp...r++))) == (-1)Description
TRUEnever evaluated
FALSEnever evaluated
) break;
never executed: break;
((size_t) (
0
6181 1-
6182 ) * (size_t) (-
6183 len - (skip_quotes * 2)-
6184 ) - __cnt) / (size_t) (-
6185 1-
6186 ); }) : (((__builtin_constant_p (-
6187 1-
6188 ) && (size_t) (-
6189 1-
6190 ) == 0) || (__builtin_constant_p (-
6191 len - (skip_quotes * 2)-
6192 ) && (size_t) (-
6193 len - (skip_quotes * 2)-
6194 ) == 0)) ? ((void) (-
6195 buf + skip_quotes-
6196 ), (void) (stdout), (void) (-
6197 1-
6198 ), (void) (-
6199 len - (skip_quotes * 2)-
6200 ), (size_t) 0) : fwrite_unlocked (-
6201 buf + skip_quotes-
6202 , -
6203 1-
6204 , -
6205 len - (skip_quotes * 2)-
6206 , stdout))))-
6207 ;-
6208-
6209 dired_pos += len;-
6210-
6211 if (stack
stackDescription
TRUEevaluated 178 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 980 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
178-980
6212 do { if (dired
diredDescription
TRUEnever evaluated
FALSEevaluated 178 times by 2 tests
Evaluated by:
  • ls
  • vdir
) __extension__ ({ struct obstack *__o = (stack); size_t __len = (sizeof (dired_pos)); if (__extension__ ({ struct obstack const *__o1 = (__o); (size_t) (__o1->chunk_limit - __o1->next_free); }) < __len
__extension__ ...e); }) < __lenDescription
TRUEnever evaluated
FALSEnever evaluated
) _obstack_newchunk (__o, __len);
never executed: _obstack_newchunk (__o, __len);
memcpy (__o->next_free, &dired_pos, __len); __o->next_free += __len; (void) 0; });
never executed: __extension__ ({ struct obstack *__o = (stack); size_t __len = (sizeof (dired_pos)); if (__extension__ ({ struct obstack const *__o1 = (__o); (size_t) (__o1->chunk_limit - __o1->next_free); }) < __len) _obstack_newchunk (__o, __len); memcpy (__o->next_free, &dired_pos, __len); __o->next_free += __len; (void) 0; });
}
executed 178 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
while (0);
0-178
6213-
6214 if (absolute_name
absolute_nameDescription
TRUEnever evaluated
FALSEevaluated 1158 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
0-1158
6215 {-
6216 fputs_unlocked ("\033]8;;\a",-
6217 stdout-
6218 );-
6219 if (skip_quotes
skip_quotesDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
6220 putchar_unlocked (*(buf + len - 1));
never executed: putchar_unlocked (*(buf + len - 1));
0
6221 }
never executed: end of block
0
6222-
6223 if (buf != smallbuf
buf != smallbufDescription
TRUEnever evaluated
FALSEevaluated 1158 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
&& buf != name
buf != nameDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-1158
6224 free (buf);
never executed: free (buf);
0
6225-
6226 return
executed 1158 times by 3 tests: return len + pad;
Executed by:
  • dir
  • ls
  • vdir
len + pad;
executed 1158 times by 3 tests: return len + pad;
Executed by:
  • dir
  • ls
  • vdir
1158
6227}-
6228-
6229static size_t-
6230print_name_with_quoting (const struct fileinfo *f,-
6231 -
6232 _Bool -
6233 symlink_target,-
6234 struct obstack *stack,-
6235 size_t start_col)-
6236{-
6237 const char* name = symlink_target
symlink_targetDescription
TRUEevaluated 13 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 1127 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
? f->linkname : f->name;
13-1127
6238-
6239 const struct bin_str *color = print_with_color
print_with_colorDescription
TRUEevaluated 44 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1096 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
?
44-1096
6240 get_color_indicator (f, symlink_target) : -
6241 ((void *)0)-
6242 ;-
6243-
6244 -
6245 _Bool -
6246 used_color_this_time = (print_with_color
print_with_colorDescription
TRUEevaluated 44 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1096 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
44-1096
6247 && (color
colorDescription
TRUEevaluated 38 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 6 times by 1 test
Evaluated by:
  • ls
|| is_colored (C_NORM)
is_colored (C_NORM)Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • ls
));
0-38
6248-
6249 size_t len = quote_name (name, filename_quoting_options, f->quoted,-
6250 color, !symlink_target, stack, f->absolute_name);-
6251-
6252 process_signals ();-
6253 if (used_color_this_time
used_color_this_timeDescription
TRUEevaluated 38 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 1102 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
)
38-1102
6254 {-
6255 prep_non_filename_text ();-
6256-
6257-
6258-
6259-
6260-
6261-
6262-
6263 if (line_length
line_lengthDescription
TRUEevaluated 38 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-38
6264 && (
(start_col / l.../ line_length)Description
TRUEnever evaluated
FALSEevaluated 38 times by 1 test
Evaluated by:
  • ls
start_col / line_length != (start_col + len - 1) / line_length)
(start_col / l.../ line_length)Description
TRUEnever evaluated
FALSEevaluated 38 times by 1 test
Evaluated by:
  • ls
)
0-38
6265 put_indicator (&color_indicator[C_CLR_TO_EOL]);
never executed: put_indicator (&color_indicator[C_CLR_TO_EOL]);
0
6266 }
executed 38 times by 1 test: end of block
Executed by:
  • ls
38
6267-
6268 return
executed 1140 times by 3 tests: return len;
Executed by:
  • dir
  • ls
  • vdir
len;
executed 1140 times by 3 tests: return len;
Executed by:
  • dir
  • ls
  • vdir
1140
6269}-
6270-
6271static void-
6272prep_non_filename_text (void)-
6273{-
6274 if (color_indicator[C_END].string !=
color_indicato...!= ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 62 times by 1 test
Evaluated by:
  • ls
0-62
6275 ((void *)0)
color_indicato...!= ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 62 times by 1 test
Evaluated by:
  • ls
0-62
6276 )-
6277 put_indicator (&color_indicator[C_END]);
never executed: put_indicator (&color_indicator[C_END]);
0
6278 else-
6279 {-
6280 put_indicator (&color_indicator[C_LEFT]);-
6281 put_indicator (&color_indicator[C_RESET]);-
6282 put_indicator (&color_indicator[C_RIGHT]);-
6283 }
executed 62 times by 1 test: end of block
Executed by:
  • ls
62
6284}-
6285-
6286-
6287-
6288-
6289-
6290static size_t-
6291print_file_name_and_frills (const struct fileinfo *f, size_t start_col)-
6292{-
6293 char buf[-
6294 (((-
6295 ((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
6296 16 -
6297 + 1) - -
6298 16 -
6299 + 1 + 3) + 1-
6300 )>(-
6301 ((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)-
6302 ))?(-
6303 ((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
6304 16 -
6305 + 1) - -
6306 16 -
6307 + 1 + 3) + 1-
6308 ):(-
6309 ((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)-
6310 ))-
6311 ];-
6312-
6313 set_normal_color ();-
6314-
6315 if (print_inode
print_inodeDescription
TRUEnever evaluated
FALSEevaluated 967 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-967
6316 printf ("%*s ", format == with_commas ? 0 : inode_number_width,
never executed: printf ("%*s ", format == with_commas ? 0 : inode_number_width, format_inode (buf, sizeof buf, f));
0
6317 format_inode (buf, sizeof buf, f));
never executed: printf ("%*s ", format == with_commas ? 0 : inode_number_width, format_inode (buf, sizeof buf, f));
0
6318-
6319 if (print_block_size
print_block_sizeDescription
TRUEnever evaluated
FALSEevaluated 967 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-967
6320 printf ("%*s ", format == with_commas ? 0 : block_size_width,
never executed: printf ("%*s ", format == with_commas ? 0 : block_size_width, ! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size));
0
6321 ! f->stat_ok ? "?"
never executed: printf ("%*s ", format == with_commas ? 0 : block_size_width, ! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size));
0
6322 : human_readable (((f->stat).st_blocks), buf, human_output_opts,
never executed: printf ("%*s ", format == with_commas ? 0 : block_size_width, ! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size));
0
6323
never executed: printf ("%*s ", format == with_commas ? 0 : block_size_width, ! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size));
0
6324 512
never executed: printf ("%*s ", format == with_commas ? 0 : block_size_width, ! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size));
0
6325 , output_block_size));
never executed: printf ("%*s ", format == with_commas ? 0 : block_size_width, ! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size));
0
6326-
6327 if (print_scontext
print_scontextDescription
TRUEnever evaluated
FALSEevaluated 967 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-967
6328 printf ("%*s ", format == with_commas ? 0 : scontext_width, f->scontext);
never executed: printf ("%*s ", format == with_commas ? 0 : scontext_width, f->scontext);
0
6329-
6330 size_t width = print_name_with_quoting (f, -
6331 0-
6332 , -
6333 ((void *)0)-
6334 , start_col);-
6335-
6336 if (indicator_style != none
indicator_style != noneDescription
TRUEevaluated 14 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 953 times by 2 tests
Evaluated by:
  • dir
  • ls
)
14-953
6337 width += print_type_indicator (f->stat_ok, f->stat.st_mode, f->filetype);
executed 14 times by 1 test: width += print_type_indicator (f->stat_ok, f->stat.st_mode, f->filetype);
Executed by:
  • ls
14
6338-
6339 return
executed 967 times by 2 tests: return width;
Executed by:
  • dir
  • ls
width;
executed 967 times by 2 tests: return width;
Executed by:
  • dir
  • ls
967
6340}-
6341-
6342-
6343-
6344static char-
6345get_type_indicator (-
6346 _Bool -
6347 stat_ok, mode_t mode, enum filetype type)-
6348{-
6349 char c;-
6350-
6351 if (stat_ok
stat_okDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
?
stat_ok ? ((((...type == normalDescription
TRUEnever evaluated
FALSEevaluated 14 times by 1 test
Evaluated by:
  • ls
0-14
6352 ((((
stat_ok ? ((((...type == normalDescription
TRUEnever evaluated
FALSEevaluated 14 times by 1 test
Evaluated by:
  • ls
0-14
6353 mode
stat_ok ? ((((...type == normalDescription
TRUEnever evaluated
FALSEevaluated 14 times by 1 test
Evaluated by:
  • ls
0-14
6354 )) & 0170000) == (0100000))
stat_ok ? ((((...type == normalDescription
TRUEnever evaluated
FALSEevaluated 14 times by 1 test
Evaluated by:
  • ls
0-14
6355 : type == normal
stat_ok ? ((((...type == normalDescription
TRUEnever evaluated
FALSEevaluated 14 times by 1 test
Evaluated by:
  • ls
)
0-14
6356 {-
6357 if (stat_ok
stat_okDescription
TRUEnever evaluated
FALSEnever evaluated
&& indicator_style == classify
indicator_style == classifyDescription
TRUEnever evaluated
FALSEnever evaluated
&& (
(mode & (0100 ...>> 3) >> 3)) )Description
TRUEnever evaluated
FALSEnever evaluated
mode &
(mode & (0100 ...>> 3) >> 3)) )Description
TRUEnever evaluated
FALSEnever evaluated
0
6358 (0100 | (0100 >> 3) | ((0100 >> 3) >> 3))
(mode & (0100 ...>> 3) >> 3)) )Description
TRUEnever evaluated
FALSEnever evaluated
0
6359 )
(mode & (0100 ...>> 3) >> 3)) )Description
TRUEnever evaluated
FALSEnever evaluated
)
0
6360 c = '*';
never executed: c = '*';
0
6361 else-
6362 c = 0;
never executed: c = 0;
0
6363 }-
6364 else-
6365 {-
6366 if (stat_ok
stat_okDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
?
stat_ok ? ((((... arg_directoryDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
2-12
6367 ((((
stat_ok ? ((((... arg_directoryDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
4-10
6368 mode
stat_ok ? ((((... arg_directoryDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
4-10
6369 )) & 0170000) == (0040000))
stat_ok ? ((((... arg_directoryDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
4-10
6370 : type == directory
type == directoryDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
|| type == arg_directory
type == arg_directoryDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
stat_ok ? ((((... arg_directoryDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
)
0-10
6371 c = '/';
executed 4 times by 1 test: c = '/';
Executed by:
  • ls
4
6372 else if (indicator_style == slash
indicator_style == slashDescription
TRUEnever evaluated
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
)
0-10
6373 c = 0;
never executed: c = 0;
0
6374 else if (stat_ok
stat_okDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
?
stat_ok ? ((((... symbolic_linkDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
6375 ((((
stat_ok ? ((((... symbolic_linkDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
6376 mode
stat_ok ? ((((... symbolic_linkDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
6377 )) & 0170000) == (0120000))
stat_ok ? ((((... symbolic_linkDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-10
6378 : type == symbolic_link
stat_ok ? ((((... symbolic_linkDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-10
6379 c = '@';
executed 10 times by 1 test: c = '@';
Executed by:
  • ls
10
6380 else if (stat_ok
stat_okDescription
TRUEnever evaluated
FALSEnever evaluated
?
stat_ok ? ((((...: type == fifoDescription
TRUEnever evaluated
FALSEnever evaluated
0
6381 ((((
stat_ok ? ((((...: type == fifoDescription
TRUEnever evaluated
FALSEnever evaluated
0
6382 mode
stat_ok ? ((((...: type == fifoDescription
TRUEnever evaluated
FALSEnever evaluated
0
6383 )) & 0170000) == (0010000))
stat_ok ? ((((...: type == fifoDescription
TRUEnever evaluated
FALSEnever evaluated
0
6384 : type == fifo
stat_ok ? ((((...: type == fifoDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
6385 c = '|';
never executed: c = '|';
0
6386 else if (stat_ok
stat_okDescription
TRUEnever evaluated
FALSEnever evaluated
?
stat_ok ? ((((...: type == sockDescription
TRUEnever evaluated
FALSEnever evaluated
0
6387 ((((
stat_ok ? ((((...: type == sockDescription
TRUEnever evaluated
FALSEnever evaluated
0
6388 mode
stat_ok ? ((((...: type == sockDescription
TRUEnever evaluated
FALSEnever evaluated
0
6389 )) & 0170000) == (0140000))
stat_ok ? ((((...: type == sockDescription
TRUEnever evaluated
FALSEnever evaluated
0
6390 : type == sock
stat_ok ? ((((...: type == sockDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
6391 c = '=';
never executed: c = '=';
0
6392 else if (stat_ok
stat_okDescription
TRUEnever evaluated
FALSEnever evaluated
&&
0
6393 0
0Description
TRUEnever evaluated
FALSEnever evaluated
0
6394 )-
6395 c = '>';
dead code: c = '>';
-
6396 else-
6397 c = 0;
never executed: c = 0;
0
6398 }-
6399 return
executed 14 times by 1 test: return c;
Executed by:
  • ls
c;
executed 14 times by 1 test: return c;
Executed by:
  • ls
14
6400}-
6401-
6402static -
6403 _Bool-
6404-
6405print_type_indicator (-
6406 _Bool -
6407 stat_ok, mode_t mode, enum filetype type)-
6408{-
6409 char c = get_type_indicator (stat_ok, mode, type);-
6410 if (c
cDescription
TRUEevaluated 14 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-14
6411 do {putchar_unlocked ((c)); ++dired_pos;}
executed 14 times by 1 test: end of block
Executed by:
  • ls
while (0);
14
6412 return
executed 14 times by 1 test: return !!c;
Executed by:
  • ls
!!c;
executed 14 times by 1 test: return !!c;
Executed by:
  • ls
14
6413}-
6414-
6415-
6416static -
6417 _Bool-
6418-
6419print_color_indicator (const struct bin_str *ind)-
6420{-
6421 if (ind
indDescription
TRUEevaluated 38 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-38
6422 {-
6423-
6424 if (is_colored (C_NORM)
is_colored (C_NORM)Description
TRUEnever evaluated
FALSEevaluated 38 times by 1 test
Evaluated by:
  • ls
)
0-38
6425 restore_default_color ();
never executed: restore_default_color ();
0
6426 put_indicator (&color_indicator[C_LEFT]);-
6427 put_indicator (ind);-
6428 put_indicator (&color_indicator[C_RIGHT]);-
6429 }
executed 38 times by 1 test: end of block
Executed by:
  • ls
38
6430-
6431 return
executed 38 times by 1 test: return ind != ((void *)0) ;
Executed by:
  • ls
ind !=
executed 38 times by 1 test: return ind != ((void *)0) ;
Executed by:
  • ls
38
6432 ((void *)0)
executed 38 times by 1 test: return ind != ((void *)0) ;
Executed by:
  • ls
38
6433 ;
executed 38 times by 1 test: return ind != ((void *)0) ;
Executed by:
  • ls
38
6434}-
6435-
6436-
6437static const struct bin_str* __attribute__ ((__pure__))-
6438get_color_indicator (const struct fileinfo *f, -
6439 _Bool -
6440 symlink_target)-
6441{-
6442 enum indicator_no type;-
6443 struct color_ext_type *ext;-
6444 size_t len;-
6445-
6446 const char* name;-
6447 mode_t mode;-
6448 int linkok;-
6449 if (symlink_target
symlink_targetDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 36 times by 1 test
Evaluated by:
  • ls
)
8-36
6450 {-
6451 name = f->linkname;-
6452 mode = f->linkmode;-
6453 linkok = f->linkok
f->linkokDescription
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
? 0 : -1;
0-8
6454 }
executed 8 times by 1 test: end of block
Executed by:
  • ls
8
6455 else-
6456 {-
6457 name = f->name;-
6458 mode = ((color_symlink_as_referent
color_symlink_as_referentDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 26 times by 1 test
Evaluated by:
  • ls
&& (
(f)->linkokDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
f)->linkok
(f)->linkokDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 8 times by 1 test
Evaluated by:
  • ls
) ? (f)->linkmode : (f)->stat.st_mode);
2-26
6459 linkok = f->linkok;-
6460 }
executed 36 times by 1 test: end of block
Executed by:
  • ls
36
6461-
6462-
6463-
6464 if (linkok == -1
linkok == -1Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 36 times by 1 test
Evaluated by:
  • ls
&& is_colored (C_MISSING)
is_colored (C_MISSING)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
)
2-36
6465 type = C_MISSING;
executed 6 times by 1 test: type = C_MISSING;
Executed by:
  • ls
6
6466 else if (!f->stat_ok
!f->stat_okDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 34 times by 1 test
Evaluated by:
  • ls
)
4-34
6467 {-
6468 static enum indicator_no filetype_indicator[] = { C_ORPHAN, C_FIFO, C_CHR, C_DIR, C_BLK, C_FILE, C_LINK, C_SOCK, C_FILE, C_DIR };-
6469 type = filetype_indicator[f->filetype];-
6470 }
executed 4 times by 1 test: end of block
Executed by:
  • ls
4
6471 else-
6472 {-
6473 if (-
6474 ((((
(((( mode )) &... == (0100000))Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 28 times by 1 test
Evaluated by:
  • ls
6-28
6475 mode
(((( mode )) &... == (0100000))Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 28 times by 1 test
Evaluated by:
  • ls
6-28
6476 )) & 0170000) == (0100000))
(((( mode )) &... == (0100000))Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 28 times by 1 test
Evaluated by:
  • ls
6-28
6477 )-
6478 {-
6479 type = C_FILE;-
6480-
6481 if ((
(mode & 04000 ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
mode &
(mode & 04000 ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
2-4
6482 04000
(mode & 04000 ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
2-4
6483 ) != 0
(mode & 04000 ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
&& is_colored (C_SETUID)
is_colored (C_SETUID)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-4
6484 type = C_SETUID;
executed 2 times by 1 test: type = C_SETUID;
Executed by:
  • ls
2
6485 else if ((
(mode & 02000 ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
mode &
(mode & 02000 ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
2
6486 02000
(mode & 02000 ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
2
6487 ) != 0
(mode & 02000 ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
&& is_colored (C_SETGID)
is_colored (C_SETGID)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-2
6488 type = C_SETGID;
executed 2 times by 1 test: type = C_SETGID;
Executed by:
  • ls
2
6489 else if (is_colored (C_CAP)
is_colored (C_CAP)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
&& f->has_capability
f->has_capabilityDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
)
0-2
6490 type = C_CAP;
never executed: type = C_CAP;
0
6491 else if ((
(mode & (0100 ... >> 3)) ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
mode &
(mode & (0100 ... >> 3)) ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-2
6492 (0100 | (0100 >> 3) | ((0100 >> 3) >> 3))
(mode & (0100 ... >> 3)) ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
0-2
6493 ) != 0
(mode & (0100 ... >> 3)) ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
&& is_colored (C_EXEC)
is_colored (C_EXEC)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-2
6494 type = C_EXEC;
executed 2 times by 1 test: type = C_EXEC;
Executed by:
  • ls
2
6495 else if ((
(1 < f->stat.st_nlink)Description
TRUEnever evaluated
FALSEnever evaluated
1 < f->stat.st_nlink)
(1 < f->stat.st_nlink)Description
TRUEnever evaluated
FALSEnever evaluated
&& is_colored (C_MULTIHARDLINK)
is_colored (C_MULTIHARDLINK)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
6496 type = C_MULTIHARDLINK;
never executed: type = C_MULTIHARDLINK;
0
6497 }
executed 6 times by 1 test: end of block
Executed by:
  • ls
6
6498 else if (-
6499 ((((
(((( mode )) &... == (0040000))Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 20 times by 1 test
Evaluated by:
  • ls
8-20
6500 mode
(((( mode )) &... == (0040000))Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 20 times by 1 test
Evaluated by:
  • ls
8-20
6501 )) & 0170000) == (0040000))
(((( mode )) &... == (0040000))Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 20 times by 1 test
Evaluated by:
  • ls
8-20
6502 )-
6503 {-
6504 type = C_DIR;-
6505-
6506 if ((
(mode & 01000 )Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
mode &
(mode & 01000 )Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
4
6507 01000
(mode & 01000 )Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
4
6508 )
(mode & 01000 )Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
&& (
(mode & ((0200 >> 3) >> 3) )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
mode &
(mode & ((0200 >> 3) >> 3) )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
2-4
6509 ((0200 >> 3) >> 3)
(mode & ((0200 >> 3) >> 3) )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
2
6510 )
(mode & ((0200 >> 3) >> 3) )Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
2
6511 && is_colored (C_STICKY_OTHER_WRITABLE)
is_colored (C_...THER_WRITABLE)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-2
6512 type = C_STICKY_OTHER_WRITABLE;
executed 2 times by 1 test: type = C_STICKY_OTHER_WRITABLE;
Executed by:
  • ls
2
6513 else if ((
(mode & ((0200...) >> 3) ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
mode &
(mode & ((0200...) >> 3) ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
2-4
6514 ((0200 >> 3) >> 3)
(mode & ((0200...) >> 3) ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
2-4
6515 ) != 0
(mode & ((0200...) >> 3) ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
&& is_colored (C_OTHER_WRITABLE)
is_colored (C_OTHER_WRITABLE)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-4
6516 type = C_OTHER_WRITABLE;
executed 2 times by 1 test: type = C_OTHER_WRITABLE;
Executed by:
  • ls
2
6517 else if ((
(mode & 01000 ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
mode &
(mode & 01000 ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
2
6518 01000
(mode & 01000 ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
2
6519 ) != 0
(mode & 01000 ) != 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
&& is_colored (C_STICKY)
is_colored (C_STICKY)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-2
6520 type = C_STICKY;
executed 2 times by 1 test: type = C_STICKY;
Executed by:
  • ls
2
6521 }
executed 8 times by 1 test: end of block
Executed by:
  • ls
8
6522 else if (-
6523 ((((
(((( mode )) &... == (0120000))Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
2-18
6524 mode
(((( mode )) &... == (0120000))Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
2-18
6525 )) & 0170000) == (0120000))
(((( mode )) &... == (0120000))Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
2-18
6526 )-
6527 type = C_LINK;
executed 18 times by 1 test: type = C_LINK;
Executed by:
  • ls
18
6528 else if (-
6529 ((((
(((( mode )) &... == (0010000))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-2
6530 mode
(((( mode )) &... == (0010000))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-2
6531 )) & 0170000) == (0010000))
(((( mode )) &... == (0010000))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-2
6532 )-
6533 type = C_FIFO;
never executed: type = C_FIFO;
0
6534 else if (-
6535 ((((
(((( mode )) &... == (0140000))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-2
6536 mode
(((( mode )) &... == (0140000))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-2
6537 )) & 0170000) == (0140000))
(((( mode )) &... == (0140000))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-2
6538 )-
6539 type = C_SOCK;
never executed: type = C_SOCK;
0
6540 else if (-
6541 ((((
(((( mode )) &... == (0060000))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-2
6542 mode
(((( mode )) &... == (0060000))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-2
6543 )) & 0170000) == (0060000))
(((( mode )) &... == (0060000))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-2
6544 )-
6545 type = C_BLK;
never executed: type = C_BLK;
0
6546 else if (-
6547 ((((
(((( mode )) &... == (0020000))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-2
6548 mode
(((( mode )) &... == (0020000))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-2
6549 )) & 0170000) == (0020000))
(((( mode )) &... == (0020000))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • ls
0-2
6550 )-
6551 type = C_CHR;
never executed: type = C_CHR;
0
6552 else if (-
6553 0-
6554 )-
6555 type = C_DOOR;
dead code: type = C_DOOR;
-
6556 else-
6557 {-
6558-
6559 type = C_ORPHAN;-
6560 }
executed 2 times by 1 test: end of block
Executed by:
  • ls
2
6561 }-
6562-
6563-
6564 ext = -
6565 ((void *)0)-
6566 ;-
6567 if (type == C_FILE
type == C_FILEDescription
TRUEnever evaluated
FALSEevaluated 44 times by 1 test
Evaluated by:
  • ls
)
0-44
6568 {-
6569-
6570-
6571 len = strlen (name);-
6572 name += len;-
6573 for (ext = color_ext_list; ext !=
ext != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6574 ((void *)0)
ext != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6575 ; ext = ext->next)-
6576 {-
6577 if (ext->ext.len <= len
ext->ext.len <= lenDescription
TRUEnever evaluated
FALSEnever evaluated
0
6578 && (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6579 (__extension__ (__builtin_constant_p (
__builtin_cons...ext->ext.len )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6580 ext->ext.len
__builtin_cons...ext->ext.len )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6581 )
__builtin_cons...ext->ext.len )Description
TRUEnever evaluated
FALSEnever evaluated
&& ((__builtin_constant_p (
__builtin_cons...ext->ext.len )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6582 name - ext->ext.len
__builtin_cons...ext->ext.len )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6583 )
__builtin_cons...ext->ext.len )Description
TRUEnever evaluated
FALSEnever evaluated
&& strlen (
strlen ( name ...xt->ext.len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6584 name - ext->ext.len
strlen ( name ...xt->ext.len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6585 ) < ((size_t) (
strlen ( name ...xt->ext.len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6586 ext->ext.len
strlen ( name ...xt->ext.len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6587 ))
strlen ( name ...xt->ext.len ))Description
TRUEnever evaluated
FALSEnever evaluated
) || (__builtin_constant_p (
__builtin_cons...->ext.string )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6588 ext->ext.string
__builtin_cons...->ext.string )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6589 )
__builtin_cons...->ext.string )Description
TRUEnever evaluated
FALSEnever evaluated
&& strlen (
strlen ( ext->...xt->ext.len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6590 ext->ext.string
strlen ( ext->...xt->ext.len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6591 ) < ((size_t) (
strlen ( ext->...xt->ext.len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6592 ext->ext.len
strlen ( ext->...xt->ext.len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6593 ))
strlen ( ext->...xt->ext.len ))Description
TRUEnever evaluated
FALSEnever evaluated
)) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6594 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6595 ) && __builtin_constant_p (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6596 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6597 ) && (__s1_len = __builtin_strlen (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6598 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6599 ), __s2_len = __builtin_strlen (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6600 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6601 ), (!((size_t)(const void *)((
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6602 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6603 ) + 1) - (size_t)(const void *)(
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6604 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6605 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6606 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6607 ) + 1) - (size_t)(const void *)(
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6608 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6609 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6610 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6611 ,
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6612 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6613 ) : (__builtin_constant_p (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6614 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6615 ) && ((size_t)(const void *)((
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6616 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6617 ) + 1) - (size_t)(const void *)(
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6618 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6619 ) == 1) && (__s1_len = __builtin_strlen (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6620 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6621 ), __s1_len < 4) ? (__builtin_constant_p (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6622 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6623 ) && ((size_t)(const void *)((
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6624 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6625 ) + 1) - (size_t)(const void *)(
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6626 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6627 ) == 1) ? __builtin_strcmp (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6628 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6629 ,
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6630 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6631 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6632 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6633 ); int __result = (((const unsigned char *) (const char *) (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6634 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6635 ))[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....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6636 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6637 ))[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....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6638 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6639 ))[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 - ext->ext.len ))[3] - __s2[3]);
0
6640 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( name - ext->ext.len ))[3] - __s2[3]);
0
6641 ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6642 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6643 ) && ((size_t)(const void *)((
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6644 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6645 ) + 1) - (size_t)(const void *)(
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6646 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6647 ) == 1) && (__s2_len = __builtin_strlen (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6648 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6649 ), __s2_len < 4) ? (__builtin_constant_p (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6650 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6651 ) && ((size_t)(const void *)((
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6652 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6653 ) + 1) - (size_t)(const void *)(
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6654 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6655 ) == 1) ? __builtin_strcmp (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6656 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6657 ,
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6658 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6659 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6660 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6661 ); int __result = (((const unsigned char *) (const char *) (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6662 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6663 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6664 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6665 ))[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....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6666 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6667 ))[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 *) ( ext->ext.string ))[3] - __s2[3]);
0
6668 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( ext->ext.string ))[3] - __s2[3]);
0
6669 ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6670 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6671 ,
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6672 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6673 )))); }) : strncmp (
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6674 name - ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6675 ,
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6676 ext->ext.string
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6677 ,
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6678 ext->ext.len
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6679 )))
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6680 == 0)
( (__extension....len ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
6681 )-
6682 break;
never executed: break;
0
6683 }
never executed: end of block
0
6684 }
never executed: end of block
0
6685-
6686-
6687 if (type == C_LINK
type == C_LINKDescription
TRUEevaluated 22 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 22 times by 1 test
Evaluated by:
  • ls
&& !linkok
!linkokDescription
TRUEevaluated 18 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 4 times by 1 test
Evaluated by:
  • ls
)
4-22
6688 {-
6689 if (color_symlink_as_referent
color_symlink_as_referentDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
|| is_colored (C_ORPHAN)
is_colored (C_ORPHAN)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 6 times by 1 test
Evaluated by:
  • ls
)
4-10
6690 type = C_ORPHAN;
executed 12 times by 1 test: type = C_ORPHAN;
Executed by:
  • ls
12
6691 }
executed 18 times by 1 test: end of block
Executed by:
  • ls
18
6692-
6693 const struct bin_str *const s-
6694 = ext
extDescription
TRUEnever evaluated
FALSEevaluated 44 times by 1 test
Evaluated by:
  • ls
? &(ext->seq) : &color_indicator[type];
0-44
6695-
6696 return
executed 44 times by 1 test: return s->string ? s : ((void *)0) ;
Executed by:
  • ls
s->string ? s :
executed 44 times by 1 test: return s->string ? s : ((void *)0) ;
Executed by:
  • ls
44
6697 ((void *)0)
executed 44 times by 1 test: return s->string ? s : ((void *)0) ;
Executed by:
  • ls
44
6698 ;
executed 44 times by 1 test: return s->string ? s : ((void *)0) ;
Executed by:
  • ls
44
6699}-
6700-
6701-
6702static void-
6703put_indicator (const struct bin_str *ind)-
6704{-
6705 if (! used_color
! used_colorDescription
TRUEevaluated 24 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 276 times by 1 test
Evaluated by:
  • ls
)
24-276
6706 {-
6707 used_color = -
6708 1-
6709 ;-
6710-
6711-
6712-
6713-
6714-
6715 if (0 <= tcgetpgrp (
0 <= tcgetpgrp ( 1 )Description
TRUEnever evaluated
FALSEevaluated 24 times by 1 test
Evaluated by:
  • ls
0-24
6716 1
0 <= tcgetpgrp ( 1 )Description
TRUEnever evaluated
FALSEevaluated 24 times by 1 test
Evaluated by:
  • ls
0-24
6717 )
0 <= tcgetpgrp ( 1 )Description
TRUEnever evaluated
FALSEevaluated 24 times by 1 test
Evaluated by:
  • ls
)
0-24
6718 signal_init ();
never executed: signal_init ();
0
6719-
6720 prep_non_filename_text ();-
6721 }
executed 24 times by 1 test: end of block
Executed by:
  • ls
24
6722-
6723 -
6724 (__extension__ ((__builtin_constant_p (-
6725 ind->len-
6726 ) && __builtin_constant_p (-
6727 1-
6728 ) && (size_t) (-
6729 ind->len-
6730 ) * (size_t) (-
6731 1-
6732 ) <= 8 && (size_t) (-
6733 ind->len-
6734 ) != 0) ? ({ const char *__ptr = (const char *) (-
6735 ind->string-
6736 ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) (-
6737 ind->len-
6738 ) * (size_t) (-
6739 1-
6740 ); __cnt > 0
__cnt > 0Description
TRUEnever evaluated
FALSEnever evaluated
; --__cnt) if ((
(__builtin_exp...r++))) == (-1)Description
TRUEnever evaluated
FALSEnever evaluated
__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0)
__builtin_expe...write_end), 0)Description
TRUEnever evaluated
FALSEnever evaluated
? __overflow (__stream, (unsigned char) (*__ptr++)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (*__ptr++))) == (-1)
(__builtin_exp...r++))) == (-1)Description
TRUEnever evaluated
FALSEnever evaluated
) break;
never executed: break;
((size_t) (
0
6741 ind->len-
6742 ) * (size_t) (-
6743 1-
6744 ) - __cnt) / (size_t) (-
6745 ind->len-
6746 ); }) : (((__builtin_constant_p (-
6747 ind->len-
6748 ) && (size_t) (-
6749 ind->len-
6750 ) == 0) || (__builtin_constant_p (-
6751 1-
6752 ) && (size_t) (-
6753 1-
6754 ) == 0)) ? ((void) (-
6755 ind->string-
6756 ), (void) (stdout), (void) (-
6757 ind->len-
6758 ), (void) (-
6759 1-
6760 ), (size_t) 0) : fwrite_unlocked (-
6761 ind->string-
6762 , -
6763 ind->len-
6764 , -
6765 1-
6766 , stdout))))-
6767 ;-
6768}
executed 300 times by 1 test: end of block
Executed by:
  • ls
300
6769-
6770static size_t-
6771length_of_file_name_and_frills (const struct fileinfo *f)-
6772{-
6773 size_t len = 0;-
6774 char buf[-
6775 (((-
6776 ((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
6777 16 -
6778 + 1) - -
6779 16 -
6780 + 1 + 3) + 1-
6781 )>(-
6782 ((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)-
6783 ))?(-
6784 ((2 * sizeof (uintmax_t) * 8 * 146 / 485 + 1) * (-
6785 16 -
6786 + 1) - -
6787 16 -
6788 + 1 + 3) + 1-
6789 ):(-
6790 ((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)-
6791 ))-
6792 ];-
6793-
6794 if (print_inode
print_inodeDescription
TRUEnever evaluated
FALSEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-22
6795 len += 1 + (format == with_commas
format == with_commasDescription
TRUEnever evaluated
FALSEnever evaluated
never executed: len += 1 + (format == with_commas ? strlen (umaxtostr (f->stat.st_ino, buf)) : inode_number_width);
0
6796 ? strlen (umaxtostr (f->stat.st_ino, buf))
never executed: len += 1 + (format == with_commas ? strlen (umaxtostr (f->stat.st_ino, buf)) : inode_number_width);
0
6797 : inode_number_width);
never executed: len += 1 + (format == with_commas ? strlen (umaxtostr (f->stat.st_ino, buf)) : inode_number_width);
0
6798-
6799 if (print_block_size
print_block_sizeDescription
TRUEnever evaluated
FALSEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-22
6800 len += 1 + (format == with_commas
format == with_commasDescription
TRUEnever evaluated
FALSEnever evaluated
never executed: len += 1 + (format == with_commas ? strlen (! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size)) : block_size_width);
0
6801 ? strlen (! f->stat_ok ? "?"
never executed: len += 1 + (format == with_commas ? strlen (! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size)) : block_size_width);
0
6802 : human_readable (((f->stat).st_blocks), buf,
never executed: len += 1 + (format == with_commas ? strlen (! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size)) : block_size_width);
0
6803 human_output_opts,
never executed: len += 1 + (format == with_commas ? strlen (! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size)) : block_size_width);
0
6804 512
never executed: len += 1 + (format == with_commas ? strlen (! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size)) : block_size_width);
0
6805 ,
never executed: len += 1 + (format == with_commas ? strlen (! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size)) : block_size_width);
0
6806 output_block_size))
never executed: len += 1 + (format == with_commas ? strlen (! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size)) : block_size_width);
0
6807 : block_size_width);
never executed: len += 1 + (format == with_commas ? strlen (! f->stat_ok ? "?" : human_readable (((f->stat).st_blocks), buf, human_output_opts, 512 , output_block_size)) : block_size_width);
0
6808-
6809 if (print_scontext
print_scontextDescription
TRUEnever evaluated
FALSEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-22
6810 len += 1 + (format == with_commas
format == with_commasDescription
TRUEnever evaluated
FALSEnever evaluated
? strlen (f->scontext) : scontext_width);
never executed: len += 1 + (format == with_commas ? strlen (f->scontext) : scontext_width);
0
6811-
6812 len += quote_name_width (f->name, filename_quoting_options, f->quoted);-
6813-
6814 if (indicator_style != none
indicator_style != noneDescription
TRUEnever evaluated
FALSEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-22
6815 {-
6816 char c = get_type_indicator (f->stat_ok, f->stat.st_mode, f->filetype);-
6817 len += (c != 0);-
6818 }
never executed: end of block
0
6819-
6820 return
executed 22 times by 2 tests: return len;
Executed by:
  • dir
  • ls
len;
executed 22 times by 2 tests: return len;
Executed by:
  • dir
  • ls
22
6821}-
6822-
6823static void-
6824print_many_per_line (void)-
6825{-
6826 size_t row;-
6827 size_t cols = calculate_columns (-
6828 1-
6829 );-
6830 struct column_info const *line_fmt = &column_info[cols - 1];-
6831-
6832-
6833-
6834 size_t rows = cwd_n_used / cols + (cwd_n_used % cols != 0);-
6835-
6836 for (row = 0; row < rows
row < rowsDescription
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
; row++)
2
6837 {-
6838 size_t col = 0;-
6839 size_t filesno = row;-
6840 size_t pos = 0;-
6841-
6842-
6843 while (1)-
6844 {-
6845 struct fileinfo const *f = sorted_file[filesno];-
6846 size_t name_length = length_of_file_name_and_frills (f);-
6847 size_t max_name_length = line_fmt->col_arr[col++];-
6848 print_file_name_and_frills (f, pos);-
6849-
6850 filesno += rows;-
6851 if (filesno >= cwd_n_used
filesno >= cwd_n_usedDescription
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 9 times by 2 tests
Evaluated by:
  • dir
  • ls
)
2-9
6852 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • ls
2
6853-
6854 indent (pos + name_length, pos + max_name_length);-
6855 pos += max_name_length;-
6856 }
executed 9 times by 2 tests: end of block
Executed by:
  • dir
  • ls
9
6857 putchar_unlocked ('\n');-
6858 }
executed 2 times by 2 tests: end of block
Executed by:
  • dir
  • ls
2
6859}
executed 2 times by 2 tests: end of block
Executed by:
  • dir
  • ls
2
6860-
6861static void-
6862print_horizontal (void)-
6863{-
6864 size_t filesno;-
6865 size_t pos = 0;-
6866 size_t cols = calculate_columns (-
6867 0-
6868 );-
6869 struct column_info const *line_fmt = &column_info[cols - 1];-
6870 struct fileinfo const *f = sorted_file[0];-
6871 size_t name_length = length_of_file_name_and_frills (f);-
6872 size_t max_name_length = line_fmt->col_arr[0];-
6873-
6874-
6875 print_file_name_and_frills (f, 0);-
6876-
6877-
6878 for (filesno = 1; filesno < cwd_n_used
filesno < cwd_n_usedDescription
TRUEnever evaluated
FALSEnever evaluated
; ++filesno)
0
6879 {-
6880 size_t col = filesno % cols;-
6881-
6882 if (col == 0
col == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
6883 {-
6884 putchar_unlocked ('\n');-
6885 pos = 0;-
6886 }
never executed: end of block
0
6887 else-
6888 {-
6889 indent (pos + name_length, pos + max_name_length);-
6890 pos += max_name_length;-
6891 }
never executed: end of block
0
6892-
6893 f = sorted_file[filesno];-
6894 print_file_name_and_frills (f, pos);-
6895-
6896 name_length = length_of_file_name_and_frills (f);-
6897 max_name_length = line_fmt->col_arr[col];-
6898 }
never executed: end of block
0
6899 putchar_unlocked ('\n');-
6900}
never executed: end of block
0
6901-
6902-
6903-
6904static void-
6905print_with_separator (char sep)-
6906{-
6907 size_t filesno;-
6908 size_t pos = 0;-
6909-
6910 for (filesno = 0; filesno < cwd_n_used
filesno < cwd_n_usedDescription
TRUEnever evaluated
FALSEnever evaluated
; filesno++)
0
6911 {-
6912 struct fileinfo const *f = sorted_file[filesno];-
6913 size_t len = line_length
line_lengthDescription
TRUEnever evaluated
FALSEnever evaluated
? length_of_file_name_and_frills (f) : 0;
0
6914-
6915 if (filesno != 0
filesno != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
6916 {-
6917 char separator;-
6918-
6919 if (! line_length
! line_lengthDescription
TRUEnever evaluated
FALSEnever evaluated
0
6920 || ((
(pos + len + 2 < line_length)Description
TRUEnever evaluated
FALSEnever evaluated
pos + len + 2 < line_length)
(pos + len + 2 < line_length)Description
TRUEnever evaluated
FALSEnever evaluated
0
6921 && (
(pos <= (18446...UL) - len - 2)Description
TRUEnever evaluated
FALSEnever evaluated
pos <=
(pos <= (18446...UL) - len - 2)Description
TRUEnever evaluated
FALSEnever evaluated
0
6922 (18446744073709551615UL)
(pos <= (18446...UL) - len - 2)Description
TRUEnever evaluated
FALSEnever evaluated
0
6923 - len - 2)
(pos <= (18446...UL) - len - 2)Description
TRUEnever evaluated
FALSEnever evaluated
))
0
6924 {-
6925 pos += 2;-
6926 separator = ' ';-
6927 }
never executed: end of block
0
6928 else-
6929 {-
6930 pos = 0;-
6931 separator = '\n';-
6932 }
never executed: end of block
0
6933-
6934 putchar_unlocked (sep);-
6935 putchar_unlocked (separator);-
6936 }
never executed: end of block
0
6937-
6938 print_file_name_and_frills (f, pos);-
6939 pos += len;-
6940 }
never executed: end of block
0
6941 putchar_unlocked ('\n');-
6942}
never executed: end of block
0
6943-
6944-
6945-
6946-
6947static void-
6948indent (size_t from, size_t to)-
6949{-
6950 while (from < to
from < toDescription
TRUEevaluated 16 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 9 times by 2 tests
Evaluated by:
  • dir
  • ls
)
9-16
6951 {-
6952 if (tabsize != 0
tabsize != 0Description
TRUEevaluated 16 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEnever evaluated
&& to / tabsize > (from + 1) / tabsize
to / tabsize >...+ 1) / tabsizeDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • dir
FALSEevaluated 14 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-16
6953 {-
6954 putchar_unlocked ('\t');-
6955 from += tabsize - from % tabsize;-
6956 }
executed 2 times by 1 test: end of block
Executed by:
  • dir
2
6957 else-
6958 {-
6959 putchar_unlocked (' ');-
6960 from++;-
6961 }
executed 14 times by 2 tests: end of block
Executed by:
  • dir
  • ls
14
6962 }-
6963}
executed 9 times by 2 tests: end of block
Executed by:
  • dir
  • ls
9
6964-
6965-
6966-
6967-
6968-
6969static void-
6970attach (char *dest, const char *dirname, const char *name)-
6971{-
6972 const char *dirnamep = dirname;-
6973-
6974-
6975 if (dirname[0] != '.'
dirname[0] != '.'Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 14 times by 1 test
Evaluated by:
  • vdir
|| dirname[1] != 0
dirname[1] != 0Description
TRUEnever evaluated
FALSEevaluated 14 times by 1 test
Evaluated by:
  • vdir
)
0-14
6976 {-
6977 while (*
*dirnamepDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
dirnamep
*dirnamepDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEevaluated 10 times by 1 test
Evaluated by:
  • ls
)
10
6978 *
executed 10 times by 1 test: *dest++ = *dirnamep++;
Executed by:
  • ls
dest++ = *dirnamep++;
executed 10 times by 1 test: *dest++ = *dirnamep++;
Executed by:
  • ls
10
6979-
6980 if (dirnamep > dirname
dirnamep > dirnameDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
&& dirnamep[-1] != '/'
dirnamep[-1] != '/'Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • ls
FALSEnever evaluated
)
0-10
6981 *
executed 10 times by 1 test: *dest++ = '/';
Executed by:
  • ls
dest++ = '/';
executed 10 times by 1 test: *dest++ = '/';
Executed by:
  • ls
10
6982 }
executed 10 times by 1 test: end of block
Executed by:
  • ls
10
6983 while (*
*nameDescription
TRUEevaluated 110 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 24 times by 2 tests
Evaluated by:
  • ls
  • vdir
name
*nameDescription
TRUEevaluated 110 times by 2 tests
Evaluated by:
  • ls
  • vdir
FALSEevaluated 24 times by 2 tests
Evaluated by:
  • ls
  • vdir
)
24-110
6984 *
executed 110 times by 2 tests: *dest++ = *name++;
Executed by:
  • ls
  • vdir
dest++ = *name++;
executed 110 times by 2 tests: *dest++ = *name++;
Executed by:
  • ls
  • vdir
110
6985 *dest = 0;-
6986}
executed 24 times by 2 tests: end of block
Executed by:
  • ls
  • vdir
24
6987-
6988-
6989-
6990-
6991-
6992static void-
6993init_column_info (void)-
6994{-
6995 size_t i;-
6996 size_t max_cols = -
6997 (((
(( max_idx )<( cwd_n_used ))Description
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
0-2
6998 max_idx
(( max_idx )<( cwd_n_used ))Description
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
0-2
6999 )<(
(( max_idx )<( cwd_n_used ))Description
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
0-2
7000 cwd_n_used
(( max_idx )<( cwd_n_used ))Description
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
0-2
7001 ))
(( max_idx )<( cwd_n_used ))Description
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
?(
0-2
7002 max_idx-
7003 ):(-
7004 cwd_n_used-
7005 ))-
7006 ;-
7007-
7008-
7009 static size_t column_info_alloc;-
7010-
7011 if (column_info_alloc < max_cols
column_info_alloc < max_colsDescription
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEnever evaluated
)
0-2
7012 {-
7013 size_t new_column_info_alloc;-
7014 size_t *p;-
7015-
7016 if (max_cols < max_idx / 2
max_cols < max_idx / 2Description
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEnever evaluated
)
0-2
7017 {-
7018-
7019-
7020-
7021-
7022-
7023 column_info = xnrealloc (column_info, max_cols,-
7024 2 * sizeof *column_info);-
7025 new_column_info_alloc = 2 * max_cols;-
7026 }
executed 2 times by 2 tests: end of block
Executed by:
  • dir
  • ls
2
7027 else-
7028 {-
7029 column_info = xnrealloc (column_info, max_idx, sizeof *column_info);-
7030 new_column_info_alloc = max_idx;-
7031 }
never executed: end of block
0
7032-
7033-
7034-
7035-
7036-
7037 {-
7038 size_t column_info_growth = new_column_info_alloc - column_info_alloc;-
7039 size_t s = column_info_alloc + 1 + new_column_info_alloc;-
7040 size_t t = s * column_info_growth;-
7041 if (s < new_column_info_alloc
s < new_column_info_allocDescription
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
|| t / column_info_growth != s
t / column_info_growth != sDescription
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
)
0-2
7042 xalloc_die ();
never executed: xalloc_die ();
0
7043 p = xnmalloc (t / 2, sizeof *p);-
7044 }-
7045-
7046-
7047 for (i = column_info_alloc; i < new_column_info_alloc
i < new_column_info_allocDescription
TRUEevaluated 22 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
; i++)
2-22
7048 {-
7049 column_info[i].col_arr = p;-
7050 p += i + 1;-
7051 }
executed 22 times by 2 tests: end of block
Executed by:
  • dir
  • ls
22
7052-
7053 column_info_alloc = new_column_info_alloc;-
7054 }
executed 2 times by 2 tests: end of block
Executed by:
  • dir
  • ls
2
7055-
7056 for (i = 0; i < max_cols
i < max_colsDescription
TRUEevaluated 11 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
; ++i)
2-11
7057 {-
7058 size_t j;-
7059-
7060 column_info[i].valid_len = -
7061 1-
7062 ;-
7063 column_info[i].line_len = (i + 1) * 3;-
7064 for (j = 0; j <= i
j <= iDescription
TRUEevaluated 48 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 11 times by 2 tests
Evaluated by:
  • dir
  • ls
; ++j)
11-48
7065 column_info[i].col_arr[j] = 3;
executed 48 times by 2 tests: column_info[i].col_arr[j] = 3;
Executed by:
  • dir
  • ls
48
7066 }
executed 11 times by 2 tests: end of block
Executed by:
  • dir
  • ls
11
7067}
executed 2 times by 2 tests: end of block
Executed by:
  • dir
  • ls
2
7068-
7069-
7070-
7071-
7072static size_t-
7073calculate_columns (-
7074 _Bool -
7075 by_columns)-
7076{-
7077 size_t filesno;-
7078 size_t cols;-
7079-
7080-
7081-
7082-
7083 size_t max_cols = -
7084 (((
(( max_idx )<( cwd_n_used ))Description
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
0-2
7085 max_idx
(( max_idx )<( cwd_n_used ))Description
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
0-2
7086 )<(
(( max_idx )<( cwd_n_used ))Description
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
0-2
7087 cwd_n_used
(( max_idx )<( cwd_n_used ))Description
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
0-2
7088 ))
(( max_idx )<( cwd_n_used ))Description
TRUEnever evaluated
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
?(
0-2
7089 max_idx-
7090 ):(-
7091 cwd_n_used-
7092 ))-
7093 ;-
7094-
7095 init_column_info ();-
7096-
7097-
7098 for (filesno = 0; filesno < cwd_n_used
filesno < cwd_n_usedDescription
TRUEevaluated 11 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
; ++filesno)
2-11
7099 {-
7100 struct fileinfo const *f = sorted_file[filesno];-
7101 size_t name_length = length_of_file_name_and_frills (f);-
7102-
7103 for (size_t i = 0; i < max_cols
i < max_colsDescription
TRUEevaluated 85 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 11 times by 2 tests
Evaluated by:
  • dir
  • ls
; ++i)
11-85
7104 {-
7105 if (column_info[i].valid_len
column_info[i].valid_lenDescription
TRUEevaluated 85 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEnever evaluated
)
0-85
7106 {-
7107 size_t idx = (by_columns
by_columnsDescription
TRUEevaluated 85 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEnever evaluated
0-85
7108 ? filesno / ((cwd_n_used + i) / (i + 1))-
7109 : filesno % (i + 1));-
7110 size_t real_length = name_length + (idx == i
idx == iDescription
TRUEevaluated 21 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEevaluated 64 times by 2 tests
Evaluated by:
  • dir
  • ls
? 0 : 2);
21-64
7111-
7112 if (column_info[i].col_arr[idx] < real_length
column_info[i]... < real_lengthDescription
TRUEevaluated 52 times by 1 test
Evaluated by:
  • dir
FALSEevaluated 33 times by 2 tests
Evaluated by:
  • dir
  • ls
)
33-52
7113 {-
7114 column_info[i].line_len += (real_length-
7115 - column_info[i].col_arr[idx]);-
7116 column_info[i].col_arr[idx] = real_length;-
7117 column_info[i].valid_len = (column_info[i].line_len-
7118 < line_length);-
7119 }
executed 52 times by 1 test: end of block
Executed by:
  • dir
52
7120 }
executed 85 times by 2 tests: end of block
Executed by:
  • dir
  • ls
85
7121 }
executed 85 times by 2 tests: end of block
Executed by:
  • dir
  • ls
85
7122 }
executed 11 times by 2 tests: end of block
Executed by:
  • dir
  • ls
11
7123-
7124-
7125 for (cols = max_cols; 1 < cols
1 < colsDescription
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEnever evaluated
; --cols)
0-2
7126 {-
7127 if (column_info[cols - 1].valid_len
column_info[co...- 1].valid_lenDescription
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • dir
  • ls
FALSEnever evaluated
)
0-2
7128 break;
executed 2 times by 2 tests: break;
Executed by:
  • dir
  • ls
2
7129 }
never executed: end of block
0
7130-
7131 return
executed 2 times by 2 tests: return cols;
Executed by:
  • dir
  • ls
cols;
executed 2 times by 2 tests: return cols;
Executed by:
  • dir
  • ls
2
7132}-
7133-
7134void-
7135usage (int status)-
7136{-
7137 if (status !=
status != 0Description
TRUEevaluated 19 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 152 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
19-152
7138 0
status != 0Description
TRUEevaluated 19 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
FALSEevaluated 152 times by 3 tests
Evaluated by:
  • dir
  • ls
  • vdir
19-152
7139 )-
7140 do { fprintf (-
7141 stderr-
7142 , -
7143 dcgettext (((void *)0), -
7144 "Try '%s --help' for more information.\n"-
7145 , 5)-
7146 , program_name); }
executed 19 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
while (0);
19
7147 else-
7148 {-
7149 printf (-
7150 dcgettext (((void *)0), -
7151 "Usage: %s [OPTION]... [FILE]...\n"-
7152 , 5)-
7153 , program_name);-
7154 fputs_unlocked (-
7155 dcgettext (((void *)0), -
7156 "List information about the FILEs (the current directory by default).\nSort entries alphabetically if none of -cftuvSUX nor --sort is specified.\n"-
7157 , 5)-
7158 ,-
7159 stdout-
7160 )-
7161-
7162-
7163 ;-
7164-
7165 emit_mandatory_arg_note ();-
7166-
7167 fputs_unlocked (-
7168 dcgettext (((void *)0), -
7169 " -a, --all do not ignore entries starting with .\n -A, --almost-all do not list implied . and ..\n --author with -l, print the author of each file\n -b, --escape print C-style escapes for nongraphic characters\n"-
7170 , 5)-
7171 ,-
7172 stdout-
7173 )-
7174-
7175-
7176-
7177-
7178 ;-
7179 fputs_unlocked (-
7180 dcgettext (((void *)0), -
7181 " --block-size=SIZE with -l, scale sizes by SIZE when printing them;\n e.g., '--block-size=M'; see SIZE format below\n"-
7182 , 5)-
7183 ,-
7184 stdout-
7185 )-
7186-
7187-
7188 ;-
7189 fputs_unlocked (-
7190 dcgettext (((void *)0), -
7191 " -B, --ignore-backups do not list implied entries ending with ~\n -c with -lt: sort by, and show, ctime (time of last\n modification of file status information);\n with -l: show ctime and sort by name;\n otherwise: sort by ctime, newest first\n"-
7192 , 5)-
7193 ,-
7194 stdout-
7195 )-
7196-
7197-
7198-
7199-
7200-
7201 ;-
7202 fputs_unlocked (-
7203 dcgettext (((void *)0), -
7204 " -C list entries by columns\n --color[=WHEN] colorize the output; WHEN can be 'always' (default\n if omitted), 'auto', or 'never'; more info below\n -d, --directory list directories themselves, not their contents\n -D, --dired generate output designed for Emacs' dired mode\n"-
7205 , 5)-
7206 ,-
7207 stdout-
7208 )-
7209-
7210-
7211-
7212-
7213-
7214-
7215-
7216 ;-
7217 fputs_unlocked (-
7218 dcgettext (((void *)0), -
7219 " -f do not sort, enable -aU, disable -ls --color\n -F, --classify append indicator (one of */=>@|) to entries\n --file-type likewise, except do not append '*'\n --format=WORD across -x, commas -m, horizontal -x, long -l,\n single-column -1, verbose -l, vertical -C\n --full-time like -l --time-style=full-iso\n"-
7220 , 5)-
7221 ,-
7222 stdout-
7223 )-
7224-
7225-
7226-
7227-
7228-
7229-
7230 ;-
7231 fputs_unlocked (-
7232 dcgettext (((void *)0), -
7233 " -g like -l, but do not list owner\n"-
7234 , 5)-
7235 ,-
7236 stdout-
7237 )-
7238-
7239 ;-
7240 fputs_unlocked (-
7241 dcgettext (((void *)0), -
7242 " --group-directories-first\n group directories before files;\n can be augmented with a --sort option, but any\n use of --sort=none (-U) disables grouping\n"-
7243 , 5)-
7244 ,-
7245 stdout-
7246 )-
7247-
7248-
7249-
7250-
7251 ;-
7252 fputs_unlocked (-
7253 dcgettext (((void *)0), -
7254 " -G, --no-group in a long listing, don't print group names\n"-
7255 , 5)-
7256 ,-
7257 stdout-
7258 )-
7259-
7260 ;-
7261 fputs_unlocked (-
7262 dcgettext (((void *)0), -
7263 " -h, --human-readable with -l and -s, print sizes like 1K 234M 2G etc.\n --si likewise, but use powers of 1000 not 1024\n"-
7264 , 5)-
7265 ,-
7266 stdout-
7267 )-
7268-
7269-
7270 ;-
7271 fputs_unlocked (-
7272 dcgettext (((void *)0), -
7273 " -H, --dereference-command-line\n follow symbolic links listed on the command line\n --dereference-command-line-symlink-to-dir\n follow each command line symbolic link\n that points to a directory\n --hide=PATTERN do not list implied entries matching shell PATTERN\n (overridden by -a or -A)\n"-
7274 , 5)-
7275 ,-
7276 stdout-
7277 )-
7278 ;-
7279 fputs_unlocked (-
7280 dcgettext (((void *)0), -
7281 " --hyperlink[=WHEN] hyperlink file names; WHEN can be 'always'\n (default if omitted), 'auto', or 'never'\n"-
7282 , 5)-
7283 ,-
7284 stdout-
7285 )-
7286-
7287-
7288 ;-
7289 fputs_unlocked (-
7290 dcgettext (((void *)0), -
7291 " --indicator-style=WORD append indicator with style WORD to entry names:\n none (default), slash (-p),\n file-type (--file-type), classify (-F)\n -i, --inode print the index number of each file\n -I, --ignore=PATTERN do not list implied entries matching shell PATTERN\n"-
7292 , 5)-
7293 ,-
7294 stdout-
7295 )-
7296-
7297-
7298-
7299-
7300-
7301-
7302-
7303 ;-
7304 fputs_unlocked (-
7305 dcgettext (((void *)0), -
7306 " -k, --kibibytes default to 1024-byte blocks for disk usage;\n used only with -s and per directory totals\n"-
7307 , 5)-
7308 ,-
7309 stdout-
7310 )-
7311-
7312-
7313 ;-
7314 fputs_unlocked (-
7315 dcgettext (((void *)0), -
7316 " -l use a long listing format\n -L, --dereference when showing file information for a symbolic\n link, show information for the file the link\n references rather than for the link itself\n -m fill width with a comma separated list of entries\n"-
7317 , 5)-
7318 ,-
7319 stdout-
7320 )-
7321-
7322-
7323-
7324-
7325-
7326-
7327 ;-
7328 fputs_unlocked (-
7329 dcgettext (((void *)0), -
7330 " -n, --numeric-uid-gid like -l, but list numeric user and group IDs\n -N, --literal print entry names without quoting\n -o like -l, but do not list group information\n -p, --indicator-style=slash\n append / indicator to directories\n"-
7331 , 5)-
7332 ,-
7333 stdout-
7334 )-
7335-
7336-
7337-
7338-
7339-
7340 ;-
7341 fputs_unlocked (-
7342 dcgettext (((void *)0), -
7343 " -q, --hide-control-chars print ? instead of nongraphic characters\n --show-control-chars show nongraphic characters as-is (the default,\n unless program is 'ls' and output is a terminal)\n -Q, --quote-name enclose entry names in double quotes\n --quoting-style=WORD use quoting style WORD for entry names:\n literal, locale, shell, shell-always,\n shell-escape, shell-escape-always, c, escape\n (overrides QUOTING_STYLE environment variable)\n"-
7344 , 5)-
7345 ,-
7346 stdout-
7347 )-
7348 ;-
7349 fputs_unlocked (-
7350 dcgettext (((void *)0), -
7351 " -r, --reverse reverse order while sorting\n -R, --recursive list subdirectories recursively\n -s, --size print the allocated size of each file, in blocks\n"-
7352 , 5)-
7353 ,-
7354 stdout-
7355 )-
7356-
7357-
7358-
7359 ;-
7360 fputs_unlocked (-
7361 dcgettext (((void *)0), -
7362 " -S sort by file size, largest first\n --sort=WORD sort by WORD instead of name: none (-U), size (-S),\n time (-t), version (-v), extension (-X)\n --time=WORD with -l, show time as WORD instead of default\n modification time: atime or access or use (-u);\n ctime or status (-c); also use specified time\n as sort key if --sort=time (newest first)\n"-
7363 , 5)-
7364 ,-
7365 stdout-
7366 )-
7367 ;-
7368 fputs_unlocked (-
7369 dcgettext (((void *)0), -
7370 " --time-style=TIME_STYLE time/date format with -l; see TIME_STYLE below\n"-
7371 , 5)-
7372 ,-
7373 stdout-
7374 )-
7375-
7376 ;-
7377 fputs_unlocked (-
7378 dcgettext (((void *)0), -
7379 " -t sort by modification time, newest first\n -T, --tabsize=COLS assume tab stops at each COLS instead of 8\n"-
7380 , 5)-
7381 ,-
7382 stdout-
7383 )-
7384-
7385-
7386 ;-
7387 fputs_unlocked (-
7388 dcgettext (((void *)0), -
7389 " -u with -lt: sort by, and show, access time;\n with -l: show access time and sort by name;\n otherwise: sort by access time, newest first\n -U do not sort; list entries in directory order\n -v natural sort of (version) numbers within text\n"-
7390 , 5)-
7391 ,-
7392 stdout-
7393 )-
7394-
7395-
7396-
7397-
7398-
7399 ;-
7400 fputs_unlocked (-
7401 dcgettext (((void *)0), -
7402 " -w, --width=COLS set output width to COLS. 0 means no limit\n -x list entries by lines instead of by columns\n -X sort alphabetically by entry extension\n -Z, --context print any security context of each file\n -1 list one file per line. Avoid '\\n' with -q or -b\n"-
7403 , 5)-
7404 ,-
7405 stdout-
7406 )-
7407-
7408-
7409-
7410-
7411-
7412-
7413 ;-
7414 fputs_unlocked (-
7415 dcgettext (((void *)0), -
7416 " --help display this help and exit\n"-
7417 , 5)-
7418 ,-
7419 stdout-
7420 );-
7421 fputs_unlocked (-
7422 dcgettext (((void *)0), -
7423 " --version output version information and exit\n"-
7424 , 5)-
7425 ,-
7426 stdout-
7427 );-
7428 emit_size_note ();-
7429 fputs_unlocked (-
7430 dcgettext (((void *)0), -
7431 "\nThe TIME_STYLE argument can be full-iso, long-iso, iso, locale, or +FORMAT.\nFORMAT is interpreted like in date(1). If FORMAT is FORMAT1<newline>FORMAT2,\nthen FORMAT1 applies to non-recent files and FORMAT2 to recent files.\nTIME_STYLE prefixed with 'posix-' takes effect only outside the POSIX locale.\nAlso the TIME_STYLE environment variable sets the default style to use.\n"-
7432 , 5)-
7433 ,-
7434 stdout-
7435 )-
7436-
7437-
7438-
7439-
7440-
7441-
7442 ;-
7443 fputs_unlocked (-
7444 dcgettext (((void *)0), -
7445 "\nUsing color to distinguish file types is disabled both by default and\nwith --color=never. With --color=auto, ls emits color codes only when\nstandard output is connected to a terminal. The LS_COLORS environment\nvariable can change the settings. Use the dircolors command to set it.\n"-
7446 , 5)-
7447 ,-
7448 stdout-
7449 )-
7450-
7451-
7452-
7453-
7454-
7455 ;-
7456 fputs_unlocked (-
7457 dcgettext (((void *)0), -
7458 "\nExit status:\n 0 if OK,\n 1 if minor problems (e.g., cannot access subdirectory),\n 2 if serious trouble (e.g., cannot access command-line argument).\n"-
7459 , 5)-
7460 ,-
7461 stdout-
7462 )-
7463-
7464-
7465-
7466-
7467-
7468 ;-
7469 emit_ancillary_info ((ls_mode == 1 ? "ls" : (ls_mode == 2 ? "dir" : "vdir")));-
7470 }
executed 152 times by 3 tests: end of block
Executed by:
  • dir
  • ls
  • vdir
152
7471 exit (status);
executed 171 times by 3 tests: exit (status);
Executed by:
  • dir
  • ls
  • vdir
171
7472}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2