OpenCoverage

paste.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/paste.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3static -
4 _Bool -
5 have_read_stdin;-
6-
7-
8-
9static -
10 _Bool -
11 serial_merge;-
12-
13-
14static char *delims;-
15-
16-
17static char const *delim_end;-
18-
19static unsigned char line_delim = '\n';-
20-
21static struct option const longopts[] =-
22{-
23 {"serial", -
24 0-
25 , -
26 ((void *)0)-
27 , 's'},-
28 {"delimiters", -
29 1-
30 , -
31 ((void *)0)-
32 , 'd'},-
33 {"zero-terminated", -
34 0-
35 , -
36 ((void *)0)-
37 , 'z'},-
38 {"help", -
39 0-
40 , -
41 ((void *)0)-
42 , GETOPT_HELP_CHAR},-
43 {"version", -
44 0-
45 , -
46 ((void *)0)-
47 , GETOPT_VERSION_CHAR},-
48 {-
49 ((void *)0)-
50 , 0, -
51 ((void *)0)-
52 , 0}-
53};-
54static int-
55collapse_escapes (char const *strptr)-
56{-
57 char *strout = xstrdup (strptr);-
58 -
59 _Bool -
60 backslash_at_end = -
61 0-
62 ;-
63-
64 delims = strout;-
65-
66 while (*
*strptrDescription
TRUEevaluated 319 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 317 times by 1 test
Evaluated by:
  • paste
strptr
*strptrDescription
TRUEevaluated 319 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 317 times by 1 test
Evaluated by:
  • paste
)
317-319
67 {-
68 if (*
*strptr != '\\'Description
TRUEevaluated 243 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 76 times by 1 test
Evaluated by:
  • paste
strptr != '\\'
*strptr != '\\'Description
TRUEevaluated 243 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 76 times by 1 test
Evaluated by:
  • paste
)
76-243
69 *
executed 243 times by 1 test: *strout++ = *strptr++;
Executed by:
  • paste
strout++ = *strptr++;
executed 243 times by 1 test: *strout++ = *strptr++;
Executed by:
  • paste
243
70 else-
71 {-
72 switch (*++strptr)-
73 {-
74 case
executed 74 times by 1 test: case '0':
Executed by:
  • paste
'0':
executed 74 times by 1 test: case '0':
Executed by:
  • paste
74
75 *strout++ = '\0';-
76 break;
executed 74 times by 1 test: break;
Executed by:
  • paste
74
77-
78 case
never executed: case 'b':
'b':
never executed: case 'b':
0
79 *strout++ = '\b';-
80 break;
never executed: break;
0
81-
82 case
never executed: case 'f':
'f':
never executed: case 'f':
0
83 *strout++ = '\f';-
84 break;
never executed: break;
0
85-
86 case
never executed: case 'n':
'n':
never executed: case 'n':
0
87 *strout++ = '\n';-
88 break;
never executed: break;
0
89-
90 case
never executed: case 'r':
'r':
never executed: case 'r':
0
91 *strout++ = '\r';-
92 break;
never executed: break;
0
93-
94 case
never executed: case 't':
't':
never executed: case 't':
0
95 *strout++ = '\t';-
96 break;
never executed: break;
0
97-
98 case
never executed: case 'v':
'v':
never executed: case 'v':
0
99 *strout++ = '\v';-
100 break;
never executed: break;
0
101-
102 case
never executed: case '\\':
'\\':
never executed: case '\\':
0
103 *strout++ = '\\';-
104 break;
never executed: break;
0
105-
106 case
executed 2 times by 1 test: case '\0':
Executed by:
  • paste
'\0':
executed 2 times by 1 test: case '\0':
Executed by:
  • paste
2
107 backslash_at_end = -
108 1-
109 ;-
110 goto
executed 2 times by 1 test: goto done;
Executed by:
  • paste
done;
executed 2 times by 1 test: goto done;
Executed by:
  • paste
2
111-
112 default
never executed: default:
:
never executed: default:
0
113 *strout++ = *strptr;-
114 break;
never executed: break;
0
115 }-
116 strptr++;-
117 }
executed 74 times by 1 test: end of block
Executed by:
  • paste
74
118 }-
119-
120 done:
code before this statement executed 317 times by 1 test: done:
Executed by:
  • paste
317
121-
122 delim_end = strout;-
123 return
executed 319 times by 1 test: return backslash_at_end ? 1 : 0;
Executed by:
  • paste
backslash_at_end ? 1 : 0;
executed 319 times by 1 test: return backslash_at_end ? 1 : 0;
Executed by:
  • paste
319
124}-
125-
126-
127-
128static void write_error (void) __attribute__ ((__noreturn__));-
129static void-
130write_error (void)-
131{-
132 ((!!sizeof (struct { _Static_assert (-
133 1-
134 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
135 1-
136 , -
137 (*__errno_location ())-
138 , -
139 dcgettext (((void *)0), -
140 "write error"-
141 , 5)-
142 ), ((-
143 0-
144 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
145 1-
146 , -
147 (*__errno_location ())-
148 , -
149 dcgettext (((void *)0), -
150 "write error"-
151 , 5)-
152 ), ((-
153 0-
154 ) ? (void) 0 : __builtin_unreachable ()))));-
155}
never executed: end of block
0
156-
157-
158-
159static inline void-
160xputchar (char c)-
161{-
162 if (putchar_unlocked (c) < 0
putchar_unlocked (c) < 0Description
TRUEnever evaluated
FALSEevaluated 21184 times by 1 test
Evaluated by:
  • paste
)
0-21184
163 write_error ();
never executed: write_error ();
0
164}
executed 21184 times by 1 test: end of block
Executed by:
  • paste
21184
165-
166-
167-
168-
169-
170static -
171 _Bool-
172-
173paste_parallel (size_t nfiles, char **fnamptr)-
174{-
175 -
176 _Bool -
177 ok = -
178 1-
179 ;-
180-
181-
182-
183-
184 char *delbuf = xmalloc (nfiles + 2);-
185-
186-
187-
188 FILE **fileptr = xnmalloc (nfiles + 1, sizeof *fileptr);-
189-
190-
191 size_t files_open;-
192-
193-
194 -
195 _Bool -
196 opened_stdin = -
197 0-
198 ;-
199-
200-
201-
202-
203-
204 for (files_open = 0; files_open < nfiles
files_open < nfilesDescription
TRUEevaluated 34 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 18 times by 1 test
Evaluated by:
  • paste
; ++files_open)
18-34
205 {-
206 if ((
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
207 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
208 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
209 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
210 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
211 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
212 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
213 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
214 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
215 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
216 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
217 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
218 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
219 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
220 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
221 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
222 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
223 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
224 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
225 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
226 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
227 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
228 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
229 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
230 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
231 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
232 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
233 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
234 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
235 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
236 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
237 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
238 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
239 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
240 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
241 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
242 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
243 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
244 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
245 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
246 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
247 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
248 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
249 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
250 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
251 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
252 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
253 ))[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 *) ( fnamptr[files_open] ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
254 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
never executed: __result = (((const unsigned char *) (const char *) ( fnamptr[files_open] ))[3] - __s2[3]);
0-32
255 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
never executed: __result = (((const unsigned char *) (const char *) ( fnamptr[files_open] ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
256 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
257 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
258 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
259 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
260 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
261 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
262 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
263 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
264 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
265 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
266 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
267 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
268 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
269 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
270 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
271 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
272 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
273 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
274 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
275 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
276 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
277 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 34 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-34
278 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
279 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • paste
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
280 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
281 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
282 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0-32
283 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
} __result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
284 fnamptr[files_open]
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
285 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
286 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
287 )))); })
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
288 == 0)
( __extension_...)))); }) == 0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
)
2-32
289 {-
290 have_read_stdin = -
291 1-
292 ;-
293 fileptr[files_open] = -
294 stdin-
295 ;-
296 }
executed 2 times by 1 test: end of block
Executed by:
  • paste
