OpenCoverage

gm_loop.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/bash/src/lib/glob/gm_loop.c
Switch to Source codePreprocessed file
LineSourceCount
1int-
2extglob_pattern_p (pat)-
3 const char *pat;-
4{-
5 switch (pat[0])-
6 {-
7 case
executed 46858 times by 1 test: case '*':
Executed by:
  • Self test
'*':
executed 46858 times by 1 test: case '*':
Executed by:
  • Self test
46858
8 case
executed 32 times by 1 test: case '+':
Executed by:
  • Self test
'+':
executed 32 times by 1 test: case '+':
Executed by:
  • Self test
32
9 case
executed 84 times by 1 test: case '!':
Executed by:
  • Self test
'!':
executed 84 times by 1 test: case '!':
Executed by:
  • Self test
84
10 case
executed 2240 times by 1 test: case '@':
Executed by:
  • Self test
'@':
executed 2240 times by 1 test: case '@':
Executed by:
  • Self test
2240
11 case
executed 3364 times by 1 test: case '?':
Executed by:
  • Self test
'?':
executed 3364 times by 1 test: case '?':
Executed by:
  • Self test
3364
12 return
executed 52578 times by 1 test: return (pat[1] == '(');
Executed by:
  • Self test
(pat[1] == '(');
executed 52578 times by 1 test: return (pat[1] == '(');
Executed by:
  • Self test
52578
13 default
executed 933804 times by 1 test: default:
Executed by:
  • Self test
:
executed 933804 times by 1 test: default:
Executed by:
  • Self test
933804
14 return
executed 933804 times by 1 test: return 0;
Executed by:
  • Self test
0;
executed 933804 times by 1 test: return 0;
Executed by:
  • Self test
933804
15 }-
16-
17 return
dead code: return 0;
0;
dead code: return 0;
-
18}-
19-
20-
21-
22-
23-
24-
25int-
26match_pattern_char (pat, string, flags)-
27 char *pat, *string;-
28 int flags;-
29{-
30 char c;-
31-
32 if (*
*string == 0Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • Self test
FALSEevaluated 94174 times by 1 test
Evaluated by:
  • Self test
string == 0
*string == 0Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • Self test
FALSEevaluated 94174 times by 1 test
Evaluated by:
  • Self test
)
18-94174
33 return
executed 18 times by 1 test: return (*pat == '*');
Executed by:
  • Self test
(*pat == '*');
executed 18 times by 1 test: return (*pat == '*');
Executed by:
  • Self test
18
34-
35 switch (c = *pat++)-
36 {-
37 default
executed 17893 times by 1 test: default:
Executed by:
  • Self test
:
executed 17893 times by 1 test: default:
Executed by:
  • Self test
17893
38 return
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
(((flags & (1 << 4)) ? ((1 &&
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
39 ((*__ctype_b_loc ())[(int) ((
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
40 (unsigned char)(unsigned char)*string
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
41 ))] & (unsigned short int) _ISupper)
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
42 ) ?
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
43 (__extension__ ({ int __res; if (sizeof (
sizeof ( (unsi...)*string ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
44 (unsigned char)*string
sizeof ( (unsi...)*string ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
45 ) > 1
sizeof ( (unsi...)*string ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
) { if (__builtin_constant_p (
__builtin_cons...char)*string )Description
TRUEnever evaluated
FALSEnever evaluated
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
46 (unsigned char)*string
__builtin_cons...char)*string )Description
TRUEnever evaluated
FALSEnever evaluated
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
47 )
__builtin_cons...char)*string )Description
TRUEnever evaluated
FALSEnever evaluated
) { int __c = (
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
48 (unsigned char)*string
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
49 ); __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 (
never executed: __res = tolower ( (unsigned char)*string );
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
50 (unsigned char)*string
never executed: __res = tolower ( (unsigned char)*string );
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
51 );
never executed: __res = tolower ( (unsigned char)*string );
} else __res = (*__ctype_tolower_loc ())[(int) (
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*string )];
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
52 (unsigned char)*string
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*string )];
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
53 )];
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*string )];
__res; }))
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
54 : ((unsigned char)*string)) : ((unsigned char)*string)) == ((flags & (1 << 4)) ? ((1 &&
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
55 ((*__ctype_b_loc ())[(int) ((
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
56 (unsigned char)(unsigned char)c
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
57 ))] & (unsigned short int) _ISupper)
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
58 ) ?
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
59 (__extension__ ({ int __res; if (sizeof (
sizeof ( (unsi...d char)c ) > 1Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • Self test
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
60 (unsigned char)c
sizeof ( (unsi...d char)c ) > 1Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • Self test
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
61 ) > 1
sizeof ( (unsi...d char)c ) > 1Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • Self test
) { if (__builtin_constant_p (
__builtin_cons...igned char)c )Description
TRUEnever evaluated
FALSEnever evaluated
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
62 (unsigned char)c
__builtin_cons...igned char)c )Description
TRUEnever evaluated
FALSEnever evaluated
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
63 )
__builtin_cons...igned char)c )Description
TRUEnever evaluated
FALSEnever evaluated
) { int __c = (
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
64 (unsigned char)c
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
65 ); __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 (
never executed: __res = tolower ( (unsigned char)c );
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
66 (unsigned char)c
never executed: __res = tolower ( (unsigned char)c );
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
67 );
never executed: __res = tolower ( (unsigned char)c );
} else __res = (*__ctype_tolower_loc ())[(int) (
executed 6 times by 1 test: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )];
Executed by:
  • Self test
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
0-17893
68 (unsigned char)c
executed 6 times by 1 test: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )];
Executed by:
  • Self test
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
6-17893
69 )];
executed 6 times by 1 test: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )];
Executed by:
  • Self test
