OpenCoverage

pinky.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/pinky.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4static -
5 _Bool -
6 include_idle = -
7 1-
8 ;-
9-
10-
11static -
12 _Bool -
13 include_heading = -
14 1-
15 ;-
16-
17-
18static -
19 _Bool -
20 include_fullname = -
21 1-
22 ;-
23-
24-
25static -
26 _Bool -
27 include_project = -
28 1-
29 ;-
30-
31-
32static -
33 _Bool -
34 include_plan = -
35 1-
36 ;-
37-
38-
39-
40static -
41 _Bool -
42 include_home_and_shell = -
43 1-
44 ;-
45-
46-
47static -
48 _Bool -
49 do_short_format = -
50 1-
51 ;-
52-
53-
54-
55static -
56 _Bool -
57 include_where = -
58 1-
59 ;-
60-
61-
62-
63-
64static char const *time_format;-
65static int time_format_width;-
66-
67static struct option const longopts[] =-
68{-
69 {"help", -
70 0-
71 , -
72 ((void *)0)-
73 , GETOPT_HELP_CHAR},-
74 {"version", -
75 0-
76 , -
77 ((void *)0)-
78 , GETOPT_VERSION_CHAR},-
79 {-
80 ((void *)0)-
81 , 0, -
82 ((void *)0)-
83 , 0}-
84};-
85-
86-
87-
88static size_t -
89 __attribute__ ((__pure__))-
90-
91count_ampersands (const char *str)-
92{-
93 size_t count = 0;-
94 do-
95 {-
96 if (*
*str == '&'Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • pinky
str == '&'
*str == '&'Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • pinky
)
0-13
97 count++;
never executed: count++;
0
98 }
executed 13 times by 1 test: end of block
Executed by:
  • pinky
while (*
*str++Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • pinky
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
str++
*str++Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • pinky
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
);
1-13
99 return
executed 1 time by 1 test: return count;
Executed by:
  • pinky
count;
executed 1 time by 1 test: return count;
Executed by:
  • pinky
1
100}-
101-
102-
103-
104-
105-
106-
107-
108static char *-
109create_fullname (const char *gecos_name, const char *user_name)-
110{-
111 size_t rsize = strlen (gecos_name) + 1;-
112 char *result;-
113 char *r;-
114 size_t ampersands = count_ampersands (gecos_name);-
115-
116 if (ampersands != 0
ampersands != 0Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
)
0-1
117 {-
118 size_t ulen = strlen (user_name);-
119 size_t product = ampersands * ulen;-
120 rsize += product - ampersands;-
121 if ((
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEnever evaluated
__builtin_constant_p (ulen)
__builtin_constant_p (ulen)Description
TRUEnever evaluated
FALSEnever evaluated
&& __builtin_constant_p (ampersands)
__builtin_cons...p (ampersands)Description
TRUEnever evaluated
FALSEnever evaluated
? ((size_t) (
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEnever evaluated
0
122 (9223372036854775807L)
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEnever evaluated
0
123 <
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEnever evaluated
0
124 (18446744073709551615UL)
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEnever evaluated
0
125 ?
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEnever evaluated
0
126 (9223372036854775807L)
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEnever evaluated
0
127 :
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEnever evaluated
0
128 (18446744073709551615UL)
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEnever evaluated
0
129 - 1) / (ampersands) < (ulen)) : ({ __xalloc_count_type __xalloc_count; __builtin_mul_overflow (ulen, ampersands, &__xalloc_count); }))
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEnever evaluated
|| rsize < product
rsize < productDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
130 xalloc_die ();
never executed: xalloc_die ();
0
131 }
never executed: end of block
0
132-
133 r = result = xmalloc (rsize);-
134-
135 while (*
*gecos_nameDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • pinky
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
gecos_name
*gecos_nameDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • pinky
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
)
1-12
136 {-
137 if (*
*gecos_name == '&'Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • pinky
gecos_name == '&'
*gecos_name == '&'Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • pinky
)
0-12
138 {-
139 const char *uname = user_name;-
140 if (-
141 ((*
((*__ctype_b_l...int) _ISlower)Description
TRUEnever evaluated
FALSEnever evaluated
__ctype_b_loc ())[(int) ((
((*__ctype_b_l...int) _ISlower)Description
TRUEnever evaluated
FALSEnever evaluated
0
142 to_uchar (*uname)
((*__ctype_b_l...int) _ISlower)Description
TRUEnever evaluated
FALSEnever evaluated
0
143 ))] & (unsigned short int) _ISlower)
((*__ctype_b_l...int) _ISlower)Description
TRUEnever evaluated
FALSEnever evaluated
0
144 )-
145 *
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
r++ =
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
146 (__extension__ ({ int __res; if (sizeof (
sizeof ( to_uc...uname++) ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
147 to_uchar (*uname++)
sizeof ( to_uc...uname++) ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
148 ) > 1
sizeof ( to_uc...uname++) ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
) { if (__builtin_constant_p (
__builtin_cons...r (*uname++) )Description
TRUEnever evaluated
FALSEnever evaluated
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
149 to_uchar (*uname++)
__builtin_cons...r (*uname++) )Description
TRUEnever evaluated
FALSEnever evaluated
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
150 )
__builtin_cons...r (*uname++) )Description
TRUEnever evaluated
FALSEnever evaluated
) { int __c = (
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
151 to_uchar (*uname++)
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
152 ); __res = __c < -128
__c < -128Description
TRUEnever evaluated
FALSEnever evaluated
|| __c > 255
__c > 255Description
TRUEnever evaluated
FALSEnever evaluated
? __c : (*__ctype_toupper_loc ())[__c]; }
never executed: end of block
else __res = toupper (
never executed: __res = toupper ( to_uchar (*uname++) );
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
153 to_uchar (*uname++)
never executed: __res = toupper ( to_uchar (*uname++) );
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
154 );
never executed: __res = toupper ( to_uchar (*uname++) );
} else __res = (*__ctype_toupper_loc ())[(int) (
never executed: __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )];
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
155 to_uchar (*uname++)
never executed: __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )];
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
156 )];
never executed: __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )];
__res; }))
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
157 ;
never executed: *r++ = (__extension__ ({ int __res; if (sizeof ( to_uchar (*uname++) ) > 1) { if (__builtin_constant_p ( to_uchar (*uname++) )) { int __c = ( to_uchar (*uname++) ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( to_uchar (*uname++) ); } else __res = (*__ctype_toupper_loc ())[(int) ( to_uchar (*uname++) )]; __res; })) ;
0
158 while (*
*unameDescription
TRUEnever evaluated
FALSEnever evaluated
uname
*unameDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
159 *
never executed: *r++ = *uname++;
r++ = *uname++;
never executed: *r++ = *uname++;
0
160 }
never executed: end of block
0
161 else-
162 {-
163 *r++ = *gecos_name;-
164 }
executed 12 times by 1 test: end of block
Executed by:
  • pinky
12
165-
166 gecos_name++;-
167 }
executed 12 times by 1 test: end of block
Executed by:
  • pinky
12
168 *r = 0;-
169-
170 return
executed 1 time by 1 test: return result;
Executed by:
  • pinky
result;
executed 1 time by 1 test: return result;
Executed by:
  • pinky
1
171}-
172-
173-
174-
175-
176static const char *-
177idle_string (time_t when)-
178{-
179 static time_t now = 0;-
180 static char buf[(((((sizeof (long int) * 8) - (! ((__typeof__ (long int)) 0 < (__typeof__ (long int)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (long int)) 0 < (__typeof__ (long int)) -1))) + 2];-
181 time_t seconds_idle;-
182-
183 if (now == 0
now == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
184 time (&now);
executed 1 time by 1 test: time (&now);
Executed by:
  • pinky
1
185-
186 seconds_idle = now - when;-
187 if (seconds_idle < 60
seconds_idle < 60Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
)
0-1
188 return
never executed: return " ";
" ";
never executed: return " ";
0
189 if (seconds_idle < (24 * 60 * 60)
seconds_idle < (24 * 60 * 60)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
)
0-1
190 {-
191 int hours = seconds_idle / (60 * 60);-
192 int minutes = (seconds_idle % (60 * 60)) / 60;-
193 sprintf (buf, "%02d:%02d", hours, minutes);-
194 }
never executed: end of block
0
195 else-
196 {-
197 unsigned long int days = seconds_idle / (24 * 60 * 60);-
198 sprintf (buf, "%lud", days);-
199 }
executed 1 time by 1 test: end of block
Executed by:
  • pinky
1
200 return
executed 1 time by 1 test: return buf;
Executed by:
  • pinky
buf;
executed 1 time by 1 test: return buf;
Executed by:
  • pinky
1
201}-
202-
203-
204static const char *-
205time_string (const STRUCT_UTMP *utmp_ent)-
206{-
207 static char buf[(((((sizeof (intmax_t) * 8) - (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (intmax_t)) 0 < (__typeof__ (intmax_t)) -1))) + sizeof "-%m-%d %H:%M"];-
208-
209-
210-
211-
212-
213-
214-
215 time_t t = ((utmp_ent)->ut_tv.tv_sec);-
216 struct tm *tmp = localtime (&t);-
217-
218 if (tmp
tmpDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
219 {-
220 strftime (buf, sizeof buf, time_format, tmp);-
221 return
executed 1 time by 1 test: return buf;
Executed by:
  • pinky
buf;
executed 1 time by 1 test: return buf;
Executed by:
  • pinky
1
222 }-
223 else-
224 return
never executed: return timetostr (t, buf);
timetostr (t, buf);
never executed: return timetostr (t, buf);
0
225}-
226-
227-
228-
229static void-
230print_entry (const STRUCT_UTMP *utmp_ent)-
231{-
232 struct stat stats;-
233 time_t last_change;-
234 char mesg;-
235-
236-
237-
238-
239 char line[sizeof (utmp_ent->ut_line) + (sizeof ("/dev/") - 1) + 1];-
240 char *p = line;-
241-
242-
243-
244-
245 if ( ! ((((
(((utmp_ent->u...e)[0]) == '/')Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
utmp_ent->ut_line)[0]) == '/')
(((utmp_ent->u...e)[0]) == '/')Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
|| 0 != 0
0 != 0Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
))
0-1
246 p = stpcpy (p, "/dev/");
executed 1 time by 1 test: p = stpcpy (p, "/dev/");
Executed by:
  • pinky
1
247 stzncpy (p, utmp_ent->ut_line, sizeof (utmp_ent->ut_line));-
248-
249 if (stat (line, &stats) == 0
stat (line, &stats) == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
250 {-
251 mesg = (
(stats.st_mode & (0200 >> 3) )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
stats.st_mode &
(stats.st_mode & (0200 >> 3) )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
0-1
252 (0200 >> 3)
(stats.st_mode & (0200 >> 3) )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
0-1
253 )
(stats.st_mode & (0200 >> 3) )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
? ' ' : '*';
0-1
254 last_change = stats.-
255 st_atim.tv_sec-
256 ;-
257 }
executed 1 time by 1 test: end of block
Executed by:
  • pinky
1
258 else-
259 {-
260 mesg = '?';-
261 last_change = 0;-
262 }
never executed: end of block
0
263-
264 printf ("%-8.*s", UT_USER_SIZE, ((utmp_ent)->-
265 ut_user-
266 ));-
267-
268 if (include_fullname
include_fullnameDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
269 {-
270 struct passwd *pw;-
271 char name[UT_USER_SIZE + 1];-
272-
273 stzncpy (name, ((utmp_ent)->-
274 ut_user-
275 ), UT_USER_SIZE);-
276 pw = getpwnam (name);-
277 if (pw ==
pw == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
0-1
278 ((void *)0)
pw == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
0-1
279 )-
280-
281 printf (" %19s",
never executed: printf (" %19s", dcgettext (((void *)0), " ???" , 5) );
0
282 dcgettext (((void *)0),
never executed: printf (" %19s", dcgettext (((void *)0), " ???" , 5) );
0
283 " ???"
never executed: printf (" %19s", dcgettext (((void *)0), " ???" , 5) );
0
284 , 5)
never executed: printf (" %19s", dcgettext (((void *)0), " ???" , 5) );
0
285 );
never executed: printf (" %19s", dcgettext (((void *)0), " ???" , 5) );
0
286 else-
287 {-
288 char *const comma = -
289 (__extension__ (__builtin_constant_p (
__builtin_constant_p ( ',' )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
0-1
290 ','
__builtin_constant_p ( ',' )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
0-1
291 )
__builtin_constant_p ( ',' )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_con...pw->pw_gecos )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
0-1
292 pw->pw_gecos
!__builtin_con...pw->pw_gecos )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
0-1
293 )
!__builtin_con...pw->pw_gecos )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
&& (
( ',' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
0-1
294 ','
( ',' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
0-1
295 ) == '\0'
( ',' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
? (char *) __rawmemchr (
0-1
296 pw->pw_gecos-
297 , -
298 ','-
299 ) : __builtin_strchr (-
300 pw->pw_gecos-
301 , -
302 ','-
303 )))-
304 ;-
305 char *result;-
306-
307 if (comma
commaDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
308 *
executed 1 time by 1 test: *comma = '\0';
Executed by:
  • pinky
comma = '\0';
executed 1 time by 1 test: *comma = '\0';
Executed by:
  • pinky
1
309-
310 result = create_fullname (pw->pw_gecos, pw->pw_name);-
311 printf (" %-19.19s", result);-
312 free (result);-
313 }
executed 1 time by 1 test: end of block
Executed by:
  • pinky
1
314 }-
315-
316 printf (" %c%-8.*s",-
317 mesg, (int) sizeof (utmp_ent->ut_line), utmp_ent->ut_line);-
318-
319 if (include_idle
include_idleDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
320 {-
321 if (last_change
last_changeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
322 printf (" %-6s", idle_string (last_change));
executed 1 time by 1 test: printf (" %-6s", idle_string (last_change));
Executed by:
  • pinky
1
323 else-
324-
325 printf (" %-6s",
never executed: printf (" %-6s", dcgettext (((void *)0), "?????" , 5) );
0
326 dcgettext (((void *)0),
never executed: printf (" %-6s", dcgettext (((void *)0), "?????" , 5) );
0
327 "?????"
never executed: printf (" %-6s", dcgettext (((void *)0), "?????" , 5) );
0
328 , 5)
never executed: printf (" %-6s", dcgettext (((void *)0), "?????" , 5) );
0
329 );
never executed: printf (" %-6s", dcgettext (((void *)0), "?????" , 5) );
0
330 }-
331-
332 printf (" %s", time_string (utmp_ent));-
333-
334-
335 if (include_where
include_whereDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
&& utmp_ent->ut_host[0]
utmp_ent->ut_host[0]Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
336 {-
337 char ut_host[sizeof (utmp_ent->ut_host) + 1];-
338 char *host = -
339 ((void *)0)-
340 ;-
341 char *display = -
342 ((void *)0)-
343 ;-
344-
345-
346 stzncpy (ut_host, utmp_ent->ut_host, sizeof (utmp_ent->ut_host));-
347-
348-
349 display = -
350 (__extension__ (__builtin_constant_p (
__builtin_constant_p ( ':' )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
0-1
351 ':'
__builtin_constant_p ( ':' )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
0-1
352 )
__builtin_constant_p ( ':' )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_con..._p ( ut_host )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
0-1
353 ut_host
!__builtin_con..._p ( ut_host )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
0-1
354 )
!__builtin_con..._p ( ut_host )Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
&& (
( ':' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
0-1
355 ':'
( ':' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
0-1
356 ) == '\0'
( ':' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
? (char *) __rawmemchr (
0-1
357 ut_host-
358 , -
359 ':'-
360 ) : __builtin_strchr (-
361 ut_host-
362 , -
363 ':'-
364 )))-
365 ;-
366 if (display
displayDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
367 *
executed 1 time by 1 test: *display++ = '\0';
Executed by:
  • pinky
display++ = '\0';
executed 1 time by 1 test: *display++ = '\0';
Executed by:
  • pinky
1
368-
369 if (*
*ut_hostDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
ut_host
*ut_hostDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
)
0-1
370-
371 host = canon_host (ut_host);
never executed: host = canon_host (ut_host);
0
372 if ( ! host
! hostDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
373 host = ut_host;
executed 1 time by 1 test: host = ut_host;
Executed by:
  • pinky
1
374-
375 if (display
displayDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
376 printf (" %s:%s", host, display);
executed 1 time by 1 test: printf (" %s:%s", host, display);
Executed by:
  • pinky
1
377 else-
378 printf (" %s", host);
never executed: printf (" %s", host);
0
379-
380 if (host != ut_host
host != ut_hostDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
)
0-1
381 free (host);
never executed: free (host);
0
382 }
executed 1 time by 1 test: end of block
Executed by:
  • pinky
1
383-
384-
385 putchar_unlocked ('\n');-
386}
executed 1 time by 1 test: end of block
Executed by:
  • pinky
1
387-
388-
389-
390static void-
391print_long_entry (const char name[])-
392{-
393 struct passwd *pw;-
394-
395 pw = getpwnam (name);-
396-
397 printf (-
398 dcgettext (((void *)0), -
399 "Login name: "-
400 , 5)-
401 );-
402 printf ("%-28s", name);-
403-
404 printf (-
405 dcgettext (((void *)0), -
406 "In real life: "-
407 , 5)-
408 );-
409 if (pw ==
pw == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
410 ((void *)0)
pw == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
411 )-
412 {-
413-
414 printf (" %s", -
415 dcgettext (((void *)0), -
416 "???\n"-
417 , 5)-
418 );-
419 return;
never executed: return;
0
420 }-
421 else-
422 {-
423 char *const comma = -
424 (__extension__ (__builtin_constant_p (
__builtin_constant_p ( ',' )Description
TRUEnever evaluated
FALSEnever evaluated
0
425 ','
__builtin_constant_p ( ',' )Description
TRUEnever evaluated
FALSEnever evaluated
0
426 )
__builtin_constant_p ( ',' )Description
TRUEnever evaluated
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_con...pw->pw_gecos )Description
TRUEnever evaluated
FALSEnever evaluated
0
427 pw->pw_gecos
!__builtin_con...pw->pw_gecos )Description
TRUEnever evaluated
FALSEnever evaluated
0
428 )
!__builtin_con...pw->pw_gecos )Description
TRUEnever evaluated
FALSEnever evaluated
&& (
( ',' ) == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
0
429 ','
( ',' ) == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
0
430 ) == '\0'
( ',' ) == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
? (char *) __rawmemchr (
0
431 pw->pw_gecos-
432 , -
433 ','-
434 ) : __builtin_strchr (-
435 pw->pw_gecos-
436 , -
437 ','-
438 )))-
439 ;-
440 char *result;-
441-
442 if (comma
commaDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
443 *
never executed: *comma = '\0';
comma = '\0';
never executed: *comma = '\0';
0
444-
445 result = create_fullname (pw->pw_gecos, pw->pw_name);-
446 printf (" %s", result);-
447 free (result);-
448 }
never executed: end of block
0
449-
450 putchar_unlocked ('\n');-
451-
452 if (include_home_and_shell
include_home_and_shellDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
453 {-
454 printf (-
455 dcgettext (((void *)0), -
456 "Directory: "-
457 , 5)-
458 );-
459 printf ("%-29s", pw->pw_dir);-
460 printf (-
461 dcgettext (((void *)0), -
462 "Shell: "-
463 , 5)-
464 );-
465 printf (" %s", pw->pw_shell);-
466 putchar_unlocked ('\n');-
467 }
never executed: end of block
0
468-
469 if (include_project
include_projectDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
470 {-
471 FILE *stream;-
472 char buf[1024];-
473 const char *const baseproject = "/.project";-
474 char *const project =-
475 xmalloc (strlen (pw->pw_dir) + strlen (baseproject) + 1);-
476 stpcpy (stpcpy (project, pw->pw_dir), baseproject);-
477-
478 stream = fopen (project, "r");-
479 if (stream
streamDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
480 {-
481 size_t bytes;-
482-
483 printf (-
484 dcgettext (((void *)0), -
485 "Project: "-
486 , 5)-
487 );-
488-
489 while ((
(bytes = fread...),stream)) > 0Description
TRUEnever evaluated
FALSEnever evaluated
bytes = fread_unlocked (buf,1,sizeof (buf),stream)) > 0
(bytes = fread...),stream)) > 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
490 -
491 (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
__extension__ ((__builtin_constant_p (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
492 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
493 ) && __builtin_constant_p (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
494 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
495 ) && (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
496 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
497 ) * (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
498 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
499 ) <= 8 && (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
500 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
501 ) != 0) ? ({ const char *__ptr = (const char *) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
502 buf
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
503 ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
504 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
505 ) * (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
506 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
507 ); __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) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
508 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
509 ) * (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
510 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
511 ) - __cnt) / (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
512 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
513 ); }) : (((__builtin_constant_p (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
514 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
515 ) && (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
516 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
517 ) == 0) || (__builtin_constant_p (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
518 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
519 ) && (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
520 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
521 ) == 0)) ? ((void) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
522 buf
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
523 ), (void) (stdout), (void) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
524 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
525 ), (void) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
526 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
527 ), (size_t) 0) : fwrite_unlocked (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
528 buf
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
529 ,
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
530 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
531 ,
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
532 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
533 , stdout))))
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
534 ;
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
535 -
536 rpl_fclose -
537 (stream);-
538 }
never executed: end of block
0
539-
540 free (project);-
541 }
never executed: end of block
0
542-
543 if (include_plan
include_planDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
544 {-
545 FILE *stream;-
546 char buf[1024];-
547 const char *const baseplan = "/.plan";-
548 char *const plan =-
549 xmalloc (strlen (pw->pw_dir) + strlen (baseplan) + 1);-
550 stpcpy (stpcpy (plan, pw->pw_dir), baseplan);-
551-
552 stream = fopen (plan, "r");-
553 if (stream
streamDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
554 {-
555 size_t bytes;-
556-
557 printf (-
558 dcgettext (((void *)0), -
559 "Plan:\n"-
560 , 5)-
561 );-
562-
563 while ((
(bytes = fread...),stream)) > 0Description
TRUEnever evaluated
FALSEnever evaluated
bytes = fread_unlocked (buf,1,sizeof (buf),stream)) > 0
(bytes = fread...),stream)) > 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
564 -
565 (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
__extension__ ((__builtin_constant_p (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
566 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
567 ) && __builtin_constant_p (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
568 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
569 ) && (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
570 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
571 ) * (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
572 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
573 ) <= 8 && (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
574 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
575 ) != 0) ? ({ const char *__ptr = (const char *) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
576 buf
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
577 ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
578 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
579 ) * (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
580 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
581 ); __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) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
582 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
583 ) * (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
584 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
585 ) - __cnt) / (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
586 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
587 ); }) : (((__builtin_constant_p (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
588 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
589 ) && (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
590 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
591 ) == 0) || (__builtin_constant_p (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
592 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
593 ) && (size_t) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
594 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
595 ) == 0)) ? ((void) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
596 buf
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
597 ), (void) (stdout), (void) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
598 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
599 ), (void) (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
600 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
601 ), (size_t) 0) : fwrite_unlocked (
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
602 buf
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
603 ,
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
604 1
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
605 ,
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
606 bytes
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
607 , stdout))))
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
608 ;
never executed: (__extension__ ((__builtin_constant_p ( 1 ) && __builtin_constant_p ( bytes ) && (size_t) ( 1 ) * (size_t) ( bytes ) <= 8 && (size_t) ( 1 ) != 0) ? ({ const char *__ptr = (const char *) ( buf ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_...; }) : (((__builtin_constant_p ( 1 ) && (size_t) ( 1 ) == 0) || (__builtin_constant_p ( bytes ) && (size_t) ( bytes ) == 0)) ? ((void) ( buf ), (void) (stdout), (void) ( 1 ), (void) ( bytes ), (size_t) 0) : fwrite_unlocked ( buf , 1 , bytes , stdout)))) ;
0
609 -
610 rpl_fclose -
611 (stream);-
612 }
never executed: end of block
0
613-
614 free (plan);-
615 }
never executed: end of block
0
616-
617 putchar_unlocked ('\n');-
618}
never executed: end of block
0
619-
620-
621-
622-
623static void-
624print_heading (void)-
625{-
626 printf ("%-8s", -
627 dcgettext (((void *)0), -
628 "Login"-
629 , 5)-
630 );-
631 if (include_fullname
include_fullnameDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
632 printf (" %-19s",
executed 1 time by 1 test: printf (" %-19s", dcgettext (((void *)0), "Name" , 5) );
Executed by:
  • pinky
1
633 dcgettext (((void *)0),
executed 1 time by 1 test: printf (" %-19s", dcgettext (((void *)0), "Name" , 5) );
Executed by:
  • pinky
1
634 "Name"
executed 1 time by 1 test: printf (" %-19s", dcgettext (((void *)0), "Name" , 5) );
Executed by:
  • pinky
1
635 , 5)
executed 1 time by 1 test: printf (" %-19s", dcgettext (((void *)0), "Name" , 5) );
Executed by:
  • pinky
1
636 );
executed 1 time by 1 test: printf (" %-19s", dcgettext (((void *)0), "Name" , 5) );
Executed by:
  • pinky
1
637 printf (" %-9s", -
638 dcgettext (((void *)0), -
639 " TTY"-
640 , 5)-
641 );-
642 if (include_idle
include_idleDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
643 printf (" %-6s",
executed 1 time by 1 test: printf (" %-6s", dcgettext (((void *)0), "Idle" , 5) );
Executed by:
  • pinky
1
644 dcgettext (((void *)0),
executed 1 time by 1 test: printf (" %-6s", dcgettext (((void *)0), "Idle" , 5) );
Executed by:
  • pinky
1
645 "Idle"
executed 1 time by 1 test: printf (" %-6s", dcgettext (((void *)0), "Idle" , 5) );
Executed by:
  • pinky
1
646 , 5)
executed 1 time by 1 test: printf (" %-6s", dcgettext (((void *)0), "Idle" , 5) );
Executed by:
  • pinky
1
647 );
executed 1 time by 1 test: printf (" %-6s", dcgettext (((void *)0), "Idle" , 5) );
Executed by:
  • pinky
1
648 printf (" %-*s", time_format_width, -
649 dcgettext (((void *)0), -
650 "When"-
651 , 5)-
652 );-
653-
654 if (include_where
include_whereDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
655 printf (" %s",
executed 1 time by 1 test: printf (" %s", dcgettext (((void *)0), "Where" , 5) );
Executed by:
  • pinky
1
656 dcgettext (((void *)0),
executed 1 time by 1 test: printf (" %s", dcgettext (((void *)0), "Where" , 5) );
Executed by:
  • pinky
1
657 "Where"
executed 1 time by 1 test: printf (" %s", dcgettext (((void *)0), "Where" , 5) );
Executed by:
  • pinky
1
658 , 5)
executed 1 time by 1 test: printf (" %s", dcgettext (((void *)0), "Where" , 5) );
Executed by:
  • pinky
1
659 );
executed 1 time by 1 test: printf (" %s", dcgettext (((void *)0), "Where" , 5) );
Executed by:
  • pinky
1
660-
661 putchar_unlocked ('\n');-
662}
executed 1 time by 1 test: end of block
Executed by:
  • pinky
1
663-
664-
665-
666static void-
667scan_entries (size_t n, const STRUCT_UTMP *utmp_buf,-
668 const int argc_names, char *const argv_names[])-
669{-
670 if (hard_locale (
hard_locale ( 2 )Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
0-1
671 2
hard_locale ( 2 )Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
0-1
672 )
hard_locale ( 2 )Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
)
0-1
673 {-
674 time_format = "%Y-%m-%d %H:%M";-
675 time_format_width = 4 + 1 + 2 + 1 + 2 + 1 + 2 + 1 + 2;-
676 }
never executed: end of block
0
677 else-
678 {-
679 time_format = "%b %e %H:%M";-
680 time_format_width = 3 + 1 + 2 + 1 + 2 + 1 + 2;-
681 }
executed 1 time by 1 test: end of block
Executed by:
  • pinky
1
682-
683 if (include_heading
include_headingDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
684 print_heading ();
executed 1 time by 1 test: print_heading ();
Executed by:
  • pinky
1
685-
686 while (n--
n--Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • pinky
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
)
1-4
687 {-
688 if ((((
((utmp_buf)-> ut_user )[0]Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
utmp_buf)->
((utmp_buf)-> ut_user )[0]Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
0-4
689 ut_user
((utmp_buf)-> ut_user )[0]Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
0-4
690 )[0]
((utmp_buf)-> ut_user )[0]Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
&& (((
((utmp_buf)->ut_type == ( 7 ))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEevaluated 3 times by 1 test
Evaluated by:
  • pinky
utmp_buf)->ut_type == (
((utmp_buf)->ut_type == ( 7 ))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEevaluated 3 times by 1 test
Evaluated by:
  • pinky
0-4
691 7
((utmp_buf)->ut_type == ( 7 ))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEevaluated 3 times by 1 test
Evaluated by:
  • pinky
1-3
692 ))
((utmp_buf)->ut_type == ( 7 ))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEevaluated 3 times by 1 test
Evaluated by:
  • pinky
|| (0 && ((
dead code: ((utmp_buf)->ut_tv.tv_sec) != 0
utmp_buf)->ut_tv.tv_sec) != 0
dead code: ((utmp_buf)->ut_tv.tv_sec) != 0
))))
-
693 {-
694 if (argc_names
argc_namesDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
)
0-1
695 {-
696 for (int i = 0; i < argc_names
i < argc_namesDescription
TRUEnever evaluated
FALSEnever evaluated
; i++)
0
697 if ((
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
698 (__extension__ (__builtin_constant_p (
__builtin_cons...UT_USER_SIZE )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
699 UT_USER_SIZE
__builtin_cons...UT_USER_SIZE )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
700 )
__builtin_cons...UT_USER_SIZE )Description
TRUEnever evaluated
FALSEnever evaluated
&& ((__builtin_constant_p (
__builtin_cons...-> ut_user ) )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
701 ((utmp_buf)->
__builtin_cons...-> ut_user ) )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
702 ut_user
__builtin_cons...-> ut_user ) )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
703 )
__builtin_cons...-> ut_user ) )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
704 )
__builtin_cons...-> ut_user ) )Description
TRUEnever evaluated
FALSEnever evaluated
&& strlen (
strlen ( ((utm...T_USER_SIZE ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
705 ((utmp_buf)->
strlen ( ((utm...T_USER_SIZE ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
706 ut_user
strlen ( ((utm...T_USER_SIZE ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
707 )
strlen ( ((utm...T_USER_SIZE ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
708 ) < ((size_t) (
strlen ( ((utm...T_USER_SIZE ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
709 UT_USER_SIZE
strlen ( ((utm...T_USER_SIZE ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
710 ))
strlen ( ((utm...T_USER_SIZE ))Description
TRUEnever evaluated
FALSEnever evaluated
) || (__builtin_constant_p (
__builtin_cons...rgv_names[i] )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
711 argv_names[i]
__builtin_cons...rgv_names[i] )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
712 )
__builtin_cons...rgv_names[i] )Description
TRUEnever evaluated
FALSEnever evaluated
&& strlen (
strlen ( argv_...T_USER_SIZE ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
713 argv_names[i]
strlen ( argv_...T_USER_SIZE ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
714 ) < ((size_t) (
strlen ( argv_...T_USER_SIZE ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
715 UT_USER_SIZE
strlen ( argv_...T_USER_SIZE ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
716 ))
strlen ( argv_...T_USER_SIZE ))Description
TRUEnever evaluated
FALSEnever evaluated
)) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
717 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
718 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
719 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
720 ) && __builtin_constant_p (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
721 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
722 ) && (__s1_len = __builtin_strlen (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
723 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
724 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
725 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
726 ), __s2_len = __builtin_strlen (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
727 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
728 ), (!((size_t)(const void *)((
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
729 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
730 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
731 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
732 ) + 1) - (size_t)(const void *)(
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
733 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
734 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
735 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
736 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
737 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
738 ) + 1) - (size_t)(const void *)(
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
739 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
740 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
741 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
742 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
743 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
744 ,
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
745 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
746 ) : (__builtin_constant_p (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
747 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
748 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
749 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
750 ) && ((size_t)(const void *)((
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
751 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
752 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
753 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
754 ) + 1) - (size_t)(const void *)(
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
755 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
756 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
757 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
758 ) == 1) && (__s1_len = __builtin_strlen (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
759 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
760 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
761 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
762 ), __s1_len < 4) ? (__builtin_constant_p (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
763 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
764 ) && ((size_t)(const void *)((
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
765 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
766 ) + 1) - (size_t)(const void *)(
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
767 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
768 ) == 1) ? __builtin_strcmp (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
769 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
770 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
771 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
772 ,
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
773 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
774 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
775 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
776 ); int __result = (((const unsigned char *) (const char *) (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
777 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
778 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
779 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
780 ))[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...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
781 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
782 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
783 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
784 ))[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...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
785 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
786 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
787 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
788 ))[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 *) ( ((utmp_buf)-> ut_user ) ))[3] - __s2[3]);
0
789 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( ((utmp_buf)-> ut_user ) ))[3] - __s2[3]);
0
790 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( ((utmp_buf)-> ut_user ) ))[3] - __s2[3]);
0
791 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( ((utmp_buf)-> ut_user ) ))[3] - __s2[3]);
0
792 ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
793 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
794 ) && ((size_t)(const void *)((
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
795 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
796 ) + 1) - (size_t)(const void *)(
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
797 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
798 ) == 1) && (__s2_len = __builtin_strlen (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
799 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
800 ), __s2_len < 4) ? (__builtin_constant_p (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
801 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
802 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
803 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
804 ) && ((size_t)(const void *)((
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
805 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
806 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
807 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
808 ) + 1) - (size_t)(const void *)(
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
809 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
810 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
811 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
812 ) == 1) ? __builtin_strcmp (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
813 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
814 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
815 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
816 ,
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
817 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
818 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
819 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
820 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
821 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
822 ); int __result = (((const unsigned char *) (const char *) (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
823 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
824 ))[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...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
825 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
826 ))[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...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
827 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
828 ))[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 *) ( argv_names[i] ))[3] - __s2[3]);
0
829 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( argv_names[i] ))[3] - __s2[3]);
0
830 ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
831 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
832 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
833 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
834 ,
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
835 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
836 )))); }) : strncmp (
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
837 ((utmp_buf)->
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
838 ut_user
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
839 )
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
840 ,
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
841 argv_names[i]
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
842 ,
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
843 UT_USER_SIZE
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
844 )))
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
845 == 0)
( (__extension...SIZE ))) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
846 {-
847 print_entry (utmp_buf);-
848 break;
never executed: break;
0
849 }-
850 }
never executed: end of block
0
851 else-
852 print_entry (utmp_buf);
executed 1 time by 1 test: print_entry (utmp_buf);
Executed by:
  • pinky