2
297 else-
298 {-
299 fileptr[files_open] = fopen (fnamptr[files_open], "r");-
300 if (fileptr[files_open] ==
fileptr[files_...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
301 ((void *)0)
fileptr[files_...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
302 )-
303 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 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, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
304 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, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
305 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), 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, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
306 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, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
307 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
308 (*__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, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
309 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
310 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, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
311 ) ? (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, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
312 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, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
313 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
314 (*__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, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
315 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"%s\", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
316 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, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
317 ) ? (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, fnamptr[files_open])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errn...ng_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[files_open])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
318 else if (fileno (fileptr[files_open]) ==
fileno (filept...es_open]) == 0Description
TRUEnever evaluated
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
319 0
fileno (filept...es_open]) == 0Description
TRUEnever evaluated
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
320 )-
321 opened_stdin =
never executed: opened_stdin = 1 ;
0
322 1
never executed: opened_stdin = 1 ;
0
323 ;
never executed: opened_stdin = 1 ;
0
324 fadvise (fileptr[files_open], FADVISE_SEQUENTIAL);-
325 }
executed 32 times by 1 test: end of block
Executed by:
  • paste
32
326 }-
327-
328 if (opened_stdin
opened_stdinDescription
TRUEnever evaluated
FALSEevaluated 18 times by 1 test
Evaluated by:
  • paste
&& have_read_stdin
have_read_stdinDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-18
329 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
330 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
331 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
332 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
333 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
334 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
335 "standard input is closed"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
336 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
337 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
338 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
339 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
340 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
341 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
342 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
343 "standard input is closed"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
344 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
345 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
346 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
347 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"standard input is closed\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "standard input is closed" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
348-
349-
350-
351-
352-
353 while (files_open
files_openDescription
TRUEevaluated 44 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 18 times by 1 test
Evaluated by:
  • paste
)
18-44
354 {-
355-
356 -
357 _Bool -
358 somedone = -
359 0-
360 ;-
361 char const *delimptr = delims;-
362 size_t delims_saved = 0;-
363-
364 for (size_t i = 0; i < nfiles
i < nfilesDescription
TRUEevaluated 84 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 44 times by 1 test
Evaluated by:
  • paste
&& files_open
files_openDescription
TRUEevaluated 84 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
; i++)
0-84
365 {-
366 int chr ;-
367 int err ;-
368 -
369 _Bool -
370 sometodo = -
371 0-
372 ;-
373-
374 if (fileptr[i]
fileptr[i]Description
TRUEevaluated 84 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
)
0-84
375 {-
376 chr = getc_unlocked (fileptr[i]);-
377 err = -
378 (*__errno_location ())-
379 ;-
380 if (chr !=
chr != (-1)Description
TRUEevaluated 50 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 34 times by 1 test
Evaluated by:
  • paste
34-50
381 (-1)
chr != (-1)Description
TRUEevaluated 50 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 34 times by 1 test
Evaluated by:
  • paste
34-50
382 && delims_saved
delims_savedDescription
TRUEnever evaluated
FALSEevaluated 50 times by 1 test
Evaluated by:
  • paste
)
0-50
383 {-
384 if (-
385 (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
__extension__ ((__builtin_constant_p (
__builtin_constant_p ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
386 1
__builtin_constant_p ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
387 )
__builtin_constant_p ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
&& __builtin_constant_p (
__builtin_cons...delims_saved )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
388 delims_saved
__builtin_cons...delims_saved )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
389 )
__builtin_cons...delims_saved )Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( 1 )...s_saved ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 )...s_saved ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
390 1
(size_t) ( 1 )...s_saved ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
391 ) * (size_t) (
(size_t) ( 1 )...s_saved ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
392 delims_saved
(size_t) ( 1 )...s_saved ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
393 ) <= 8
(size_t) ( 1 )...s_saved ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
394 1
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
395 ) != 0
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) ? ({ const char *__ptr = (const char *) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
396 delbuf
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
397 ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
398 1
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
399 ) * (size_t) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
400 delims_saved
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
401 ); __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; ((size_t) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
402 1
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
403 ) * (size_t) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
404 delims_saved
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
405 ) - __cnt) / (size_t) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
406 1
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
407 ); }) : (((__builtin_constant_p (
__builtin_constant_p ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
408 1
__builtin_constant_p ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
409 )
__builtin_constant_p ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
410 1
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
411 ) == 0
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
) || (__builtin_constant_p (
__builtin_cons...delims_saved )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
412 delims_saved
__builtin_cons...delims_saved )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
413 )
__builtin_cons...delims_saved )Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( delims_saved ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( delims_saved ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
414 delims_saved
(size_t) ( delims_saved ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
415 ) == 0
(size_t) ( delims_saved ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)) ? ((void) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
416 delbuf
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
417 ), (void) (stdout), (void) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
418 1
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
419 ), (void) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
420 delims_saved
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
421 ), (size_t) 0) : fwrite_unlocked (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
422 delbuf
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
423 ,
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
424 1
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
425 ,
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
426 delims_saved
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
427 , stdout))))
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
428 != delims_saved
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
429 write_error ();
never executed: write_error ();
0
430 delims_saved = 0;-
431 }
never executed: end of block
0
432-
433 while (chr !=
chr != (-1)Description
TRUEevaluated 97 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 50 times by 1 test
Evaluated by:
  • paste
50-97
434 (-1)
chr != (-1)Description
TRUEevaluated 97 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 50 times by 1 test
Evaluated by:
  • paste
50-97
435 )-
436 {-
437 sometodo = -
438 1-
439 ;-
440 if (chr == line_delim
chr == line_delimDescription
TRUEevaluated 34 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 63 times by 1 test
Evaluated by:
  • paste
)
34-63
441 break;
executed 34 times by 1 test: break;
Executed by:
  • paste
34
442 xputchar (chr);-
443 chr = getc_unlocked (fileptr[i]);-
444 err = -
445 (*__errno_location ())-
446 ;-
447 }
executed 63 times by 1 test: end of block
Executed by:
  • paste