__res; }))
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
6-17893
70 : ((unsigned char)c)) : ((unsigned char)c)));
executed 17893 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...d char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c)));
Executed by:
  • Self test
17893
71 case
executed 486 times by 1 test: case '\\':
Executed by:
  • Self test
'\\':
executed 486 times by 1 test: case '\\':
Executed by:
  • Self test
486
72 return
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
(((flags & (1 << 4)) ? ((1 &&
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
73 ((*__ctype_b_loc ())[(int) ((
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
74 (unsigned char)(unsigned char)*string
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
75 ))] & (unsigned short int) _ISupper)
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
76 ) ?
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
77 (__extension__ ({ int __res; if (sizeof (
sizeof ( (unsi...)*string ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
78 (unsigned char)*string
sizeof ( (unsi...)*string ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
79 ) > 1
sizeof ( (unsi...)*string ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
) { if (__builtin_constant_p (
__builtin_cons...char)*string )Description
TRUEnever evaluated
FALSEnever evaluated
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
80 (unsigned char)*string
__builtin_cons...char)*string )Description
TRUEnever evaluated
FALSEnever evaluated
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
81 )
__builtin_cons...char)*string )Description
TRUEnever evaluated
FALSEnever evaluated
) { int __c = (
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
82 (unsigned char)*string
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
83 ); __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 (
never executed: __res = tolower ( (unsigned char)*string );
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
84 (unsigned char)*string
never executed: __res = tolower ( (unsigned char)*string );
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
85 );
never executed: __res = tolower ( (unsigned char)*string );
} else __res = (*__ctype_tolower_loc ())[(int) (
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*string )];
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
86 (unsigned char)*string
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*string )];
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
87 )];
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*string )];
__res; }))
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
88 : ((unsigned char)*string)) : ((unsigned char)*string)) == ((flags & (1 << 4)) ? ((1 &&
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
89 ((*__ctype_b_loc ())[(int) ((
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
90 (unsigned char)(unsigned char)*pat
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
91 ))] & (unsigned short int) _ISupper)
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
92 ) ?
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
93 (__extension__ ({ int __res; if (sizeof (
sizeof ( (unsi...har)*pat ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
94 (unsigned char)*pat
sizeof ( (unsi...har)*pat ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
95 ) > 1
sizeof ( (unsi...har)*pat ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
) { if (__builtin_constant_p (
__builtin_cons...ed char)*pat )Description
TRUEnever evaluated
FALSEnever evaluated
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
96 (unsigned char)*pat
__builtin_cons...ed char)*pat )Description
TRUEnever evaluated
FALSEnever evaluated
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
97 )
__builtin_cons...ed char)*pat )Description
TRUEnever evaluated
FALSEnever evaluated
) { int __c = (
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
98 (unsigned char)*pat
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
99 ); __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 (
never executed: __res = tolower ( (unsigned char)*pat );
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
100 (unsigned char)*pat
never executed: __res = tolower ( (unsigned char)*pat );
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
101 );
never executed: __res = tolower ( (unsigned char)*pat );
} else __res = (*__ctype_tolower_loc ())[(int) (
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )];
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
102 (unsigned char)*pat
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )];
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
103 )];
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )];
__res; }))
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
0-486
104 : ((unsigned char)*pat)) : ((unsigned char)*pat)));
executed 486 times by 1 test: return (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_constant_p ( (unsigne...__res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)*pat ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*pat )]; __res; })) : ((unsigned char)*pat)) : ((unsigned char)*pat)));
Executed by:
  • Self test
