OpenCoverage

tr.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/tr.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10enum { N_CHARS = -
11 (0x7f * 2 + 1) -
12 + 1 };-
13-
14-
15-
16-
17-
18-
19-
20typedef uintmax_t count;-
21enum Char_class-
22 {-
23 CC_ALNUM = 0, CC_ALPHA = 1, CC_BLANK = 2, CC_CNTRL = 3,-
24 CC_DIGIT = 4, CC_GRAPH = 5, CC_LOWER = 6, CC_PRINT = 7,-
25 CC_PUNCT = 8, CC_SPACE = 9, CC_UPPER = 10, CC_XDIGIT = 11,-
26 CC_NO_CLASS = 9999-
27 };-
28-
29-
30-
31-
32-
33-
34-
35enum Upper_Lower_class-
36 {-
37 UL_LOWER,-
38 UL_UPPER,-
39 UL_NONE-
40 };-
41-
42-
43enum Range_element_type-
44 {-
45 RE_NORMAL_CHAR,-
46 RE_RANGE,-
47 RE_CHAR_CLASS,-
48 RE_EQUIV_CLASS,-
49 RE_REPEATED_CHAR-
50 };-
51-
52-
53-
54-
55-
56-
57struct List_element-
58 {-
59 enum Range_element_type type;-
60 struct List_element *next;-
61 union-
62 {-
63 unsigned char normal_char;-
64 struct-
65 {-
66 unsigned char first_char;-
67 unsigned char last_char;-
68 }-
69 range;-
70 enum Char_class char_class;-
71 unsigned char equiv_code;-
72 struct-
73 {-
74 unsigned char the_repeated_char;-
75 count repeat_count;-
76 }-
77 repeated_char;-
78 }-
79 u;-
80 };-
81struct Spec_list-
82 {-
83-
84-
85 struct List_element *head;-
86-
87-
88-
89-
90-
91 struct List_element *tail;-
92-
93-
94 count state;-
95-
96-
97-
98 count length;-
99-
100-
101 size_t n_indefinite_repeats;-
102-
103-
104-
105-
106 struct List_element *indefinite_repeat_element;-
107-
108-
109-
110 -
111 _Bool -
112 has_equiv_class;-
113-
114-
115-
116 -
117 _Bool -
118 has_char_class;-
119-
120-
121-
122 -
123 _Bool -
124 has_restricted_char_class;-
125 };-
126-
127-
128-
129-
130-
131struct E_string-
132{-
133 char *s;-
134 -
135 _Bool -
136 *escaped;-
137 size_t len;-
138};-
139-
140-
141-
142static inline -
143 _Bool-
144-
145es_match (struct E_string const *es, size_t i, char c)-
146{-
147 return
executed 796 times by 1 test: return es->s[i] == c && !es->escaped[i];
Executed by:
  • tr
es->s[i] == c && !es->escaped[i];
executed 796 times by 1 test: return es->s[i] == c && !es->escaped[i];
Executed by:
  • tr
796
148}-
149-
150-
151-
152-
153static -
154 _Bool -
155 squeeze_repeats = -
156 0-
157 ;-
158-
159-
160static -
161 _Bool -
162 delete = -
163 0-
164 ;-
165-
166-
167static -
168 _Bool -
169 complement = -
170 0-
171 ;-
172static -
173 _Bool -
174 truncate_set1 = -
175 0-
176 ;-
177-
178-
179-
180static -
181 _Bool -
182 translating;-
183-
184static char io_buf[-
185 8192-
186 ];-
187-
188static char const *const char_class_name[] =-
189{-
190 "alnum", "alpha", "blank", "cntrl", "digit", "graph",-
191 "lower", "print", "punct", "space", "upper", "xdigit"-
192};-
193-
194-
195-
196-
197-
198static -
199 _Bool -
200 in_squeeze_set[N_CHARS];-
201-
202-
203-
204-
205-
206static -
207 _Bool -
208 in_delete_set[N_CHARS];-
209-
210-
211-
212-
213static char xlate[N_CHARS];-
214-
215static struct option const long_options[] =-
216{-
217 {"complement", -
218 0-
219 , -
220 ((void *)0)-
221 , 'c'},-
222 {"delete", -
223 0-
224 , -
225 ((void *)0)-
226 , 'd'},-
227 {"squeeze-repeats", -
228 0-
229 , -
230 ((void *)0)-
231 , 's'},-
232 {"truncate-set1", -
233 0-
234 , -
235 ((void *)0)-
236 , 't'},-
237 {"help", -
238 0-
239 , -
240 ((void *)0)-
241 , GETOPT_HELP_CHAR},-
242 {"version", -
243 0-
244 , -
245 ((void *)0)-
246 , GETOPT_VERSION_CHAR},-
247 {-
248 ((void *)0)-
249 , 0, -
250 ((void *)0)-
251 , 0}-
252};-
253-
254void-
255usage (int status)-
256{-
257 if (status !=
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tr
3-12
258 0
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tr
3-12
259 )-
260 do { fprintf (-
261 stderr-
262 , -
263 dcgettext (((void *)0), -
264 "Try '%s --help' for more information.\n"-
265 , 5)-
266 , program_name); }
executed 3 times by 1 test: end of block
Executed by:
  • tr
while (0);
3
267 else-
268 {-
269 printf (-
270 dcgettext (((void *)0), -
271 "Usage: %s [OPTION]... SET1 [SET2]\n"-
272 , 5)-
273-
274 -
275 ,-
276 program_name);-
277 fputs_unlocked (-
278 dcgettext (((void *)0), -
279 "Translate, squeeze, and/or delete characters from standard input,\nwriting to standard output.\n\n -c, -C, --complement use the complement of SET1\n -d, --delete delete characters in SET1, do not translate\n -s, --squeeze-repeats replace each sequence of a repeated character\n that is listed in the last specified SET,\n with a single occurrence of that character\n -t, --truncate-set1 first truncate SET1 to length of SET2\n"-
280 , 5)-
281 ,-
282 stdout-
283 )-
284 ;-
285 fputs_unlocked (-
286 dcgettext (((void *)0), -
287 " --help display this help and exit\n"-
288 , 5)-
289 ,-
290 stdout-
291 );-
292 fputs_unlocked (-
293 dcgettext (((void *)0), -
294 " --version output version information and exit\n"-
295 , 5)-
296 ,-
297 stdout-
298 );-
299 fputs_unlocked (-
300 dcgettext (((void *)0), -
301 "\nSETs are specified as strings of characters. Most represent themselves.\nInterpreted sequences are:\n\n \\NNN character with octal value NNN (1 to 3 octal digits)\n \\\\ backslash\n \\a audible BEL\n \\b backspace\n \\f form feed\n \\n new line\n \\r return\n \\t horizontal tab\n"-
302 , 5)-
303 ,-
304 stdout-
305 )-
306 ;-
307 fputs_unlocked (-
308 dcgettext (((void *)0), -
309 " \\v vertical tab\n CHAR1-CHAR2 all characters from CHAR1 to CHAR2 in ascending order\n [CHAR*] in SET2, copies of CHAR until length of SET1\n [CHAR*REPEAT] REPEAT copies of CHAR, REPEAT octal if starting with 0\n [:alnum:] all letters and digits\n [:alpha:] all letters\n [:blank:] all horizontal whitespace\n [:cntrl:] all control characters\n [:digit:] all digits\n"-
310 , 5)-
311 ,-
312 stdout-
313 )-
314 ;-
315 fputs_unlocked (-
316 dcgettext (((void *)0), -
317 " [:graph:] all printable characters, not including space\n [:lower:] all lower case letters\n [:print:] all printable characters, including space\n [:punct:] all punctuation characters\n [:space:] all horizontal or vertical whitespace\n [:upper:] all upper case letters\n [:xdigit:] all hexadecimal digits\n [=CHAR=] all characters which are equivalent to CHAR\n"-
318 , 5)-
319 ,-
320 stdout-
321 )-
322 ;-
323 fputs_unlocked (-
324 dcgettext (((void *)0), -
325 "\nTranslation occurs if -d is not given and both SET1 and SET2 appear.\n-t may be used only when translating. SET2 is extended to length of\nSET1 by repeating its last character as necessary. Excess characters\nof SET2 are ignored. Only [:lower:] and [:upper:] are guaranteed to\nexpand in ascending order; used in SET2 while translating, they may\nonly be used in pairs to specify case conversion. -s uses the last\nspecified SET, and occurs after translation or deletion.\n"-
326 , 5)-
327 ,-
328 stdout-
329 )-
330 ;-
331 emit_ancillary_info ("tr");-
332 }
executed 12 times by 1 test: end of block
Executed by:
  • tr
12
333 exit (status);
executed 15 times by 1 test: exit (status);
Executed by:
  • tr
15
334}-
335-
336-
337-
338-
339static inline -
340 _Bool-
341-
342is_equiv_class_member (unsigned char equiv_class, unsigned char c)-
343{-
344 return
executed 1536 times by 1 test: return (equiv_class == c);
Executed by:
  • tr
(equiv_class == c);
executed 1536 times by 1 test: return (equiv_class == c);
Executed by:
  • tr
1536
345}-
346-
347-
348-
349-
350static -
351 _Bool -
352 __attribute__ ((__pure__))-
353is_char_class_member (enum Char_class char_class, unsigned char c)-
354{-
355 int result;-
356-
357 switch (char_class)-
358 {-
359 case
executed 9944 times by 1 test: case CC_ALNUM:
Executed by:
  • tr
CC_ALNUM:
executed 9944 times by 1 test: case CC_ALNUM:
Executed by:
  • tr
9944
360 result = -
361 ((*__ctype_b_loc ())[(int) ((-
362 c-
363 ))] & (unsigned short int) _ISalnum)-
364 ;-
365 break;
executed 9944 times by 1 test: break;
Executed by:
  • tr
9944
366 case
executed 1128 times by 1 test: case CC_ALPHA:
Executed by:
  • tr
CC_ALPHA:
executed 1128 times by 1 test: case CC_ALPHA:
Executed by:
  • tr
1128
367 result = -
368 ((*__ctype_b_loc ())[(int) ((-
369 c-
370 ))] & (unsigned short int) _ISalpha)-
371 ;-
372 break;
executed 1128 times by 1 test: break;
Executed by:
  • tr
1128
373 case
never executed: case CC_BLANK:
CC_BLANK:
never executed: case CC_BLANK:
0
374 result = -
375 ((*__ctype_b_loc ())[(int) ((-
376 c-
377 ))] & (unsigned short int) _ISblank)-
378 ;-
379 break;
never executed: break;
0
380 case
executed 1090 times by 1 test: case CC_CNTRL:
Executed by:
  • tr
CC_CNTRL:
executed 1090 times by 1 test: case CC_CNTRL:
Executed by:
  • tr
1090
381 result = -
382 ((*__ctype_b_loc ())[(int) ((-
383 c-
384 ))] & (unsigned short int) _IScntrl)-
385 ;-
386 break;
executed 1090 times by 1 test: break;
Executed by:
  • tr
1090
387 case
executed 5752 times by 1 test: case CC_DIGIT:
Executed by:
  • tr
CC_DIGIT:
executed 5752 times by 1 test: case CC_DIGIT:
Executed by:
  • tr
5752
388 result = -
389 ((*__ctype_b_loc ())[(int) ((-
390 c-
391 ))] & (unsigned short int) _ISdigit)-
392 ;-
393 break;
executed 5752 times by 1 test: break;
Executed by:
  • tr
5752
394 case
never executed: case CC_GRAPH:
CC_GRAPH:
never executed: case CC_GRAPH:
0
395 result = -
396 ((*__ctype_b_loc ())[(int) ((-
397 c-
398 ))] & (unsigned short int) _ISgraph)-
399 ;-
400 break;
never executed: break;
0
401 case
executed 13628 times by 1 test: case CC_LOWER:
Executed by:
  • tr
CC_LOWER:
executed 13628 times by 1 test: case CC_LOWER:
Executed by:
  • tr
13628
402 result = -
403 ((*__ctype_b_loc ())[(int) ((-
404 c-
405 ))] & (unsigned short int) _ISlower)-
406 ;-
407 break;
executed 13628 times by 1 test: break;
Executed by:
  • tr
13628
408 case
never executed: case CC_PRINT:
CC_PRINT:
never executed: case CC_PRINT:
0
409 result = -
410 ((*__ctype_b_loc ())[(int) ((-
411 c-
412 ))] & (unsigned short int) _ISprint)-
413 ;-
414 break;
never executed: break;
0
415 case
never executed: case CC_PUNCT:
CC_PUNCT:
never executed: case CC_PUNCT:
0
416 result = -
417 ((*__ctype_b_loc ())[(int) ((-
418 c-
419 ))] & (unsigned short int) _ISpunct)-
420 ;-
421 break;
never executed: break;
0
422 case
never executed: case CC_SPACE:
CC_SPACE:
never executed: case CC_SPACE:
0
423 result = -
424 ((*__ctype_b_loc ())[(int) ((-
425 c-
426 ))] & (unsigned short int) _ISspace)-
427 ;-
428 break;
never executed: break;
0
429 case
executed 15124 times by 1 test: case CC_UPPER:
Executed by:
  • tr
CC_UPPER:
executed 15124 times by 1 test: case CC_UPPER:
Executed by:
  • tr
15124
430 result = -
431 ((*__ctype_b_loc ())[(int) ((-
432 c-
433 ))] & (unsigned short int) _ISupper)-
434 ;-
435 break;
executed 15124 times by 1 test: break;
Executed by:
  • tr
15124
436 case
executed 4272 times by 1 test: case CC_XDIGIT:
Executed by:
  • tr
CC_XDIGIT:
executed 4272 times by 1 test: case CC_XDIGIT:
Executed by:
  • tr
4272
437 result = -
438 ((*__ctype_b_loc ())[(int) ((-
439 c-
440 ))] & (unsigned short int) _ISxdigit)-
441 ;-
442 break;
executed 4272 times by 1 test: break;
Executed by:
  • tr
4272
443 default
never executed: default:
:
never executed: default:
0
444 abort ();
never executed: abort ();
0
445 }-
446-
447 return
executed 50938 times by 1 test: return !! result;
Executed by:
  • tr
!! result;
executed 50938 times by 1 test: return !! result;
Executed by:
  • tr
50938
448}-
449-
450static void-
451es_free (struct E_string *es)-
452{-
453 free (es->s);-
454 free (es->escaped);-
455}
executed 8573 times by 1 test: end of block
Executed by:
  • tr
