OpenCoverage

csplit.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/csplit.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6struct control-
7{-
8 intmax_t offset;-
9 uintmax_t lines_required;-
10 uintmax_t repeat;-
11 int argnum;-
12 -
13 _Bool -
14 repeat_forever;-
15 -
16 _Bool -
17 ignore;-
18 -
19 _Bool -
20 regexpr;-
21 struct re_pattern_buffer re_compiled;-
22};-
23struct cstring-
24{-
25 size_t len;-
26 char *str;-
27};-
28-
29-
30-
31struct line-
32{-
33 size_t used;-
34 size_t insert_index;-
35 size_t retrieve_index;-
36 struct cstring starts[80];-
37 struct line *next;-
38};-
39-
40-
41-
42-
43struct buffer_record-
44{-
45 size_t bytes_alloc;-
46 size_t bytes_used;-
47 uintmax_t start_line;-
48 uintmax_t first_available;-
49 size_t num_lines;-
50 char *buffer;-
51 struct line *line_start;-
52 struct line *curr_line;-
53 struct buffer_record *next;-
54};-
55-
56static void close_output_file (void);-
57static void create_output_file (void);-
58static void delete_all_files (-
59 _Bool-
60 );-
61static void save_line_to_file (const struct cstring *line);-
62-
63-
64static struct buffer_record *head = -
65 ((void *)0)-
66 ;-
67-
68-
69static char *hold_area = -
70 ((void *)0)-
71 ;-
72-
73-
74static size_t hold_count = 0;-
75-
76-
77static uintmax_t last_line_number = 0;-
78-
79-
80static uintmax_t current_line = 0;-
81-
82-
83static -
84 _Bool -
85 have_read_eof = -
86 0-
87 ;-
88-
89-
90static char *volatile filename_space = -
91 ((void *)0)-
92 ;-
93-
94-
95static char const *volatile prefix = -
96 ((void *)0)-
97 ;-
98-
99-
100static char *volatile suffix = -
101 ((void *)0)-
102 ;-
103-
104-
105static int volatile digits = 2;-
106-
107-
108static unsigned int volatile files_created = 0;-
109-
110-
111static uintmax_t bytes_written;-
112-
113-
114static FILE *output_stream = -
115 ((void *)0)-
116 ;-
117-
118-
119static char *output_filename = -
120 ((void *)0)-
121 ;-
122-
123-
124static char **global_argv;-
125-
126-
127static -
128 _Bool -
129 suppress_count;-
130-
131-
132static -
133 _Bool -
134 volatile remove_files;-
135-
136-
137static -
138 _Bool -
139 elide_empty_files;-
140-
141-
142static -
143 _Bool -
144 suppress_matched;-
145-
146-
147-
148static struct control *controls;-
149-
150-
151static size_t control_used;-
152-
153-
154static sigset_t caught_signals;-
155-
156-
157-
158enum-
159{-
160 SUPPRESS_MATCHED_OPTION = 0x7f + 1-
161};-
162-
163static struct option const longopts[] =-
164{-
165 {"digits", -
166 1-
167 , -
168 ((void *)0)-
169 , 'n'},-
170 {"quiet", -
171 0-
172 , -
173 ((void *)0)-
174 , 'q'},-
175 {"silent", -
176 0-
177 , -
178 ((void *)0)-
179 , 's'},-
180 {"keep-files", -
181 0-
182 , -
183 ((void *)0)-
184 , 'k'},-
185 {"elide-empty-files", -
186 0-
187 , -
188 ((void *)0)-
189 , 'z'},-
190 {"prefix", -
191 1-
192 , -
193 ((void *)0)-
194 , 'f'},-
195 {"suffix-format", -
196 1-
197 , -
198 ((void *)0)-
199 , 'b'},-
200 {"suppress-matched", -
201 0-
202 , -
203 ((void *)0)-
204 , SUPPRESS_MATCHED_OPTION},-
205 {"help", -
206 0-
207 , -
208 ((void *)0)-
209 , GETOPT_HELP_CHAR},-
210 {"version", -
211 0-
212 , -
213 ((void *)0)-
214 , GETOPT_VERSION_CHAR},-
215 {-
216 ((void *)0)-
217 , 0, -
218 ((void *)0)-
219 , 0}-
220};-
221-
222-
223-
224-
225static void-
226cleanup (void)-
227{-
228 sigset_t oldset;-
229-
230 close_output_file ();-
231-
232 sigprocmask (-
233 0-
234 , &caught_signals, &oldset);-
235 delete_all_files (-
236 0-
237 );-
238 sigprocmask (-
239 2-
240 , &oldset, -
241 ((void *)0)-
242 );-
243}
executed 2 times by 1 test: end of block
Executed by:
  • csplit
2
244-
245static void cleanup_fatal (void) __attribute__ ((__noreturn__));-
246static void-
247cleanup_fatal (void)-
248{-
249 cleanup ();-
250 exit (
executed 2 times by 1 test: exit ( 1 );
Executed by:
  • csplit
2
251 1
executed 2 times by 1 test: exit ( 1 );
Executed by:
  • csplit
2
252 );
executed 2 times by 1 test: exit ( 1 );
Executed by:
  • csplit
2
253}-
254-
255extern void-
256xalloc_die (void)-
257{-
258 error (0, 0, "%s", -
259 dcgettext (((void *)0), -
260 "memory exhausted"-
261 , 5)-
262 );-
263 cleanup_fatal ();-
264}
never executed: end of block
0
265-
266static void-
267interrupt_handler (int sig)-
268{-
269 delete_all_files (-
270 1-
271 );-
272 signal (sig, -
273 ((__sighandler_t) 0)-
274 );-
275-
276-
277-
278 raise (sig);-
279}
never executed: end of block
0
280-
281-
282-
283-
284static void-
285save_to_hold_area (char *start, size_t num)-
286{-
287 free (hold_area);-
288 hold_area = start;-
289 hold_count = num;-
290}
executed 613 times by 1 test: end of block
Executed by:
  • csplit
613
291-
292-
293-
294-
295static size_t-
296read_input (char *dest, size_t max_n_bytes)-
297{-
298 size_t bytes_read;-
299-
300 if (max_n_bytes == 0
max_n_bytes == 0Description
TRUEnever evaluated
FALSEevaluated 666 times by 1 test
Evaluated by:
  • csplit
)
0-666
301 return
never executed: return 0;
0;
never executed: return 0;
0
302-
303 bytes_read = safe_read (-
304 0-
305 , dest, max_n_bytes);-
306-
307 if (bytes_read == 0
bytes_read == 0Description
TRUEevaluated 26 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 640 times by 1 test
Evaluated by:
  • csplit
)
26-640
308 have_read_eof =
executed 26 times by 1 test: have_read_eof = 1 ;
Executed by:
  • csplit
26
309 1
executed 26 times by 1 test: have_read_eof = 1 ;
Executed by:
  • csplit
26
310 ;
executed 26 times by 1 test: have_read_eof = 1 ;
Executed by:
  • csplit
26
311-
312 if (bytes_read == ((size_t) -1)
bytes_read == ((size_t) -1)Description
TRUEnever evaluated
FALSEevaluated 666 times by 1 test
Evaluated by:
  • csplit
)
0-666
313 {-
314 error (0, -
315 (*__errno_location ())-
316 , -
317 dcgettext (((void *)0), -
318 "read error"-
319 , 5)-
320 );-
321 cleanup_fatal ();-
322 }
never executed: end of block
0
323-
324 return
executed 666 times by 1 test: return bytes_read;
Executed by:
  • csplit
bytes_read;
executed 666 times by 1 test: return bytes_read;
Executed by:
  • csplit
666
325}-
326-
327-
328-
329static void-
330clear_line_control (struct line *p)-
331{-
332 p->used = 0;-
333 p->insert_index = 0;-
334 p->retrieve_index = 0;-
335}
executed 31785 times by 1 test: end of block
Executed by:
  • csplit
31785
336-
337-
338-
339static struct line *-
340new_line_control (void)-
341{-
342 struct line *p = xmalloc (sizeof *p);-
343-
344 p->next = -
345 ((void *)0)-
346 ;-
347 clear_line_control (p);-
348-
349 return
executed 31785 times by 1 test: return p;
Executed by:
  • csplit
p;
executed 31785 times by 1 test: return p;
Executed by:
  • csplit
31785
350}-
351-
352-
353-
354-
355static void-
356keep_new_line (struct buffer_record *b, char *line_start, size_t line_len)-
357{-
358 struct line *l;-
359-
360-
361 if (b->line_start ==
b->line_start == ((void *)0)Description
TRUEevaluated 638 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2500504 times by 1 test
Evaluated by:
  • csplit
638-2500504
362 ((void *)0)
b->line_start == ((void *)0)Description
TRUEevaluated 638 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2500504 times by 1 test
Evaluated by:
  • csplit
638-2500504
363 )-
364 b->line_start = b->curr_line = new_line_control ();
executed 638 times by 1 test: b->line_start = b->curr_line = new_line_control ();
Executed by:
  • csplit
638
365-
366-
367 if (b->curr_line->used == 80
b->curr_line->used == 80Description
TRUEevaluated 31147 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2469995 times by 1 test
Evaluated by:
  • csplit
)
31147-2469995
368 {-
369 b->curr_line->next = new_line_control ();-
370 b->curr_line = b->curr_line->next;-
371 }
executed 31147 times by 1 test: end of block
Executed by:
  • csplit
31147
372-
373 l = b->curr_line;-
374-
375-
376 l->starts[l->insert_index].str = line_start;-
377 l->starts[l->insert_index].len = line_len;-
378 l->used++;-
379 l->insert_index++;-
380}
executed 2501142 times by 1 test: end of block
Executed by:
  • csplit