486
105 case
executed 16094 times by 1 test: case '?':
Executed by:
  • Self test
'?':
executed 16094 times by 1 test: case '?':
Executed by:
  • Self test
16094
106 return
executed 16094 times by 1 test: return (*pat == '(' ? 1 : (*string != L'\0'));
Executed by:
  • Self test
(*pat == '(' ? 1 : (*string != L'\0'));
executed 16094 times by 1 test: return (*pat == '(' ? 1 : (*string != L'\0'));
Executed by:
  • Self test
16094
107 case
executed 193 times by 1 test: case '*':
Executed by:
  • Self test
'*':
executed 193 times by 1 test: case '*':
Executed by:
  • Self test
193
108 return
executed 193 times by 1 test: return (1);
Executed by:
  • Self test
(1);
executed 193 times by 1 test: return (1);
Executed by:
  • Self test
193
109 case
never executed: case '+':
'+':
never executed: case '+':
0
110 case
never executed: case '!':
'!':
never executed: case '!':
0
111 case
never executed: case '@':
'@':
never executed: case '@':
0
112 return
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
(*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 &&
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
113 ((*__ctype_b_loc ())[(int) ((
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
114 (unsigned char)(unsigned char)*string
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
115 ))] & (unsigned short int) _ISupper)
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
116 ) ?
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
117 (__extension__ ({ int __res; if (sizeof (
sizeof ( (unsi...)*string ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
118 (unsigned char)*string
sizeof ( (unsi...)*string ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
119 ) > 1
sizeof ( (unsi...)*string ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
) { if (__builtin_constant_p (
__builtin_cons...char)*string )Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
120 (unsigned char)*string
__builtin_cons...char)*string )Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
121 )
__builtin_cons...char)*string )Description
TRUEnever evaluated
FALSEnever evaluated
) { int __c = (
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
122 (unsigned char)*string
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
123 ); __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 (
never executed: __res = tolower ( (unsigned char)*string );
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
124 (unsigned char)*string
never executed: __res = tolower ( (unsigned char)*string );
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
125 );
never executed: __res = tolower ( (unsigned char)*string );
} else __res = (*__ctype_tolower_loc ())[(int) (
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*string )];
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
126 (unsigned char)*string
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*string )];
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
127 )];
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)*string )];
__res; }))
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
128 : ((unsigned char)*string)) : ((unsigned char)*string)) == ((flags & (1 << 4)) ? ((1 &&
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
129 ((*__ctype_b_loc ())[(int) ((
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
130 (unsigned char)(unsigned char)c
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
131 ))] & (unsigned short int) _ISupper)
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
132 ) ?
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
133 (__extension__ ({ int __res; if (sizeof (
sizeof ( (unsi...d char)c ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
134 (unsigned char)c
sizeof ( (unsi...d char)c ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
135 ) > 1
sizeof ( (unsi...d char)c ) > 1Description
TRUEnever evaluated
FALSEnever evaluated
) { if (__builtin_constant_p (
__builtin_cons...igned char)c )Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
136 (unsigned char)c
__builtin_cons...igned char)c )Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
137 )
__builtin_cons...igned char)c )Description
TRUEnever evaluated
FALSEnever evaluated
) { int __c = (
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
138 (unsigned char)c
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
139 ); __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 (
never executed: __res = tolower ( (unsigned char)c );
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
140 (unsigned char)c
never executed: __res = tolower ( (unsigned char)c );
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
141 );
never executed: __res = tolower ( (unsigned char)c );
} else __res = (*__ctype_tolower_loc ())[(int) (
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )];
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
142 (unsigned char)c
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )];
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
143 )];
never executed: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )];
__res; }))
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
144 : ((unsigned char)c)) : ((unsigned char)c))));
never executed: return (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && ((*__ctype_b_loc ())[(int) (( (unsigned char)(unsigned char)*string ))] & (unsigned short int) _ISupper) ) ? (__extension__ ({ int __res; if (sizeof ( (unsigned char)*string ) > 1) { if (__builtin_co... char)c ); __res = __c < -128 || __c > 255 ? __c : (*__ctype_tolower_loc ())[__c]; } else __res = tolower ( (unsigned char)c ); } else __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; __res; })) : ((unsigned char)c)) : ((unsigned char)c))));
0
145 case
executed 59508 times by 1 test: case '[':
Executed by:
  • Self test