63
448 }
executed 84 times by 1 test: end of block
Executed by:
  • paste
84
449-
450 if (! sometodo
! sometodoDescription
TRUEevaluated 34 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 50 times by 1 test
Evaluated by:
  • paste
)
34-50
451 {-
452-
453-
454 if (fileptr[i]
fileptr[i]Description
TRUEevaluated 34 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
)
0-34
455 {-
456 if (ferror_unlocked (fileptr[i])
ferror_unlocked (fileptr[i])Description
TRUEnever evaluated
FALSEevaluated 34 times by 1 test
Evaluated by:
  • paste
)
0-34
457 {-
458 error (0, err, "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[i]));-
459 ok = -
460 0-
461 ;-
462 }
never executed: end of block
0
463 if (fileptr[i] ==
fileptr[i] == stdinDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
464 stdin
fileptr[i] == stdinDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
2-32
465 )-
466 clearerr_unlocked (fileptr[i]);
executed 2 times by 1 test: clearerr_unlocked (fileptr[i]);
Executed by:
  • paste
2
467 else if (-
468 rpl_fclose
rpl_fclose (fi...tr[i]) == (-1)Description
TRUEnever evaluated
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
469 (fileptr[i]) ==
rpl_fclose (fi...tr[i]) == (-1)Description
TRUEnever evaluated
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
470 (-1)
rpl_fclose (fi...tr[i]) == (-1)Description
TRUEnever evaluated
FALSEevaluated 32 times by 1 test
Evaluated by:
  • paste
0-32
471 )-
472 {-
473 error (0, -
474 (*__errno_location ())-
475 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, fnamptr[i]));-
476 ok = -
477 0-
478 ;-
479 }
never executed: end of block
0
480-
481 fileptr[i] = -
482 ((void *)0)-
483 ;-
484 files_open--;-
485 }
executed 34 times by 1 test: end of block
Executed by:
  • paste
34
486-
487 if (i + 1 == nfiles
i + 1 == nfilesDescription
TRUEevaluated 18 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 16 times by 1 test
Evaluated by:
  • paste
)
16-18
488 {-
489-
490-
491 if (somedone
somedoneDescription
TRUEnever evaluated
FALSEevaluated 18 times by 1 test
Evaluated by:
  • paste
)
0-18
492 {-
493-
494 if (delims_saved
delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
495 {-
496 if (-
497 (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
__extension__ ((__builtin_constant_p (
__builtin_constant_p ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
498 1
__builtin_constant_p ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
499 )
__builtin_constant_p ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
&& __builtin_constant_p (
__builtin_cons...delims_saved )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
500 delims_saved
__builtin_cons...delims_saved )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
501 )
__builtin_cons...delims_saved )Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( 1 )...s_saved ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 )...s_saved ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
502 1
(size_t) ( 1 )...s_saved ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
503 ) * (size_t) (
(size_t) ( 1 )...s_saved ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
504 delims_saved
(size_t) ( 1 )...s_saved ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
505 ) <= 8
(size_t) ( 1 )...s_saved ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
506 1
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
507 ) != 0
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) ? ({ const char *__ptr = (const char *) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
508 delbuf
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
509 ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
510 1
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
511 ) * (size_t) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
512 delims_saved
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
513 ); __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; ((size_t) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
514 1
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
515 ) * (size_t) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
516 delims_saved
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
517 ) - __cnt) / (size_t) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
518 1
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
519 ); }) : (((__builtin_constant_p (
__builtin_constant_p ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
520 1
__builtin_constant_p ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
521 )
__builtin_constant_p ( 1 )Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
522 1
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
523 ) == 0
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
) || (__builtin_constant_p (
__builtin_cons...delims_saved )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
524 delims_saved
__builtin_cons...delims_saved )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
525 )
__builtin_cons...delims_saved )Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( delims_saved ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( delims_saved ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
526 delims_saved
(size_t) ( delims_saved ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
527 ) == 0
(size_t) ( delims_saved ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)) ? ((void) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
528 delbuf
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
529 ), (void) (stdout), (void) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
530 1
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
531 ), (void) (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
532 delims_saved
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
533 ), (size_t) 0) : fwrite_unlocked (
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
534 delbuf
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
535 ,
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
536 1
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
537 ,
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
538 delims_saved
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
539 , stdout))))
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
540
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
0
541 != delims_saved
(__extension__...= delims_savedDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
542 write_error ();
never executed: write_error ();
0
543 delims_saved = 0;-
544 }
never executed: end of block
0
545 xputchar (line_delim);-
546 }
never executed: end of block
0
547 continue;
executed 18 times by 1 test: continue;
Executed by:
  • paste