8573
456static -
457 _Bool-
458-
459unquote (char const *s, struct E_string *es)-
460{-
461 size_t len = strlen (s);-
462-
463 es->s = xmalloc (len);-
464 es->escaped = xcalloc (len, sizeof es->escaped[0]);-
465-
466 unsigned int j = 0;-
467 for (unsigned int i = 0; s[i]
s[i]Description
TRUEevaluated 17386 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 8573 times by 1 test
Evaluated by:
  • tr
; i++)
8573-17386
468 {-
469 unsigned char c;-
470 int oct_digit;-
471-
472 switch (s[i])-
473 {-
474 case
executed 315 times by 1 test: case '\\':
Executed by:
  • tr
'\\':
executed 315 times by 1 test: case '\\':
Executed by:
  • tr
315
475 es->escaped[j] = -
476 1-
477 ;-
478 switch (s[i + 1])-
479 {-
480 case
never executed: case '\\':
'\\':
never executed: case '\\':
0
481 c = '\\';-
482 break;
never executed: break;
0
483 case
never executed: case 'a':
'a':
never executed: case 'a':
0
484 c = '\a';-
485 break;
never executed: break;
0
486 case
never executed: case 'b':
'b':
never executed: case 'b':
0
487 c = '\b';-
488 break;
never executed: break;
0
489 case
never executed: case 'f':
'f':
never executed: case 'f':
0
490 c = '\f';-
491 break;
never executed: break;
0
492 case
executed 265 times by 1 test: case 'n':
Executed by:
  • tr
'n':
executed 265 times by 1 test: case 'n':
Executed by:
  • tr
265
493 c = '\n';-
494 break;
executed 265 times by 1 test: break;
Executed by:
  • tr
265
495 case
never executed: case 'r':
'r':
never executed: case 'r':
0
496 c = '\r';-
497 break;
never executed: break;
0
498 case
never executed: case 't':
't':
never executed: case 't':
0
499 c = '\t';-
500 break;
never executed: break;
0
501 case
never executed: case 'v':
'v':
never executed: case 'v':
0
502 c = '\v';-
503 break;
never executed: break;
0
504 case
executed 28 times by 1 test: case '0':
Executed by:
  • tr
'0':
executed 28 times by 1 test: case '0':
Executed by:
  • tr
28
505 case
executed 1 time by 1 test: case '1':
Executed by:
  • tr
'1':
executed 1 time by 1 test: case '1':
Executed by:
  • tr
1
506 case
executed 1 time by 1 test: case '2':
Executed by:
  • tr
'2':
executed 1 time by 1 test: case '2':
Executed by:
  • tr
1
507 case
executed 11 times by 1 test: case '3':
Executed by:
  • tr
'3':
executed 11 times by 1 test: case '3':
Executed by:
  • tr
11
508 case
executed 1 time by 1 test: case '4':
Executed by:
  • tr
'4':
executed 1 time by 1 test: case '4':
Executed by:
  • tr
1
509 case
executed 2 times by 1 test: case '5':
Executed by:
  • tr
'5':
executed 2 times by 1 test: case '5':
Executed by:
  • tr
2
510 case
never executed: case '6':
'6':
never executed: case '6':
0
511 case
never executed: case '7':
'7':
never executed: case '7':
0
512 c = s[i + 1] - '0';-
513 oct_digit = s[i + 2] - '0';-
514 if (0 <= oct_digit
0 <= oct_digitDescription
TRUEevaluated 19 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 25 times by 1 test
Evaluated by:
  • tr
&& oct_digit <= 7
oct_digit <= 7Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tr
)
3-25
515 {-
516 c = 8 * c + oct_digit;-
517 ++i;-
518 oct_digit = s[i + 2] - '0';-
519 if (0 <= oct_digit
0 <= oct_digitDescription
TRUEevaluated 15 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tr
&& oct_digit <= 7
oct_digit <= 7Description
TRUEevaluated 15 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
)
0-15
520 {-
521 if (8 * c + oct_digit < N_CHARS
8 * c + oct_digit < N_CHARSDescription
TRUEevaluated 15 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
)
0-15
522 {-
523 c = 8 * c + oct_digit;-
524 ++i;-
525 }
executed 15 times by 1 test: end of block
Executed by:
  • tr
15
526 else-
527 {-
528 error (0, 0, -
529 dcgettext (((void *)0), -
530 "warning: the ambiguous octal escape \\%c%c%c is being\n\tinterpreted as the 2-byte sequence \\0%c%c, %c"-
531 , 5)-
532 -
533 ,-
534 s[i], s[i + 1], s[i + 2],-
535 s[i], s[i + 1], s[i + 2]);-
536 }
never executed: end of block
0
537 }-
538 }
executed 16 times by 1 test: end of block
Executed by:
  • tr
16
539 break;
executed 44 times by 1 test: break;
Executed by:
  • tr
44
540 case
executed 2 times by 1 test: case '\0':
Executed by:
  • tr
'\0':
executed 2 times by 1 test: case '\0':
Executed by:
  • tr
2
541 error (0, 0, -
542 dcgettext (((void *)0), -
543 "warning: an unescaped backslash " "at end of string is not portable"-
544 , 5)-
545 -
546 );-
547-
548 es->escaped[j] = -
549 0-
550 ;-
551 i--;-
552 c = '\\';-
553 break;
executed 2 times by 1 test: break;
Executed by:
  • tr
2
554 default
executed 4 times by 1 test: default:
Executed by:
  • tr
:
executed 4 times by 1 test: default:
Executed by:
  • tr
4
555 c = s[i + 1];-
556 break;
executed 4 times by 1 test: break;
Executed by:
  • tr
4
557 }-
558 ++i;-
559 es->s[j++] = c;-
560 break;
executed 315 times by 1 test: break;
Executed by:
  • tr
315
561 default
executed 17071 times by 1 test: default:
Executed by:
  • tr
:
executed 17071 times by 1 test: default:
Executed by:
  • tr
17071
562 es->s[j++] = s[i];-
563 break;
executed 17071 times by 1 test: break;
Executed by:
  • tr
17071
564 }-
565 }-
566 es->len = j;-
567 return
executed 8573 times by 1 test: return 1 ;
Executed by:
  • tr
executed 8573 times by 1 test: return 1 ;
Executed by:
  • tr
8573
568 1
executed 8573 times by 1 test: return 1 ;
Executed by:
  • tr
8573
569 ;
executed 8573 times by 1 test: return 1 ;
Executed by:
  • tr
8573
570}-
571-
572-
573-
574-
575static enum Char_class __attribute__ ((__pure__))-
576look_up_char_class (char const *class_str, size_t len)-
577{-
578 enum Char_class i;-
579-
580 for (i = 0; i < (sizeof (char_class_name) / sizeof *(char_class_name))
i < (sizeof (c...r_class_name))Description
TRUEevaluated 704 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tr
; i++)
2-704
581 if ((
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
582 (__extension__ (__builtin_constant_p (
__builtin_constant_p ( len )Description
TRUEnever evaluated
FALSEevaluated 704 times by 1 test
Evaluated by:
  • tr
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-704
583 len
__builtin_constant_p ( len )Description
TRUEnever evaluated
FALSEevaluated 704 times by 1 test
Evaluated by:
  • tr
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-704
584 )
__builtin_constant_p ( len )Description
TRUEnever evaluated
FALSEevaluated 704 times by 1 test
Evaluated by:
  • tr
&& ((__builtin_constant_p (
__builtin_cons... ( class_str )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-704
585 class_str
__builtin_cons... ( class_str )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
586 )
__builtin_cons... ( class_str )Description
TRUEnever evaluated
FALSEnever evaluated
&& strlen (
strlen ( class...ze_t) ( len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
587 class_str
strlen ( class...ze_t) ( len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
588 ) < ((size_t) (
strlen ( class...ze_t) ( len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
589 len
strlen ( class...ze_t) ( len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
590 ))
strlen ( class...ze_t) ( len ))Description
TRUEnever evaluated
FALSEnever evaluated
) || (__builtin_constant_p (
__builtin_cons...lass_name[i] )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
591 char_class_name[i]
__builtin_cons...lass_name[i] )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
592 )
__builtin_cons...lass_name[i] )Description
TRUEnever evaluated
FALSEnever evaluated
&& strlen (
strlen ( char_...ze_t) ( len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
593 char_class_name[i]
strlen ( char_...ze_t) ( len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
594 ) < ((size_t) (
strlen ( char_...ze_t) ( len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
595 len
strlen ( char_...ze_t) ( len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
596 ))
strlen ( char_...ze_t) ( len ))Description
TRUEnever evaluated
FALSEnever evaluated
)) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
597 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
598 ) && __builtin_constant_p (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
599 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
600 ) && (__s1_len = __builtin_strlen (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
601 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
602 ), __s2_len = __builtin_strlen (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
603 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
604 ), (!((size_t)(const void *)((
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
605 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
606 ) + 1) - (size_t)(const void *)(
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
607 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
608 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
609 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
610 ) + 1) - (size_t)(const void *)(
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
611 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
612 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
613 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
614 ,
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
615 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
616 ) : (__builtin_constant_p (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
617 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
618 ) && ((size_t)(const void *)((
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
619 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
620 ) + 1) - (size_t)(const void *)(
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
621 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
622 ) == 1) && (__s1_len = __builtin_strlen (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
623 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
624 ), __s1_len < 4) ? (__builtin_constant_p (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
625 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
626 ) && ((size_t)(const void *)((
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
627 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
628 ) + 1) - (size_t)(const void *)(
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
629 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
630 ) == 1) ? __builtin_strcmp (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
631 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
632 ,
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
633 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
634 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
635 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
636 ); int __result = (((const unsigned char *) (const char *) (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
637 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
638 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
639 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
640 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
641 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
642 ))[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 *) ( class_str ))[3] - __s2[3]);
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
643 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
never executed: __result = (((const unsigned char *) (const char *) ( class_str ))[3] - __s2[3]);
0-612
644 ))[3] - __s2[3]);
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
never executed: __result = (((const unsigned char *) (const char *) ( class_str ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
645 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
646 ) && ((size_t)(const void *)((
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
647 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
648 ) + 1) - (size_t)(const void *)(
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
649 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
650 ) == 1) && (__s2_len = __builtin_strlen (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
651 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
652 ), __s2_len < 4) ? (__builtin_constant_p (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
653 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
654 ) && ((size_t)(const void *)((
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
655 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
656 ) + 1) - (size_t)(const void *)(
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
657 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
658 ) == 1) ? __builtin_strcmp (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
659 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
660 ,
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
661 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
662 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
663 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
664 ); int __result = (((const unsigned char *) (const char *) (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
665 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
666 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
667 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
668 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
669 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
670 ))[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 *) ( char_class_name[i] ))[3] - __s2[3]);
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
671 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
never executed: __result = (((const unsigned char *) (const char *) ( char_class_name[i] ))[3] - __s2[3]);
0-612
672 ))[3] - __s2[3]);
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
never executed: __result = (((const unsigned char *) (const char *) ( char_class_name[i] ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
0-612
673 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
674 ,
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
675 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
676 )))); }) : strncmp (
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
677 class_str
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
678 ,
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
679 char_class_name[i]
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
680 ,
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
681 len
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
682 )))
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
683 == 0)
( (__extension... len ))) == 0)Description
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 612 times by 1 test
Evaluated by:
  • tr
92-612
684 && strlen (char_class_name[i]) == len
strlen (char_c...ame[i]) == lenDescription
TRUEevaluated 92 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
)
0-92
685 return
executed 92 times by 1 test: return i;
Executed by:
  • tr
i;
executed 92 times by 1 test: return i;
Executed by:
  • tr
92
686 return
executed 2 times by 1 test: return CC_NO_CLASS;
Executed by:
  • tr
CC_NO_CLASS;
executed 2 times by 1 test: return CC_NO_CLASS;
Executed by:
  • tr
2
687}-
688-
689-
690-
691-
692static char *-
693make_printable_char (unsigned char c)-
694{-
695 char *buf = xmalloc (5);-
696-
697 if (-
698 ((*
((*__ctype_b_l...int) _ISprint)Description
TRUEnever evaluated
FALSEnever evaluated
__ctype_b_loc ())[(int) ((
((*__ctype_b_l...int) _ISprint)Description
TRUEnever evaluated
FALSEnever evaluated
0
699 c
((*__ctype_b_l...int) _ISprint)Description
TRUEnever evaluated
FALSEnever evaluated
0
700 ))] & (unsigned short int) _ISprint)
((*__ctype_b_l...int) _ISprint)Description
TRUEnever evaluated
FALSEnever evaluated
0
701 )-
702 {-
703 buf[0] = c;-
704 buf[1] = '\0';-
705 }
never executed: end of block
0
706 else-
707 {-
708 sprintf (buf, "\\%03o", c);-
709 }
never executed: end of block
0
710 return
never executed: return buf;
buf;
never executed: return buf;
0
711}-
712static char *-
713make_printable_str (char const *s, size_t len)-
714{-
715-
716-
717 char *printable_buf = xnmalloc (len + 1, 4);-
718 char *p = printable_buf;-
719-
720 for (size_t i = 0; i < len
i < lenDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tr
; i++)
2-4
721 {-
722 char buf[5];-
723 char const *tmp = -
724 ((void *)0)-
725 ;-
726 unsigned char c = s[i];-
727-
728 switch (c)-
729 {-
730 case
never executed: case '\\':
'\\':
never executed: case '\\':
0
731 tmp = "\\";-
732 break;
never executed: break;
0
733 case
never executed: case '\a':
'\a':
never executed: case '\a':
0
734 tmp = "\\a";-
735 break;
never executed: break;
0
736 case
never executed: case '\b':
'\b':
never executed: case '\b':
0
737 tmp = "\\b";-
738 break;
never executed: break;
0
739 case
never executed: case '\f':
'\f':
never executed: case '\f':
0
740 tmp = "\\f";-
741 break;
never executed: break;
0
742 case
never executed: case '\n':
'\n':
never executed: case '\n':
0
743 tmp = "\\n";-
744 break;
never executed: break;
0
745 case
never executed: case '\r':
'\r':
never executed: case '\r':
0
746 tmp = "\\r";-
747 break;
never executed: break;
0
748 case
never executed: case '\t':
'\t':
never executed: case '\t':
0
749 tmp = "\\t";-
750 break;
never executed: break;
0
751 case
never executed: case '\v':
'\v':
never executed: case '\v':
0
752 tmp = "\\v";-
753 break;
never executed: break;
0
754 default
executed 4 times by 1 test: default:
Executed by:
  • tr
:
executed 4 times by 1 test: default:
Executed by:
  • tr
4
755 if (-
756 ((*
((*__ctype_b_l...int) _ISprint)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
__ctype_b_loc ())[(int) ((
((*__ctype_b_l...int) _ISprint)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
0-4
757 c
((*__ctype_b_l...int) _ISprint)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
0-4
758 ))] & (unsigned short int) _ISprint)
((*__ctype_b_l...int) _ISprint)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
0-4
759 )-
760 {-
761 buf[0] = c;-
762 buf[1] = '\0';-
763 }
executed 4 times by 1 test: end of block
Executed by:
  • tr
4
764 else-
765 sprintf (buf, "\\%03o", c);
never executed: sprintf (buf, "\\%03o", c);
0
766 tmp = buf;-
767 break;
executed 4 times by 1 test: break;
Executed by:
  • tr
4
768 }-
769 p = stpcpy (p, tmp);-
770 }
executed 4 times by 1 test: end of block
Executed by:
  • tr
4
771 return
executed 2 times by 1 test: return printable_buf;
Executed by:
  • tr
printable_buf;
executed 2 times by 1 test: return printable_buf;
Executed by:
  • tr
2
772}-
773-
774-
775-
776-
777static void-
778append_normal_char (struct Spec_list *list, unsigned char c)-
779{-
780 struct List_element *new = xmalloc (sizeof *new);-
781 new->next = -
782 ((void *)0)-
783 ;-
784 new->type = RE_NORMAL_CHAR;-
785 new->u.normal_char = c;-
786 -
787 ((-
788 list->tail-
789 ) ? (void) (0) : __assert_fail (-
790 "list->tail"-
791 , "src/tr.c", 647, __PRETTY_FUNCTION__))-
792 ;-
793 list->tail->next = new;-
794 list->tail = new;-
795}
executed 16022 times by 1 test: end of block
Executed by:
  • tr
16022
796-
797-
798-
799-
800-
801-
802static -
803 _Bool-
804-
805append_range (struct Spec_list *list, unsigned char first, unsigned char last)-
806{-
807 if (last < first
last < firstDescription
TRUEnever evaluated
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tr
)
0-44
808 {-
809 char *tmp1 = make_printable_char (first);-
810 char *tmp2 = make_printable_char (last);-
811-
812 error (0, 0,-
813 -
814 dcgettext (((void *)0), -
815 "range-endpoints of '%s-%s' are in reverse collating sequence order"-
816 , 5)-
817 ,-
818 tmp1, tmp2);-
819 free (tmp1);-
820 free (tmp2);-
821 return
never executed: return 0 ;
never executed: return 0 ;
0
822 0
never executed: return 0 ;
0
823 ;
never executed: return 0 ;
0
824 }-
825 struct List_element *new = xmalloc (sizeof *new);-
826 new->next = -
827 ((void *)0)-
828 ;-
829 new->type = RE_RANGE;-
830 new->u.range.first_char = first;-
831 new->u.range.last_char = last;-
832 -
833 ((-
834 list->tail-
835 ) ? (void) (0) : __assert_fail (-
836 "list->tail"-
837 , "src/tr.c", 677, __PRETTY_FUNCTION__))-
838 ;-
839 list->tail->next = new;-
840 list->tail = new;-
841 return
executed 44 times by 1 test: return 1 ;
Executed by:
  • tr
executed 44 times by 1 test: return 1 ;
Executed by:
  • tr
44
842 1
executed 44 times by 1 test: return 1 ;
Executed by:
  • tr
44
843 ;
executed 44 times by 1 test: return 1 ;
Executed by:
  • tr
44
844}-
845-
846-
847-
848-
849-
850-
851static -
852 _Bool-
853-
854append_char_class (struct Spec_list *list,-
855 char const *char_class_str, size_t len)-
856{-
857 enum Char_class char_class = look_up_char_class (char_class_str, len);-
858 if (char_class == CC_NO_CLASS
char_class == CC_NO_CLASSDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 92 times by 1 test
Evaluated by:
  • tr
)
2-92
859 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
2
860 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
2
861 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
2
862 struct List_element *new = xmalloc (sizeof *new);-
863 new->next = -
864 ((void *)0)-
865 ;-
866 new->type = RE_CHAR_CLASS;-
867 new->u.char_class = char_class;-
868 -
869 ((-
870 list->tail-
871 ) ? (void) (0) : __assert_fail (-
872 "list->tail"-
873 , "src/tr.c", 699, __PRETTY_FUNCTION__))-
874 ;-
875 list->tail->next = new;-
876 list->tail = new;-
877 return
executed 92 times by 1 test: return 1 ;
Executed by:
  • tr
executed 92 times by 1 test: return 1 ;
Executed by:
  • tr
92
878 1
executed 92 times by 1 test: return 1 ;
Executed by:
  • tr
92
879 ;
executed 92 times by 1 test: return 1 ;
Executed by:
  • tr
92
880}-
881-
882-
883-
884-
885-
886-
887static void-
888append_repeated_char (struct Spec_list *list, unsigned char the_char,-
889 count repeat_count)-
890{-
891 struct List_element *new = xmalloc (sizeof *new);-
892 new->next = -
893 ((void *)0)-
894 ;-
895 new->type = RE_REPEATED_CHAR;-
896 new->u.repeated_char.the_repeated_char = the_char;-
897 new->u.repeated_char.repeat_count = repeat_count;-
898 -
899 ((-
900 list->tail-
901 ) ? (void) (0) : __assert_fail (-
902 "list->tail"-
903 , "src/tr.c", 719, __PRETTY_FUNCTION__))-
904 ;-
905 list->tail->next = new;-
906 list->tail = new;-
907}
executed 69 times by 1 test: end of block
Executed by:
  • tr