1
853 }-
854 utmp_buf++;-
855 }
executed 4 times by 1 test: end of block
Executed by:
  • pinky
4
856}
executed 1 time by 1 test: end of block
Executed by:
  • pinky
1
857-
858-
859-
860static void-
861short_pinky (const char *filename,-
862 const int argc_names, char *const argv_names[])-
863{-
864 size_t n_users;-
865 STRUCT_UTMP *utmp_buf = -
866 ((void *)0)-
867 ;-
868-
869 if (read_utmp (filename, &n_users, &utmp_buf, 0) != 0
read_utmp (fil...p_buf, 0) != 0Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
)
0-1
870 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
871 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
872 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
873 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
874 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
875 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
876 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
877 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
878 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
879 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
880 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
881 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
882 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
883 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
884 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ...(0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
885-
886 scan_entries (n_users, utmp_buf, argc_names, argv_names);-
887-
888 ;-
889}
executed 1 time by 1 test: end of block
Executed by:
  • pinky
1
890-
891static void-
892long_pinky (const int argc_names, char *const argv_names[])-
893{-
894 for (int i = 0; i < argc_names
i < argc_namesDescription
TRUEnever evaluated
FALSEnever evaluated
; i++)
0
895 print_long_entry (argv_names[i]);
never executed: print_long_entry (argv_names[i]);
0
896}
never executed: end of block
0
897-
898void-
899usage (int status)-
900{-
901 if (status !=
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • pinky
FALSEevaluated 12 times by 1 test
Evaluated by:
  • pinky
3-12
902 0
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • pinky
FALSEevaluated 12 times by 1 test
Evaluated by:
  • pinky
3-12
903 )-
904 do { fprintf (-
905 stderr-
906 , -
907 dcgettext (((void *)0), -
908 "Try '%s --help' for more information.\n"-
909 , 5)-
910 , program_name); }
executed 3 times by 1 test: end of block
Executed by:
  • pinky
while (0);
3
911 else-
912 {-
913 printf (-
914 dcgettext (((void *)0), -
915 "Usage: %s [OPTION]... [USER]...\n"-
916 , 5)-
917 , program_name);-
918 fputs_unlocked (-
919 dcgettext (((void *)0), -
920 "\n -l produce long format output for the specified USERs\n -b omit the user's home directory and shell in long format\n -h omit the user's project file in long format\n -p omit the user's plan file in long format\n -s do short format output, this is the default\n"-
921 , 5)-
922 ,-
923 stdout-
924 )-
925-
926-
927-
928-
929-
930-
931 ;-
932 fputs_unlocked (-
933 dcgettext (((void *)0), -
934 " -f omit the line of column headings in short format\n -w omit the user's full name in short format\n -i omit the user's full name and remote host in short format\n -q omit the user's full name, remote host and idle time\n in short format\n"-
935 , 5)-
936 ,-
937 stdout-
938 )-
939-
940-
941-
942-
943-
944 ;-
945 fputs_unlocked (-
946 dcgettext (((void *)0), -
947 " --help display this help and exit\n"-
948 , 5)-
949 ,-
950 stdout-
951 );-
952 fputs_unlocked (-
953 dcgettext (((void *)0), -
954 " --version output version information and exit\n"-
955 , 5)-
956 ,-
957 stdout-
958 );-
959 printf (-
960 dcgettext (((void *)0), -
961 "\nA lightweight 'finger' program; print user information.\nThe utmp file will be %s.\n"-
962 , 5)-
963-
964-
965-
966 -
967 , -
968 "/var/run/utmp"-
969 );-
970 emit_ancillary_info ("pinky");-
971 }
executed 12 times by 1 test: end of block
Executed by:
  • pinky
12
972 exit (status);
executed 15 times by 1 test: exit (status);
Executed by:
  • pinky
15
973}-
974-
975int-
976main (int argc, char **argv)-
977{-
978 int optc;-
979 int n_users;-
980-
981 ;-
982 set_program_name (argv[0]);-
983 setlocale (-
984 6-
985 , "");-
986 bindtextdomain ("coreutils", "/usr/local/share/locale");-
987 textdomain ("coreutils");-
988-
989 atexit (close_stdout);-
990-
991 while ((
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • pinky
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
optc = getopt_long (argc, argv, "sfwiqbhlp", longopts,
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • pinky
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
1-27
992 ((void *)0)
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • pinky
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
1-27
993 )) != -1
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 27 times by 1 test
Evaluated by:
  • pinky
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
)
1-27
994 {-
995 switch (optc)-
996 {-
997 case
executed 1 time by 1 test: case 's':
Executed by:
  • pinky
's':
executed 1 time by 1 test: case 's':
Executed by:
  • pinky
1
998 do_short_format = -
999 1-
1000 ;-
1001 break;
executed 1 time by 1 test: break;
Executed by:
  • pinky
1
1002-
1003 case
executed 1 time by 1 test: case 'l':
Executed by:
  • pinky
'l':
executed 1 time by 1 test: case 'l':
Executed by:
  • pinky
1
1004 do_short_format = -
1005 0-
1006 ;-
1007 break;
executed 1 time by 1 test: break;
Executed by:
  • pinky
1
1008-
1009 case
executed 1 time by 1 test: case 'f':
Executed by:
  • pinky
'f':
executed 1 time by 1 test: case 'f':
Executed by:
  • pinky
1
1010 include_heading = -
1011 0-
1012 ;-
1013 break;
executed 1 time by 1 test: break;
Executed by:
  • pinky
1
1014-
1015 case
executed 1 time by 1 test: case 'w':
Executed by:
  • pinky
'w':
executed 1 time by 1 test: case 'w':
Executed by:
  • pinky
1
1016 include_fullname = -
1017 0-
1018 ;-
1019 break;
executed 1 time by 1 test: break;
Executed by:
  • pinky
1
1020-
1021 case
executed 1 time by 1 test: case 'i':
Executed by:
  • pinky
'i':
executed 1 time by 1 test: case 'i':
Executed by:
  • pinky
1
1022 include_fullname = -
1023 0-
1024 ;-
1025-
1026 include_where = -
1027 0-
1028 ;-
1029-
1030 break;
executed 1 time by 1 test: break;
Executed by:
  • pinky
1
1031-
1032 case
executed 1 time by 1 test: case 'q':
Executed by:
  • pinky
'q':
executed 1 time by 1 test: case 'q':
Executed by:
  • pinky
1
1033 include_fullname = -
1034 0-
1035 ;-
1036-
1037 include_where = -
1038 0-
1039 ;-
1040-
1041 include_idle = -
1042 0-
1043 ;-
1044 break;
executed 1 time by 1 test: break;
Executed by:
  • pinky
1
1045-
1046 case
executed 1 time by 1 test: case 'h':
Executed by:
  • pinky
'h':
executed 1 time by 1 test: case 'h':
Executed by:
  • pinky
1
1047 include_project = -
1048 0-
1049 ;-
1050 break;
executed 1 time by 1 test: break;
Executed by:
  • pinky
1
1051-
1052 case
executed 1 time by 1 test: case 'p':
Executed by:
  • pinky
'p':
executed 1 time by 1 test: case 'p':
Executed by:
  • pinky
1
1053 include_plan = -
1054 0-
1055 ;-
1056 break;
executed 1 time by 1 test: break;
Executed by:
  • pinky
1
1057-
1058 case
executed 1 time by 1 test: case 'b':
Executed by:
  • pinky
'b':
executed 1 time by 1 test: case 'b':
Executed by:
  • pinky
1
1059 include_home_and_shell = -
1060 0-
1061 ;-
1062 break;
executed 1 time by 1 test: break;
Executed by:
  • pinky
1
1063-
1064 case
executed 12 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • pinky
GETOPT_HELP_CHAR:
executed 12 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • pinky
usage (
12
1065 0-
1066 ); break;
never executed: break;
;
0
1067-
1068 case
executed 3 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • pinky
GETOPT_VERSION_CHAR:
executed 3 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • pinky
version_etc (
3
1069 stdout-
1070 , "pinky", "GNU coreutils", Version, ("Joseph Arceneaux"), ("David MacKenzie"), ("Kaveh Ghazi"), (char *) -
1071 ((void *)0)-
1072 ); exit (
executed 3 times by 1 test: exit ( 0 );
Executed by:
  • pinky
3
1073 0
executed 3 times by 1 test: exit ( 0 );
Executed by:
  • pinky
3
1074 );
executed 3 times by 1 test: exit ( 0 );
Executed by:
  • pinky
break;
never executed: break;
;
0-3
1075-
1076 default
executed 3 times by 1 test: default:
Executed by:
  • pinky
:
executed 3 times by 1 test: default:
Executed by:
  • pinky
3
1077 usage (-
1078 1-
1079 );-
1080 }
never executed: end of block
0
1081 }-
1082-
1083 n_users = argc - optind;-
1084-
1085 if (!do_short_format
!do_short_formatDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • pinky
&& n_users == 0
n_users == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0-1
1086 {-
1087 error (0, 0, -
1088 dcgettext (((void *)0), -
1089 "no username specified; at least one must be specified when using -l"-
1090 , 5)-
1091 -
1092 );-
1093 usage (-
1094 1-
1095 );-
1096 }
never executed: end of block
0
1097-
1098 if (do_short_format
do_short_formatDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • pinky
FALSEnever evaluated
)
0-1
1099 short_pinky (
executed 1 time by 1 test: short_pinky ( "/var/run/utmp" , n_users, argv + optind);
Executed by:
  • pinky
1
1100 "/var/run/utmp"
executed 1 time by 1 test: short_pinky ( "/var/run/utmp" , n_users, argv + optind);
Executed by:
  • pinky
1
1101 , n_users, argv + optind);
executed 1 time by 1 test: short_pinky ( "/var/run/utmp" , n_users, argv + optind);
Executed by:
  • pinky
1
1102 else-
1103 long_pinky (n_users, argv + optind);
never executed: long_pinky (n_users, argv + optind);
0
1104-
1105 return
executed 1 time by 1 test: return 0 ;
Executed by:
  • pinky
executed 1 time by 1 test: return 0 ;
Executed by:
  • pinky
1
1106 0
executed 1 time by 1 test: return 0 ;
Executed by:
  • pinky
1
1107 ;
executed 1 time by 1 test: return 0 ;
Executed by:
  • pinky
1
1108}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2