2501142
381static size_t-
382record_line_starts (struct buffer_record *b)-
383{-
384 char *line_start;-
385 char *line_end;-
386 size_t bytes_left;-
387 size_t lines;-
388 size_t line_length;-
389-
390 if (b->bytes_used == 0
b->bytes_used == 0Description
TRUEevaluated 26 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 640 times by 1 test
Evaluated by:
  • csplit
)
26-640
391 return
executed 26 times by 1 test: return 0;
Executed by:
  • csplit
0;
executed 26 times by 1 test: return 0;
Executed by:
  • csplit
26
392-
393 lines = 0;-
394 line_start = b->buffer;-
395 bytes_left = b->bytes_used;-
396-
397 while (-
398 1-
399 )-
400 {-
401 line_end = memchr (line_start, '\n', bytes_left);-
402 if (line_end ==
line_end == ((void *)0)Description
TRUEevaluated 640 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2501142 times by 1 test
Evaluated by:
  • csplit
640-2501142
403 ((void *)0)
line_end == ((void *)0)Description
TRUEevaluated 640 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2501142 times by 1 test
Evaluated by:
  • csplit
640-2501142
404 )-
405 break;
executed 640 times by 1 test: break;
Executed by:
  • csplit
640
406 line_length = line_end - line_start + 1;-
407 keep_new_line (b, line_start, line_length);-
408 bytes_left -= line_length;-
409 line_start = line_end + 1;-
410 lines++;-
411 }
executed 2501142 times by 1 test: end of block
Executed by:
  • csplit
2501142
412-
413-
414 if (bytes_left
bytes_leftDescription
TRUEevaluated 613 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 27 times by 1 test
Evaluated by:
  • csplit
)
27-613
415 {-
416 if (have_read_eof
have_read_eofDescription
TRUEnever evaluated
FALSEevaluated 613 times by 1 test
Evaluated by:
  • csplit
)
0-613
417 {-
418 keep_new_line (b, line_start, bytes_left);-
419 lines++;-
420 }
never executed: end of block
0
421 else-
422 save_to_hold_area (xmemdup (line_start, bytes_left), bytes_left);
executed 613 times by 1 test: save_to_hold_area (xmemdup (line_start, bytes_left), bytes_left);
Executed by:
  • csplit
613
423 }-
424-
425 b->num_lines = lines;-
426 b->first_available = b->start_line = last_line_number + 1;-
427 last_line_number += lines;-
428-
429 return
executed 640 times by 1 test: return lines;
Executed by:
  • csplit
lines;
executed 640 times by 1 test: return lines;
Executed by:
  • csplit
640
430}-
431-
432-
433-
434-
435static struct buffer_record *-
436create_new_buffer (size_t size)-
437{-
438 struct buffer_record *new_buffer = xmalloc (sizeof *new_buffer);-
439-
440 new_buffer->buffer = xmalloc (size + 1);-
441-
442 new_buffer->bytes_alloc = size;-
443 new_buffer->line_start = new_buffer->curr_line = -
444 ((void *)0)-
445 ;-
446-
447 return
executed 666 times by 1 test: return new_buffer;
Executed by:
  • csplit
new_buffer;
executed 666 times by 1 test: return new_buffer;
Executed by:
  • csplit
666
448}-
449-
450-
451-
452-
453static struct buffer_record *-
454get_new_buffer (size_t min_size)-
455{-
456 struct buffer_record *new_buffer;-
457 size_t alloc_size;-
458-
459 alloc_size = 8191;-
460 if (alloc_size < min_size
alloc_size < min_sizeDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 664 times by 1 test
Evaluated by:
  • csplit
)
2-664
461 {-
462 size_t s = min_size - alloc_size + 2048 - 1;-
463 alloc_size += s - s % 2048;-
464 }
executed 2 times by 1 test: end of block
Executed by:
  • csplit
2
465-
466 new_buffer = create_new_buffer (alloc_size);-
467-
468 new_buffer->num_lines = 0;-
469 new_buffer->bytes_used = 0;-
470 new_buffer->start_line = new_buffer->first_available = last_line_number + 1;-
471 new_buffer->next = -
472 ((void *)0)-
473 ;-
474-
475 return
executed 666 times by 1 test: return new_buffer;
Executed by:
  • csplit
new_buffer;
executed 666 times by 1 test: return new_buffer;
Executed by:
  • csplit
666
476}-
477-
478static void-
479free_buffer (struct buffer_record *buf)-
480{-
481 struct line *l;-
482 for (l = buf->line_start; l
lDescription
TRUEevaluated 31784 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 665 times by 1 test
Evaluated by:
  • csplit
;)
665-31784
483 {-
484 struct line *n = l->next;-
485 free (l);-
486 l = n;-
487 }
executed 31784 times by 1 test: end of block
Executed by:
  • csplit
31784
488 buf->line_start = -
489 ((void *)0)-
490 ;-
491 free (buf->buffer);-
492 buf->buffer = -
493 ((void *)0)-
494 ;-
495}
executed 665 times by 1 test: end of block
Executed by:
  • csplit
665
496-
497-
498-
499-
500static void-
501save_buffer (struct buffer_record *buf)-
502{-
503 struct buffer_record *p;-
504-
505 buf->next = -
506 ((void *)0)-
507 ;-
508 buf->curr_line = buf->line_start;-
509-
510 if (head ==
head == ((void *)0)Description
TRUEevaluated 637 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 1 time by 1 test
Evaluated by:
  • csplit
1-637
511 ((void *)0)
head == ((void *)0)Description
TRUEevaluated 637 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 1 time by 1 test
Evaluated by:
  • csplit
1-637
512 )-
513 head = buf;
executed 637 times by 1 test: head = buf;
Executed by:
  • csplit
637
514 else-
515 {-
516 for (p = head; p->next
p->nextDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • csplit
; p = p->next)
0-1
517 ;
never executed: ;
0
518 p->next = buf;-
519 }
executed 1 time by 1 test: end of block
Executed by:
  • csplit
1
520}-
521static -
522 _Bool-
523-
524load_buffer (void)-
525{-
526 struct buffer_record *b;-
527 size_t bytes_wanted = 8191;-
528 size_t bytes_avail;-
529 size_t lines_found;-
530 char *p;-
531-
532 if (have_read_eof
have_read_eofDescription
TRUEevaluated 15 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 664 times by 1 test
Evaluated by:
  • csplit
)
15-664
533 return
executed 15 times by 1 test: return 0 ;
Executed by:
  • csplit
executed 15 times by 1 test: return 0 ;
Executed by:
  • csplit
15
534 0
executed 15 times by 1 test: return 0 ;
Executed by:
  • csplit
15
535 ;
executed 15 times by 1 test: return 0 ;
Executed by:
  • csplit
15
536-
537-
538-
539 if (bytes_wanted < hold_count
bytes_wanted < hold_countDescription
TRUEnever evaluated
FALSEevaluated 664 times by 1 test
Evaluated by:
  • csplit
)
0-664
540 bytes_wanted = hold_count;
never executed: bytes_wanted = hold_count;
0
541-
542 while (1)-
543 {-
544 b = get_new_buffer (bytes_wanted);-
545 bytes_avail = b->bytes_alloc;-
546 p = b->buffer;-
547-
548-
549 if (hold_count
hold_countDescription
TRUEevaluated 613 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 53 times by 1 test
Evaluated by:
  • csplit
)
53-613
550 {-
551 memcpy (p, hold_area, hold_count);-
552 p += hold_count;-
553 b->bytes_used += hold_count;-
554 bytes_avail -= hold_count;-
555 hold_count = 0;-
556 }
executed 613 times by 1 test: end of block
Executed by:
  • csplit
613
557-
558 b->bytes_used += read_input (p, bytes_avail);-
559-
560 lines_found = record_line_starts (b);-
561-
562 if (lines_found
lines_foundDescription
TRUEevaluated 638 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 28 times by 1 test
Evaluated by:
  • csplit
|| have_read_eof
have_read_eofDescription
TRUEevaluated 26 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
)
2-638
563 break;
executed 664 times by 1 test: break;
Executed by:
  • csplit
664
564-
565 if ((
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
__builtin_constant_p (2)
__builtin_constant_p (2)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
&& __builtin_constant_p (b->bytes_alloc)
__builtin_cons...->bytes_alloc)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
? ((size_t) (
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
0-2
566 (9223372036854775807L)
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
0-2
567 <
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
0-2
568 (18446744073709551615UL)
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
0-2
569 ?
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
0-2
570 (9223372036854775807L)
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
0-2
571 :
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
0-2
572 (18446744073709551615UL)
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
0-2
573 - 1) / (b->bytes_alloc) < (2)) : ({ __xalloc_count_type __xalloc_count; __builtin_mul_overflow (2, b->bytes_alloc, &__xalloc_count); }))
(__builtin_con...oc_count); }))Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
)
0-2
574 xalloc_die ();
never executed: xalloc_die ();
0
575 bytes_wanted = 2 * b->bytes_alloc;-
576 free_buffer (b);-
577 free (b);-
578 }
executed 2 times by 1 test: end of block
Executed by:
  • csplit