69
908-
909-
910-
911-
912-
913-
914-
915static -
916 _Bool-
917-
918append_equiv_class (struct Spec_list *list,-
919 char const *equiv_class_str, size_t len)-
920{-
921 if (len != 1
len != 1Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tr
)
2-6
922 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
2
923 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
2
924 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
2
925-
926 struct List_element *new = xmalloc (sizeof *new);-
927 new->next = -
928 ((void *)0)-
929 ;-
930 new->type = RE_EQUIV_CLASS;-
931 new->u.equiv_code = *equiv_class_str;-
932 -
933 ((-
934 list->tail-
935 ) ? (void) (0) : __assert_fail (-
936 "list->tail"-
937 , "src/tr.c", 741, __PRETTY_FUNCTION__))-
938 ;-
939 list->tail->next = new;-
940 list->tail = new;-
941 return
executed 6 times by 1 test: return 1 ;
Executed by:
  • tr
executed 6 times by 1 test: return 1 ;
Executed by:
  • tr
6
942 1
executed 6 times by 1 test: return 1 ;
Executed by:
  • tr
6
943 ;
executed 6 times by 1 test: return 1 ;
Executed by:
  • tr
6
944}-
945-
946-
947-
948-
949-
950-
951-
952static -
953 _Bool-
954-
955find_closing_delim (const struct E_string *es, size_t start_idx,-
956 char pre_bracket_char, size_t *result_idx)-
957{-
958 for (size_t i = start_idx; i < es->len - 1
i < es->len - 1Description
TRUEevaluated 620 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tr
; i++)
2-620
959 if (es->s[i] == pre_bracket_char
es->s[i] == pre_bracket_charDescription
TRUEevaluated 110 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 510 times by 1 test
Evaluated by:
  • tr
&& es->s[i + 1] == ']'
es->s[i + 1] == ']'Description
TRUEevaluated 106 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tr
4-510
960 && !es->escaped[i]
!es->escaped[i]Description
TRUEevaluated 106 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
&& !es->escaped[i + 1]
!es->escaped[i + 1]Description
TRUEevaluated 106 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
)
0-106
961 {-
962 *result_idx = i;-
963 return
executed 106 times by 1 test: return 1 ;
Executed by:
  • tr
executed 106 times by 1 test: return 1 ;
Executed by:
  • tr
106
964 1
executed 106 times by 1 test: return 1 ;
Executed by:
  • tr
106
965 ;
executed 106 times by 1 test: return 1 ;
Executed by:
  • tr
106
966 }-
967 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
2
968 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
2
969 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
2
970}-
971static int-
972find_bracketed_repeat (const struct E_string *es, size_t start_idx,-
973 unsigned char *char_to_repeat, count *repeat_count,-
974 size_t *closing_bracket_idx)-
975{-
976 -
977 ((-
978 start_idx + 1 < es->len-
979 ) ? (void) (0) : __assert_fail (-
980 "start_idx + 1 < es->len"-
981 , "src/tr.c", 782, __PRETTY_FUNCTION__))-
982 ;-
983 if (!es_match (es, start_idx + 1, '*')
!es_match (es,..._idx + 1, '*')Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 64 times by 1 test
Evaluated by:
  • tr
)
10-64
984 return
executed 10 times by 1 test: return -1;
Executed by:
  • tr
-1;
executed 10 times by 1 test: return -1;
Executed by:
  • tr
10
985-
986 for (size_t i = start_idx + 2; i < es->len
i < es->lenDescription
TRUEevaluated 166 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
&& !es->escaped[i]
!es->escaped[i]Description
TRUEevaluated 164 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tr
; i++)
0-166
987 {-
988 if (es->s[i] == ']'
es->s[i] == ']'Description
TRUEevaluated 62 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 102 times by 1 test
Evaluated by:
  • tr
)
62-102
989 {-
990 size_t digit_str_len = i - start_idx - 2;-
991-
992 *char_to_repeat = es->s[start_idx];-
993 if (digit_str_len == 0
digit_str_len == 0Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tr
)
26-36
994 {-
995-
996 *repeat_count = 0;-
997 }
executed 36 times by 1 test: end of block
Executed by:
  • tr
36
998 else-
999 {-
1000-
1001-
1002 char const *digit_str = &es->s[start_idx + 2];-
1003 char *d_end;-
1004 if ((
(xstrtoumax (d...!= LONGINT_OK)Description
TRUEnever evaluated
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tr
xstrtoumax (digit_str, &d_end, *digit_str == '0' ? 8 : 10,
(xstrtoumax (d...!= LONGINT_OK)Description
TRUEnever evaluated
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tr
0-26
1005 repeat_count,
(xstrtoumax (d...!= LONGINT_OK)Description
TRUEnever evaluated
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tr
0-26
1006 ((void *)0)
(xstrtoumax (d...!= LONGINT_OK)Description
TRUEnever evaluated
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tr
0-26
1007 )
(xstrtoumax (d...!= LONGINT_OK)Description
TRUEnever evaluated
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tr
0-26
1008 != LONGINT_OK)
(xstrtoumax (d...!= LONGINT_OK)Description
TRUEnever evaluated
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tr
0-26
1009 || (
( (18446744073... *repeat_countDescription
TRUEnever evaluated
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tr
0-26
1010 (18446744073709551615UL)
( (18446744073... *repeat_countDescription
TRUEnever evaluated
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tr
0-26
1011 - 1) < *repeat_count
( (18446744073... *repeat_countDescription
TRUEnever evaluated
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tr
0-26
1012 || digit_str + digit_str_len != d_end
digit_str + di...r_len != d_endDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 24 times by 1 test
Evaluated by:
  • tr
)
2-24
1013 {-
1014 char *tmp = make_printable_str (digit_str, digit_str_len);-
1015 error (0, 0,-
1016 -
1017 dcgettext (((void *)0), -
1018 "invalid repeat count %s in [c*n] construct"-
1019 , 5)-
1020 ,-
1021 quote (tmp));-
1022 free (tmp);-
1023 return
executed 2 times by 1 test: return -2;
Executed by:
  • tr
-2;
executed 2 times by 1 test: return -2;
Executed by:
  • tr
2
1024 }-
1025 }
executed 24 times by 1 test: end of block
Executed by:
  • tr
24
1026 *closing_bracket_idx = i;-
1027 return
executed 60 times by 1 test: return 0;
Executed by:
  • tr
0;
executed 60 times by 1 test: return 0;
Executed by:
  • tr
60
1028 }-
1029 }
executed 102 times by 1 test: end of block
Executed by:
  • tr
102
1030 return
executed 2 times by 1 test: return -1;
Executed by:
  • tr
-1;
executed 2 times by 1 test: return -1;
Executed by:
  • tr
2
1031}-
1032-
1033-
1034-
1035-
1036-
1037static -
1038 _Bool -
1039 __attribute__ ((__pure__))-
1040star_digits_closebracket (const struct E_string *es, size_t idx)-
1041{-
1042 if (!es_match (es, idx, '*')
!es_match (es, idx, '*')Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tr
)
0-4
1043 return
never executed: return 0 ;
never executed: return 0 ;
0
1044 0
never executed: return 0 ;
0
1045 ;
never executed: return 0 ;
0
1046-
1047 for (size_t i = idx + 1; i < es->len
i < es->lenDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
; i++)
0-8
1048 if (!((unsigned int) (to_uchar (es->s[i])) - '0' <= 9)
!((unsigned in...)) - '0' <= 9)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tr
|| es->escaped[i]
es->escaped[i]Description
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tr
)
0-4
1049 return
executed 4 times by 1 test: return es_match (es, i, ']');
Executed by:
  • tr
es_match (es, i, ']');
executed 4 times by 1 test: return es_match (es, i, ']');
Executed by:
  • tr
4
1050 return
never executed: return 0 ;
never executed: return 0 ;
0
1051 0
never executed: return 0 ;
0
1052 ;
never executed: return 0 ;
0
1053}-
1054static -
1055 _Bool-
1056-
1057build_spec_list (const struct E_string *es, struct Spec_list *result)-
1058{-
1059 char const *p = es->s;-
1060-
1061-
1062-
1063-
1064-
1065-
1066-
1067 size_t i;-
1068 for (i = 0; i + 2 < es->len
i + 2 < es->lenDescription
TRUEevaluated 312 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 8567 times by 1 test
Evaluated by:
  • tr
; )
312-8567
1069 {-
1070 if (es_match (es, i, '[')
es_match (es, i, '[')Description
TRUEevaluated 176 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 136 times by 1 test
Evaluated by:
  • tr
)
136-176
1071 {-
1072 -
1073 _Bool -
1074 matched_multi_char_construct;-
1075 size_t closing_bracket_idx;-
1076 unsigned char char_to_repeat;-
1077 count repeat_count;-
1078 int err;-
1079-
1080 matched_multi_char_construct = -
1081 1-
1082 ;-
1083 if (es_match (es, i + 1, ':')
es_match (es, i + 1, ':')Description
TRUEevaluated 98 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 78 times by 1 test
Evaluated by:
  • tr
|| es_match (es, i + 1, '=')
es_match (es, i + 1, '=')Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 68 times by 1 test
Evaluated by:
  • tr
)
10-98
1084 {-
1085 size_t closing_delim_idx;-
1086-
1087 if (find_closing_delim (es, i + 2, p[i + 1], &closing_delim_idx)
find_closing_d...ing_delim_idx)Description
TRUEevaluated 106 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tr
)
2-106
1088 {-
1089 size_t opnd_str_len = closing_delim_idx - 1 - (i + 2) + 1;-
1090 char const *opnd_str = p + i + 2;-
1091-
1092 if (opnd_str_len == 0
opnd_str_len == 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 102 times by 1 test
Evaluated by:
  • tr
)
4-102
1093 {-
1094 if (p[i + 1] == ':'
p[i + 1] == ':'Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tr
)
2
1095 error (0, 0,
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "missing character class name '[::]'" , 5) );
Executed by:
  • tr
2
1096 dcgettext (((void *)0),
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "missing character class name '[::]'" , 5) );
Executed by:
  • tr
2
1097 "missing character class name '[::]'"
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "missing character class name '[::]'" , 5) );
Executed by:
  • tr
2
1098 , 5)
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "missing character class name '[::]'" , 5) );
Executed by:
  • tr
2
1099 );
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "missing character class name '[::]'" , 5) );
Executed by:
  • tr
2
1100 else-
1101 error (0, 0,
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "missing equivalence class character '[==]'" , 5) );
Executed by:
  • tr
2
1102
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "missing equivalence class character '[==]'" , 5) );
Executed by:
  • tr
2
1103 dcgettext (((void *)0),
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "missing equivalence class character '[==]'" , 5) );
Executed by:
  • tr
2
1104 "missing equivalence class character '[==]'"
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "missing equivalence class character '[==]'" , 5) );
Executed by:
  • tr
2
1105 , 5)
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "missing equivalence class character '[==]'" , 5) );
Executed by:
  • tr
2
1106 );
executed 2 times by 1 test: error (0, 0, dcgettext (((void *)0), "missing equivalence class character '[==]'" , 5) );
Executed by:
  • tr
2
1107 return
executed 4 times by 1 test: return 0 ;
Executed by:
  • tr
executed 4 times by 1 test: return 0 ;
Executed by:
  • tr
4
1108 0
executed 4 times by 1 test: return 0 ;
Executed by:
  • tr
4
1109 ;
executed 4 times by 1 test: return 0 ;
Executed by:
  • tr
4
1110 }-
1111-
1112 if (p[i + 1] == ':'
p[i + 1] == ':'Description
TRUEevaluated 94 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tr
)
8-94
1113 {-
1114-
1115 if (!append_char_class (result, opnd_str, opnd_str_len)
!append_char_c... opnd_str_len)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 92 times by 1 test
Evaluated by:
  • tr
)
2-92
1116 {-
1117 if (star_digits_closebracket (es, i + 2)
star_digits_cl...et (es, i + 2)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
)
0-2
1118 goto
executed 2 times by 1 test: goto try_bracketed_repeat;
Executed by:
  • tr
try_bracketed_repeat;
executed 2 times by 1 test: goto try_bracketed_repeat;
Executed by:
  • tr
2
1119 else-
1120 {-
1121 char *tmp = make_printable_str (opnd_str,-
1122 opnd_str_len);-
1123 error (0, 0, -
1124 dcgettext (((void *)0), -
1125 "invalid character class %s"-
1126 , 5)-
1127 ,-
1128 quote (tmp));-
1129 free (tmp);-
1130 return
never executed: return 0 ;
never executed: return 0 ;
0
1131 0
never executed: return 0 ;
0
1132 ;
never executed: return 0 ;
0
1133 }-
1134 }-
1135 }
executed 92 times by 1 test: end of block
Executed by:
  • tr
92
1136 else-
1137 {-
1138-
1139 if (!append_equiv_class (result, opnd_str, opnd_str_len)
!append_equiv_... opnd_str_len)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tr
)
2-6
1140 {-
1141 if (star_digits_closebracket (es, i + 2)
star_digits_cl...et (es, i + 2)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
)
0-2
1142 goto
executed 2 times by 1 test: goto try_bracketed_repeat;
Executed by:
  • tr
try_bracketed_repeat;
executed 2 times by 1 test: goto try_bracketed_repeat;
Executed by:
  • tr
2
1143 else-
1144 {-
1145 char *tmp = make_printable_str (opnd_str,-
1146 opnd_str_len);-
1147 error (0, 0,-
1148 -
1149 dcgettext (((void *)0), -
1150 "%s: equivalence class operand must be a single character"-
1151 , 5)-
1152 ,-
1153 tmp);-
1154 free (tmp);-
1155 return
never executed: return 0 ;
never executed: return 0 ;
0
1156 0
never executed: return 0 ;
0
1157 ;
never executed: return 0 ;
0
1158 }-
1159 }-
1160 }
executed 6 times by 1 test: end of block
Executed by:
  • tr
6
1161-
1162 i = closing_delim_idx + 2;-
1163 continue;
executed 98 times by 1 test: continue;
Executed by:
  • tr
98
1164 }-
1165-
1166 }
executed 2 times by 1 test: end of block
Executed by:
  • tr
2
1167-
1168 try_bracketed_repeat:
code before this statement executed 70 times by 1 test: try_bracketed_repeat:
Executed by:
  • tr
70
1169-
1170-
1171-
1172 err = find_bracketed_repeat (es, i + 1, &char_to_repeat,-
1173 &repeat_count,-
1174 &closing_bracket_idx);-
1175 if (err == 0
err == 0Description
TRUEevaluated 60 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tr
)
14-60
1176 {-
1177 append_repeated_char (result, char_to_repeat, repeat_count);-
1178 i = closing_bracket_idx + 1;-
1179 }
executed 60 times by 1 test: end of block
Executed by:
  • tr
60
1180 else if (err == -1
err == -1Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tr
)
2-12
1181 {-
1182 matched_multi_char_construct = -
1183 0-
1184 ;-
1185 }
executed 12 times by 1 test: end of block
Executed by:
  • tr
12
1186 else-
1187 {-
1188-
1189-
1190 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
2
1191 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
2
1192 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • tr
2
1193 }-
1194-
1195 if (matched_multi_char_construct
matched_multi_char_constructDescription
TRUEevaluated 60 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tr
)
12-60
1196 continue;
executed 60 times by 1 test: continue;
Executed by:
  • tr
60
1197-
1198-
1199-
1200-
1201 }
executed 12 times by 1 test: end of block
Executed by:
  • tr
12
1202-
1203-
1204 if (es_match (es, i + 1, '-')
es_match (es, i + 1, '-')Description
TRUEevaluated 44 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 104 times by 1 test
Evaluated by:
  • tr
)
44-104
1205 {-
1206 if (!append_range (result, p[i], p[i + 2])
!append_range ...[i], p[i + 2])Description
TRUEnever evaluated
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tr
)
0-44
1207 return
never executed: return 0 ;
never executed: return 0 ;
0
1208 0
never executed: return 0 ;
0
1209 ;
never executed: return 0 ;
0
1210 i += 3;-
1211 }
executed 44 times by 1 test: end of block
Executed by:
  • tr
44
1212 else-
1213 {-
1214 append_normal_char (result, p[i]);-
1215 ++i;-
1216 }
executed 104 times by 1 test: end of block
Executed by:
  • tr
104
1217 }-
1218-
1219-
1220 for (; i < es->len
i < es->lenDescription
TRUEevaluated 15918 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 8567 times by 1 test
Evaluated by:
  • tr
; i++)
8567-15918
1221 append_normal_char (result, p[i]);
executed 15918 times by 1 test: append_normal_char (result, p[i]);
Executed by:
  • tr
15918
1222-
1223 return
executed 8567 times by 1 test: return 1 ;
Executed by:
  • tr
executed 8567 times by 1 test: return 1 ;
Executed by:
  • tr