18
548 }-
549 else-
550 {-
551-
552 if (*
*delimptr != '\0'Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
delimptr != '\0'
*delimptr != '\0'Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
)
0-16
553 delbuf[delims_saved++] = *delimptr;
executed 16 times by 1 test: delbuf[delims_saved++] = *delimptr;
Executed by:
  • paste
16
554 if (++
++delimptr == delim_endDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
delimptr == delim_end
++delimptr == delim_endDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
)
0-16
555 delimptr = delims;
executed 16 times by 1 test: delimptr = delims;
Executed by:
  • paste
16
556 }
executed 16 times by 1 test: end of block
Executed by:
  • paste
16
557 }-
558 else-
559 {-
560-
561 somedone = -
562 1-
563 ;-
564-
565-
566 if (i + 1 != nfiles
i + 1 != nfilesDescription
TRUEevaluated 24 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 26 times by 1 test
Evaluated by:
  • paste
)
24-26
567 {-
568 if (chr != line_delim
chr != line_delimDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 16 times by 1 test
Evaluated by:
  • paste
&& chr !=
chr != (-1)Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • paste
0-16
569 (-1)
chr != (-1)Description
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • paste
0-8
570 )-
571 xputchar (chr);
never executed: xputchar (chr);
0
572 if (*
*delimptr != '\0'Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
delimptr != '\0'
*delimptr != '\0'Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
)
0-24
573 xputchar (*delimptr);
executed 24 times by 1 test: xputchar (*delimptr);
Executed by:
  • paste
24
574 if (++
++delimptr == delim_endDescription
TRUEevaluated 24 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
delimptr == delim_end
++delimptr == delim_endDescription
TRUEevaluated 24 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
)
0-24
575 delimptr = delims;
executed 24 times by 1 test: delimptr = delims;
Executed by:
  • paste
24
576 }
executed 24 times by 1 test: end of block
Executed by:
  • paste
24
577 else-
578 {-
579-
580-
581 char c = (chr ==
chr == (-1)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 18 times by 1 test
Evaluated by:
  • paste
8-18
582 (-1)
chr == (-1)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 18 times by 1 test
Evaluated by:
  • paste
8-18
583 ? line_delim : chr);-
584 xputchar (c);-
585 }
executed 26 times by 1 test: end of block
Executed by:
  • paste
26
586 }-
587 }-
588 }
executed 44 times by 1 test: end of block
Executed by:
  • paste