'[':
executed 59508 times by 1 test: case '[':
Executed by:
  • Self test
59508
146 return
executed 59508 times by 1 test: return (*string != '\0');
Executed by:
  • Self test
(*string != '\0');
executed 59508 times by 1 test: return (*string != '\0');
Executed by:
  • Self test
59508
147 }-
148}-
149-
150int-
151umatchlen (pat, max)-
152 char *pat;-
153 size_t max;-
154{-
155 char c;-
156 int matlen, bracklen, t, in_cclass, in_collsym, in_equiv;-
157-
158 if (*
*pat == 0Description
TRUEnever evaluated
FALSEevaluated 59359 times by 1 test
Evaluated by:
  • Self test
pat == 0
*pat == 0Description
TRUEnever evaluated
FALSEevaluated 59359 times by 1 test
Evaluated by:
  • Self test
)
0-59359
159 return
never executed: return (0);
(0);
never executed: return (0);
0
160-
161 matlen = in_cclass = in_collsym = in_equiv = 0;-
162 while (c = *pat++
c = *pat++Description
TRUEevaluated 68045 times by 1 test
Evaluated by:
  • Self test
FALSEevaluated 59064 times by 1 test
Evaluated by:
  • Self test
)
59064-68045
163 {-
164 switch (c)-
165 {-
166 default
executed 11173 times by 1 test: default:
Executed by:
  • Self test
:
executed 11173 times by 1 test: default:
Executed by:
  • Self test
11173
167 matlen++;-
168 break;
executed 11173 times by 1 test: break;
Executed by:
  • Self test
11173
169 case
executed 197 times by 1 test: case '\\':
Executed by:
  • Self test
'\\':
executed 197 times by 1 test: case '\\':
Executed by:
  • Self test
197
170 if (*
*pat == 0Description
TRUEnever evaluated
FALSEevaluated 197 times by 1 test
Evaluated by:
  • Self test
pat == 0
*pat == 0Description
TRUEnever evaluated
FALSEevaluated 197 times by 1 test
Evaluated by:
  • Self test
)
0-197
171 return
never executed: return ++matlen;
++matlen;
never executed: return ++matlen;
0
172 else-
173 {-
174 matlen++;-
175 pat++;-
176 }
executed 197 times by 1 test: end of block
Executed by:
  • Self test
197
177 break;
executed 197 times by 1 test: break;
Executed by:
  • Self test
197
178 case
executed 2928 times by 1 test: case '?':
Executed by:
  • Self test
'?':
executed 2928 times by 1 test: case '?':
Executed by:
  • Self test
2928
179 if (*
*pat == '('Description
TRUEnever evaluated
FALSEevaluated 2928 times by 1 test
Evaluated by:
  • Self test
pat == '('
*pat == '('Description
TRUEnever evaluated
FALSEevaluated 2928 times by 1 test
Evaluated by:
  • Self test
)
0-2928
180 return
never executed: return (matlen = -1);
(matlen = -1);
never executed: return (matlen = -1);
0
181 else-
182 matlen++;
executed 2928 times by 1 test: matlen++;
Executed by:
  • Self test
2928
183 break;
executed 2928 times by 1 test: break;
Executed by:
  • Self test
2928
184 case
executed 295 times by 1 test: case '*':
Executed by:
  • Self test
'*':
executed 295 times by 1 test: case '*':
Executed by:
  • Self test
295
185 return
executed 295 times by 1 test: return (matlen = -1);
Executed by:
  • Self test
(matlen = -1);
executed 295 times by 1 test: return (matlen = -1);
Executed by:
  • Self test
295
186 case
never executed: case '+':
'+':
never executed: case '+':
0
187 case
never executed: case '!':
'!':
never executed: case '!':
0
188 case
never executed: case '@':
'@':
never executed: case '@':
0
189 if (*
*pat == '('Description
TRUEnever evaluated
FALSEnever evaluated
pat == '('
*pat == '('Description
TRUEnever evaluated
FALSEnever evaluated
)
0
190 return
never executed: return (matlen = -1);
(matlen = -1);
never executed: return (matlen = -1);
0
191 else-
192 matlen++;
never executed: matlen++;
0
193 break;
never executed: break;
0
194 case
executed 53452 times by 1 test: case '[':
Executed by:
  • Self test
'[':
executed 53452 times by 1 test: case '[':
Executed by:
  • Self test
53452
195-
196 bracklen = 1;-
197 c = *pat++;-
198 do-
199 {-
200 if (c == 0
c == 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • Self test
FALSEevaluated 213647 times by 1 test
Evaluated by:
  • Self test
)
3-213647
201 {-
202 pat--;-
203 matlen += bracklen;-
204 goto
executed 3 times by 1 test: goto bad_bracket;
Executed by:
  • Self test
bad_bracket;
executed 3 times by 1 test: goto bad_bracket;
Executed by:
  • Self test
3
205 }-
206 else if (c == '\\'
c == '\\'Description
TRUEevaluated 48 times by 1 test
Evaluated by:
  • Self test
FALSEevaluated 213599 times by 1 test
Evaluated by:
  • Self test
)
48-213599
207 {-
208-
209 bracklen++;-
210-
211-
212 if (*
*pat == 0Description
TRUEnever evaluated
FALSEevaluated 48 times by 1 test
Evaluated by:
  • Self test
pat == 0
*pat == 0Description
TRUEnever evaluated
FALSEevaluated 48 times by 1 test
Evaluated by:
  • Self test
|| *++
*++pat == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • Self test
FALSEevaluated 47 times by 1 test
Evaluated by:
  • Self test
pat == 0
*++pat == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • Self test
FALSEevaluated 47 times by 1 test
Evaluated by:
  • Self test
)
0-48
213 {-
214 matlen += bracklen;-
215 goto
executed 1 time by 1 test: goto bad_bracket;
Executed by:
  • Self test
bad_bracket;
executed 1 time by 1 test: goto bad_bracket;
Executed by:
  • Self test
1
216 }-
217 }
executed 47 times by 1 test: end of block
Executed by:
  • Self test
47
218 else if (c == '['
c == '['Description
TRUEevaluated 17798 times by 1 test
Evaluated by:
  • Self test
FALSEevaluated 195801 times by 1 test
Evaluated by:
  • Self test
&& *
*pat == ':'Description
TRUEevaluated 17798 times by 1 test
Evaluated by:
  • Self test
FALSEnever evaluated
pat == ':'
*pat == ':'Description
TRUEevaluated 17798 times by 1 test
Evaluated by:
  • Self test
FALSEnever evaluated
)
0-195801
219 {-
220 pat++;-
221 bracklen++;-
222 in_cclass = 1;-
223 }
executed 17798 times by 1 test: end of block
Executed by:
  • Self test
17798
224 else if (in_cclass
in_cclassDescription
TRUEevaluated 106785 times by 1 test
Evaluated by:
  • Self test
FALSEevaluated 89016 times by 1 test
Evaluated by:
  • Self test
&& c == ':'
c == ':'Description
TRUEevaluated 17795 times by 1 test
Evaluated by:
  • Self test
FALSEevaluated 88990 times by 1 test
Evaluated by:
  • Self test
&& *
*pat == ']'Description
TRUEevaluated 17795 times by 1 test
Evaluated by:
  • Self test
FALSEnever evaluated
pat == ']'
*pat == ']'Description
TRUEevaluated 17795 times by 1 test
Evaluated by:
  • Self test
FALSEnever evaluated
)
0-106785
225 {-
226 pat++;-
227 bracklen++;-
228 in_cclass = 0;-
229 }
executed 17795 times by 1 test: end of block
Executed by:
  • Self test
17795
230 else if (c == '['
c == '['Description
TRUEnever evaluated
FALSEevaluated 178006 times by 1 test
Evaluated by:
  • Self test
&& *
*pat == '.'Description
TRUEnever evaluated
FALSEnever evaluated
pat == '.'
*pat == '.'Description
TRUEnever evaluated
FALSEnever evaluated
)
0-178006
231 {-
232 pat++;-
233 bracklen++;-
234 if (*
*pat == ']'Description
TRUEnever evaluated
FALSEnever evaluated
pat == ']'
*pat == ']'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
235 {-
236 pat++;-
237 bracklen++;-
238 }
never executed: end of block
0
239 in_collsym = 1;-
240 }
never executed: end of block
0
241 else if (in_collsym
in_collsymDescription
TRUEnever evaluated
FALSEevaluated 178006 times by 1 test
Evaluated by:
  • Self test
&& c == '.'
c == '.'Description
TRUEnever evaluated
FALSEnever evaluated
&& *
*pat == ']'Description
TRUEnever evaluated
FALSEnever evaluated
pat == ']'
*pat == ']'Description
TRUEnever evaluated
FALSEnever evaluated
)
0-178006
242 {-
243 pat++;-
244 bracklen++;-
245 in_collsym = 0;-
246 }
never executed: end of block
0
247 else if (c == '['
c == '['Description
TRUEnever evaluated
FALSEevaluated 178006 times by 1 test
Evaluated by:
  • Self test
&& *
*pat == '='Description
TRUEnever evaluated
FALSEnever evaluated
pat == '='
*pat == '='Description
TRUEnever evaluated
FALSEnever evaluated
)
0-178006
248 {-
249 pat++;-
250 bracklen++;-
251 if (*
*pat == ']'Description
TRUEnever evaluated
FALSEnever evaluated
pat == ']'
*pat == ']'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
252 {-
253 pat++;-
254 bracklen++;-
255 }
never executed: end of block
0
256 in_equiv = 1;-
257 }
never executed: end of block
0
258 else if (in_equiv
in_equivDescription
TRUEnever evaluated
FALSEevaluated 178006 times by 1 test
Evaluated by:
  • Self test
&& c == '='
c == '='Description
TRUEnever evaluated
FALSEnever evaluated
&& *
*pat == ']'Description
TRUEnever evaluated
FALSEnever evaluated
pat == ']'
*pat == ']'Description
TRUEnever evaluated
FALSEnever evaluated
)
0-178006
259 {-
260 pat++;-
261 bracklen++;-
262 in_equiv = 0;-
263 }
never executed: end of block
0
264 else-
265 bracklen++;
executed 178006 times by 1 test: bracklen++;
Executed by:
  • Self test
178006
266 }-
267 while ((
(c = *pat++) != ']'Description
TRUEevaluated 160198 times by 1 test
Evaluated by:
  • Self test
FALSEevaluated 53448 times by 1 test
Evaluated by:
  • Self test
c = *pat++) != ']'
(c = *pat++) != ']'Description
TRUEevaluated 160198 times by 1 test
Evaluated by:
  • Self test
FALSEevaluated 53448 times by 1 test
Evaluated by:
  • Self test
);
53448-160198
268 matlen++;-
269bad_bracket:
code before this statement executed 53448 times by 1 test: bad_bracket:
Executed by:
  • Self test
53448
270 break;
executed 53452 times by 1 test: break;
Executed by:
  • Self test
53452
271 }-
272 }-
273-
274 return
executed 59064 times by 1 test: return matlen;
Executed by:
  • Self test
matlen;
executed 59064 times by 1 test: return matlen;
Executed by:
  • Self test
59064
275}-
276int-
277wextglob_pattern_p (pat)-
278 const wchar_t *pat;-
279{-
280 switch (pat[0])-
281 {-
282 case
never executed: case L'*':
L'*':
never executed: case L'*':
0
283 case
never executed: case L'+':
L'+':
never executed: case L'+':
0
284 case
never executed: case L'!':
L'!':
never executed: case L'!':
0
285 case
never executed: case L'@':
L'@':
never executed: case L'@':
0
286 case
never executed: case L'?':
L'?':
never executed: case L'?':
0
287 return
never executed: return (pat[1] == L'(');
(pat[1] == L'(');
never executed: return (pat[1] == L'(');
0
288 default
never executed: default:
:
never executed: default:
0
289 return
never executed: return 0;
0;
never executed: return 0;
0
290 }-
291-
292 return
dead code: return 0;
0;
dead code: return 0;
-
293}-
294-
295-
296-
297-
298-
299-
300int-
301match_pattern_wchar (pat, string, flags)-
302 wchar_t *pat, *string;-
303 int flags;-
304{-
305 wchar_t c;-
306-
307 if (*
*string == 0Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • Self test
string == 0
*string == 0Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • Self test
)
0-2
308 return
never executed: return (*pat == L'*');
(*pat == L'*');
never executed: return (*pat == L'*');
0
309-
310 switch (c = *pat++)-
311 {-
312 default
executed 2 times by 1 test: default:
Executed by:
  • Self test
:
executed 2 times by 1 test: default:
Executed by:
  • Self test
2
313 return
executed 2 times by 1 test: return (((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (c) ? towlower (c) : (c)));
Executed by:
  • Self test
(((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (c) ? towlower (c) : (c)));
executed 2 times by 1 test: return (((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (c) ? towlower (c) : (c)));
Executed by:
  • Self test
2
314 case
never executed: case L'\\':
L'\\':
never executed: case L'\\':
0
315 return
never executed: return (((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (*pat) ? towlower (*pat) : (*pat)));
(((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (*pat) ? towlower (*pat) : (*pat)));
never executed: return (((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (*pat) ? towlower (*pat) : (*pat)));
0
316 case
never executed: case L'?':
L'?':
never executed: case L'?':
0
317 return
never executed: return (*pat == L'(' ? 1 : (*string != L'\0'));
(*pat == L'(' ? 1 : (*string != L'\0'));
never executed: return (*pat == L'(' ? 1 : (*string != L'\0'));
0
318 case
never executed: case L'*':
L'*':
never executed: case L'*':
0
319 return
never executed: return (1);
(1);
never executed: return (1);
0
320 case
never executed: case L'+':
L'+':
never executed: case L'+':
0
321 case
never executed: case L'!':
L'!':
never executed: case L'!':
0
322 case
never executed: case L'@':
L'@':
never executed: case L'@':
0
323 return
never executed: return (*pat == L'(' ? 1 : (((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (c) ? towlower (c) : (c))));
(*pat == L'(' ? 1 : (((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (c) ? towlower (c) : (c))));
never executed: return (*pat == L'(' ? 1 : (((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (c) ? towlower (c) : (c))));
0
324 case
never executed: case L'[':
L'[':
never executed: case L'[':
0
325 return
never executed: return (*string != L'\0');
(*string != L'\0');
never executed: return (*string != L'\0');
0
326 }-
327}-
328-
329int-
330wmatchlen (pat, max)-
331 wchar_t *pat;-
332 size_t max;-
333{-
334 wchar_t c;-
335 int matlen, bracklen, t, in_cclass, in_collsym, in_equiv;-
336-
337 if (*
*pat == 0Description
TRUEnever evaluated
FALSEevaluated 7 times by 1 test
Evaluated by:
  • Self test
pat == 0
*pat == 0Description
TRUEnever evaluated
FALSEevaluated 7 times by 1 test
Evaluated by:
  • Self test
)
0-7
338 return
never executed: return (0);
(0);
never executed: return (0);
0
339-
340 matlen = in_cclass = in_collsym = in_equiv = 0;-
341 while (c = *pat++
c = *pat++Description
TRUEevaluated 14 times by 1 test
Evaluated by:
  • Self test
FALSEevaluated 7 times by 1 test
Evaluated by:
  • Self test
)
7-14
342 {-
343 switch (c)-
344 {-
345 default
executed 14 times by 1 test: default:
Executed by:
  • Self test
:
executed 14 times by 1 test: default:
Executed by:
  • Self test
14
346 matlen++;-
347 break;
executed 14 times by 1 test: break;
Executed by:
  • Self test
14
348 case
never executed: case L'\\':
L'\\':
never executed: case L'\\':
0
349 if (*
*pat == 0Description
TRUEnever evaluated
FALSEnever evaluated
pat == 0
*pat == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
350 return
never executed: return ++matlen;
++matlen;
never executed: return ++matlen;
0
351 else-
352 {-
353 matlen++;-
354 pat++;-
355 }
never executed: end of block
0
356 break;
never executed: break;
0
357 case
never executed: case L'?':
L'?':
never executed: case L'?':
0
358 if (*
*pat == L'('Description
TRUEnever evaluated
FALSEnever evaluated
pat == L'('
*pat == L'('Description
TRUEnever evaluated
FALSEnever evaluated
)
0
359 return
never executed: return (matlen = -1);
(matlen = -1);
never executed: return (matlen = -1);
0
360 else-
361 matlen++;
never executed: matlen++;
0
362 break;
never executed: break;
0
363 case
never executed: case L'*':
L'*':
never executed: case L'*':
0
364 return
never executed: return (matlen = -1);
(matlen = -1);
never executed: return (matlen = -1);
0
365 case
never executed: case L'+':
L'+':
never executed: case L'+':
0
366 case
never executed: case L'!':
L'!':
never executed: case L'!':
0
367 case
never executed: case L'@':
L'@':
never executed: case L'@':
0
368 if (*
*pat == L'('Description
TRUEnever evaluated
FALSEnever evaluated
pat == L'('
*pat == L'('Description
TRUEnever evaluated
FALSEnever evaluated
)
0
369 return
never executed: return (matlen = -1);
(matlen = -1);
never executed: return (matlen = -1);
0
370 else-
371 matlen++;
never executed: matlen++;
0
372 break;
never executed: break;
0
373 case
never executed: case L'[':
L'[':
never executed: case L'[':
0
374-
375 bracklen = 1;-
376 c = *pat++;-
377 do-
378 {-
379 if (c == 0
c == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
380 {-
381 pat--;-
382 matlen += bracklen;-
383 goto
never executed: goto bad_bracket;
bad_bracket;
never executed: goto bad_bracket;
0
384 }-
385 else if (c == L'\\'
c == L'\\'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
386 {-
387-
388 bracklen++;-
389-
390-
391 if (*
*pat == 0Description
TRUEnever evaluated
FALSEnever evaluated
pat == 0
*pat == 0Description
TRUEnever evaluated
FALSEnever evaluated
|| *++
*++pat == 0Description
TRUEnever evaluated
FALSEnever evaluated
pat == 0
*++pat == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
392 {-
393 matlen += bracklen;-
394 goto
never executed: goto bad_bracket;
bad_bracket;
never executed: goto bad_bracket;
0
395 }-
396 }
never executed: end of block
0
397 else if (c == L'['
c == L'['Description
TRUEnever evaluated
FALSEnever evaluated
&& *
*pat == L':'Description
TRUEnever evaluated
FALSEnever evaluated
pat == L':'
*pat == L':'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
398 {-
399 pat++;-
400 bracklen++;-
401 in_cclass = 1;-
402 }
never executed: end of block
0
403 else if (in_cclass
in_cclassDescription
TRUEnever evaluated
FALSEnever evaluated
&& c == L':'
c == L':'Description
TRUEnever evaluated
FALSEnever evaluated
&& *
*pat == L']'Description
TRUEnever evaluated
FALSEnever evaluated
pat == L']'
*pat == L']'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
404 {-
405 pat++;-
406 bracklen++;-
407 in_cclass = 0;-
408 }
never executed: end of block
0
409 else if (c == L'['
c == L'['Description
TRUEnever evaluated
FALSEnever evaluated
&& *
*pat == L'.'Description
TRUEnever evaluated
FALSEnever evaluated
pat == L'.'
*pat == L'.'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
410 {-
411 pat++;-
412 bracklen++;-
413 if (*
*pat == L']'Description
TRUEnever evaluated
FALSEnever evaluated
pat == L']'
*pat == L']'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
414 {-
415 pat++;-
416 bracklen++;-
417 }
never executed: end of block
0
418 in_collsym = 1;-
419 }
never executed: end of block
0
420 else if (in_collsym
in_collsymDescription
TRUEnever evaluated
FALSEnever evaluated
&& c == L'.'
c == L'.'Description
TRUEnever evaluated
FALSEnever evaluated
&& *
*pat == L']'Description
TRUEnever evaluated
FALSEnever evaluated
pat == L']'
*pat == L']'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
421 {-
422 pat++;-
423 bracklen++;-
424 in_collsym = 0;-
425 }
never executed: end of block
0
426 else if (c == L'['
c == L'['Description
TRUEnever evaluated
FALSEnever evaluated
&& *
*pat == L'='Description
TRUEnever evaluated
FALSEnever evaluated
pat == L'='
*pat == L'='Description
TRUEnever evaluated
FALSEnever evaluated
)
0
427 {-
428 pat++;-
429 bracklen++;-
430 if (*
*pat == L']'Description
TRUEnever evaluated
FALSEnever evaluated
pat == L']'
*pat == L']'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
431 {-
432 pat++;-
433 bracklen++;-
434 }
never executed: end of block
0
435 in_equiv = 1;-
436 }
never executed: end of block
0
437 else if (in_equiv
in_equivDescription
TRUEnever evaluated
FALSEnever evaluated
&& c == L'='
c == L'='Description
TRUEnever evaluated
FALSEnever evaluated
&& *
*pat == L']'Description
TRUEnever evaluated
FALSEnever evaluated
pat == L']'
*pat == L']'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
438 {-
439 pat++;-
440 bracklen++;-
441 in_equiv = 0;-
442 }
never executed: end of block
0
443 else-
444 bracklen++;
never executed: bracklen++;
0
445 }-
446 while ((
(c = *pat++) != L']'Description
TRUEnever evaluated
FALSEnever evaluated
c = *pat++) != L']'
(c = *pat++) != L']'Description
TRUEnever evaluated
FALSEnever evaluated
);
0
447 matlen++;-
448bad_bracket:
code before this statement never executed: bad_bracket:
0
449 break;
never executed: break;
0
450 }-
451 }-
452-
453 return
executed 7 times by 1 test: return matlen;
Executed by:
  • Self test
matlen;
executed 7 times by 1 test: return matlen;
Executed by:
  • Self test
7
454}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2