8567
1224 1
executed 8567 times by 1 test: return 1 ;
Executed by:
  • tr
8567
1225 ;
executed 8567 times by 1 test: return 1 ;
Executed by:
  • tr
8567
1226}-
1227-
1228-
1229-
1230static void-
1231skip_construct (struct Spec_list *s)-
1232{-
1233 s->tail = s->tail->next;-
1234 s->state = ((-
1235 (18446744073709551615UL) -
1236 - 1) + 1);-
1237}
executed 34 times by 1 test: end of block
Executed by:
  • tr
34
1238static int-
1239get_next (struct Spec_list *s, enum Upper_Lower_class *class)-
1240{-
1241 struct List_element *p;-
1242 int return_val;-
1243 int i;-
1244-
1245 if (class
classDescription
TRUEevaluated 29378 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 534509 times by 1 test
Evaluated by:
  • tr
)
29378-534509
1246 *class
executed 29378 times by 1 test: *class = UL_NONE;
Executed by:
  • tr
= UL_NONE;
executed 29378 times by 1 test: *class = UL_NONE;
Executed by:
  • tr
29378
1247-
1248 if (s->state == (
s->state == ( ...551615UL) - 1)Description
TRUEevaluated 8627 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 555260 times by 1 test
Evaluated by:
  • tr
8627-555260
1249 (18446744073709551615UL)
s->state == ( ...551615UL) - 1)Description
TRUEevaluated 8627 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 555260 times by 1 test
Evaluated by:
  • tr
8627-555260
1250 - 1)
s->state == ( ...551615UL) - 1)Description
TRUEevaluated 8627 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 555260 times by 1 test
Evaluated by:
  • tr
)
8627-555260
1251 {-
1252 s->tail = s->head->next;-
1253 s->state = ((-
1254 (18446744073709551615UL) -
1255 - 1) + 1);-
1256 }
executed 8627 times by 1 test: end of block
Executed by:
  • tr
8627
1257-
1258 p = s->tail;-
1259 if (p ==
p == ((void *)0)Description
TRUEevaluated 8590 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 555297 times by 1 test
Evaluated by:
  • tr
8590-555297
1260 ((void *)0)
p == ((void *)0)Description
TRUEevaluated 8590 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 555297 times by 1 test
Evaluated by:
  • tr
8590-555297
1261 )-
1262 return
executed 8590 times by 1 test: return -1;
Executed by:
  • tr
-1;
executed 8590 times by 1 test: return -1;
Executed by:
  • tr
8590
1263-
1264 switch (p->type)-
1265 {-
1266 case
executed 16038 times by 1 test: case RE_NORMAL_CHAR:
Executed by:
  • tr
RE_NORMAL_CHAR:
executed 16038 times by 1 test: case RE_NORMAL_CHAR:
Executed by:
  • tr
16038
1267 return_val = p->u.normal_char;-
1268 s->state = ((-
1269 (18446744073709551615UL) -
1270 - 1) + 1);-
1271 s->tail = p->next;-
1272 break;
executed 16038 times by 1 test: break;
Executed by:
  • tr
16038
1273-
1274 case
executed 623 times by 1 test: case RE_RANGE:
Executed by:
  • tr
RE_RANGE:
executed 623 times by 1 test: case RE_RANGE:
Executed by:
  • tr
623
1275 if (s->state == ((
s->state == ((...5UL) - 1) + 1)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 577 times by 1 test
Evaluated by:
  • tr
46-577
1276 (18446744073709551615UL)
s->state == ((...5UL) - 1) + 1)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 577 times by 1 test
Evaluated by:
  • tr
46-577
1277 - 1) + 1)
s->state == ((...5UL) - 1) + 1)Description
TRUEevaluated 46 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 577 times by 1 test
Evaluated by:
  • tr
)
46-577
1278 s->state = p->u.range.first_char;
executed 46 times by 1 test: s->state = p->u.range.first_char;
Executed by:
  • tr
46
1279 else-
1280 ++(
executed 577 times by 1 test: ++(s->state);
Executed by:
  • tr
s->state);
executed 577 times by 1 test: ++(s->state);
Executed by:
  • tr
577
1281 return_val = s->state;-
1282 if (s->state == p->u.range.last_char
s->state == p-...ange.last_charDescription
TRUEevaluated 42 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 581 times by 1 test
Evaluated by:
  • tr
)
42-581
1283 {-
1284 s->tail = p->next;-
1285 s->state = ((-
1286 (18446744073709551615UL) -
1287 - 1) + 1);-
1288 }
executed 42 times by 1 test: end of block
Executed by:
  • tr
42
1289 break;
executed 623 times by 1 test: break;
Executed by:
  • tr
623
1290-
1291 case
executed 2772 times by 1 test: case RE_CHAR_CLASS:
Executed by:
  • tr
RE_CHAR_CLASS:
executed 2772 times by 1 test: case RE_CHAR_CLASS:
Executed by:
  • tr
2772
1292 if (class
classDescription
TRUEevaluated 306 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2466 times by 1 test
Evaluated by:
  • tr
)
306-2466
1293 {-
1294 switch (p->u.char_class)-
1295 {-
1296 case
executed 160 times by 1 test: case CC_LOWER:
Executed by:
  • tr
CC_LOWER:
executed 160 times by 1 test: case CC_LOWER:
Executed by:
  • tr
160
1297 *class = UL_LOWER;-
1298 break;
executed 160 times by 1 test: break;
Executed by:
  • tr
160
1299 case
executed 126 times by 1 test: case CC_UPPER:
Executed by:
  • tr
CC_UPPER:
executed 126 times by 1 test: case CC_UPPER:
Executed by:
  • tr
126
1300 *class = UL_UPPER;-
1301 break;
executed 126 times by 1 test: break;
Executed by:
  • tr
126
1302 default
executed 20 times by 1 test: default:
Executed by:
  • tr
:
executed 20 times by 1 test: default:
Executed by:
  • tr
20
1303 break;
executed 20 times by 1 test: break;
Executed by:
  • tr
20
1304 }-
1305 }-
1306-
1307 if (s->state == ((
s->state == ((...5UL) - 1) + 1)Description
TRUEevaluated 124 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2648 times by 1 test
Evaluated by:
  • tr
124-2648
1308 (18446744073709551615UL)
s->state == ((...5UL) - 1) + 1)Description
TRUEevaluated 124 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2648 times by 1 test
Evaluated by:
  • tr
124-2648
1309 - 1) + 1)
s->state == ((...5UL) - 1) + 1)Description
TRUEevaluated 124 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2648 times by 1 test
Evaluated by:
  • tr
)
124-2648
1310 {-
1311 for (i = 0; i < N_CHARS
i < N_CHARSDescription
TRUEevaluated 8526 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
; i++)
0-8526
1312 if (is_char_class_member (p->u.char_class, i)
is_char_class_...char_class, i)Description
TRUEevaluated 124 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 8402 times by 1 test
Evaluated by:
  • tr
)
124-8402
1313 break;
executed 124 times by 1 test: break;
Executed by:
  • tr
124
1314 -
1315 ((-
1316 i < N_CHARS-
1317 ) ? (void) (0) : __assert_fail (-
1318 "i < N_CHARS"-
1319 , "src/tr.c", 1076, __PRETTY_FUNCTION__))-
1320 ;-
1321 s->state = i;-
1322 }
executed 124 times by 1 test: end of block
Executed by:
  • tr
124
1323 -
1324 ((-
1325 is_char_class_member (p->u.char_class, s->state)-
1326 ) ? (void) (0) : __assert_fail (-
1327 "is_char_class_member (p->u.char_class, s->state)"-
1328 , "src/tr.c", 1079, __PRETTY_FUNCTION__))-
1329 ;-
1330 return_val = s->state;-
1331 for (i = s->state + 1; i < N_CHARS
i < N_CHARSDescription
TRUEevaluated 16088 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 83 times by 1 test
Evaluated by:
  • tr
; i++)
83-16088
1332 if (is_char_class_member (p->u.char_class, i)
is_char_class_...char_class, i)Description
TRUEevaluated 2689 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 13399 times by 1 test
Evaluated by:
  • tr
)
2689-13399
1333 break;
executed 2689 times by 1 test: break;
Executed by:
  • tr
2689
1334 if (i < N_CHARS
i < N_CHARSDescription
TRUEevaluated 2689 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 83 times by 1 test
Evaluated by:
  • tr
)
83-2689
1335 s->state = i;
executed 2689 times by 1 test: s->state = i;
Executed by:
  • tr
2689
1336 else-
1337 {-
1338 s->tail = p->next;-
1339 s->state = ((-
1340 (18446744073709551615UL) -
1341 - 1) + 1);-
1342 }
executed 83 times by 1 test: end of block
Executed by:
  • tr
83
1343 break;
executed 2772 times by 1 test: break;
Executed by:
  • tr
2772
1344-
1345 case
executed 6 times by 1 test: case RE_EQUIV_CLASS:
Executed by:
  • tr
RE_EQUIV_CLASS:
executed 6 times by 1 test: case RE_EQUIV_CLASS:
Executed by:
  • tr
6
1346-
1347-
1348-
1349-
1350-
1351 return_val = p->u.equiv_code;-
1352 s->state = ((-
1353 (18446744073709551615UL) -
1354 - 1) + 1);-
1355 s->tail = p->next;-
1356 break;
executed 6 times by 1 test: break;
Executed by:
  • tr
6
1357-
1358 case
executed 535858 times by 1 test: case RE_REPEATED_CHAR:
Executed by:
  • tr
RE_REPEATED_CHAR:
executed 535858 times by 1 test: case RE_REPEATED_CHAR:
Executed by:
  • tr
535858
1359-
1360 if (p->u.repeated_char.repeat_count == 0
p->u.repeated_...eat_count == 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 535854 times by 1 test
Evaluated by:
  • tr
)
4-535854
1361 {-
1362 s->tail = p->next;-
1363 s->state = ((-
1364 (18446744073709551615UL) -
1365 - 1) + 1);-
1366 return_val = get_next (s, class);-
1367 }
executed 4 times by 1 test: end of block
Executed by:
  • tr
4
1368 else-
1369 {-
1370 if (s->state == ((
s->state == ((...5UL) - 1) + 1)Description
TRUEevaluated 94 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 535760 times by 1 test
Evaluated by:
  • tr
94-535760
1371 (18446744073709551615UL)
s->state == ((...5UL) - 1) + 1)Description
TRUEevaluated 94 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 535760 times by 1 test
Evaluated by:
  • tr
94-535760
1372 - 1) + 1)
s->state == ((...5UL) - 1) + 1)Description
TRUEevaluated 94 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 535760 times by 1 test
Evaluated by:
  • tr
)
94-535760
1373 {-
1374 s->state = 0;-
1375 }
executed 94 times by 1 test: end of block
Executed by:
  • tr
94
1376 ++(s->state);-
1377 return_val = p->u.repeated_char.the_repeated_char;-
1378 if (s->state == p->u.repeated_char.repeat_count
s->state == p-...r.repeat_countDescription
TRUEevaluated 88 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 535766 times by 1 test
Evaluated by:
  • tr
)
88-535766
1379 {-
1380 s->tail = p->next;-
1381 s->state = ((-
1382 (18446744073709551615UL) -
1383 - 1) + 1);-
1384 }
executed 88 times by 1 test: end of block
Executed by:
  • tr
88
1385 }
executed 535854 times by 1 test: end of block
Executed by:
  • tr
535854
1386 break;
executed 535858 times by 1 test: break;
Executed by:
  • tr
535858
1387-
1388 default
never executed: default:
:
never executed: default:
0
1389 abort ();
never executed: abort ();
0
1390 }-
1391-
1392 return
executed 555297 times by 1 test: return return_val;
Executed by:
  • tr
return_val;
executed 555297 times by 1 test: return return_val;
Executed by:
  • tr
555297
1393}-
1394-
1395-
1396-
1397-
1398-
1399-
1400static int-
1401card_of_complement (struct Spec_list *s)-
1402{-
1403 int c;-
1404 int cardinality = N_CHARS;-
1405 -
1406 _Bool -
1407 in_set[N_CHARS] = { 0, };-
1408-
1409 s->state = (-
1410 (18446744073709551615UL) -
1411 - 1);-
1412 while ((
(c = get_next ... *)0) )) != -1Description
TRUEevaluated 262921 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 27 times by 1 test
Evaluated by:
  • tr
c = get_next (s,
(c = get_next ... *)0) )) != -1Description
TRUEevaluated 262921 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 27 times by 1 test
Evaluated by:
  • tr
27-262921
1413 ((void *)0)
(c = get_next ... *)0) )) != -1Description
TRUEevaluated 262921 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 27 times by 1 test
Evaluated by:
  • tr
27-262921
1414 )) != -1
(c = get_next ... *)0) )) != -1Description
TRUEevaluated 262921 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 27 times by 1 test
Evaluated by:
  • tr
)
27-262921
1415 {-
1416 cardinality -= (!in_set[c]);-
1417 in_set[c] = -
1418 1-
1419 ;-
1420 }
executed 262921 times by 1 test: end of block
Executed by:
  • tr
262921
1421 return
executed 27 times by 1 test: return cardinality;
Executed by:
  • tr
cardinality;
executed 27 times by 1 test: return cardinality;
Executed by:
  • tr