44
589 free (fileptr);-
590 free (delbuf);-
591 return
executed 18 times by 1 test: return ok;
Executed by:
  • paste
ok;
executed 18 times by 1 test: return ok;
Executed by:
  • paste
18
592}-
593-
594-
595-
596-
597-
598static -
599 _Bool-
600-
601paste_serial (size_t nfiles, char **fnamptr)-
602{-
603 -
604 _Bool -
605 ok = -
606 1-
607 ;-
608 int charnew, charold;-
609 char const *delimptr;-
610 FILE *fileptr;-
611-
612 for (; nfiles
nfilesDescription
TRUEevaluated 299 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 299 times by 1 test
Evaluated by:
  • paste
; nfiles--, fnamptr++)
299
613 {-
614 int saved_errno;-
615 -
616 _Bool -
617 is_stdin = (-
618 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (-
619 *fnamptr-
620 ) && __builtin_constant_p (-
621 "-"-
622 ) && (__s1_len = __builtin_strlen (-
623 *fnamptr-
624 ), __s2_len = __builtin_strlen (-
625 "-"-
626 ), (!((size_t)(const void *)((-
627 *fnamptr-
628 ) + 1) - (size_t)(const void *)(-
629 *fnamptr-
630 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((-
631 "-"-
632 ) + 1) - (size_t)(const void *)(-
633 "-"-
634 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (-
635 *fnamptr-
636 , -
637 "-"-
638 ) : (__builtin_constant_p (-
639 *fnamptr-
640 ) && ((size_t)(const void *)((-
641 *fnamptr-
642 ) + 1) - (size_t)(const void *)(-
643 *fnamptr-
644 ) == 1) && (__s1_len = __builtin_strlen (-
645 *fnamptr-
646 ), __s1_len < 4) ? (__builtin_constant_p (-
647 "-"-
648 ) && ((size_t)(const void *)((-
649 "-"-
650 ) + 1) - (size_t)(const void *)(-
651 "-"-
652 ) == 1) ? __builtin_strcmp (-
653 *fnamptr-
654 , -
655 "-"-
656 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
657 "-"-
658 ); int __result = (((const unsigned char *) (const char *) (-
659 *fnamptr-
660 ))[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 *) (
0
661 *fnamptr-
662 ))[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 *) (
0
663 *fnamptr-
664 ))[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 *) ( *fnamptr ))[3] - __s2[3]);
0
665 *fnamptr
never executed: __result = (((const unsigned char *) (const char *) ( *fnamptr ))[3] - __s2[3]);
0
666 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( *fnamptr ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
0
667 "-"-
668 ) && ((size_t)(const void *)((-
669 "-"-
670 ) + 1) - (size_t)(const void *)(-
671 "-"-
672 ) == 1) && (__s2_len = __builtin_strlen (-
673 "-"-
674 ), __s2_len < 4) ? (__builtin_constant_p (-
675 *fnamptr-
676 ) && ((size_t)(const void *)((-
677 *fnamptr-
678 ) + 1) - (size_t)(const void *)(-
679 *fnamptr-
680 ) == 1) ? __builtin_strcmp (-
681 *fnamptr-
682 , -
683 "-"-
684 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
685 *fnamptr-
686 ); int __result = (((const unsigned char *) (const char *) (-
687 "-"-
688 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 299 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 299 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0-299
689 "-"-
690 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 299 times by 1 test
Evaluated by:
  • paste
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0-299
691 "-"-
692 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0
693 "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0
694 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
}
executed 299 times by 1 test: end of block
Executed by:
  • paste
__result; }))) : __builtin_strcmp (
0-299
695 *fnamptr-
696 , -
697 "-"-
698 )))); }) -
699 == 0);-
700 if (is_stdin
is_stdinDescription
TRUEevaluated 299 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
)
0-299
701 {-
702 have_read_stdin = -
703 1-
704 ;-
705 fileptr = -
706 stdin-
707 ;-
708 }
executed 299 times by 1 test: end of block
Executed by:
  • paste