2
579-
580 if (lines_found
lines_foundDescription
TRUEevaluated 638 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 26 times by 1 test
Evaluated by:
  • csplit
)
26-638
581 save_buffer (b);
executed 638 times by 1 test: save_buffer (b);
Executed by:
  • csplit
638
582 else-
583 {-
584 free_buffer (b);-
585 free (b);-
586 }
executed 26 times by 1 test: end of block
Executed by:
  • csplit
26
587-
588 return
executed 664 times by 1 test: return lines_found != 0;
Executed by:
  • csplit
lines_found != 0;
executed 664 times by 1 test: return lines_found != 0;
Executed by:
  • csplit
664
589}-
590-
591-
592-
593static uintmax_t-
594get_first_line_in_buffer (void)-
595{-
596 if (head ==
head == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 1052 times by 1 test
Evaluated by:
  • csplit
0-1052
597 ((void *)0)
head == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 1052 times by 1 test
Evaluated by:
  • csplit
0-1052
598 && !load_buffer ()
!load_buffer ()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
599 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
600 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
601 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
602 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
603 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
604 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
605 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
606 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
607 "input disappeared"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
608 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
609 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
610 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
611 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
612 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
613 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
614 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
615 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
616 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
617 "input disappeared"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
618 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
619 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
620 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
621 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"input disappeared\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "input disappeared" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
622-
623 return
executed 1052 times by 1 test: return head->first_available;
Executed by:
  • csplit
head->first_available;
executed 1052 times by 1 test: return head->first_available;
Executed by:
  • csplit
1052
624}-
625-
626-
627-
628-
629-
630static struct cstring *-
631remove_line (void)-
632{-
633-
634-
635-
636 static struct buffer_record *prev_buf = -
637 ((void *)0)-
638 ;-
639-
640 struct cstring *line;-
641 struct line *l;-
642-
643 if (prev_buf
prev_bufDescription
TRUEevaluated 637 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2500522 times by 1 test
Evaluated by:
  • csplit
)
637-2500522
644 {-
645 free_buffer (prev_buf);-
646 free (prev_buf);-
647 prev_buf = -
648 ((void *)0)-
649 ;-
650 }
executed 637 times by 1 test: end of block
Executed by:
  • csplit
637
651-
652 if (head ==
head == ((void *)0)Description
TRUEevaluated 26 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2501133 times by 1 test
Evaluated by:
  • csplit
26-2501133
653 ((void *)0)
head == ((void *)0)Description
TRUEevaluated 26 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2501133 times by 1 test
Evaluated by:
  • csplit
26-2501133
654 && !load_buffer ()
!load_buffer ()Description
TRUEevaluated 26 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
)
0-26
655 return
executed 26 times by 1 test: return ((void *)0) ;
Executed by:
  • csplit
executed 26 times by 1 test: return ((void *)0) ;
Executed by:
  • csplit
26
656 ((void *)0)
executed 26 times by 1 test: return ((void *)0) ;
Executed by:
  • csplit
26
657 ;
executed 26 times by 1 test: return ((void *)0) ;
Executed by:
  • csplit
26
658-
659 if (current_line < head->first_available
current_line <...irst_availableDescription
TRUEevaluated 23 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2501110 times by 1 test
Evaluated by:
  • csplit
)
23-2501110
660 current_line = head->first_available;
executed 23 times by 1 test: current_line = head->first_available;
Executed by:
  • csplit
23
661-
662 ++(head->first_available);-
663-
664 l = head->curr_line;-
665-
666 line = &l->starts[l->retrieve_index];-
667-
668-
669 if (++
++l->retrieve_index == l->usedDescription
TRUEevaluated 31784 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2469349 times by 1 test
Evaluated by:
  • csplit
l->retrieve_index == l->used
++l->retrieve_index == l->usedDescription
TRUEevaluated 31784 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2469349 times by 1 test
Evaluated by:
  • csplit
)
31784-2469349
670 {-
671-
672 head->curr_line = l->next;-
673 if (head->curr_line ==
head->curr_line == ((void *)0)Description
TRUEevaluated 637 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 31147 times by 1 test
Evaluated by:
  • csplit
637-31147
674 ((void *)0)
head->curr_line == ((void *)0)Description
TRUEevaluated 637 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 31147 times by 1 test
Evaluated by:
  • csplit
637-31147
675 || head->curr_line->used == 0
head->curr_line->used == 0Description
TRUEnever evaluated
FALSEevaluated 31147 times by 1 test
Evaluated by:
  • csplit
)
0-31147
676 {-
677-
678-
679-
680 prev_buf = head;-
681 head = head->next;-
682 }
executed 637 times by 1 test: end of block
Executed by:
  • csplit
637
683 }
executed 31784 times by 1 test: end of block
Executed by:
  • csplit
31784
684-
685 return
executed 2501133 times by 1 test: return line;
Executed by:
  • csplit
line;
executed 2501133 times by 1 test: return line;
Executed by:
  • csplit
2501133
686}-
687-
688-
689-
690-
691static struct cstring *-
692find_line (uintmax_t linenum)-
693{-
694 struct buffer_record *b;-
695-
696 if (head ==
head == ((void *)0)Description
TRUEevaluated 645 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2500505 times by 1 test
Evaluated by:
  • csplit
645-2500505
697 ((void *)0)
head == ((void *)0)Description
TRUEevaluated 645 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2500505 times by 1 test
Evaluated by:
  • csplit
645-2500505
698 && !load_buffer ()
!load_buffer ()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 637 times by 1 test
Evaluated by:
  • csplit
)
8-637
699 return
executed 8 times by 1 test: return ((void *)0) ;
Executed by:
  • csplit
executed 8 times by 1 test: return ((void *)0) ;
Executed by:
  • csplit
8
700 ((void *)0)
executed 8 times by 1 test: return ((void *)0) ;
Executed by:
  • csplit
8
701 ;
executed 8 times by 1 test: return ((void *)0) ;
Executed by:
  • csplit
8
702-
703 if (linenum < head->start_line
linenum < head->start_lineDescription
TRUEnever evaluated
FALSEevaluated 2501142 times by 1 test
Evaluated by:
  • csplit
)
0-2501142
704 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
705 ((void *)0)
never executed: return ((void *)0) ;
0
706 ;
never executed: return ((void *)0) ;
0
707-
708 for (b = head;;)-
709 {-
710 -
711 ((-
712 b-
713 ) ? (void) (0) : __assert_fail (-
714 "b"-
715 , "src/csplit.c", 618, __PRETTY_FUNCTION__))-
716 ;-
717 if (linenum < b->start_line + b->num_lines
linenum < b->s...+ b->num_linesDescription
TRUEevaluated 2501135 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 8 times by 1 test
Evaluated by:
  • csplit
)
8-2501135
718 {-
719-
720 struct line *l;-
721 size_t offset;-
722-
723 l = b->line_start;-
724 offset = linenum - b->start_line;-
725-
726 while (offset >= 80
offset >= 80Description
TRUEevaluated 62717685 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2501135 times by 1 test
Evaluated by:
  • csplit
)
2501135-62717685
727 {-
728 l = l->next;-
729 offset -= 80;-
730 }
executed 62717685 times by 1 test: end of block
Executed by:
  • csplit
62717685
731 return
executed 2501135 times by 1 test: return &l->starts[offset];
Executed by:
  • csplit
&l->starts[offset];
executed 2501135 times by 1 test: return &l->starts[offset];
Executed by:
  • csplit
2501135
732 }-
733 if (b->next ==
b->next == ((void *)0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
0-8
734 ((void *)0)
b->next == ((void *)0)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
0-8
735 && !load_buffer ()
!load_buffer ()Description
TRUEevaluated 7 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 1 time by 1 test
Evaluated by:
  • csplit
)
1-7
736 return
executed 7 times by 1 test: return ((void *)0) ;
Executed by:
  • csplit
executed 7 times by 1 test: return ((void *)0) ;
Executed by:
  • csplit
7
737 ((void *)0)
executed 7 times by 1 test: return ((void *)0) ;
Executed by:
  • csplit
7
738 ;
executed 7 times by 1 test: return ((void *)0) ;
Executed by:
  • csplit
7
739 b = b->next;-
740 }
executed 1 time by 1 test: end of block
Executed by:
  • csplit
1
741}
never executed: end of block
0
742-
743-
744-
745static -
746 _Bool-
747-
748no_more_lines (void)-
749{-
750 return
executed 30 times by 1 test: return find_line (current_line + 1) == ((void *)0) ;
Executed by:
  • csplit
find_line (current_line + 1) ==
executed 30 times by 1 test: return find_line (current_line + 1) == ((void *)0) ;
Executed by:
  • csplit
30
751 ((void *)0)
executed 30 times by 1 test: return find_line (current_line + 1) == ((void *)0) ;
Executed by:
  • csplit
30
752 ;
executed 30 times by 1 test: return find_line (current_line + 1) == ((void *)0) ;
Executed by:
  • csplit
30
753}-
754-
755-
756-
757static void-
758set_input_file (const char *name)-
759{-
760 if (! (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
761 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
762 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
763 ) && __builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
764 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
765 ) && (__s1_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
766 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
767 ), __s2_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
768 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
769 ), (!((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
770 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
771 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
772 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
773 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
774 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
775 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
776 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
777 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
778 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
779 ,
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
780 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
781 ) : (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
782 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
783 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
784 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
785 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
786 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
787 ) == 1) && (__s1_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
788 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
789 ), __s1_len < 4) ? (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
790 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
791 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
792 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
793 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
794 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
795 ) == 1) ? __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
796 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
797 ,
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
798 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
799 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
800 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
801 ); int __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
802 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
803 ))[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 *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
0-16
804 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
805 ))[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 *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
0-16
806 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
807 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( name ))[3] - __s2[3]);
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
0-16
808 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
never executed: __result = (((const unsigned char *) (const char *) ( name ))[3] - __s2[3]);
0-16
809 ))[3] - __s2[3]);
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
never executed: __result = (((const unsigned char *) (const char *) ( name ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
0-16
810 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
811 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
812 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
813 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
814 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
815 ) == 1) && (__s2_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
816 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
817 ), __s2_len < 4) ? (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
818 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
819 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
820 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
821 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
822 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
823 ) == 1) ? __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
824 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
825 ,
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
826 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
827 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
828 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
829 ); int __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
830 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
831 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 29 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 13 times by 1 test
Evaluated by:
  • csplit
) { __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
0-29
832 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
833 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
0-16
834 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
835 ))[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]);
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
0-16
836 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0-16
837 ))[3] - __s2[3]);
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
} __result; }))) : __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
0-16
838 name
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
839 ,
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
840 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
841 )))); })
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
13-16
842 == 0)
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
&& fd_reopen (
fd_reopen ( 0 ...e, 00 , 0) < 0Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • csplit
0-16
843 0
fd_reopen ( 0 ...e, 00 , 0) < 0Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • csplit
0-13
844 , name,
fd_reopen ( 0 ...e, 00 , 0) < 0Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • csplit
0-13
845 00
fd_reopen ( 0 ...e, 00 , 0) < 0Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • csplit
0-13
846 , 0) < 0
fd_reopen ( 0 ...e, 00 , 0) < 0Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • csplit
)
0-13
847 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
848 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
849 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
850 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
851 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
852 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
853 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
854 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
855 "cannot open %s for reading"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
856 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
857 , quotearg_style (shell_escape_always_quoting_style, name)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
858 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
859 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
860 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
861 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
862 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
863 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
864 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
865 "cannot open %s for reading"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
866 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
867 , quotearg_style (shell_escape_always_quoting_style, name)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
868 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
869 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
870 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"cannot open %s for reading\", 5), quotearg_style (shell_escape_always_quoting_style, name)), assume (false))" ")"); int _gl_du...0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "cannot open %s for reading" , 5) , quotearg_style (shell_escape_always_quoting_style, name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
871}
executed 29 times by 1 test: end of block
Executed by:
  • csplit