27
1422}-
1423static void-
1424validate_case_classes (struct Spec_list *s1, struct Spec_list *s2)-
1425{-
1426 size_t n_upper = 0;-
1427 size_t n_lower = 0;-
1428 int c1 = 0;-
1429 int c2 = 0;-
1430 count old_s1_len = s1->length;-
1431 count old_s2_len = s2->length;-
1432 struct List_element *s1_tail = s1->tail;-
1433 struct List_element *s2_tail = s2->tail;-
1434 -
1435 _Bool -
1436 s1_new_element = -
1437 1-
1438 ;-
1439 -
1440 _Bool -
1441 s2_new_element = -
1442 1-
1443 ;-
1444-
1445 if (!s2->has_char_class
!s2->has_char_classDescription
TRUEevaluated 4194 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tr
)
14-4194
1446 return;
executed 4194 times by 1 test: return;
Executed by:
  • tr
4194
1447-
1448 for (int i = 0; i < N_CHARS
i < N_CHARSDescription
TRUEevaluated 3584 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tr
; i++)
14-3584
1449 {-
1450 if (-
1451 ((*
((*__ctype_b_l...int) _ISupper)Description
TRUEevaluated 364 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 3220 times by 1 test
Evaluated by:
  • tr
__ctype_b_loc ())[(int) ((
((*__ctype_b_l...int) _ISupper)Description
TRUEevaluated 364 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 3220 times by 1 test
Evaluated by:
  • tr
364-3220
1452 i
((*__ctype_b_l...int) _ISupper)Description
TRUEevaluated 364 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 3220 times by 1 test
Evaluated by:
  • tr
364-3220
1453 ))] & (unsigned short int) _ISupper)
((*__ctype_b_l...int) _ISupper)Description
TRUEevaluated 364 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 3220 times by 1 test
Evaluated by:
  • tr
364-3220
1454 )-
1455 n_upper++;
executed 364 times by 1 test: n_upper++;
Executed by:
  • tr
364
1456 if (-
1457 ((*
((*__ctype_b_l...int) _ISlower)Description
TRUEevaluated 364 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 3220 times by 1 test
Evaluated by:
  • tr
__ctype_b_loc ())[(int) ((
((*__ctype_b_l...int) _ISlower)Description
TRUEevaluated 364 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 3220 times by 1 test
Evaluated by:
  • tr
364-3220
1458 i
((*__ctype_b_l...int) _ISlower)Description
TRUEevaluated 364 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 3220 times by 1 test
Evaluated by:
  • tr
364-3220
1459 ))] & (unsigned short int) _ISlower)
((*__ctype_b_l...int) _ISlower)Description
TRUEevaluated 364 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 3220 times by 1 test
Evaluated by:
  • tr
364-3220
1460 )-
1461 n_lower++;
executed 364 times by 1 test: n_lower++;
Executed by:
  • tr
364
1462 }
executed 3584 times by 1 test: end of block
Executed by:
  • tr
3584
1463-
1464 s1->state = (-
1465 (18446744073709551615UL) -
1466 - 1);-
1467 s2->state = (-
1468 (18446744073709551615UL) -
1469 - 1);-
1470-
1471 while (c1 != -1
c1 != -1Description
TRUEevaluated 164 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 7 times by 1 test
Evaluated by:
  • tr
&& c2 != -1
c2 != -1Description
TRUEevaluated 162 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tr
)
2-164
1472 {-
1473 enum Upper_Lower_class class_s1, class_s2;-
1474-
1475 c1 = get_next (s1, &class_s1);-
1476 c2 = get_next (s2, &class_s2);-
1477-
1478-
1479-
1480 if (s2_new_element
s2_new_elementDescription
TRUEevaluated 30 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 132 times by 1 test
Evaluated by:
  • tr
&& class_s2 != UL_NONE
class_s2 != UL_NONEDescription
TRUEevaluated 14 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tr
14-132
1481 && !(s1_new_element
s1_new_elementDescription
TRUEevaluated 11 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tr
&& class_s1 != UL_NONE
class_s1 != UL_NONEDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tr
))
2-11
1482 ((
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
!!sizeof (struct { _Static_assert (
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1483 1
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1484 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1485 1
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1486 , 0,
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1487 dcgettext (((void *)0),
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1488 "misaligned [:upper:] and/or [:lower:] construct"
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1489 , 5)
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1490 ), ((
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1491 0
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1492 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1493 1
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1494 , 0,
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1495 dcgettext (((void *)0),
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1496 "misaligned [:upper:] and/or [:lower:] construct"
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1497 , 5)
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1498 ), ((
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1499 0
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1500 ) ? (void) 0 : __builtin_unreachable ()))))
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1501 ;
executed 5 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"misaligned [:upper:] and/or [:lower:] construct\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "misaligned [:upper:] and/or [:lower:] construct" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
5
1502-
1503-
1504 if (class_s2 != UL_NONE
class_s2 != UL_NONEDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 148 times by 1 test
Evaluated by:
  • tr
)
9-148
1505 {-
1506 skip_construct (s1);-
1507 skip_construct (s2);-
1508-
1509 s1->length -= (class_s1 == UL_UPPER
class_s1 == UL_UPPERDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tr
? n_upper : n_lower) - 1;
4-5
1510 s2->length -= (class_s2 == UL_UPPER
class_s2 == UL_UPPERDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tr
? n_upper : n_lower) - 1;
3-6
1511 }
executed 9 times by 1 test: end of block
Executed by:
  • tr
9
1512-
1513 s1_new_element = s1->state == ((-
1514 (18446744073709551615UL) -
1515 - 1) + 1);-
1516 s2_new_element = s2->state == ((-
1517 (18446744073709551615UL) -
1518 - 1) + 1);-
1519 }
executed 157 times by 1 test: end of block
Executed by:
  • tr
157
1520-
1521 -
1522 ((-
1523 old_s1_len >= s1->length && old_s2_len >= s2->length-
1524 ) ? (void) (0) : __assert_fail (-
1525 "old_s1_len >= s1->length && old_s2_len >= s2->length"-
1526 , "src/tr.c", 1221, __PRETTY_FUNCTION__))-
1527 ;-
1528-
1529 s1->tail = s1_tail;-
1530 s2->tail = s2_tail;-
1531}
executed 9 times by 1 test: end of block
Executed by:
  • tr
9
1532static void-
1533get_spec_stats (struct Spec_list *s)-
1534{-
1535 struct List_element *p;-
1536 count length = 0;-
1537-
1538 s->n_indefinite_repeats = 0;-
1539 s->has_equiv_class = -
1540 0-
1541 ;-
1542 s->has_restricted_char_class = -
1543 0-
1544 ;-
1545 s->has_char_class = -
1546 0-
1547 ;-
1548 for (p = s->head->next; p
pDescription
TRUEevaluated 16224 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 8567 times by 1 test
Evaluated by:
  • tr
; p = p->next)
8567-16224
1549 {-
1550 count len = 0;-
1551 count new_length;-
1552-
1553 switch (p->type)-
1554 {-
1555 case
executed 16022 times by 1 test: case RE_NORMAL_CHAR:
Executed by:
  • tr
RE_NORMAL_CHAR:
executed 16022 times by 1 test: case RE_NORMAL_CHAR:
Executed by:
  • tr
16022
1556 len = 1;-
1557 break;
executed 16022 times by 1 test: break;
Executed by:
  • tr
16022
1558-
1559 case
executed 44 times by 1 test: case RE_RANGE:
Executed by:
  • tr
RE_RANGE:
executed 44 times by 1 test: case RE_RANGE:
Executed by:
  • tr
44
1560 -
1561 ((-
1562 p->u.range.last_char >= p->u.range.first_char-
1563 ) ? (void) (0) : __assert_fail (-
1564 "p->u.range.last_char >= p->u.range.first_char"-
1565 , "src/tr.c", 1262, __PRETTY_FUNCTION__))-
1566 ;-
1567 len = p->u.range.last_char - p->u.range.first_char + 1;-
1568 break;
executed 44 times by 1 test: break;
Executed by:
  • tr
44
1569-
1570 case
executed 92 times by 1 test: case RE_CHAR_CLASS:
Executed by:
  • tr
RE_CHAR_CLASS:
executed 92 times by 1 test: case RE_CHAR_CLASS:
Executed by:
  • tr
92
1571 s->has_char_class = -
1572 1-
1573 ;-
1574 for (int i = 0; i < N_CHARS
i < N_CHARSDescription
TRUEevaluated 23552 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 92 times by 1 test
Evaluated by:
  • tr
; i++)
92-23552
1575 if (is_char_class_member (p->u.char_class, i)
is_char_class_...char_class, i)Description
TRUEevaluated 2770 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 20782 times by 1 test
Evaluated by:
  • tr
)
2770-20782
1576 ++
executed 2770 times by 1 test: ++len;
Executed by:
  • tr
len;
executed 2770 times by 1 test: ++len;
Executed by:
  • tr
2770
1577 switch (p->u.char_class)-
1578 {-
1579 case
executed 29 times by 1 test: case CC_UPPER:
Executed by:
  • tr
CC_UPPER:
executed 29 times by 1 test: case CC_UPPER:
Executed by:
  • tr
29
1580 case
executed 27 times by 1 test: case CC_LOWER:
Executed by:
  • tr
CC_LOWER:
executed 27 times by 1 test: case CC_LOWER:
Executed by:
  • tr
27
1581 break;
executed 56 times by 1 test: break;
Executed by:
  • tr
56
1582 default
executed 36 times by 1 test: default:
Executed by:
  • tr
:
executed 36 times by 1 test: default:
Executed by:
  • tr
36
1583 s->has_restricted_char_class = -
1584 1-
1585 ;-
1586 break;
executed 36 times by 1 test: break;
Executed by:
  • tr
36
1587 }-
1588 break;
executed 92 times by 1 test: break;
Executed by:
  • tr
92
1589-
1590 case
executed 6 times by 1 test: case RE_EQUIV_CLASS:
Executed by:
  • tr
RE_EQUIV_CLASS:
executed 6 times by 1 test: case RE_EQUIV_CLASS:
Executed by:
  • tr
6
1591 for (int i = 0; i < N_CHARS
i < N_CHARSDescription
TRUEevaluated 1536 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tr
; i++)
6-1536
1592 if (is_equiv_class_member (p->u.equiv_code, i)
is_equiv_class...equiv_code, i)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 1530 times by 1 test
Evaluated by:
  • tr
)
6-1530
1593 ++
executed 6 times by 1 test: ++len;
Executed by:
  • tr
len;
executed 6 times by 1 test: ++len;
Executed by:
  • tr
6
1594 s->has_equiv_class = -
1595 1-
1596 ;-
1597 break;
executed 6 times by 1 test: break;
Executed by:
  • tr
6
1598-
1599 case
executed 60 times by 1 test: case RE_REPEATED_CHAR:
Executed by:
  • tr
RE_REPEATED_CHAR:
executed 60 times by 1 test: case RE_REPEATED_CHAR:
Executed by:
  • tr
60
1600 if (p->u.repeated_char.repeat_count > 0
p->u.repeated_...peat_count > 0Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 40 times by 1 test
Evaluated by:
  • tr
)
20-40
1601 len = p->u.repeated_char.repeat_count;
executed 20 times by 1 test: len = p->u.repeated_char.repeat_count;
Executed by:
  • tr
20
1602 else-
1603 {-
1604 s->indefinite_repeat_element = p;-
1605 ++(s->n_indefinite_repeats);-
1606 }
executed 40 times by 1 test: end of block
Executed by:
  • tr
40
1607 break;
executed 60 times by 1 test: break;
Executed by:
  • tr
60
1608-
1609 default
never executed: default:
:
never executed: default:
0
1610 abort ();
never executed: abort ();
0
1611 }-
1612-
1613-
1614-
1615-
1616-
1617 new_length = length + len;-
1618 if (! (length <= new_length
length <= new_lengthDescription
TRUEevaluated 16224 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
&& new_length <= (
new_length <= ...551615UL) - 1)Description
TRUEevaluated 16224 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
0-16224
1619 (18446744073709551615UL)
new_length <= ...551615UL) - 1)Description
TRUEevaluated 16224 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
0-16224
1620 - 1)
new_length <= ...551615UL) - 1)Description
TRUEevaluated 16224 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
))
0-16224
1621 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1622 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1623 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1624 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1625 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1626 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1627 "too many characters in set"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1628 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1629 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1630 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1631 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1632 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1633 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1634 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1635 "too many characters in set"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1636 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1637 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1638 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1639 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"too many characters in set\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "too many characters in set" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1640 length = new_length;-
1641 }
executed 16224 times by 1 test: end of block
Executed by:
  • tr
16224
1642-
1643 s->length = length;-
1644}
executed 8567 times by 1 test: end of block
Executed by:
  • tr
8567
1645-
1646static void-
1647get_s1_spec_stats (struct Spec_list *s1)-
1648{-
1649 get_spec_stats (s1);-
1650 if (complement
complementDescription
TRUEevaluated 27 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4316 times by 1 test
Evaluated by:
  • tr
)
27-4316
1651 s1->length = card_of_complement (s1);
executed 27 times by 1 test: s1->length = card_of_complement (s1);
Executed by:
  • tr
27
1652}
executed 4343 times by 1 test: end of block
Executed by:
  • tr
4343
1653-
1654static void-
1655get_s2_spec_stats (struct Spec_list *s2, count len_s1)-
1656{-
1657 get_spec_stats (s2);-
1658 if (len_s1 >= s2->length
len_s1 >= s2->lengthDescription
TRUEevaluated 4215 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tr
&& s2->n_indefinite_repeats == 1
s2->n_indefinite_repeats == 1Description
TRUEevaluated 40 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4175 times by 1 test
Evaluated by:
  • tr
)
9-4215
1659 {-
1660 s2->indefinite_repeat_element->u.repeated_char.repeat_count =-
1661 len_s1 - s2->length;-
1662 s2->length = len_s1;-
1663 }
executed 40 times by 1 test: end of block
Executed by:
  • tr
40
1664}
executed 4224 times by 1 test: end of block
Executed by:
  • tr
4224
1665-
1666static void-
1667spec_init (struct Spec_list *spec_list)-
1668{-
1669 struct List_element *new = xmalloc (sizeof *new);-
1670 spec_list->head = spec_list->tail = new;-
1671 spec_list->head->next = -
1672 ((void *)0)-
1673 ;-
1674}
executed 8573 times by 1 test: end of block
Executed by:
  • tr
8573
1675-
1676-
1677-
1678-
1679-
1680-
1681-
1682static -
1683 _Bool-
1684-
1685parse_str (char const *s, struct Spec_list *spec_list)-
1686{-
1687 struct E_string es;-
1688 -
1689 _Bool -
1690 ok = unquote (s, &es)
unquote (s, &es)Description
TRUEevaluated 8573 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
&& build_spec_list (&es, spec_list)
build_spec_lis...es, spec_list)Description
TRUEevaluated 8567 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tr
;
0-8573
1691 es_free (&es);-
1692 return
executed 8573 times by 1 test: return ok;
Executed by:
  • tr
ok;
executed 8573 times by 1 test: return ok;
Executed by:
  • tr
8573
1693}-
1694static void-
1695string2_extend (const struct Spec_list *s1, struct Spec_list *s2)-
1696{-
1697 struct List_element *p;-
1698 unsigned char char_to_repeat;-
1699-
1700 -
1701 ((-
1702 translating-
1703 ) ? (void) (0) : __assert_fail (-
1704 "translating"-
1705 , "src/tr.c", 1374, __PRETTY_FUNCTION__))-
1706 ;-
1707 -
1708 ((-
1709 s1->length > s2->length-
1710 ) ? (void) (0) : __assert_fail (-
1711 "s1->length > s2->length"-
1712 , "src/tr.c", 1375, __PRETTY_FUNCTION__))-
1713 ;-
1714 -
1715 ((-
1716 s2->length > 0-
1717 ) ? (void) (0) : __assert_fail (-
1718 "s2->length > 0"-
1719 , "src/tr.c", 1376, __PRETTY_FUNCTION__))-
1720 ;-
1721-
1722 p = s2->tail;-
1723 switch (p->type)-
1724 {-
1725 case
executed 7 times by 1 test: case RE_NORMAL_CHAR:
Executed by:
  • tr
RE_NORMAL_CHAR:
executed 7 times by 1 test: case RE_NORMAL_CHAR:
Executed by:
  • tr
7
1726 char_to_repeat = p->u.normal_char;-
1727 break;
executed 7 times by 1 test: break;
Executed by:
  • tr
7
1728 case
executed 2 times by 1 test: case RE_RANGE:
Executed by:
  • tr
RE_RANGE:
executed 2 times by 1 test: case RE_RANGE:
Executed by:
  • tr
2
1729 char_to_repeat = p->u.range.last_char;-
1730 break;
executed 2 times by 1 test: break;
Executed by:
  • tr
2
1731 case
executed 1 time by 1 test: case RE_CHAR_CLASS:
Executed by:
  • tr
RE_CHAR_CLASS:
executed 1 time by 1 test: case RE_CHAR_CLASS:
Executed by:
  • tr
1
1732-
1733-
1734-
1735-
1736 ((!!sizeof (struct { _Static_assert (-
1737 1-
1738 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when translating with string1 longer than string2,\\nthe latter string must not end with a character class\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
1739 1-
1740 , 0, -
1741 dcgettext (((void *)0), -
1742 "when translating with string1 longer than string2,\nthe latter string must not end with a character class"-
1743 , 5)-
1744 ), ((-
1745 0-
1746 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
1747 1-
1748 , 0, -
1749 dcgettext (((void *)0), -
1750 "when translating with string1 longer than string2,\nthe latter string must not end with a character class"-
1751 , 5)-
1752 ), ((-
1753 0-
1754 ) ? (void) 0 : __builtin_unreachable ()))))-
1755-
1756 ;-
1757-
1758 case
never executed: case RE_REPEATED_CHAR:
RE_REPEATED_CHAR:
never executed: case RE_REPEATED_CHAR:
code before this statement never executed: case RE_REPEATED_CHAR:
0
1759 char_to_repeat = p->u.repeated_char.the_repeated_char;-
1760 break;
never executed: break;
0
1761-
1762 case
never executed: case RE_EQUIV_CLASS:
RE_EQUIV_CLASS:
never executed: case RE_EQUIV_CLASS:
0
1763-
1764-
1765 abort ();
never executed: abort ();
0
1766-
1767 default
never executed: default:
:
never executed: default:
code before this statement never executed: default:
0
1768 abort ();
never executed: abort ();
0
1769 }-
1770-
1771 append_repeated_char (s2, char_to_repeat, s1->length - s2->length);-
1772 s2->length = s1->length;-
1773}
executed 9 times by 1 test: end of block
Executed by:
  • tr
9
1774-
1775-
1776-
1777-
1778-
1779static -
1780 _Bool-
1781-
1782homogeneous_spec_list (struct Spec_list *s)-
1783{-
1784 int b, c;-
1785-
1786 s->state = (-
1787 (18446744073709551615UL) -
1788 - 1);-
1789-
1790 if ((
(b = get_next ... *)0) )) == -1Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tr
b = get_next (s,
(b = get_next ... *)0) )) == -1Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tr
0-12
1791 ((void *)0)
(b = get_next ... *)0) )) == -1Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tr
0-12
1792 )) == -1
(b = get_next ... *)0) )) == -1Description
TRUEnever evaluated
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tr
)
0-12
1793 return
never executed: return 0 ;
never executed: return 0 ;
0
1794 0
never executed: return 0 ;
0
1795 ;
never executed: return 0 ;
0
1796-
1797 while ((
(c = get_next ... *)0) )) != -1Description
TRUEevaluated 1672 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tr
c = get_next (s,
(c = get_next ... *)0) )) != -1Description
TRUEevaluated 1672 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tr
8-1672
1798 ((void *)0)
(c = get_next ... *)0) )) != -1Description
TRUEevaluated 1672 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tr
8-1672
1799 )) != -1
(c = get_next ... *)0) )) != -1Description
TRUEevaluated 1672 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tr
)
8-1672
1800 if (c != b
c != bDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 1668 times by 1 test
Evaluated by:
  • tr
)
4-1668
1801 return
executed 4 times by 1 test: return 0 ;
Executed by:
  • tr
executed 4 times by 1 test: return 0 ;
Executed by:
  • tr
4
1802 0
executed 4 times by 1 test: return 0 ;
Executed by:
  • tr
4
1803 ;
executed 4 times by 1 test: return 0 ;
Executed by:
  • tr
4
1804-
1805 return
executed 8 times by 1 test: return 1 ;
Executed by:
  • tr
executed 8 times by 1 test: return 1 ;
Executed by:
  • tr
8
1806 1
executed 8 times by 1 test: return 1 ;
Executed by:
  • tr
8
1807 ;
executed 8 times by 1 test: return 1 ;
Executed by:
  • tr