299
709 else-
710 {-
711 fileptr = fopen (*fnamptr, "r");-
712 if (fileptr ==
fileptr == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
713 ((void *)0)
fileptr == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
714 )-
715 {-
716 error (0, -
717 (*__errno_location ())-
718 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, *fnamptr));-
719 ok = -
720 0-
721 ;-
722 continue;
never executed: continue;
0
723 }-
724 fadvise (fileptr, FADVISE_SEQUENTIAL);-
725 }
never executed: end of block
0
726-
727 delimptr = delims;-
728-
729 charold = getc_unlocked (fileptr);-
730 saved_errno = -
731 (*__errno_location ())-
732 ;-
733 if (charold !=
charold != (-1)Description
TRUEevaluated 299 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
0-299
734 (-1)
charold != (-1)Description
TRUEevaluated 299 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
0-299
735 )-
736 {-
737-
738-
739-
740-
741-
742-
743 while ((
(charnew = get...eptr)) != (-1)Description
TRUEevaluated 20922 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 299 times by 1 test
Evaluated by:
  • paste
charnew = getc_unlocked (fileptr)) !=
(charnew = get...eptr)) != (-1)Description
TRUEevaluated 20922 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 299 times by 1 test
Evaluated by:
  • paste
299-20922
744 (-1)
(charnew = get...eptr)) != (-1)Description
TRUEevaluated 20922 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 299 times by 1 test
Evaluated by:
  • paste
299-20922
745 )-
746 {-
747-
748 if (charold == line_delim
charold == line_delimDescription
TRUEevaluated 4792 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 16130 times by 1 test
Evaluated by:
  • paste
)
4792-16130
749 {-
750 if (*
*delimptr != '\0'Description
TRUEevaluated 4642 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 150 times by 1 test
Evaluated by:
  • paste
delimptr != '\0'
*delimptr != '\0'Description
TRUEevaluated 4642 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 150 times by 1 test
Evaluated by:
  • paste
)
150-4642
751 xputchar (*delimptr);
executed 4642 times by 1 test: xputchar (*delimptr);
Executed by:
  • paste
4642
752-
753 if (++
++delimptr == delim_endDescription
TRUEevaluated 4792 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
delimptr == delim_end
++delimptr == delim_endDescription
TRUEevaluated 4792 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
)
0-4792
754 delimptr = delims;
executed 4792 times by 1 test: delimptr = delims;
Executed by:
  • paste
4792
755 }
executed 4792 times by 1 test: end of block
Executed by:
  • paste
4792
756 else-
757 xputchar (charold);
executed 16130 times by 1 test: xputchar (charold);
Executed by:
  • paste
16130
758-
759 charold = charnew;-
760 }
executed 20922 times by 1 test: end of block
Executed by:
  • paste
20922
761 saved_errno = -
762 (*__errno_location ())-
763 ;-
764-
765-
766 xputchar (charold);-
767 }
executed 299 times by 1 test: end of block
Executed by:
  • paste