29
872-
873-
874-
875-
876-
877-
878static void-
879write_to_file (uintmax_t last_line, -
880 _Bool -
881 ignore, int argnum)-
882{-
883 struct cstring *line;-
884 uintmax_t first_line;-
885 uintmax_t lines;-
886 uintmax_t i;-
887-
888 first_line = get_first_line_in_buffer ();-
889-
890 if (first_line > last_line
first_line > last_lineDescription
TRUEnever evaluated
FALSEevaluated 1036 times by 1 test
Evaluated by:
  • csplit
)
0-1036
891 {-
892 error (0, 0, -
893 dcgettext (((void *)0), -
894 "%s: line number out of range"-
895 , 5)-
896 ,-
897 quote (global_argv[argnum]));-
898 cleanup_fatal ();-
899 }
never executed: end of block
0
900-
901 lines = last_line - first_line;-
902-
903 for (i = 0; i < lines
i < linesDescription
TRUEevaluated 1023 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 1036 times by 1 test
Evaluated by:
  • csplit
; i++)
1023-1036
904 {-
905 line = remove_line ();-
906 if (line ==
line == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 1023 times by 1 test
Evaluated by:
  • csplit
0-1023
907 ((void *)0)
line == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 1023 times by 1 test
Evaluated by:
  • csplit
0-1023
908 )-
909 {-
910 error (0, 0, -
911 dcgettext (((void *)0), -
912 "%s: line number out of range"-
913 , 5)-
914 ,-
915 quote (global_argv[argnum]));-
916 cleanup_fatal ();-
917 }
never executed: end of block
0
918 if (!ignore
!ignoreDescription
TRUEevaluated 1018 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 5 times by 1 test
Evaluated by:
  • csplit
)
5-1018
919 save_line_to_file (line);
executed 1018 times by 1 test: save_line_to_file (line);
Executed by:
  • csplit
1018
920 }
executed 1023 times by 1 test: end of block
Executed by:
  • csplit
1023
921}
executed 1036 times by 1 test: end of block
Executed by:
  • csplit