8
1808}-
1809static void-
1810validate (struct Spec_list *s1, struct Spec_list *s2)-
1811{-
1812 get_s1_spec_stats (s1);-
1813 if (s1->n_indefinite_repeats > 0
s1->n_indefinite_repeats > 0Description
TRUEnever evaluated
FALSEevaluated 4343 times by 1 test
Evaluated by:
  • tr
)
0-4343
1814 {-
1815 ((!!sizeof (struct { _Static_assert (-
1816 1-
1817 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] repeat construct may not appear in string1\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
1818 1-
1819 , 0, -
1820 dcgettext (((void *)0), -
1821 "the [c*] repeat construct may not appear in string1"-
1822 , 5)-
1823 ), ((-
1824 0-
1825 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
1826 1-
1827 , 0, -
1828 dcgettext (((void *)0), -
1829 "the [c*] repeat construct may not appear in string1"-
1830 , 5)-
1831 ), ((-
1832 0-
1833 ) ? (void) 0 : __builtin_unreachable ()))))-
1834 ;-
1835 }
never executed: end of block
0
1836-
1837 if (s2
s2Description
TRUEevaluated 4224 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 119 times by 1 test
Evaluated by:
  • tr
)
119-4224
1838 {-
1839 get_s2_spec_stats (s2, s1->length);-
1840-
1841 if (s2->n_indefinite_repeats > 1
s2->n_indefinite_repeats > 1Description
TRUEnever evaluated
FALSEevaluated 4224 times by 1 test
Evaluated by:
  • tr
)
0-4224
1842 {-
1843 ((!!sizeof (struct { _Static_assert (-
1844 1-
1845 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"only one [c*] repeat construct may appear in string2\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
1846 1-
1847 , 0, -
1848 dcgettext (((void *)0), -
1849 "only one [c*] repeat construct may appear in string2"-
1850 , 5)-
1851 ), ((-
1852 0-
1853 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
1854 1-
1855 , 0, -
1856 dcgettext (((void *)0), -
1857 "only one [c*] repeat construct may appear in string2"-
1858 , 5)-
1859 ), ((-
1860 0-
1861 ) ? (void) 0 : __builtin_unreachable ()))))-
1862 ;-
1863 }
never executed: end of block
0
1864-
1865 if (translating
translatingDescription
TRUEevaluated 4208 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tr
)
16-4208
1866 {-
1867 if (s2->has_equiv_class
s2->has_equiv_classDescription
TRUEnever evaluated
FALSEevaluated 4208 times by 1 test
Evaluated by:
  • tr
)
0-4208
1868 {-
1869 ((!!sizeof (struct { _Static_assert (-
1870 1-
1871 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"[=c=] expressions may not appear in string2 when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
1872 1-
1873 , 0, -
1874 dcgettext (((void *)0), -
1875 "[=c=] expressions may not appear in string2 when translating"-
1876 , 5)-
1877 ), ((-
1878 0-
1879 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
1880 1-
1881 , 0, -
1882 dcgettext (((void *)0), -
1883 "[=c=] expressions may not appear in string2 when translating"-
1884 , 5)-
1885 ), ((-
1886 0-
1887 ) ? (void) 0 : __builtin_unreachable ()))))-
1888-
1889 ;-
1890 }
never executed: end of block
0
1891-
1892 if (s2->has_restricted_char_class
s2->has_restricted_char_classDescription
TRUEnever evaluated
FALSEevaluated 4208 times by 1 test
Evaluated by:
  • tr
)
0-4208
1893 {-
1894 ((!!sizeof (struct { _Static_assert (-
1895 1-
1896 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when translating, the only character classes that may appear in\\nstring2 are 'upper' and 'lower'\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
1897 1-
1898 , 0, -
1899 dcgettext (((void *)0), -
1900 "when translating, the only character classes that may appear in\nstring2 are 'upper' and 'lower'"-
1901 , 5)-
1902 ), ((-
1903 0-
1904 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
1905 1-
1906 , 0, -
1907 dcgettext (((void *)0), -
1908 "when translating, the only character classes that may appear in\nstring2 are 'upper' and 'lower'"-
1909 , 5)-
1910 ), ((-
1911 0-
1912 ) ? (void) 0 : __builtin_unreachable ()))))-
1913-
1914 ;-
1915 }
never executed: end of block
0
1916-
1917 validate_case_classes (s1, s2);-
1918-
1919 if (s1->length > s2->length
s1->length > s2->lengthDescription
TRUEevaluated 14 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4189 times by 1 test
Evaluated by:
  • tr
)
14-4189
1920 {-
1921 if (!truncate_set1
!truncate_set1Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tr
)
2-12
1922 {-
1923-
1924-
1925-
1926 if (s2->length == 0
s2->length == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tr
)
2-10
1927 ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
!!sizeof (struct { _Static_assert (
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1928 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1929 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1930 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1931 , 0,
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1932 dcgettext (((void *)0),
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1933 "when not truncating set1, string2 must be non-empty"
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1934 , 5)
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1935 ), ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1936 0
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1937 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1938 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1939 , 0,
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1940 dcgettext (((void *)0),
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1941 "when not truncating set1, string2 must be non-empty"
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1942 , 5)
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1943 ), ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1944 0
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1945 ) ? (void) 0 : __builtin_unreachable ()))))
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1946 ;
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when not truncating set1, string2 must be non-empty\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "w...truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "when not truncating set1, string2 must be non-empty" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
Executed by:
  • tr
2
1947 string2_extend (s1, s2);-
1948 }
executed 9 times by 1 test: end of block
Executed by:
  • tr
9
1949 }
executed 11 times by 1 test: end of block
Executed by:
  • tr
11
1950-
1951 if (complement
complementDescription
TRUEevaluated 19 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4181 times by 1 test
Evaluated by:
  • tr
&& s1->has_char_class
s1->has_char_classDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 7 times by 1 test
Evaluated by:
  • tr
7-4181
1952 && ! (s2->length == s1->length
s2->length == s1->lengthDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
&& homogeneous_spec_list (s2)
homogeneous_spec_list (s2)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tr
))
0-12
1953 {-
1954 ((!!sizeof (struct { _Static_assert (-
1955 1-
1956 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"when translating with complemented character classes,\\nstring2 must map all characters in the domain to one\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (-
1957 1-
1958 , 0, -
1959 dcgettext (((void *)0), -
1960 "when translating with complemented character classes,\nstring2 must map all characters in the domain to one"-
1961 , 5)-
1962 ), ((-
1963 0-
1964 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (-
1965 1-
1966 , 0, -
1967 dcgettext (((void *)0), -
1968 "when translating with complemented character classes,\nstring2 must map all characters in the domain to one"-
1969 , 5)-
1970 ), ((-
1971 0-
1972 ) ? (void) 0 : __builtin_unreachable ()))))-
1973-
1974 ;-
1975 }
never executed: end of block
0
1976 }
executed 4196 times by 1 test: end of block
Executed by:
  • tr
4196
1977 else-
1978-
1979 {-
1980 if (s2->n_indefinite_repeats > 0
s2->n_indefinite_repeats > 0Description
TRUEnever evaluated
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tr
)
0-16
1981 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1982 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1983 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1984 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1985 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1986 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1987 "the [c*] construct may appear in string2 only when translating"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1988 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1989 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1990 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1991 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1992 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1993 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1994 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1995 "the [c*] construct may appear in string2 only when translating"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1996 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1997 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1998 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1999 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
20000
2001 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"the [c*] construct may appear in string2 only when translating\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((vo...n string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "the [c*] construct may appear in string2 only when translating" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
2002 }
executed 16 times by 1 test: end of block
Executed by:
  • tr
16
2003 }-
2004}
executed 4331 times by 1 test: end of block
Executed by:
  • tr
4331
2005static void-
2006squeeze_filter (char *buf, size_t size, size_t (*reader) (char *, size_t))-
2007{-
2008-
2009-
2010 const int NOT_A_CHAR = 0x7fffffff;-
2011-
2012 int char_to_squeeze = NOT_A_CHAR;-
2013 size_t i = 0;-
2014 size_t nr = 0;-
2015-
2016 while (-
2017 1-
2018 )-
2019 {-
2020 if (i >= nr
i >= nrDescription
TRUEevaluated 82 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 198 times by 1 test
Evaluated by:
  • tr
)
82-198
2021 {-
2022 nr = reader (buf, size);-
2023 if (nr == 0
nr == 0Description
TRUEevaluated 43 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 39 times by 1 test
Evaluated by:
  • tr
)
39-43
2024 break;
executed 43 times by 1 test: break;
Executed by:
  • tr
43
2025 i = 0;-
2026 }
executed 39 times by 1 test: end of block
Executed by:
  • tr
39
2027-
2028 size_t begin = i;-
2029-
2030 if (char_to_squeeze == NOT_A_CHAR
char_to_squeeze == NOT_A_CHARDescription
TRUEevaluated 237 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
)
0-237
2031 {-
2032 size_t out_len;-
2033 for (; i < nr
i < nrDescription
TRUEevaluated 490 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 13 times by 1 test
Evaluated by:
  • tr
&& !in_squeeze_set[to_uchar (buf[i])]
!in_squeeze_se...char (buf[i])]Description
TRUEevaluated 266 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 224 times by 1 test
Evaluated by:
  • tr
; i += 2)
13-490
2034 continue;
executed 266 times by 1 test: continue;
Executed by:
  • tr
266
2035-
2036-
2037-
2038-
2039 if (i == nr
i == nrDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 229 times by 1 test
Evaluated by:
  • tr
&& in_squeeze_set[to_uchar (buf[i - 1])]
in_squeeze_set... (buf[i - 1])]Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tr
)
4-229
2040 --
executed 4 times by 1 test: --i;
Executed by:
  • tr
i;
executed 4 times by 1 test: --i;
Executed by:
  • tr
4
2041-
2042 if (i >= nr
i >= nrDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 228 times by 1 test
Evaluated by:
  • tr
)
9-228
2043 out_len = nr - begin;
executed 9 times by 1 test: out_len = nr - begin;
Executed by:
  • tr
9
2044 else-
2045 {-
2046 char_to_squeeze = buf[i];-
2047-
2048 out_len = i - begin + 1;-
2049-
2050-
2051-
2052 if (i > 0
i > 0Description
TRUEevaluated 203 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 25 times by 1 test
Evaluated by:
  • tr
&& buf[i - 1] == char_to_squeeze
buf[i - 1] == char_to_squeezeDescription
TRUEevaluated 157 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 46 times by 1 test
Evaluated by:
  • tr
)
25-203
2053 --
executed 157 times by 1 test: --out_len;
Executed by:
  • tr
out_len;
executed 157 times by 1 test: --out_len;
Executed by:
  • tr
157
2054-
2055-
2056-
2057-
2058 ++i;-
2059 }
executed 228 times by 1 test: end of block
Executed by:
  • tr
228
2060 if (out_len > 0
out_len > 0Description
TRUEevaluated 237 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
0-237
2061 && -
2062 (
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
__extension__ ((__builtin_constant_p (
__builtin_constant_p ( 1 )Description
TRUEevaluated 237 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2063 1
__builtin_constant_p ( 1 )Description
TRUEevaluated 237 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2064 )
__builtin_constant_p ( 1 )Description
TRUEevaluated 237 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
&& __builtin_constant_p (
__builtin_cons..._p ( out_len )Description
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2065 out_len
__builtin_cons..._p ( out_len )Description
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2066 )
__builtin_cons..._p ( out_len )Description
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
&& (
(size_t) ( 1 )...out_len ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 )...out_len ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2067 1
(size_t) ( 1 )...out_len ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2068 ) * (size_t) (
(size_t) ( 1 )...out_len ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2069 out_len
(size_t) ( 1 )...out_len ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2070 ) <= 8
(size_t) ( 1 )...out_len ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2071 1
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2072 ) != 0
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) ? ({ const char *__ptr = (const char *) (
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2073 &buf[begin]
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2074 ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) (
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2075 1
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2076 ) * (size_t) (
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2077 out_len
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2078 ); __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) (
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2079 1
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2080 ) * (size_t) (
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2081 out_len
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2082 ) - __cnt) / (size_t) (
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2083 1
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2084 ); }) : (((__builtin_constant_p (
__builtin_constant_p ( 1 )Description
TRUEevaluated 237 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2085 1
__builtin_constant_p ( 1 )Description
TRUEevaluated 237 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2086 )
__builtin_constant_p ( 1 )Description
TRUEevaluated 237 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
&& (
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
size_t) (
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2087 1
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2088 ) == 0
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
) || (__builtin_constant_p (
__builtin_cons..._p ( out_len )Description
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2089 out_len
__builtin_cons..._p ( out_len )Description
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2090 )
__builtin_cons..._p ( out_len )Description
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
&& (
(size_t) ( out_len ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( out_len ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2091 out_len
(size_t) ( out_len ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2092 ) == 0
(size_t) ( out_len ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)) ? ((void) (
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2093 &buf[begin]
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2094 ), (void) (stdout), (void) (
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2095 1
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2096 ), (void) (
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2097 out_len
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2098 ), (size_t) 0) : fwrite_unlocked (
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2099 &buf[begin]
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2100 ,
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2101 1
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2102 ,
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2103 out_len
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2104 , stdout))))
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
0-237
2105 != out_len
(__extension__...))) != out_lenDescription
TRUEnever evaluated
FALSEevaluated 237 times by 1 test
Evaluated by:
  • tr
)
0-237
2106 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 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), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2107 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2108 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2109 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2110 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2111 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2112 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2113 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2114 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2115 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2116 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2117 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2118 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2119 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2120 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2121 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2122 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2123 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2124 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2125 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2126 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2127 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2128 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2129 }
executed 237 times by 1 test: end of block
Executed by:
  • tr
237
2130-
2131 if (char_to_squeeze != NOT_A_CHAR
char_to_squeeze != NOT_A_CHARDescription
TRUEevaluated 228 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tr
)
9-228
2132 {-
2133-
2134-
2135-
2136 for (; i < nr
i < nrDescription
TRUEevaluated 425 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 30 times by 1 test
Evaluated by:
  • tr
&& buf[i] == char_to_squeeze
buf[i] == char_to_squeezeDescription
TRUEevaluated 227 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 198 times by 1 test
Evaluated by:
  • tr
; i++)
30-425
2137 continue;
executed 227 times by 1 test: continue;
Executed by:
  • tr
227
2138 if (i < nr
i < nrDescription
TRUEevaluated 198 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 30 times by 1 test
Evaluated by:
  • tr
)
30-198
2139 char_to_squeeze = NOT_A_CHAR;
executed 198 times by 1 test: char_to_squeeze = NOT_A_CHAR;
Executed by:
  • tr
198
2140-
2141-
2142-
2143 }
executed 228 times by 1 test: end of block
Executed by:
  • tr
228
2144 }
executed 237 times by 1 test: end of block
Executed by:
  • tr
237
2145}
executed 43 times by 1 test: end of block
Executed by:
  • tr
43
2146-
2147static size_t-
2148plain_read (char *buf, size_t size)-
2149{-
2150 size_t nr = safe_read (-
2151 0-
2152 , buf, size);-
2153 if (nr == ((size_t) -1)
nr == ((size_t) -1)Description
TRUEnever evaluated
FALSEevaluated 8917 times by 1 test
Evaluated by:
  • tr
)
0-8917
2154 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 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), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2155 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2156 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2157 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2158 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2159 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2160 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2161 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2162 "read error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2163 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2164 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2165 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2166 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2167 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2168 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2169 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2170 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2171 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2172 "read error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2173 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2174 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2175 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2176 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"read error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "read error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2177 return
executed 8917 times by 1 test: return nr;
Executed by:
  • tr
nr;
executed 8917 times by 1 test: return nr;
Executed by:
  • tr
8917
2178}-
2179-
2180-
2181-
2182-
2183-
2184-
2185-
2186static size_t-
2187read_and_delete (char *buf, size_t size)-
2188{-
2189 size_t n_saved;-
2190-
2191-
2192-
2193-
2194 do-
2195 {-
2196 size_t nr = plain_read (buf, size);-
2197-
2198 if (nr == 0
nr == 0Description
TRUEevaluated 125 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 179 times by 1 test
Evaluated by:
  • tr
)
125-179
2199 return
executed 125 times by 1 test: return 0;
Executed by:
  • tr
0;
executed 125 times by 1 test: return 0;
Executed by:
  • tr
125
2200-
2201-
2202-
2203-
2204-
2205-
2206 size_t i;-
2207 for (i = 0; i < nr
i < nrDescription
TRUEevaluated 4515 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tr
&& !in_delete_set[to_uchar (buf[i])]
!in_delete_set...char (buf[i])]Description
TRUEevaluated 4338 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 177 times by 1 test
Evaluated by:
  • tr
; i++)
2-4515
2208 continue;
executed 4338 times by 1 test: continue;
Executed by:
  • tr
4338
2209 n_saved = i;-
2210-
2211 for (++i; i < nr
i < nrDescription
TRUEevaluated 4124 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 179 times by 1 test
Evaluated by:
  • tr
; i++)
179-4124
2212 if (!in_delete_set[to_uchar (buf[i])]
!in_delete_set...char (buf[i])]Description
TRUEevaluated 3060 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 1064 times by 1 test
Evaluated by:
  • tr
)
1064-3060
2213 buf[n_saved++] = buf[i];
executed 3060 times by 1 test: buf[n_saved++] = buf[i];
Executed by:
  • tr
3060
2214 }
executed 179 times by 1 test: end of block
Executed by:
  • tr
179
2215 while (n_saved == 0
n_saved == 0Description
TRUEevaluated 14 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 165 times by 1 test
Evaluated by:
  • tr
);
14-165
2216-
2217 return
executed 165 times by 1 test: return n_saved;
Executed by:
  • tr
n_saved;
executed 165 times by 1 test: return n_saved;
Executed by:
  • tr
165
2218}-
2219-
2220-
2221-
2222-
2223-
2224static size_t-
2225read_and_xlate (char *buf, size_t size)-
2226{-
2227 size_t bytes_read = plain_read (buf, size);-
2228-
2229 for (size_t i = 0; i < bytes_read
i < bytes_readDescription
TRUEevaluated 1153035 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 8593 times by 1 test
Evaluated by:
  • tr
; i++)
8593-1153035
2230 buf[i] = xlate[to_uchar (buf[i])];
executed 1153035 times by 1 test: buf[i] = xlate[to_uchar (buf[i])];
Executed by:
  • tr
1153035
2231-
2232 return
executed 8593 times by 1 test: return bytes_read;
Executed by:
  • tr
bytes_read;
executed 8593 times by 1 test: return bytes_read;
Executed by:
  • tr
8593
2233}-
2234-
2235-
2236-
2237-
2238-
2239-
2240-
2241static void-
2242set_initialize (struct Spec_list *s, -
2243 _Bool -
2244 complement_this_set, -
2245 _Bool -
2246 *in_set)-
2247{-
2248 int c;-
2249-
2250 s->state = (-
2251 (18446744073709551615UL) -
2252 - 1);-
2253 while ((
(c = get_next ... *)0) )) != -1Description
TRUEevaluated 266229 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 183 times by 1 test
Evaluated by:
  • tr
c = get_next (s,
(c = get_next ... *)0) )) != -1Description
TRUEevaluated 266229 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 183 times by 1 test
Evaluated by:
  • tr
183-266229
2254 ((void *)0)
(c = get_next ... *)0) )) != -1Description
TRUEevaluated 266229 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 183 times by 1 test
Evaluated by:
  • tr
183-266229
2255 )) != -1
(c = get_next ... *)0) )) != -1Description
TRUEevaluated 266229 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 183 times by 1 test
Evaluated by:
  • tr
)
183-266229
2256 in_set[c] =
executed 266229 times by 1 test: in_set[c] = 1 ;
Executed by:
  • tr
266229
2257 1
executed 266229 times by 1 test: in_set[c] = 1 ;
Executed by:
  • tr
266229
2258 ;
executed 266229 times by 1 test: in_set[c] = 1 ;
Executed by:
  • tr
266229
2259 if (complement_this_set
complement_this_setDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 175 times by 1 test
Evaluated by:
  • tr
)
8-175
2260 for (size_t i = 0; i < N_CHARS
i < N_CHARSDescription
TRUEevaluated 2048 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tr
; i++)
8-2048
2261 in_set[i] = (!in_set[i]);
executed 2048 times by 1 test: in_set[i] = (!in_set[i]);
Executed by:
  • tr
2048
2262}
executed 183 times by 1 test: end of block
Executed by:
  • tr
183
2263-
2264int-
2265main (int argc, char **argv)-
2266{-
2267 int c;-
2268 int non_option_args;-
2269 int min_operands;-
2270 int max_operands;-
2271 struct Spec_list buf1, buf2;-
2272 struct Spec_list *s1 = &buf1;-
2273 struct Spec_list *s2 = &buf2;-
2274-
2275 ;-
2276 set_program_name (argv[0]);-
2277 setlocale (-
2278 6-
2279 , "");-
2280 bindtextdomain ("coreutils", "/usr/local/share/locale");-
2281 textdomain ("coreutils");-
2282-
2283 atexit (close_stdout);-
2284-
2285 while ((
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 230 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4349 times by 1 test
Evaluated by:
  • tr
c = getopt_long (argc, argv, "+AcCdst", long_options,
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 230 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4349 times by 1 test
Evaluated by:
  • tr
230-4349
2286 ((void *)0)
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 230 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4349 times by 1 test
Evaluated by:
  • tr
230-4349
2287 )) != -1
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 230 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4349 times by 1 test
Evaluated by:
  • tr
)
230-4349
2288 {-
2289 switch (c)-
2290 {-
2291 case
never executed: case 'A':
'A':
never executed: case 'A':
0
2292-
2293 setlocale (-
2294 3-
2295 , "C");-
2296 setlocale (-
2297 0-
2298 , "C");-
2299 break;
never executed: break;
0
2300-
2301 case
executed 27 times by 1 test: case 'c':
Executed by:
  • tr
'c':
executed 27 times by 1 test: case 'c':
Executed by:
  • tr
27
2302 case
executed 3 times by 1 test: case 'C':
Executed by:
  • tr
'C':
executed 3 times by 1 test: case 'C':
Executed by:
  • tr
3
2303 complement = -
2304 1-
2305 ;-
2306 break;
executed 30 times by 1 test: break;
Executed by:
  • tr
30
2307-
2308 case
executed 127 times by 1 test: case 'd':
Executed by:
  • tr
'd':
executed 127 times by 1 test: case 'd':
Executed by:
  • tr
127
2309 delete = -
2310 1-
2311 ;-
2312 break;
executed 127 times by 1 test: break;
Executed by:
  • tr
127
2313-
2314 case
executed 49 times by 1 test: case 's':
Executed by:
  • tr
's':
executed 49 times by 1 test: case 's':
Executed by:
  • tr
49
2315 squeeze_repeats = -
2316 1-
2317 ;-
2318 break;
executed 49 times by 1 test: break;
Executed by:
  • tr
49
2319-
2320 case
executed 4 times by 1 test: case 't':
Executed by:
  • tr
't':
executed 4 times by 1 test: case 't':
Executed by:
  • tr
4
2321 truncate_set1 = -
2322 1-
2323 ;-
2324 break;
executed 4 times by 1 test: break;
Executed by:
  • tr
4
2325-
2326 case
executed 12 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • tr
GETOPT_HELP_CHAR:
executed 12 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • tr
usage (
12
2327 0-
2328 ); break;
never executed: break;
;
0
2329-
2330 case
executed 5 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • tr
GETOPT_VERSION_CHAR:
executed 5 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • tr
version_etc (
5
2331 stdout-
2332 , "tr", "GNU coreutils", Version, ("Jim Meyering"), (char *) -
2333 ((void *)0)-
2334 ); exit (
executed 5 times by 1 test: exit ( 0 );
Executed by:
  • tr
5
2335 0
executed 5 times by 1 test: exit ( 0 );
Executed by:
  • tr
5
2336 );
executed 5 times by 1 test: exit ( 0 );
Executed by:
  • tr
break;
never executed: break;
;
0-5
2337-
2338 default
executed 3 times by 1 test: default:
Executed by:
  • tr
:
executed 3 times by 1 test: default:
Executed by:
  • tr
3
2339 usage (-
2340 1-
2341 );-
2342 break;
never executed: break;
0
2343 }-
2344 }-
2345-
2346 non_option_args = argc - optind;-
2347 translating = (non_option_args == 2
non_option_args == 2Description
TRUEevaluated 4230 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 119 times by 1 test
Evaluated by:
  • tr
&& !delete
!deleteDescription
TRUEevaluated 4214 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tr
);
16-4230
2348 min_operands = 1 + (delete == squeeze_repeats);-
2349 max_operands = 1 + (delete <= squeeze_repeats);-
2350-
2351 if (non_option_args < min_operands
non_option_args < min_operandsDescription
TRUEnever evaluated
FALSEevaluated 4349 times by 1 test
Evaluated by:
  • tr
)
0-4349
2352 {-
2353 if (non_option_args == 0
non_option_args == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
2354 error (0, 0,
never executed: error (0, 0, dcgettext (((void *)0), "missing operand" , 5) );
0
2355 dcgettext (((void *)0),
never executed: error (0, 0, dcgettext (((void *)0), "missing operand" , 5) );
0
2356 "missing operand"
never executed: error (0, 0, dcgettext (((void *)0), "missing operand" , 5) );
0
2357 , 5)
never executed: error (0, 0, dcgettext (((void *)0), "missing operand" , 5) );
0
2358 );
never executed: error (0, 0, dcgettext (((void *)0), "missing operand" , 5) );
0
2359 else-
2360 {-
2361 error (0, 0, -
2362 dcgettext (((void *)0), -
2363 "missing operand after %s"-
2364 , 5)-
2365 , quote (argv[argc - 1]));-
2366 fprintf (-
2367 stderr-
2368 , "%s\n",-
2369 -
2370 dcgettext (((void *)0), -
2371 squeeze_repeats ? "Two strings must be given when " "both deleting and squeezing repeats." : "Two strings must be given when translating."-
2372 , 5)-
2373-
2374-
2375 -
2376 );-
2377 }
never executed: end of block
0
2378 usage (-
2379 1-
2380 );-
2381 }
never executed: end of block
0
2382-
2383 if (max_operands < non_option_args
max_operands < non_option_argsDescription
TRUEnever evaluated
FALSEevaluated 4349 times by 1 test
Evaluated by:
  • tr
)
0-4349
2384 {-
2385 error (0, 0, -
2386 dcgettext (((void *)0), -
2387 "extra operand %s"-
2388 , 5)-
2389 , quote (argv[optind + max_operands]));-
2390 if (non_option_args == 2
non_option_args == 2Description
TRUEnever evaluated
FALSEnever evaluated
)
0
2391 fprintf (
never executed: fprintf ( stderr , "%s\n", dcgettext (((void *)0), "Only one string may be given when " "deleting without squeezing repeats." , 5) );
0
2392 stderr
never executed: fprintf ( stderr , "%s\n", dcgettext (((void *)0), "Only one string may be given when " "deleting without squeezing repeats." , 5) );
0
2393 , "%s\n",
never executed: fprintf ( stderr , "%s\n", dcgettext (((void *)0), "Only one string may be given when " "deleting without squeezing repeats." , 5) );
0
2394
never executed: fprintf ( stderr , "%s\n", dcgettext (((void *)0), "Only one string may be given when " "deleting without squeezing repeats." , 5) );
0
2395 dcgettext (((void *)0),
never executed: fprintf ( stderr , "%s\n", dcgettext (((void *)0), "Only one string may be given when " "deleting without squeezing repeats." , 5) );
0
2396 "Only one string may be given when " "deleting without squeezing repeats."
never executed: fprintf ( stderr , "%s\n", dcgettext (((void *)0), "Only one string may be given when " "deleting without squeezing repeats." , 5) );
0
2397 , 5)
never executed: fprintf ( stderr , "%s\n", dcgettext (((void *)0), "Only one string may be given when " "deleting without squeezing repeats." , 5) );
0
2398
never executed: fprintf ( stderr , "%s\n", dcgettext (((void *)0), "Only one string may be given when " "deleting without squeezing repeats." , 5) );
0
2399 );
never executed: fprintf ( stderr , "%s\n", dcgettext (((void *)0), "Only one string may be given when " "deleting without squeezing repeats." , 5) );
0
2400 usage (-
2401 1-
2402 );-
2403 }
never executed: end of block
0
2404-
2405 spec_init (s1);-
2406 if (!parse_str (argv[optind], s1)
!parse_str (argv[optind], s1)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4343 times by 1 test
Evaluated by:
  • tr
)
6-4343
2407 return
executed 6 times by 1 test: return 1 ;
Executed by:
  • tr
executed 6 times by 1 test: return 1 ;
Executed by:
  • tr
6
2408 1
executed 6 times by 1 test: return 1 ;
Executed by:
  • tr
6
2409 ;
executed 6 times by 1 test: return 1 ;
Executed by:
  • tr
6
2410-
2411 if (non_option_args == 2
non_option_args == 2Description
TRUEevaluated 4224 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 119 times by 1 test
Evaluated by:
  • tr
)
119-4224
2412 {-
2413 spec_init (s2);-
2414 if (!parse_str (argv[optind + 1], s2)
!parse_str (ar...tind + 1], s2)Description
TRUEnever evaluated
FALSEevaluated 4224 times by 1 test
Evaluated by:
  • tr
)
0-4224
2415 return
never executed: return 1 ;
never executed: return 1 ;
0
2416 1
never executed: return 1 ;
0
2417 ;
never executed: return 1 ;
0
2418 }
executed 4224 times by 1 test: end of block
Executed by:
  • tr
4224
2419 else-
2420 s2 =
executed 119 times by 1 test: s2 = ((void *)0) ;
Executed by:
  • tr
119
2421 ((void *)0)
executed 119 times by 1 test: s2 = ((void *)0) ;
Executed by:
  • tr
119
2422 ;
executed 119 times by 1 test: s2 = ((void *)0) ;
Executed by:
  • tr
119
2423-
2424 validate (s1, s2);-
2425-
2426-
2427-
2428-
2429 xset_binary_mode (-
2430 0-
2431 , -
2432 0-
2433 );-
2434 xset_binary_mode (-
2435 1-
2436 , -
2437 0-
2438 );-
2439 fadvise (-
2440 stdin-
2441 , FADVISE_SEQUENTIAL);-
2442-
2443 if (squeeze_repeats
squeeze_repeatsDescription
TRUEevaluated 43 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4288 times by 1 test
Evaluated by:
  • tr
&& non_option_args == 1
non_option_args == 1Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 33 times by 1 test
Evaluated by:
  • tr
)
10-4288
2444 {-
2445 set_initialize (s1, complement, in_squeeze_set);-
2446 squeeze_filter (io_buf, sizeof io_buf, plain_read);-
2447 }
executed 10 times by 1 test: end of block
Executed by:
  • tr
10
2448 else if (delete
deleteDescription
TRUEevaluated 125 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4196 times by 1 test
Evaluated by:
  • tr
&& non_option_args == 1
non_option_args == 1Description
TRUEevaluated 109 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tr
)
16-4196
2449 {-
2450 set_initialize (s1, complement, in_delete_set);-
2451-
2452 while (-
2453 1-
2454 )-
2455 {-
2456 size_t nr = read_and_delete (io_buf, sizeof io_buf);-
2457 if (nr == 0
nr == 0Description
TRUEevaluated 109 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
)
109-151
2458 break;
executed 109 times by 1 test: break;
Executed by:
  • tr
109
2459 if (-
2460 (
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
__extension__ ((__builtin_constant_p (
__builtin_constant_p ( 1 )Description
TRUEevaluated 151 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2461 1
__builtin_constant_p ( 1 )Description
TRUEevaluated 151 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2462 )
__builtin_constant_p ( 1 )Description
TRUEevaluated 151 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
&& __builtin_constant_p (
__builtin_constant_p ( nr )Description
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2463 nr
__builtin_constant_p ( nr )Description
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2464 )
__builtin_constant_p ( nr )Description
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
&& (
(size_t) ( 1 )...t) ( nr ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 )...t) ( nr ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2465 1
(size_t) ( 1 )...t) ( nr ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2466 ) * (size_t) (
(size_t) ( 1 )...t) ( nr ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2467 nr
(size_t) ( 1 )...t) ( nr ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2468 ) <= 8
(size_t) ( 1 )...t) ( nr ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2469 1
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2470 ) != 0
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) ? ({ const char *__ptr = (const char *) (
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2471 io_buf
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2472 ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) (
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2473 1
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2474 ) * (size_t) (
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2475 nr
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2476 ); __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) (
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2477 1
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2478 ) * (size_t) (
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2479 nr
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2480 ) - __cnt) / (size_t) (
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2481 1
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2482 ); }) : (((__builtin_constant_p (
__builtin_constant_p ( 1 )Description
TRUEevaluated 151 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2483 1
__builtin_constant_p ( 1 )Description
TRUEevaluated 151 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2484 )
__builtin_constant_p ( 1 )Description
TRUEevaluated 151 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
&& (
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
size_t) (
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2485 1
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2486 ) == 0
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
) || (__builtin_constant_p (
__builtin_constant_p ( nr )Description
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2487 nr
__builtin_constant_p ( nr )Description
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2488 )
__builtin_constant_p ( nr )Description
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
&& (
(size_t) ( nr ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( nr ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2489 nr
(size_t) ( nr ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2490 ) == 0
(size_t) ( nr ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)) ? ((void) (
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2491 io_buf
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2492 ), (void) (stdout), (void) (
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2493 1
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2494 ), (void) (
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2495 nr
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2496 ), (size_t) 0) : fwrite_unlocked (
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2497 io_buf
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2498 ,
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2499 1
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2500 ,
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2501 nr
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2502 , stdout))))
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
0-151
2503 != nr
(__extension__...dout)))) != nrDescription
TRUEnever evaluated
FALSEevaluated 151 times by 1 test
Evaluated by:
  • tr
)
0-151
2504 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 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), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2505 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2506 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2507 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2508 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2509 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2510 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2511 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2512 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2513 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2514 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2515 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2516 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2517 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2518 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2519 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2520 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2521 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2522 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2523 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2524 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2525 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2526 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2527 }
executed 151 times by 1 test: end of block
Executed by:
  • tr
151
2528 }
executed 109 times by 1 test: end of block
Executed by:
  • tr
109
2529 else if (squeeze_repeats
squeeze_repeatsDescription
TRUEevaluated 33 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4179 times by 1 test
Evaluated by:
  • tr
&& delete
deleteDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 17 times by 1 test
Evaluated by:
  • tr
&& non_option_args == 2
non_option_args == 2Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
)
0-4179
2530 {-
2531 set_initialize (s1, complement, in_delete_set);-
2532 set_initialize (s2, -
2533 0-
2534 , in_squeeze_set);-
2535 squeeze_filter (io_buf, sizeof io_buf, read_and_delete);-
2536 }
executed 16 times by 1 test: end of block
Executed by:
  • tr
16
2537 else if (translating
translatingDescription
TRUEevaluated 4196 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
)
0-4196
2538 {-
2539 if (complement
complementDescription
TRUEevaluated 15 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4181 times by 1 test
Evaluated by:
  • tr
)
15-4181
2540 {-
2541 -
2542 _Bool -
2543 *in_s1 = in_delete_set;-
2544-
2545 set_initialize (s1, -
2546 0-
2547 , in_s1);-
2548 s2->state = (-
2549 (18446744073709551615UL) -
2550 - 1);-
2551 for (int i = 0; i < N_CHARS
i < N_CHARSDescription
TRUEevaluated 3840 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 15 times by 1 test
Evaluated by:
  • tr
; i++)
15-3840
2552 xlate[i] = i;
executed 3840 times by 1 test: xlate[i] = i;
Executed by:
  • tr
3840
2553 for (int i = 0; i < N_CHARS
i < N_CHARSDescription
TRUEevaluated 3840 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 15 times by 1 test
Evaluated by:
  • tr
; i++)
15-3840
2554 {-
2555 if (!in_s1[i]
!in_s1[i]Description
TRUEevaluated 3457 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 383 times by 1 test
Evaluated by:
  • tr
)
383-3457
2556 {-
2557 int ch = get_next (s2, -
2558 ((void *)0)-
2559 );-
2560 -
2561 ((-
2562 ch != -1 || truncate_set1-
2563 ) ? (void) (0) : __assert_fail (-
2564 "ch != -1 || truncate_set1"-
2565 , "src/tr.c", 1837, __PRETTY_FUNCTION__))-
2566 ;-
2567 if (ch == -1
ch == -1Description
TRUEnever evaluated
FALSEevaluated 3457 times by 1 test
Evaluated by:
  • tr
)
0-3457
2568 {-
2569-
2570-
2571 break;
never executed: break;
0
2572 }-
2573 xlate[i] = ch;-
2574 }
executed 3457 times by 1 test: end of block
Executed by:
  • tr
3457
2575 }
executed 3840 times by 1 test: end of block
Executed by:
  • tr
3840
2576 }
executed 15 times by 1 test: end of block
Executed by:
  • tr
15
2577 else-
2578 {-
2579 int c1, c2;-
2580 enum Upper_Lower_class class_s1;-
2581 enum Upper_Lower_class class_s2;-
2582-
2583 for (int i = 0; i < N_CHARS
i < N_CHARSDescription
TRUEevaluated 1070336 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4181 times by 1 test
Evaluated by:
  • tr
; i++)
4181-1070336
2584 xlate[i] = i;
executed 1070336 times by 1 test: xlate[i] = i;
Executed by:
  • tr
1070336
2585 s1->state = (-
2586 (18446744073709551615UL) -
2587 - 1);-
2588 s2->state = (-
2589 (18446744073709551615UL) -
2590 - 1);-
2591 while (-
2592 1-
2593 )-
2594 {-
2595 c1 = get_next (s1, &class_s1);-
2596 c2 = get_next (s2, &class_s2);-
2597-
2598 if (class_s1 == UL_LOWER
class_s1 == UL_LOWERDescription
TRUEevaluated 109 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 14416 times by 1 test
Evaluated by:
  • tr
&& class_s2 == UL_UPPER
class_s2 == UL_UPPERDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 104 times by 1 test
Evaluated by:
  • tr
)
5-14416
2599 {-
2600 for (int i = 0; i < N_CHARS
i < N_CHARSDescription
TRUEevaluated 1280 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 5 times by 1 test
Evaluated by:
  • tr
; i++)
5-1280
2601 if (-
2602 ((*
((*__ctype_b_l...int) _ISlower)Description
TRUEevaluated 130 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 1150 times by 1 test
Evaluated by:
  • tr
__ctype_b_loc ())[(int) ((
((*__ctype_b_l...int) _ISlower)Description
TRUEevaluated 130 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 1150 times by 1 test
Evaluated by:
  • tr
130-1150
2603 i
((*__ctype_b_l...int) _ISlower)Description
TRUEevaluated 130 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 1150 times by 1 test
Evaluated by:
  • tr
130-1150
2604 ))] & (unsigned short int) _ISlower)
((*__ctype_b_l...int) _ISlower)Description
TRUEevaluated 130 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 1150 times by 1 test
Evaluated by:
  • tr
130-1150
2605 )-
2606 xlate[i] =
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
130
2607 (__extension__ ({ int __res; if (sizeof (
sizeof ( i ) > 1Description
TRUEevaluated 130 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-130
2608 i
sizeof ( i ) > 1Description
TRUEevaluated 130 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-130
2609 ) > 1
sizeof ( i ) > 1Description
TRUEevaluated 130 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
) { if (__builtin_constant_p (
__builtin_constant_p ( i )Description
TRUEnever evaluated
FALSEevaluated 130 times by 1 test
Evaluated by:
  • tr
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-130
2610 i
__builtin_constant_p ( i )Description
TRUEnever evaluated
FALSEevaluated 130 times by 1 test
Evaluated by:
  • tr
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-130
2611 )
__builtin_constant_p ( i )Description
TRUEnever evaluated
FALSEevaluated 130 times by 1 test
Evaluated by:
  • tr
) { int __c = (
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-130
2612 i
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
130
2613 ); __res = __c < -128
__c < -128Description
TRUEnever evaluated
FALSEnever evaluated
|| __c > 255
__c > 255Description
TRUEnever evaluated
FALSEnever evaluated
? __c : (*__ctype_toupper_loc ())[__c]; }
never executed: end of block
else __res = toupper (
executed 130 times by 1 test: __res = toupper ( i );
Executed by:
  • tr
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-130
2614 i
executed 130 times by 1 test: __res = toupper ( i );
Executed by:
  • tr
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
130
2615 );
executed 130 times by 1 test: __res = toupper ( i );
Executed by:
  • tr
} else __res = (*__ctype_toupper_loc ())[(int) (
never executed: __res = (*__ctype_toupper_loc ())[(int) ( i )];
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-130
2616 i
never executed: __res = (*__ctype_toupper_loc ())[(int) ( i )];
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-130
2617 )];
never executed: __res = (*__ctype_toupper_loc ())[(int) ( i )];
__res; }))
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-130
2618 ;
executed 130 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_toupper_loc ())[__c]; } else __res = toupper ( i ); } else __res = (*__ctype_toupper_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
130
2619 }
executed 5 times by 1 test: end of block
Executed by:
  • tr
5
2620 else if (class_s1 == UL_UPPER
class_s1 == UL_UPPERDescription
TRUEevaluated 55 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 14465 times by 1 test
Evaluated by:
  • tr
&& class_s2 == UL_LOWER
class_s2 == UL_LOWERDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 53 times by 1 test
Evaluated by:
  • tr
)
2-14465
2621 {-
2622 for (int i = 0; i < N_CHARS
i < N_CHARSDescription
TRUEevaluated 512 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tr
; i++)
2-512
2623 if (-
2624 ((*
((*__ctype_b_l...int) _ISupper)Description
TRUEevaluated 52 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 460 times by 1 test
Evaluated by:
  • tr
__ctype_b_loc ())[(int) ((
((*__ctype_b_l...int) _ISupper)Description
TRUEevaluated 52 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 460 times by 1 test
Evaluated by:
  • tr
52-460
2625 i
((*__ctype_b_l...int) _ISupper)Description
TRUEevaluated 52 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 460 times by 1 test
Evaluated by:
  • tr
52-460
2626 ))] & (unsigned short int) _ISupper)
((*__ctype_b_l...int) _ISupper)Description
TRUEevaluated 52 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 460 times by 1 test
Evaluated by:
  • tr
52-460
2627 )-
2628 xlate[i] =
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
52
2629 (__extension__ ({ int __res; if (sizeof (
sizeof ( i ) > 1Description
TRUEevaluated 52 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-52
2630 i
sizeof ( i ) > 1Description
TRUEevaluated 52 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-52
2631 ) > 1
sizeof ( i ) > 1Description
TRUEevaluated 52 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
) { if (__builtin_constant_p (
__builtin_constant_p ( i )Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tr
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-52
2632 i
__builtin_constant_p ( i )Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tr
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-52
2633 )
__builtin_constant_p ( i )Description
TRUEnever evaluated
FALSEevaluated 52 times by 1 test
Evaluated by:
  • tr
) { int __c = (
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-52
2634 i
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
52
2635 ); __res = __c < -128
__c < -128Description
TRUEnever evaluated
FALSEnever evaluated
|| __c > 255
__c > 255Description
TRUEnever evaluated
FALSEnever evaluated
? __c : (*__ctype_tolower_loc ())[__c]; }
never executed: end of block
else __res = tolower (
executed 52 times by 1 test: __res = tolower ( i );
Executed by:
  • tr
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-52
2636 i
executed 52 times by 1 test: __res = tolower ( i );
Executed by:
  • tr
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
52
2637 );
executed 52 times by 1 test: __res = tolower ( i );
Executed by:
  • tr
} else __res = (*__ctype_tolower_loc ())[(int) (
never executed: __res = (*__ctype_tolower_loc ())[(int) ( i )];
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-52
2638 i
never executed: __res = (*__ctype_tolower_loc ())[(int) ( i )];
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-52
2639 )];
never executed: __res = (*__ctype_tolower_loc ())[(int) ( i )];
__res; }))
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
0-52
2640 ;
executed 52 times by 1 test: xlate[i] = (__extension__ ({ int __res; if (sizeof ( i ) > 1) { if (__builtin_constant_p ( i )) { int __c = ( i ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( i ); } else __res = (*__ctype_tolower_loc ())[(int) ( i )]; __res; })) ;
Executed by:
  • tr
52
2641 }
executed 2 times by 1 test: end of block
Executed by:
  • tr
2
2642 else-
2643 {-
2644-
2645 if (c1 == -1
c1 == -1Description
TRUEevaluated 4179 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 10339 times by 1 test
Evaluated by:
  • tr
|| c2 == -1
c2 == -1Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 10337 times by 1 test
Evaluated by:
  • tr
)
2-10339
2646 break;
executed 4181 times by 1 test: break;
Executed by:
  • tr
4181
2647 xlate[c1] = c2;-
2648 }
executed 10337 times by 1 test: end of block
Executed by:
  • tr
10337
2649-
2650-
2651 if (class_s2 != UL_NONE
class_s2 != UL_NONEDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 10336 times by 1 test
Evaluated by:
  • tr
)
8-10336
2652 {-
2653 skip_construct (s1);-
2654 skip_construct (s2);-
2655 }
executed 8 times by 1 test: end of block
Executed by:
  • tr
8
2656 }
executed 10344 times by 1 test: end of block
Executed by:
  • tr
10344
2657 -
2658 ((-
2659 c1 == -1 || truncate_set1-
2660 ) ? (void) (0) : __assert_fail (-
2661 "c1 == -1 || truncate_set1"-
2662 , "src/tr.c", 1890, __PRETTY_FUNCTION__))-
2663 ;-
2664 }
executed 4181 times by 1 test: end of block
Executed by:
  • tr
4181
2665 if (squeeze_repeats
squeeze_repeatsDescription
TRUEevaluated 17 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4179 times by 1 test
Evaluated by:
  • tr
)
17-4179
2666 {-
2667 set_initialize (s2, -
2668 0-
2669 , in_squeeze_set);-
2670 squeeze_filter (io_buf, sizeof io_buf, read_and_xlate);-
2671 }
executed 17 times by 1 test: end of block
Executed by:
  • tr
17
2672 else-
2673 {-
2674 while (-
2675 1-
2676 )-
2677 {-
2678 size_t bytes_read = read_and_xlate (io_buf, sizeof io_buf);-
2679 if (bytes_read == 0
bytes_read == 0Description
TRUEevaluated 4179 times by 1 test
Evaluated by:
  • tr
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
)
4179-4382
2680 break;
executed 4179 times by 1 test: break;
Executed by:
  • tr
4179
2681 if (-
2682 (
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
__extension__ ((__builtin_constant_p (
__builtin_constant_p ( 1 )Description
TRUEevaluated 4382 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2683 1
__builtin_constant_p ( 1 )Description
TRUEevaluated 4382 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2684 )
__builtin_constant_p ( 1 )Description
TRUEevaluated 4382 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
&& __builtin_constant_p (
__builtin_cons...( bytes_read )Description
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2685 bytes_read
__builtin_cons...( bytes_read )Description
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2686 )
__builtin_cons...( bytes_read )Description
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
&& (
(size_t) ( 1 )...es_read ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 )...es_read ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2687 1
(size_t) ( 1 )...es_read ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2688 ) * (size_t) (
(size_t) ( 1 )...es_read ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2689 bytes_read
(size_t) ( 1 )...es_read ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2690 ) <= 8
(size_t) ( 1 )...es_read ) <= 8Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2691 1
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2692 ) != 0
(size_t) ( 1 ) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) ? ({ const char *__ptr = (const char *) (
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2693 io_buf
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2694 ); FILE *__stream = (stdout); size_t __cnt; for (__cnt = (size_t) (
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2695 1
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2696 ) * (size_t) (
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2697 bytes_read
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2698 ); __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) (
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2699 1
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2700 ) * (size_t) (
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2701 bytes_read
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2702 ) - __cnt) / (size_t) (
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2703 1
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2704 ); }) : (((__builtin_constant_p (
__builtin_constant_p ( 1 )Description
TRUEevaluated 4382 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2705 1
__builtin_constant_p ( 1 )Description
TRUEevaluated 4382 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2706 )
__builtin_constant_p ( 1 )Description
TRUEevaluated 4382 times by 1 test
Evaluated by:
  • tr
FALSEnever evaluated
&& (
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
size_t) (
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2707 1
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2708 ) == 0
(size_t) ( 1 ) == 0Description
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
) || (__builtin_constant_p (
__builtin_cons...( bytes_read )Description
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2709 bytes_read
__builtin_cons...( bytes_read )Description
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2710 )
__builtin_cons...( bytes_read )Description
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
&& (
(size_t) ( bytes_read ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
size_t) (
(size_t) ( bytes_read ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2711 bytes_read
(size_t) ( bytes_read ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2712 ) == 0
(size_t) ( bytes_read ) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)) ? ((void) (
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2713 io_buf
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2714 ), (void) (stdout), (void) (
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2715 1
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2716 ), (void) (
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2717 bytes_read
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2718 ), (size_t) 0) : fwrite_unlocked (
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2719 io_buf
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2720 ,
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2721 1
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2722 ,
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2723 bytes_read
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2724 , stdout))))
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
0-4382
2725 != bytes_read
(__extension__... != bytes_readDescription
TRUEnever evaluated
FALSEevaluated 4382 times by 1 test
Evaluated by:
  • tr
)
0-4382
2726 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 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), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2727 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2728 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2729 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2730 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2731 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2732 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2733 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2734 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2735 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2736 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2737 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2738 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2739 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2740 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2741 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2742 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2743 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2744 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2745 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2746 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2747 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2748 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2749 }
executed 4382 times by 1 test: end of block
Executed by:
  • tr
4382
2750 }
executed 4179 times by 1 test: end of block
Executed by:
  • tr
4179
2751 }-
2752-
2753 if (close (
close ( 0 ) != 0Description
TRUEnever evaluated
FALSEevaluated 4331 times by 1 test
Evaluated by:
  • tr
0-4331
2754 0
close ( 0 ) != 0Description
TRUEnever evaluated
FALSEevaluated 4331 times by 1 test
Evaluated by:
  • tr
0-4331
2755 ) != 0
close ( 0 ) != 0Description
TRUEnever evaluated
FALSEevaluated 4331 times by 1 test
Evaluated by:
  • tr
)
0-4331
2756 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 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), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2757 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2758 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2759 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2760 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2761 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2762 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2763 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2764 "standard input"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2765 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2766 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2767 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2768 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2769 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2770 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2771 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2772 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2773 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2774 "standard input"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2775 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2776 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2777 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2778 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
2779-
2780 return
executed 4331 times by 1 test: return 0 ;
Executed by:
  • tr
executed 4331 times by 1 test: return 0 ;
Executed by:
  • tr
4331
2781 0
executed 4331 times by 1 test: return 0 ;
Executed by:
  • tr
4331
2782 ;
executed 4331 times by 1 test: return 0 ;
Executed by:
  • tr
4331
2783}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2