299
768-
769 if (charold != line_delim
charold != line_delimDescription
TRUEnever evaluated
FALSEevaluated 299 times by 1 test
Evaluated by:
  • paste
)
0-299
770 xputchar (line_delim);
never executed: xputchar (line_delim);
0
771-
772 if (ferror_unlocked (fileptr)
ferror_unlocked (fileptr)Description
TRUEnever evaluated
FALSEevaluated 299 times by 1 test
Evaluated by:
  • paste
)
0-299
773 {-
774 error (0, saved_errno, "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, *fnamptr));-
775 ok = -
776 0-
777 ;-
778 }
never executed: end of block
0
779 if (is_stdin
is_stdinDescription
TRUEevaluated 299 times by 1 test
Evaluated by:
  • paste
FALSEnever evaluated
)
0-299
780 clearerr_unlocked (fileptr);
executed 299 times by 1 test: clearerr_unlocked (fileptr);
Executed by:
  • paste
299
781 else if (-
782 rpl_fclose
rpl_fclose (fileptr) == (-1)Description
TRUEnever evaluated
FALSEnever evaluated
0
783 (fileptr) ==
rpl_fclose (fileptr) == (-1)Description
TRUEnever evaluated
FALSEnever evaluated
0
784 (-1)
rpl_fclose (fileptr) == (-1)Description
TRUEnever evaluated
FALSEnever evaluated
0
785 )-
786 {-
787 error (0, -
788 (*__errno_location ())-
789 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, *fnamptr));-
790 ok = -
791 0-
792 ;-
793 }
never executed: end of block
0
794 }
executed 299 times by 1 test: end of block
Executed by:
  • paste
299
795 return
executed 299 times by 1 test: return ok;
Executed by:
  • paste
ok;
executed 299 times by 1 test: return ok;
Executed by:
  • paste