1036
922-
923-
924-
925static void-
926dump_rest_of_file (void)-
927{-
928 struct cstring *line;-
929-
930 while ((
(line = remove...!= ((void *)0)Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 25 times by 1 test
Evaluated by:
  • csplit
line = remove_line ()) !=
(line = remove...!= ((void *)0)Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 25 times by 1 test
Evaluated by:
  • csplit
18-25
931 ((void *)0)
(line = remove...!= ((void *)0)Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 25 times by 1 test
Evaluated by:
  • csplit
18-25
932 )-
933 save_line_to_file (line);
executed 18 times by 1 test: save_line_to_file (line);
Executed by:
  • csplit
18
934}
executed 25 times by 1 test: end of block
Executed by:
  • csplit
25
935-
936-
937-
938-
939static void handle_line_error (const struct control *, uintmax_t)-
940 __attribute__ ((__noreturn__));-
941static void-
942handle_line_error (const struct control *p, uintmax_t repetition)-
943{-
944 char buf[((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)];-
945-
946 fprintf (-
947 stderr-
948 , -
949 dcgettext (((void *)0), -
950 "%s: %s: line number out of range"-
951 , 5)-
952 ,-
953 program_name, quote (umaxtostr (p->lines_required, buf)));-
954 if (repetition
repetitionDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • csplit
)
0-1
955 fprintf (
never executed: fprintf ( stderr , dcgettext (((void *)0), " on repetition %s\n" , 5) , umaxtostr (repetition, buf));
0
956 stderr
never executed: fprintf ( stderr , dcgettext (((void *)0), " on repetition %s\n" , 5) , umaxtostr (repetition, buf));
0
957 ,
never executed: fprintf ( stderr , dcgettext (((void *)0), " on repetition %s\n" , 5) , umaxtostr (repetition, buf));
0
958 dcgettext (((void *)0),
never executed: fprintf ( stderr , dcgettext (((void *)0), " on repetition %s\n" , 5) , umaxtostr (repetition, buf));
0
959 " on repetition %s\n"
never executed: fprintf ( stderr , dcgettext (((void *)0), " on repetition %s\n" , 5) , umaxtostr (repetition, buf));
0
960 , 5)
never executed: fprintf ( stderr , dcgettext (((void *)0), " on repetition %s\n" , 5) , umaxtostr (repetition, buf));
0
961 , umaxtostr (repetition, buf));
never executed: fprintf ( stderr , dcgettext (((void *)0), " on repetition %s\n" , 5) , umaxtostr (repetition, buf));
0
962 else-
963 fprintf (
executed 1 time by 1 test: fprintf ( stderr , "\n");
Executed by:
  • csplit
1
964 stderr
executed 1 time by 1 test: fprintf ( stderr , "\n");
Executed by:
  • csplit
1
965 , "\n");
executed 1 time by 1 test: fprintf ( stderr , "\n");
Executed by:
  • csplit
1
966-
967 cleanup_fatal ();-
968}
never executed: end of block
0
969-
970-
971-
972-
973-
974-
975static void-
976process_line_count (const struct control *p, uintmax_t repetition)-
977{-
978 uintmax_t linenum;-
979 uintmax_t last_line_to_save = p->lines_required * (repetition + 1);-
980-
981 create_output_file ();-
982-
983-
984-
985-
986 if (no_more_lines ()
no_more_lines ()Description
TRUEnever evaluated
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
&& suppress_matched
suppress_matchedDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-16
987 handle_line_error (p, repetition);
never executed: handle_line_error (p, repetition);
0
988-
989 linenum = get_first_line_in_buffer ();-
990 while (linenum++ < last_line_to_save
linenum++ < last_line_to_saveDescription
TRUEevaluated 14 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 14 times by 1 test
Evaluated by:
  • csplit
)
14
991 {-
992 struct cstring *line = remove_line ();-
993 if (line ==
line == ((void *)0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • csplit
FALSEevaluated 13 times by 1 test
Evaluated by:
  • csplit
1-13
994 ((void *)0)
line == ((void *)0)Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • csplit
FALSEevaluated 13 times by 1 test
Evaluated by:
  • csplit
1-13
995 )-
996 handle_line_error (p, repetition);
executed 1 time by 1 test: handle_line_error (p, repetition);
Executed by:
  • csplit
1
997 save_line_to_file (line);-
998 }
executed 12 times by 1 test: end of block
Executed by:
  • csplit
12
999-
1000 close_output_file ();-
1001-
1002 if (suppress_matched
suppress_matchedDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 8 times by 1 test
Evaluated by:
  • csplit
)
6-8
1003 remove_line ();
executed 6 times by 1 test: remove_line ();
Executed by:
  • csplit
6
1004-
1005-
1006-
1007 if (no_more_lines ()
no_more_lines ()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 12 times by 1 test
Evaluated by:
  • csplit
&& !suppress_matched
!suppress_matchedDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
)
0-12
1008 handle_line_error (p, repetition);
never executed: handle_line_error (p, repetition);
0
1009}
executed 14 times by 1 test: end of block
Executed by:
  • csplit
14
1010-
1011static void regexp_error (struct control *, uintmax_t, -
1012 _Bool-
1013 ) __attribute__ ((__noreturn__));-
1014static void-
1015regexp_error (struct control *p, uintmax_t repetition, -
1016 _Bool -
1017 ignore)-
1018{-
1019 fprintf (-
1020 stderr-
1021 , -
1022 dcgettext (((void *)0), -
1023 "%s: %s: match not found"-
1024 , 5)-
1025 ,-
1026 program_name, quote (global_argv[p->argnum]));-
1027-
1028 if (repetition
repetitionDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1029 {-
1030 char buf[((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)];-
1031 fprintf (-
1032 stderr-
1033 , -
1034 dcgettext (((void *)0), -
1035 " on repetition %s\n"-
1036 , 5)-
1037 , umaxtostr (repetition, buf));-
1038 }
never executed: end of block
0
1039 else-
1040 fprintf (
never executed: fprintf ( stderr , "\n");
0
1041 stderr
never executed: fprintf ( stderr , "\n");
0
1042 , "\n");
never executed: fprintf ( stderr , "\n");
0
1043-
1044 if (!ignore
!ignoreDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1045 {-
1046 dump_rest_of_file ();-
1047 close_output_file ();-
1048 }
never executed: end of block
0
1049 cleanup_fatal ();-
1050}
never executed: end of block
0
1051-
1052-
1053-
1054-
1055-
1056static void-
1057process_regexp (struct control *p, uintmax_t repetition)-
1058{-
1059 struct cstring *line;-
1060 size_t line_len;-
1061 uintmax_t break_line;-
1062 -
1063 _Bool -
1064 ignore = p->ignore;-
1065 regoff_t ret;-
1066-
1067 if (!ignore
!ignoreDescription
TRUEevaluated 1044 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 5 times by 1 test
Evaluated by:
  • csplit
)
5-1044
1068 create_output_file ();
executed 1044 times by 1 test: create_output_file ();
Executed by:
  • csplit
1044
1069-
1070 if (suppress_matched
suppress_matchedDescription
TRUEevaluated 24 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 1025 times by 1 test
Evaluated by:
  • csplit
&& current_line > 0
current_line > 0Description
TRUEevaluated 17 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 7 times by 1 test
Evaluated by:
  • csplit
)
7-1025
1071 remove_line ();
executed 17 times by 1 test: remove_line ();
Executed by:
  • csplit
17
1072-
1073-
1074-
1075-
1076 if (p->offset >= 0
p->offset >= 0Description
TRUEevaluated 1043 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 6 times by 1 test
Evaluated by:
  • csplit
)
6-1043
1077 {-
1078 while (-
1079 1-
1080 )-
1081 {-
1082 line = find_line (++current_line);-
1083 if (line ==
line == ((void *)0)Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2501088 times by 1 test
Evaluated by:
  • csplit
11-2501088
1084 ((void *)0)
line == ((void *)0)Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2501088 times by 1 test
Evaluated by:
  • csplit
11-2501088
1085 )-
1086 {-
1087 if (p->repeat_forever
p->repeat_foreverDescription
TRUEevaluated 11 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
)
0-11
1088 {-
1089 if (!ignore
!ignoreDescription
TRUEevaluated 11 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
)
0-11
1090 {-
1091 dump_rest_of_file ();-
1092 close_output_file ();-
1093 }
executed 11 times by 1 test: end of block
Executed by:
  • csplit
11
1094 exit (
executed 11 times by 1 test: exit ( 0 );
Executed by:
  • csplit
11
1095 0
executed 11 times by 1 test: exit ( 0 );
Executed by:
  • csplit
11
1096 );
executed 11 times by 1 test: exit ( 0 );
Executed by:
  • csplit
11
1097 }-
1098 else-
1099 regexp_error (p, repetition, ignore);
never executed: regexp_error (p, repetition, ignore);
0
1100 }-
1101 line_len = line->len;-
1102 if (line->str[line_len - 1] == '\n'
line->str[line...n - 1] == '\n'Description
TRUEevaluated 2501088 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
)
0-2501088
1103 line_len--;
executed 2501088 times by 1 test: line_len--;
Executed by:
  • csplit
2501088
1104 ret = re_search (&p->re_compiled, line->str, line_len,-
1105 0, line_len, -
1106 ((void *)0)-
1107 );-
1108 if (ret == -2
ret == -2Description
TRUEnever evaluated
FALSEevaluated 2501088 times by 1 test
Evaluated by:
  • csplit
)
0-2501088
1109 {-
1110 error (0, 0, -
1111 dcgettext (((void *)0), -
1112 "error in regular expression search"-
1113 , 5)-
1114 );-
1115 cleanup_fatal ();-
1116 }
never executed: end of block
0
1117 if (ret == -1
ret == -1Description
TRUEevaluated 2500056 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 1032 times by 1 test
Evaluated by:
  • csplit
)
1032-2500056
1118 {-
1119 line = remove_line ();-
1120 if (!ignore
!ignoreDescription
TRUEevaluated 52 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2500004 times by 1 test
Evaluated by:
  • csplit
)
52-2500004
1121 save_line_to_file (line);
executed 52 times by 1 test: save_line_to_file (line);
Executed by:
  • csplit
52
1122 }
executed 2500056 times by 1 test: end of block
Executed by:
  • csplit
2500056
1123 else-
1124 break;
executed 1032 times by 1 test: break;
Executed by:
  • csplit
1032
1125 }-
1126 }
executed 1032 times by 1 test: end of block
Executed by:
  • csplit
1032
1127 else-
1128 {-
1129-
1130 while (-
1131 1-
1132 )-
1133 {-
1134 line = find_line (++current_line);-
1135 if (line ==
line == ((void *)0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 19 times by 1 test
Evaluated by:
  • csplit
2-19
1136 ((void *)0)
line == ((void *)0)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 19 times by 1 test
Evaluated by:
  • csplit
2-19
1137 )-
1138 {-
1139 if (p->repeat_forever
p->repeat_foreverDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
)
0-2
1140 {-
1141 if (!ignore
!ignoreDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
)
0-2
1142 {-
1143 dump_rest_of_file ();-
1144 close_output_file ();-
1145 }
executed 2 times by 1 test: end of block
Executed by:
  • csplit
2
1146 exit (
executed 2 times by 1 test: exit ( 0 );
Executed by:
  • csplit
2
1147 0
executed 2 times by 1 test: exit ( 0 );
Executed by:
  • csplit
2
1148 );
executed 2 times by 1 test: exit ( 0 );
Executed by:
  • csplit
2
1149 }-
1150 else-
1151 regexp_error (p, repetition, ignore);
never executed: regexp_error (p, repetition, ignore);
0
1152 }-
1153 line_len = line->len;-
1154 if (line->str[line_len - 1] == '\n'
line->str[line...n - 1] == '\n'Description
TRUEevaluated 19 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
)
0-19
1155 line_len--;
executed 19 times by 1 test: line_len--;
Executed by:
  • csplit
19
1156 ret = re_search (&p->re_compiled, line->str, line_len,-
1157 0, line_len, -
1158 ((void *)0)-
1159 );-
1160 if (ret == -2
ret == -2Description
TRUEnever evaluated
FALSEevaluated 19 times by 1 test
Evaluated by:
  • csplit
)
0-19
1161 {-
1162 error (0, 0, -
1163 dcgettext (((void *)0), -
1164 "error in regular expression search"-
1165 , 5)-
1166 );-
1167 cleanup_fatal ();-
1168 }
never executed: end of block
0
1169 if (ret != -1
ret != -1Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 15 times by 1 test
Evaluated by:
  • csplit
)
4-15
1170 break;
executed 4 times by 1 test: break;
Executed by:
  • csplit
4
1171 }
executed 15 times by 1 test: end of block
Executed by:
  • csplit
15
1172 }
executed 4 times by 1 test: end of block
Executed by:
  • csplit
4
1173-
1174-
1175 break_line = current_line + p->offset;-
1176-
1177 write_to_file (break_line, ignore, p->argnum);-
1178-
1179 if (!ignore
!ignoreDescription
TRUEevaluated 1031 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 5 times by 1 test
Evaluated by:
  • csplit
)
5-1031
1180 close_output_file ();
executed 1031 times by 1 test: close_output_file ();
Executed by:
  • csplit
1031
1181-
1182 if (p->offset > 0
p->offset > 0Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 1028 times by 1 test
Evaluated by:
  • csplit
)
8-1028
1183 current_line = break_line;
executed 8 times by 1 test: current_line = break_line;
Executed by:
  • csplit
8
1184}
executed 1036 times by 1 test: end of block
Executed by:
  • csplit
1036
1185-
1186-
1187-
1188static void-
1189split_file (void)-
1190{-
1191 for (size_t i = 0; i < control_used
i < control_usedDescription
TRUEevaluated 36 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 12 times by 1 test
Evaluated by:
  • csplit
; i++)
12-36
1192 {-
1193 uintmax_t j;-
1194 if (controls[i].regexpr
controls[i].regexprDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 16 times by 1 test
Evaluated by:
  • csplit
)
16-20
1195 {-
1196 for (j = 0; (controls[i].repeat_forever
controls[i].repeat_foreverDescription
TRUEevaluated 1042 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 14 times by 1 test
Evaluated by:
  • csplit
14-1042
1197 || j <= controls[i].repeat
j <= controls[i].repeatDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 7 times by 1 test
Evaluated by:
  • csplit
); j++)
7
1198 process_regexp (&controls[i], j);
executed 1049 times by 1 test: process_regexp (&controls[i], j);
Executed by:
  • csplit
1049
1199 }
executed 7 times by 1 test: end of block
Executed by:
  • csplit
7
1200 else-
1201 {-
1202 for (j = 0; (controls[i].repeat_forever
controls[i].repeat_foreverDescription
TRUEnever evaluated
FALSEevaluated 30 times by 1 test
Evaluated by:
  • csplit
0-30
1203 || j <= controls[i].repeat
j <= controls[i].repeatDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 14 times by 1 test
Evaluated by:
  • csplit
); j++)
14-16
1204 process_line_count (&controls[i], j);
executed 16 times by 1 test: process_line_count (&controls[i], j);
Executed by:
  • csplit
16
1205 }
executed 14 times by 1 test: end of block
Executed by:
  • csplit
14
1206 }-
1207-
1208 create_output_file ();-
1209 dump_rest_of_file ();-
1210 close_output_file ();-
1211}
executed 12 times by 1 test: end of block
Executed by:
  • csplit
12
1212static char *-
1213make_filename (unsigned int num)-
1214{-
1215 strcpy (filename_space, prefix);-
1216 if (suffix
suffixDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 1073 times by 1 test
Evaluated by:
  • csplit
)
2-1073
1217 sprintf (filename_space + strlen (prefix), suffix, num);
executed 2 times by 1 test: sprintf (filename_space + strlen (prefix), suffix, num);
Executed by:
  • csplit
2
1218 else-
1219 sprintf (filename_space + strlen (prefix), "%0*u", digits, num);
executed 1073 times by 1 test: sprintf (filename_space + strlen (prefix), "%0*u", digits, num);
Executed by:
  • csplit
1073
1220 return
executed 1075 times by 1 test: return filename_space;
Executed by:
  • csplit
filename_space;
executed 1075 times by 1 test: return filename_space;
Executed by:
  • csplit
1075
1221}-
1222-
1223-
1224-
1225static void-
1226create_output_file (void)-
1227{-
1228 -
1229 _Bool -
1230 fopen_ok;-
1231 int fopen_errno;-
1232-
1233 output_filename = make_filename (files_created);-
1234-
1235 if (files_created ==
files_created ...fff * 2U + 1U)Description
TRUEnever evaluated
FALSEevaluated 1072 times by 1 test
Evaluated by:
  • csplit
0-1072
1236 (0x7fffffff * 2U + 1U)
files_created ...fff * 2U + 1U)Description
TRUEnever evaluated
FALSEevaluated 1072 times by 1 test
Evaluated by:
  • csplit
0-1072
1237 )-
1238 {-
1239 fopen_ok = -
1240 0-
1241 ;-
1242 fopen_errno = -
1243 75-
1244 ;-
1245 }
never executed: end of block
0
1246 else-
1247 {-
1248-
1249 sigset_t oldset;-
1250 sigprocmask (-
1251 0-
1252 , &caught_signals, &oldset);-
1253 output_stream = fopen_safer (output_filename, "w");-
1254 fopen_ok = (output_stream != -
1255 ((void *)0)-
1256 );-
1257 fopen_errno = -
1258 (*__errno_location ())-
1259 ;-
1260 files_created += fopen_ok;-
1261 sigprocmask (-
1262 2-
1263 , &oldset, -
1264 ((void *)0)-
1265 );-
1266 }
executed 1072 times by 1 test: end of block
Executed by:
  • csplit
1072
1267-
1268 if (! fopen_ok
! fopen_okDescription
TRUEnever evaluated
FALSEevaluated 1072 times by 1 test
Evaluated by:
  • csplit
)
0-1072
1269 {-
1270 error (0, fopen_errno, "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, output_filename));-
1271 cleanup_fatal ();-
1272 }
never executed: end of block
0
1273 bytes_written = 0;-
1274}
executed 1072 times by 1 test: end of block
Executed by:
  • csplit
1072
1275-
1276-
1277-
1278-
1279static void-
1280delete_all_files (-
1281 _Bool -
1282 in_signal_handler)-
1283{-
1284 if (! remove_files
! remove_filesDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
)
0-2
1285 return;
never executed: return;
0
1286-
1287 for (unsigned int i = 0; i < files_created
i < files_createdDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 2 times by 1 test
Evaluated by:
  • csplit
; i++)
2-3
1288 {-
1289 const char *name = make_filename (i);-
1290 if (unlink (name) != 0
unlink (name) != 0Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • csplit
&& !in_signal_handler
!in_signal_handlerDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-3
1291 error (0,
never executed: error (0, (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, name));
0
1292 (*__errno_location ())
never executed: error (0, (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, name));
0
1293 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, name));
never executed: error (0, (*__errno_location ()) , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, name));
0
1294 }
executed 3 times by 1 test: end of block
Executed by:
  • csplit
3
1295-
1296 files_created = 0;-
1297}
executed 2 times by 1 test: end of block
Executed by:
  • csplit
2
1298-
1299-
1300-
1301-
1302static void-
1303close_output_file (void)-
1304{-
1305 if (output_stream
output_streamDescription
TRUEevaluated 1071 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 1 time by 1 test
Evaluated by:
  • csplit
)
1-1071
1306 {-
1307 if (ferror_unlocked (output_stream)
ferror_unlocke...output_stream)Description
TRUEnever evaluated
FALSEevaluated 1071 times by 1 test
Evaluated by:
  • csplit
)
0-1071
1308 {-
1309 error (0, 0, -
1310 dcgettext (((void *)0), -
1311 "write error for %s"-
1312 , 5)-
1313 , quotearg_style (shell_escape_always_quoting_style, output_filename));-
1314 output_stream = -
1315 ((void *)0)-
1316 ;-
1317 cleanup_fatal ();-
1318 }
never executed: end of block
0
1319 if (-
1320 rpl_fclose
rpl_fclose (ou...t_stream) != 0Description
TRUEnever evaluated
FALSEevaluated 1071 times by 1 test
Evaluated by:
  • csplit
0-1071
1321 (output_stream) != 0
rpl_fclose (ou...t_stream) != 0Description
TRUEnever evaluated
FALSEevaluated 1071 times by 1 test
Evaluated by:
  • csplit
)
0-1071
1322 {-
1323 error (0, -
1324 (*__errno_location ())-
1325 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, output_filename));-
1326 output_stream = -
1327 ((void *)0)-
1328 ;-
1329 cleanup_fatal ();-
1330 }
never executed: end of block
0
1331 if (bytes_written == 0
bytes_written == 0Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 1051 times by 1 test
Evaluated by:
  • csplit
&& elide_empty_files
elide_empty_filesDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 12 times by 1 test
Evaluated by:
  • csplit
)
8-1051
1332 {-
1333 sigset_t oldset;-
1334 -
1335 _Bool -
1336 unlink_ok;-
1337 int unlink_errno;-
1338-
1339-
1340 sigprocmask (-
1341 0-
1342 , &caught_signals, &oldset);-
1343 unlink_ok = (unlink (output_filename) == 0);-
1344 unlink_errno = -
1345 (*__errno_location ())-
1346 ;-
1347 files_created -= unlink_ok;-
1348 sigprocmask (-
1349 2-
1350 , &oldset, -
1351 ((void *)0)-
1352 );-
1353-
1354 if (! unlink_ok
! unlink_okDescription
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • csplit
)
0-8
1355 error (0, unlink_errno, "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, output_filename));
never executed: error (0, unlink_errno, "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, output_filename));
0
1356 }
executed 8 times by 1 test: end of block
Executed by:
  • csplit
8
1357 else-
1358 {-
1359 if (!suppress_count
!suppress_countDescription
TRUEevaluated 1020 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 43 times by 1 test
Evaluated by:
  • csplit
)
43-1020
1360 {-
1361 char buf[((((((sizeof (uintmax_t) * 8) - (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (uintmax_t)) 0 < (__typeof__ (uintmax_t)) -1))) + 1)];-
1362 fprintf (-
1363 stdout-
1364 , "%s\n", umaxtostr (bytes_written, buf));-
1365 }
executed 1020 times by 1 test: end of block
Executed by:
  • csplit
1020
1366 }
executed 1063 times by 1 test: end of block
Executed by:
  • csplit
1063
1367 output_stream = -
1368 ((void *)0)-
1369 ;-
1370 }
executed 1071 times by 1 test: end of block
Executed by:
  • csplit
1071
1371}
executed 1072 times by 1 test: end of block
Executed by:
  • csplit
1072
1372-
1373-
1374-
1375-
1376static void-
1377save_line_to_file (const struct cstring *line)-
1378{-
1379 size_t l = -
1380 (__extension__ ((__builtin_constant_p (
__builtin_cons...izeof (char) )Description
TRUEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
0-1101
1381 sizeof (char)
__builtin_cons...izeof (char) )Description
TRUEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
0-1101
1382 )
__builtin_cons...izeof (char) )Description
TRUEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
&& __builtin_constant_p (
__builtin_cons... ( line->len )Description
TRUEnever evaluated
FALSEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
0-1101
1383 line->len
__builtin_cons... ( line->len )Description
TRUEnever evaluated
FALSEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
0-1101
1384 )
__builtin_cons... ( line->len )Description
TRUEnever evaluated
FALSEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
&& (
(size_t) ( siz...ne->len ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( siz...ne->len ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
0-1101
1385 sizeof (char)
(size_t) ( siz...ne->len ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
0
1386 ) * (size_t) (
(size_t) ( siz...ne->len ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
0
1387 line->len
(size_t) ( siz...ne->len ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
0
1388 ) <= 8
(size_t) ( siz...ne->len ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( siz... (char) ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( siz... (char) ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1389 sizeof (char)
(size_t) ( siz... (char) ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1390 ) != 0
(size_t) ( siz... (char) ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) ? ({ const char *__ptr = (const char *) (
0
1391 line->str-
1392 ); FILE *__stream = (-
1393 output_stream-
1394 ); size_t __cnt; for (__cnt = (size_t) (-
1395 sizeof (char)-
1396 ) * (size_t) (-
1397 line->len-
1398 ); __cnt > 0
__cnt > 0Description
TRUEnever evaluated
FALSEnever evaluated
; --__cnt) if ((
(__builtin_exp...r++))) == (-1)Description
TRUEnever evaluated
FALSEnever evaluated
__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0)
__builtin_expe...write_end), 0)Description
TRUEnever evaluated
FALSEnever evaluated
? __overflow (__stream, (unsigned char) (*__ptr++)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (*__ptr++))) == (-1)
(__builtin_exp...r++))) == (-1)Description
TRUEnever evaluated
FALSEnever evaluated
) break;
never executed: break;
((size_t) (
0
1399 sizeof (char)-
1400 ) * (size_t) (-
1401 line->len-
1402 ) - __cnt) / (size_t) (-
1403 sizeof (char)-
1404 ); }) : (((__builtin_constant_p (
__builtin_cons...izeof (char) )Description
TRUEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
0-1101
1405 sizeof (char)
__builtin_cons...izeof (char) )Description
TRUEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
0-1101
1406 )
__builtin_cons...izeof (char) )Description
TRUEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
&& (
(size_t) ( siz... (char) ) == 0Description
TRUEnever evaluated
FALSEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
size_t) (
(size_t) ( siz... (char) ) == 0Description
TRUEnever evaluated
FALSEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
0-1101
1407 sizeof (char)
(size_t) ( siz... (char) ) == 0Description
TRUEnever evaluated
FALSEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
0-1101
1408 ) == 0
(size_t) ( siz... (char) ) == 0Description
TRUEnever evaluated
FALSEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
) || (__builtin_constant_p (
__builtin_cons... ( line->len )Description
TRUEnever evaluated
FALSEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
0-1101
1409 line->len
__builtin_cons... ( line->len )Description
TRUEnever evaluated
FALSEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
0-1101
1410 )
__builtin_cons... ( line->len )Description
TRUEnever evaluated
FALSEevaluated 1101 times by 1 test
Evaluated by:
  • csplit
&& (
(size_t) ( line->len ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( line->len ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0-1101
1411 line->len
(size_t) ( line->len ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1412 ) == 0
(size_t) ( line->len ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)) ? ((void) (
0
1413 line->str-
1414 ), (void) (-
1415 output_stream-
1416 ), (void) (-
1417 sizeof (char)-
1418 ), (void) (-
1419 line->len-
1420 ), (size_t) 0) : fwrite_unlocked (-
1421 line->str-
1422 , -
1423 sizeof (char)-
1424 , -
1425 line->len-
1426 , -
1427 output_stream-
1428 ))))-
1429 ;-
1430 if (l != line->len
l != line->lenDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • csplit
FALSEevaluated 1100 times by 1 test
Evaluated by:
  • csplit
)
1-1100
1431 {-
1432 error (0, -
1433 (*__errno_location ())-
1434 , -
1435 dcgettext (((void *)0), -
1436 "write error for %s"-
1437 , 5)-
1438 , quotearg_style (shell_escape_always_quoting_style, output_filename));-
1439 output_stream = -
1440 ((void *)0)-
1441 ;-
1442 cleanup_fatal ();-
1443 }
never executed: end of block
0
1444 bytes_written += line->len;-
1445}
executed 1100 times by 1 test: end of block
Executed by:
  • csplit
1100
1446-
1447-
1448-
1449static struct control *-
1450new_control_record (void)-
1451{-
1452 static size_t control_allocated = 0;-
1453 struct control *p;-
1454-
1455 if (control_used == control_allocated
control_used =...trol_allocatedDescription
TRUEevaluated 40 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
)
0-40
1456 controls = ((void) (!!sizeof (struct { _Static_assert (sizeof *(controls) != 1, "verify_true (" "sizeof *(controls) != 1" ")"); int _gl_dummy; })), x2nrealloc (controls, &control_allocated, sizeof *(controls)));
executed 40 times by 1 test: controls = ((void) (!!sizeof (struct { _Static_assert (sizeof *(controls) != 1, "verify_true (" "sizeof *(controls) != 1" ")"); int _gl_dummy; })), x2nrealloc (controls, &control_allocated, sizeof *(controls)));
Executed by:
  • csplit
40
1457 p = &controls[control_used++];-
1458 p->regexpr = -
1459 0-
1460 ;-
1461 p->repeat = 0;-
1462 p->repeat_forever = -
1463 0-
1464 ;-
1465 p->lines_required = 0;-
1466 p->offset = 0;-
1467 return
executed 40 times by 1 test: return p;
Executed by:
  • csplit
p;
executed 40 times by 1 test: return p;
Executed by:
  • csplit
40
1468}-
1469-
1470-
1471-
1472-
1473-
1474-
1475static void-
1476check_for_offset (struct control *p, const char *str, const char *num)-
1477{-
1478 if (xstrtoimax (num,
xstrtoimax (nu... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • csplit
0-8
1479 ((void *)0)
xstrtoimax (nu... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • csplit
0-8
1480 , 10, &p->offset, "") != LONGINT_OK
xstrtoimax (nu... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • csplit
)
0-8
1481 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 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), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1482 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1483 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1484 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1485 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1486 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1487 "%s: integer expected after delimiter"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1488 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1489 , quote (str)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1490 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1491 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1492 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1493 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1494 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1495 "%s: integer expected after delimiter"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1496 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1497 , quote (str)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1498 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1499 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1500 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: integer expected after delimiter\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: integer expected after delimiter" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1501}
executed 8 times by 1 test: end of block
Executed by:
  • csplit
8
1502-
1503-
1504-
1505-
1506-
1507-
1508static void-
1509parse_repeat_count (int argnum, struct control *p, char *str)-
1510{-
1511 uintmax_t val;-
1512 char *end;-
1513-
1514 end = str + strlen (str) - 1;-
1515 if (*
*end != '}'Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • csplit
end != '}'
*end != '}'Description
TRUEnever evaluated
FALSEevaluated 13 times by 1 test
Evaluated by:
  • csplit
)
0-13
1516 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 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), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1517 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1518 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1519 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1520 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1521 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1522 "%s: '}' is required in repeat count"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1523 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1524 , quote (str)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1525 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1526 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1527 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1528 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1529 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1530 "%s: '}' is required in repeat count"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1531 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1532 , quote (str)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1533 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1534 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1535 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: '}' is required in repeat count\", 5), quote (str)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: '}' is required in repeat count" , 5) , quote (str)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1536 *end = '\0';-
1537-
1538 if (str+1 == end-1
str+1 == end-1Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
&& *(
*(str+1) == '*'Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
str+1) == '*'
*(str+1) == '*'Description
TRUEevaluated 13 times by 1 test
Evaluated by:
  • csplit
FALSEnever evaluated
)
0-13
1539 p->repeat_forever =
executed 13 times by 1 test: p->repeat_forever = 1 ;
Executed by:
  • csplit
13
1540 1
executed 13 times by 1 test: p->repeat_forever = 1 ;
Executed by:
  • csplit
13
1541 ;
executed 13 times by 1 test: p->repeat_forever = 1 ;
Executed by:
  • csplit
13
1542 else-
1543 {-
1544 if (xstrtoumax (str + 1,
xstrtoumax (st... != LONGINT_OKDescription
TRUEnever evaluated
FALSEnever evaluated
0
1545 ((void *)0)
xstrtoumax (st... != LONGINT_OKDescription
TRUEnever evaluated
FALSEnever evaluated
0
1546 , 10, &val, "") != LONGINT_OK
xstrtoumax (st... != LONGINT_OKDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1547 {-
1548 ((!!sizeof (struct { _Static_assert (-
1549 1-
1550 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s}: integer required between '{' and '}'\", 5), quote (global_argv[argnum])), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
1551 1-
1552 , 0, -
1553 dcgettext (((void *)0), -
1554 "%s}: integer required between '{' and '}'"-
1555 , 5)-
1556 , quote (global_argv[argnum])), ((-
1557 0-
1558 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
1559 1-
1560 , 0, -
1561 dcgettext (((void *)0), -
1562 "%s}: integer required between '{' and '}'"-
1563 , 5)-
1564 , quote (global_argv[argnum])), ((-
1565 0-
1566 ) ? (void) 0 : __builtin_unreachable ()))))-
1567-
1568 ;-
1569 }
never executed: end of block
0
1570 p->repeat = val;-
1571 }
never executed: end of block
0
1572-
1573 *end = '}';-
1574}
executed 13 times by 1 test: end of block
Executed by:
  • csplit
13
1575-
1576-
1577-
1578-
1579-
1580-
1581-
1582static struct control *-
1583extract_regexp (int argnum, -
1584 _Bool -
1585 ignore, char const *str)-
1586{-
1587 size_t len;-
1588 char delim = *str;-
1589 char const *closing_delim;-
1590 struct control *p;-
1591 const char *err;-
1592-
1593 closing_delim = strrchr (str + 1, delim);-
1594 if (closing_delim ==
closing_delim == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 20 times by 1 test
Evaluated by:
  • csplit
0-20
1595 ((void *)0)
closing_delim == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 20 times by 1 test
Evaluated by:
  • csplit
0-20
1596 )-
1597 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 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), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1598 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1599 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1600 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1601 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1602 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1603 "%s: closing delimiter '%c' missing"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1604 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1605 , str, delim), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1606 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1607 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1608 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1609 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1610 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1611 "%s: closing delimiter '%c' missing"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1612 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1613 , str, delim), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1614 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1615 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1616 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: closing delimiter '%c' missing\", 5), str, delim), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: closing delimiter '%c' missing" , 5) , str, delim), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1617-
1618 len = closing_delim - str - 1;-
1619 p = new_control_record ();-
1620 p->argnum = argnum;-
1621 p->ignore = ignore;-
1622-
1623 p->regexpr = -
1624 1-
1625 ;-
1626 p->re_compiled.buffer = -
1627 ((void *)0)-
1628 ;-
1629 p->re_compiled.allocated = 0;-
1630 p->re_compiled.fastmap = xmalloc (-
1631 (0x7f * 2 + 1) -
1632 + 1);-
1633 p->re_compiled.translate = -
1634 ((void *)0)-
1635 ;-
1636 re_syntax_options =-
1637 ((((((unsigned long int) 1) << 1) << 1) | ((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) | (((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) | (((((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) | ((((((((((((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1)) | (((unsigned long int) 1) << 1) | ((((((((((((((((((((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1)) & ~((((((((((((((((((((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) & ~((((((((((((((((((unsigned long int) 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1) << 1);-
1638 err = re_compile_pattern (str + 1, len, &p->re_compiled);-
1639 if (err
errDescription
TRUEnever evaluated
FALSEevaluated 20 times by 1 test
Evaluated by:
  • csplit
)
0-20
1640 {-
1641 error (0, 0, -
1642 dcgettext (((void *)0), -
1643 "%s: invalid regular expression: %s"-
1644 , 5)-
1645 , quote (str), err);-
1646 cleanup_fatal ();-
1647 }
never executed: end of block
0
1648-
1649 if (closing_delim[1]
closing_delim[1]Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 12 times by 1 test
Evaluated by:
  • csplit
)
8-12
1650 check_for_offset (p, str, closing_delim + 1);
executed 8 times by 1 test: check_for_offset (p, str, closing_delim + 1);
Executed by:
  • csplit
8
1651-
1652 return
executed 20 times by 1 test: return p;
Executed by:
  • csplit
p;
executed 20 times by 1 test: return p;
Executed by:
  • csplit
20
1653}-
1654-
1655-
1656-
1657-
1658static void-
1659parse_patterns (int argc, int start, char **argv)-
1660{-
1661 struct control *p;-
1662 uintmax_t val;-
1663 static uintmax_t last_val = 0;-
1664-
1665 for (int i = start; i < argc
i < argcDescription
TRUEevaluated 40 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 27 times by 1 test
Evaluated by:
  • csplit
; i++)
27-40
1666 {-
1667 if (*
*argv[i] == '/'Description
TRUEevaluated 15 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 25 times by 1 test
Evaluated by:
  • csplit
argv[i] == '/'
*argv[i] == '/'Description
TRUEevaluated 15 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 25 times by 1 test
Evaluated by:
  • csplit
|| *
*argv[i] == '%'Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 20 times by 1 test
Evaluated by:
  • csplit
argv[i] == '%'
*argv[i] == '%'Description
TRUEevaluated 5 times by 1 test
Evaluated by:
  • csplit
FALSEevaluated 20 times by 1 test
Evaluated by:
  • csplit
)
5-25
1668 {-
1669 p = extract_regexp (i, *argv[i] == '%', argv[i]);-
1670 }
executed 20 times by 1 test: end of block
Executed by:
  • csplit
20
1671 else-
1672 {-
1673 p = new_control_record ();-
1674 p->argnum = i;-
1675-
1676 if (xstrtoumax (argv[i],
xstrtoumax (ar... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 20 times by 1 test
Evaluated by:
  • csplit
0-20
1677 ((void *)0)
xstrtoumax (ar... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 20 times by 1 test
Evaluated by:
  • csplit
0-20
1678 , 10, &val, "") != LONGINT_OK
xstrtoumax (ar... != LONGINT_OKDescription
TRUEnever evaluated
FALSEevaluated 20 times by 1 test
Evaluated by:
  • csplit
)
0-20
1679 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 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), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1680 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1681 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1682 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1683 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1684 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1685 "%s: invalid pattern"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1686 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1687 , quote (argv[i])), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1688 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1689 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1690 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1691 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1692 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1693 "%s: invalid pattern"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1694 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1695 , quote (argv[i])), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1696 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1697 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: invalid pattern\", 5), quote (argv[i])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: invalid pattern" , 5) , quote (argv[i])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1698 if (val == 0
val == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • csplit
FALSEevaluated 19 times by 1 test
Evaluated by:
  • csplit
)
1-19
1699 ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: line number must be greater than zero\", 5), argv[i]), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s...e number must be greater than zero" , 5) , argv[i]), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: line number must be greater than zero" , 5) , argv[i]), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • csplit
!!sizeof (struct { _Static_assert (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: line number must be greater than zero\", 5), argv[i]), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s...e number must be greater than zero" , 5) , argv[i]), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: line number must be greater than zero" , 5) , argv[i]), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • csplit
1
1700 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: line number must be greater than zero\", 5), argv[i]), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s...e number must be greater than zero" , 5) , argv[i]), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: line number must be greater than zero" , 5) , argv[i]), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • csplit
1
1701 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: line number must be greater than zero\", 5), argv[i]), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: line number must be greater than zero\", 5), argv[i]), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s...e number must be greater than zero" , 5) , argv[i]), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: line number must be greater than zero" , 5) , argv[i]), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • csplit
1
1702 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: line number must be greater than zero\", 5), argv[i]), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "%s...e number must be greater than zero" , 5) , argv[i]), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: line number must be greater than zero" , 5) , argv[i]), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • csplit
1
1703 , 0,
executed 1 time by 1 test: