Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/sleep.c |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | - | |||||||||||||||||||||||||
2 | - | |||||||||||||||||||||||||
3 | static struct option const long_options[] = | - | ||||||||||||||||||||||||
4 | { | - | ||||||||||||||||||||||||
5 | { | - | ||||||||||||||||||||||||
6 | ((void *)0) | - | ||||||||||||||||||||||||
7 | , 0, | - | ||||||||||||||||||||||||
8 | ((void *)0) | - | ||||||||||||||||||||||||
9 | , 0} | - | ||||||||||||||||||||||||
10 | }; | - | ||||||||||||||||||||||||
11 | - | |||||||||||||||||||||||||
12 | void | - | ||||||||||||||||||||||||
13 | usage (int status) | - | ||||||||||||||||||||||||
14 | { | - | ||||||||||||||||||||||||
15 | if (status !=
| 3-10 | ||||||||||||||||||||||||
16 | 0
| 3-10 | ||||||||||||||||||||||||
17 | ) | - | ||||||||||||||||||||||||
18 | do { fprintf ( | - | ||||||||||||||||||||||||
19 | stderr | - | ||||||||||||||||||||||||
20 | , | - | ||||||||||||||||||||||||
21 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
22 | "Try '%s --help' for more information.\n" | - | ||||||||||||||||||||||||
23 | , 5) | - | ||||||||||||||||||||||||
24 | , program_name); } executed 10 times by 1 test: while (0);end of block Executed by:
| 10 | ||||||||||||||||||||||||
25 | else | - | ||||||||||||||||||||||||
26 | { | - | ||||||||||||||||||||||||
27 | printf ( | - | ||||||||||||||||||||||||
28 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
29 | "Usage: %s NUMBER[SUFFIX]...\n or: %s OPTION\nPause for NUMBER seconds. SUFFIX may be 's' for seconds (the default),\n'm' for minutes, 'h' for hours or 'd' for days. Unlike most implementations\nthat require NUMBER be an integer, here NUMBER may be an arbitrary floating\npoint number. Given two or more arguments, pause for the amount of time\nspecified by the sum of their values.\n\n" | - | ||||||||||||||||||||||||
30 | , 5) | - | ||||||||||||||||||||||||
31 | , | - | ||||||||||||||||||||||||
32 | - | |||||||||||||||||||||||||
33 | program_name, program_name); | - | ||||||||||||||||||||||||
34 | fputs_unlocked ( | - | ||||||||||||||||||||||||
35 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
36 | " --help display this help and exit\n" | - | ||||||||||||||||||||||||
37 | , 5) | - | ||||||||||||||||||||||||
38 | , | - | ||||||||||||||||||||||||
39 | stdout | - | ||||||||||||||||||||||||
40 | ); | - | ||||||||||||||||||||||||
41 | fputs_unlocked ( | - | ||||||||||||||||||||||||
42 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
43 | " --version output version information and exit\n" | - | ||||||||||||||||||||||||
44 | , 5) | - | ||||||||||||||||||||||||
45 | , | - | ||||||||||||||||||||||||
46 | stdout | - | ||||||||||||||||||||||||
47 | ); | - | ||||||||||||||||||||||||
48 | emit_ancillary_info ("sleep"); | - | ||||||||||||||||||||||||
49 | } executed 3 times by 1 test: end of block Executed by:
| 3 | ||||||||||||||||||||||||
50 | exit (status); executed 13 times by 1 test: exit (status); Executed by:
| 13 | ||||||||||||||||||||||||
51 | } | - | ||||||||||||||||||||||||
52 | - | |||||||||||||||||||||||||
53 | - | |||||||||||||||||||||||||
54 | - | |||||||||||||||||||||||||
55 | - | |||||||||||||||||||||||||
56 | - | |||||||||||||||||||||||||
57 | - | |||||||||||||||||||||||||
58 | - | |||||||||||||||||||||||||
59 | static | - | ||||||||||||||||||||||||
60 | _Bool | - | ||||||||||||||||||||||||
61 | - | |||||||||||||||||||||||||
62 | apply_suffix (double *x, char suffix_char) | - | ||||||||||||||||||||||||
63 | { | - | ||||||||||||||||||||||||
64 | int multiplier; | - | ||||||||||||||||||||||||
65 | - | |||||||||||||||||||||||||
66 | switch (suffix_char) | - | ||||||||||||||||||||||||
67 | { | - | ||||||||||||||||||||||||
68 | case executed 200 times by 1 test: 0:case 0: Executed by:
executed 200 times by 1 test: case 0: Executed by:
| 200 | ||||||||||||||||||||||||
69 | case executed 1 time by 1 test: 's':case 's': Executed by:
executed 1 time by 1 test: case 's': Executed by:
| 1 | ||||||||||||||||||||||||
70 | multiplier = 1; | - | ||||||||||||||||||||||||
71 | break; executed 201 times by 1 test: break; Executed by:
| 201 | ||||||||||||||||||||||||
72 | case executed 2 times by 1 test: 'm':case 'm': Executed by:
executed 2 times by 1 test: case 'm': Executed by:
| 2 | ||||||||||||||||||||||||
73 | multiplier = 60; | - | ||||||||||||||||||||||||
74 | break; executed 2 times by 1 test: break; Executed by:
| 2 | ||||||||||||||||||||||||
75 | case executed 1 time by 1 test: 'h':case 'h': Executed by:
executed 1 time by 1 test: case 'h': Executed by:
| 1 | ||||||||||||||||||||||||
76 | multiplier = 60 * 60; | - | ||||||||||||||||||||||||
77 | break; executed 1 time by 1 test: break; Executed by:
| 1 | ||||||||||||||||||||||||
78 | case executed 2 times by 1 test: 'd':case 'd': Executed by:
executed 2 times by 1 test: case 'd': Executed by:
| 2 | ||||||||||||||||||||||||
79 | multiplier = 60 * 60 * 24; | - | ||||||||||||||||||||||||
80 | break; executed 2 times by 1 test: break; Executed by:
| 2 | ||||||||||||||||||||||||
81 | default executed 1 time by 1 test: :default: Executed by:
executed 1 time by 1 test: default: Executed by:
| 1 | ||||||||||||||||||||||||
82 | return executed 1 time by 1 test: return 0 ; Executed by:
executed 1 time by 1 test: return 0 ; Executed by:
| 1 | ||||||||||||||||||||||||
83 | 0 executed 1 time by 1 test: return 0 ; Executed by:
| 1 | ||||||||||||||||||||||||
84 | ; executed 1 time by 1 test: return 0 ; Executed by:
| 1 | ||||||||||||||||||||||||
85 | } | - | ||||||||||||||||||||||||
86 | - | |||||||||||||||||||||||||
87 | *x *= multiplier; | - | ||||||||||||||||||||||||
88 | - | |||||||||||||||||||||||||
89 | return executed 206 times by 1 test: return 1 ; Executed by:
executed 206 times by 1 test: return 1 ; Executed by:
| 206 | ||||||||||||||||||||||||
90 | 1 executed 206 times by 1 test: return 1 ; Executed by:
| 206 | ||||||||||||||||||||||||
91 | ; executed 206 times by 1 test: return 1 ; Executed by:
| 206 | ||||||||||||||||||||||||
92 | } | - | ||||||||||||||||||||||||
93 | - | |||||||||||||||||||||||||
94 | int | - | ||||||||||||||||||||||||
95 | main (int argc, char **argv) | - | ||||||||||||||||||||||||
96 | { | - | ||||||||||||||||||||||||
97 | double seconds = 0.0; | - | ||||||||||||||||||||||||
98 | - | |||||||||||||||||||||||||
99 | _Bool | - | ||||||||||||||||||||||||
100 | ok = | - | ||||||||||||||||||||||||
101 | 1 | - | ||||||||||||||||||||||||
102 | ; | - | ||||||||||||||||||||||||
103 | - | |||||||||||||||||||||||||
104 | ; | - | ||||||||||||||||||||||||
105 | set_program_name (argv[0]); | - | ||||||||||||||||||||||||
106 | setlocale ( | - | ||||||||||||||||||||||||
107 | 6 | - | ||||||||||||||||||||||||
108 | , ""); | - | ||||||||||||||||||||||||
109 | bindtextdomain ("coreutils", "/usr/local/share/locale"); | - | ||||||||||||||||||||||||
110 | textdomain ("coreutils"); | - | ||||||||||||||||||||||||
111 | - | |||||||||||||||||||||||||
112 | atexit (close_stdout); | - | ||||||||||||||||||||||||
113 | - | |||||||||||||||||||||||||
114 | parse_long_options (argc, argv, "sleep", "GNU coreutils", Version, | - | ||||||||||||||||||||||||
115 | usage, ("Jim Meyering"), ("Paul Eggert"), (char const *) | - | ||||||||||||||||||||||||
116 | ((void *)0) | - | ||||||||||||||||||||||||
117 | ); | - | ||||||||||||||||||||||||
118 | if (getopt_long (argc, argv, "", long_options,
| 3-209 | ||||||||||||||||||||||||
119 | ((void *)0)
| 3-209 | ||||||||||||||||||||||||
120 | ) != -1
| 3-209 | ||||||||||||||||||||||||
121 | usage ( executed 3 times by 1 test: usage ( 1 ); Executed by:
| 3 | ||||||||||||||||||||||||
122 | 1 executed 3 times by 1 test: usage ( 1 ); Executed by:
| 3 | ||||||||||||||||||||||||
123 | ); executed 3 times by 1 test: usage ( 1 ); Executed by:
| 3 | ||||||||||||||||||||||||
124 | - | |||||||||||||||||||||||||
125 | if (argc == 1
| 1-208 | ||||||||||||||||||||||||
126 | { | - | ||||||||||||||||||||||||
127 | error (0, 0, | - | ||||||||||||||||||||||||
128 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
129 | "missing operand" | - | ||||||||||||||||||||||||
130 | , 5) | - | ||||||||||||||||||||||||
131 | ); | - | ||||||||||||||||||||||||
132 | usage ( | - | ||||||||||||||||||||||||
133 | 1 | - | ||||||||||||||||||||||||
134 | ); | - | ||||||||||||||||||||||||
135 | } never executed: end of block | 0 | ||||||||||||||||||||||||
136 | - | |||||||||||||||||||||||||
137 | for (int i = optind; i < argc
| 208-212 | ||||||||||||||||||||||||
138 | { | - | ||||||||||||||||||||||||
139 | double s; | - | ||||||||||||||||||||||||
140 | const char *p; | - | ||||||||||||||||||||||||
141 | if (! (xstrtod (argv[i], &p, &s, c_strtod)
| 3-209 | ||||||||||||||||||||||||
142 | (*
| 1-2 | ||||||||||||||||||||||||
143 | ==
| 1-2 | ||||||||||||||||||||||||
144 | 34
| 1-2 | ||||||||||||||||||||||||
145 | ) | - | ||||||||||||||||||||||||
146 | - | |||||||||||||||||||||||||
147 | || ! (0 <= s)
| 2-208 | ||||||||||||||||||||||||
148 | - | |||||||||||||||||||||||||
149 | || (*
| 1-200 | ||||||||||||||||||||||||
150 | - | |||||||||||||||||||||||||
151 | || ! apply_suffix (&s, *p)
| 1-206 | ||||||||||||||||||||||||
152 | { | - | ||||||||||||||||||||||||
153 | error (0, 0, | - | ||||||||||||||||||||||||
154 | dcgettext (((void *)0), | - | ||||||||||||||||||||||||
155 | "invalid time interval %s" | - | ||||||||||||||||||||||||
156 | , 5) | - | ||||||||||||||||||||||||
157 | , quote (argv[i])); | - | ||||||||||||||||||||||||
158 | ok = | - | ||||||||||||||||||||||||
159 | 0 | - | ||||||||||||||||||||||||
160 | ; | - | ||||||||||||||||||||||||
161 | } executed 6 times by 1 test: end of block Executed by:
| 6 | ||||||||||||||||||||||||
162 | - | |||||||||||||||||||||||||
163 | seconds += s; | - | ||||||||||||||||||||||||
164 | } executed 212 times by 1 test: end of block Executed by:
| 212 | ||||||||||||||||||||||||
165 | - | |||||||||||||||||||||||||
166 | if (!ok
| 6-202 | ||||||||||||||||||||||||
167 | usage ( executed 6 times by 1 test: usage ( 1 ); Executed by:
| 6 | ||||||||||||||||||||||||
168 | 1 executed 6 times by 1 test: usage ( 1 ); Executed by:
| 6 | ||||||||||||||||||||||||
169 | ); executed 6 times by 1 test: usage ( 1 ); Executed by:
| 6 | ||||||||||||||||||||||||
170 | - | |||||||||||||||||||||||||
171 | if (xnanosleep (seconds)
| 0-190 | ||||||||||||||||||||||||
172 | (( never executed: !!sizeof (struct { _Static_assert (((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
173 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
174 | , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
175 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
176 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
177 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
178 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
179 | dcgettext (((void *)0), never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
180 | "cannot read realtime clock" never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
181 | , 5) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
182 | ), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
183 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
184 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
185 | 1 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
186 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
187 | (*__errno_location ()) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
188 | , never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
189 | dcgettext (((void *)0), never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
190 | "cannot read realtime clock" never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
191 | , 5) never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
192 | ), (( never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
193 | 0 never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
194 | ) ? (void) 0 : __builtin_unreachable ())))); never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot read realtime clock\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot read realtime clock" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 0 | ||||||||||||||||||||||||
195 | - | |||||||||||||||||||||||||
196 | return executed 190 times by 1 test: return 0 ; Executed by:
executed 190 times by 1 test: return 0 ; Executed by:
| 190 | ||||||||||||||||||||||||
197 | 0 executed 190 times by 1 test: return 0 ; Executed by:
| 190 | ||||||||||||||||||||||||
198 | ; executed 190 times by 1 test: return 0 ; Executed by:
| 190 | ||||||||||||||||||||||||
199 | } | - | ||||||||||||||||||||||||
Switch to Source code | Preprocessed file |