299
796}-
797-
798void-
799usage (int status)-
800{-
801 if (status !=
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 9 times by 1 test
Evaluated by:
  • paste
3-9
802 0
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 9 times by 1 test
Evaluated by:
  • paste
3-9
803 )-
804 do { fprintf (-
805 stderr-
806 , -
807 dcgettext (((void *)0), -
808 "Try '%s --help' for more information.\n"-
809 , 5)-
810 , program_name); }
executed 3 times by 1 test: end of block
Executed by:
  • paste
while (0);
3
811 else-
812 {-
813 printf (-
814 dcgettext (((void *)0), -
815 "Usage: %s [OPTION]... [FILE]...\n"-
816 , 5)-
817-
818 -
819 ,-
820 program_name);-
821 fputs_unlocked (-
822 dcgettext (((void *)0), -
823 "Write lines consisting of the sequentially corresponding lines from\neach FILE, separated by TABs, to standard output.\n"-
824 , 5)-
825 ,-
826 stdout-
827 )-
828-
829-
830 ;-
831-
832 emit_stdin_note ();-
833 emit_mandatory_arg_note ();-
834-
835 fputs_unlocked (-
836 dcgettext (((void *)0), -
837 " -d, --delimiters=LIST reuse characters from LIST instead of TABs\n -s, --serial paste one file at a time instead of in parallel\n"-
838 , 5)-
839 ,-
840 stdout-
841 )-
842-
843-
844 ;-
845 fputs_unlocked (-
846 dcgettext (((void *)0), -
847 " -z, --zero-terminated line delimiter is NUL, not newline\n"-
848 , 5)-
849 ,-
850 stdout-
851 )-
852-
853 ;-
854 fputs_unlocked (-
855 dcgettext (((void *)0), -
856 " --help display this help and exit\n"-
857 , 5)-
858 ,-
859 stdout-
860 );-
861 fputs_unlocked (-
862 dcgettext (((void *)0), -
863 " --version output version information and exit\n"-
864 , 5)-
865 ,-
866 stdout-
867 );-
868-
869 emit_ancillary_info ("paste");-
870 }
executed 9 times by 1 test: end of block
Executed by:
  • paste
9
871 exit (status);
executed 12 times by 1 test: exit (status);
Executed by:
  • paste
12
872}-
873-
874int-
875main (int argc, char **argv)-
876{-
877 int optc;-
878 char const *delim_arg = "\t";-
879-
880 ;-
881 set_program_name (argv[0]);-
882 setlocale (-
883 6-
884 , "");-
885 bindtextdomain ("coreutils", "/usr/local/share/locale");-
886 textdomain ("coreutils");-
887-
888 atexit (close_stdout);-
889-
890 have_read_stdin = -
891 0-
892 ;-
893 serial_merge = -
894 0-
895 ;-
896-
897 while ((
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 638 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 319 times by 1 test
Evaluated by:
  • paste
optc = getopt_long (argc, argv, "d:sz", longopts,
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 638 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 319 times by 1 test
Evaluated by:
  • paste
319-638
898 ((void *)0)
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 638 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 319 times by 1 test
Evaluated by:
  • paste
319-638
899 )) != -1
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 638 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 319 times by 1 test
Evaluated by:
  • paste
)
319-638
900 {-
901 switch (optc)-
902 {-
903 case
executed 311 times by 1 test: case 'd':
Executed by:
  • paste
'd':
executed 311 times by 1 test: case 'd':
Executed by:
  • paste
311
904-
905 delim_arg = (optarg[0] == '\0'
optarg[0] == '\0'Description
TRUEevaluated 74 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 237 times by 1 test
Evaluated by:
  • paste
? "\\0" : optarg);
74-237
906 break;
executed 311 times by 1 test: break;
Executed by:
  • paste
311
907-
908 case
executed 301 times by 1 test: case 's':
Executed by:
  • paste
's':
executed 301 times by 1 test: case 's':
Executed by:
  • paste
301
909 serial_merge = -
910 1-
911 ;-
912 break;
executed 301 times by 1 test: break;
Executed by:
  • paste
301
913-
914 case
executed 10 times by 1 test: case 'z':
Executed by:
  • paste
'z':
executed 10 times by 1 test: case 'z':
Executed by:
  • paste
10
915 line_delim = '\0';-
916 break;
executed 10 times by 1 test: break;
Executed by:
  • paste
10
917-
918 case
executed 9 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • paste
GETOPT_HELP_CHAR:
executed 9 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • paste
usage (
9
919 0-
920 ); break;
never executed: break;
;
0
921-
922 case
executed 4 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • paste
GETOPT_VERSION_CHAR:
executed 4 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • paste
version_etc (
4
923 stdout-
924 , "paste", "GNU coreutils", Version, ("David M. Ihnat"), ("David MacKenzie"), (char *) -
925 ((void *)0)-
926 ); exit (
executed 4 times by 1 test: exit ( 0 );
Executed by:
  • paste
4
927 0
executed 4 times by 1 test: exit ( 0 );
Executed by:
  • paste
4
928 );
executed 4 times by 1 test: exit ( 0 );
Executed by:
  • paste
break;
never executed: break;
;
0-4
929-
930 default
executed 3 times by 1 test: default:
Executed by:
  • paste
:
executed 3 times by 1 test: default:
Executed by:
  • paste
3
931 usage (-
932 1-
933 );-
934 }
never executed: end of block
0
935 }-
936-
937 int nfiles = argc - optind;-
938 if (nfiles == 0
nfiles == 0Description
TRUEevaluated 301 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 18 times by 1 test
Evaluated by:
  • paste
)
18-301
939 {-
940 argv[optind] = bad_cast ("-");-
941 nfiles++;-
942 }
executed 301 times by 1 test: end of block
Executed by:
  • paste
301
943-
944 if (collapse_escapes (delim_arg)
collapse_escapes (delim_arg)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 317 times by 1 test
Evaluated by:
  • paste
)
2-317
945 {-
946-
947-
948 ((!!sizeof (struct { _Static_assert (-
949 1-
950 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"delimiter list ends with an unescaped backslash: %s\", 5), quotearg_n_style_colon (0, c_maybe_quoting_style, delim_arg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
951 1-
952 , 0, -
953 dcgettext (((void *)0), -
954 "delimiter list ends with an unescaped backslash: %s"-
955 , 5)-
956 , quotearg_n_style_colon (0, c_maybe_quoting_style, delim_arg)), ((-
957 0-
958 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
959 1-
960 , 0, -
961 dcgettext (((void *)0), -
962 "delimiter list ends with an unescaped backslash: %s"-
963 , 5)-
964 , quotearg_n_style_colon (0, c_maybe_quoting_style, delim_arg)), ((-
965 0-
966 ) ? (void) 0 : __builtin_unreachable ()))))-
967-
968 ;-
969 }
never executed: end of block
0
970-
971 -
972 _Bool -
973 ok = ((serial_merge
serial_mergeDescription
TRUEevaluated 299 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 18 times by 1 test
Evaluated by:
  • paste
? paste_serial : paste_parallel)
18-299
974 (nfiles, &argv[optind]));-
975-
976 free (delims);-
977-
978 if (have_read_stdin
have_read_stdinDescription
TRUEevaluated 301 times by 1 test
Evaluated by:
  • paste
FALSEevaluated 16 times by 1 test
Evaluated by:
  • paste
&&
16-301
979 rpl_fclose
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 301 times by 1 test
Evaluated by:
  • paste
0-301
980 (
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 301 times by 1 test
Evaluated by:
  • paste
0-301
981 stdin
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 301 times by 1 test
Evaluated by:
  • paste
0-301
982 ) ==
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 301 times by 1 test
Evaluated by:
  • paste
0-301
983 (-1)
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 301 times by 1 test
Evaluated by:
  • paste
0-301
984 )-
985 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
986 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
987 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
988 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
989 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
990 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
991 , "-"), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
992 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
993 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
994 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
995 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
996 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
997 , "-"), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
998 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
999 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), \"-\"), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , "-"), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1000 return
executed 317 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • paste
ok ?
executed 317 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • paste
317
1001 0
executed 317 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • paste
317
1002 :
executed 317 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • paste
317
1003 1
executed 317 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • paste
317
1004 ;
executed 317 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • paste
317
1005}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2