Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/glob/gm_loop.c |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | int | - | ||||||||||||||||||||||||
2 | extglob_pattern_p (pat) | - | ||||||||||||||||||||||||
3 | const char *pat; | - | ||||||||||||||||||||||||
4 | { | - | ||||||||||||||||||||||||
5 | switch (pat[0]) | - | ||||||||||||||||||||||||
6 | { | - | ||||||||||||||||||||||||
7 | case executed 46858 times by 1 test: '*':case '*': Executed by:
executed 46858 times by 1 test: case '*': Executed by:
| 46858 | ||||||||||||||||||||||||
8 | case executed 32 times by 1 test: '+':case '+': Executed by:
executed 32 times by 1 test: case '+': Executed by:
| 32 | ||||||||||||||||||||||||
9 | case executed 84 times by 1 test: '!':case '!': Executed by:
executed 84 times by 1 test: case '!': Executed by:
| 84 | ||||||||||||||||||||||||
10 | case executed 2240 times by 1 test: '@':case '@': Executed by:
executed 2240 times by 1 test: case '@': Executed by:
| 2240 | ||||||||||||||||||||||||
11 | case executed 3364 times by 1 test: '?':case '?': Executed by:
executed 3364 times by 1 test: case '?': Executed by:
| 3364 | ||||||||||||||||||||||||
12 | return executed 52578 times by 1 test: (pat[1] == '(');return (pat[1] == '('); Executed by:
executed 52578 times by 1 test: return (pat[1] == '('); Executed by:
| 52578 | ||||||||||||||||||||||||
13 | default executed 933804 times by 1 test: :default: Executed by:
executed 933804 times by 1 test: default: Executed by:
| 933804 | ||||||||||||||||||||||||
14 | return executed 933804 times by 1 test: 0;return 0; Executed by:
executed 933804 times by 1 test: return 0; Executed by:
| 933804 | ||||||||||||||||||||||||
15 | } | - | ||||||||||||||||||||||||
16 | - | |||||||||||||||||||||||||
17 | return dead code: 0;return 0; dead code: return 0; | - | ||||||||||||||||||||||||
18 | } | - | ||||||||||||||||||||||||
19 | - | |||||||||||||||||||||||||
20 | - | |||||||||||||||||||||||||
21 | - | |||||||||||||||||||||||||
22 | - | |||||||||||||||||||||||||
23 | - | |||||||||||||||||||||||||
24 | - | |||||||||||||||||||||||||
25 | int | - | ||||||||||||||||||||||||
26 | match_pattern_char (pat, string, flags) | - | ||||||||||||||||||||||||
27 | char *pat, *string; | - | ||||||||||||||||||||||||
28 | int flags; | - | ||||||||||||||||||||||||
29 | { | - | ||||||||||||||||||||||||
30 | char c; | - | ||||||||||||||||||||||||
31 | - | |||||||||||||||||||||||||
32 | if (*
| 18-94174 | ||||||||||||||||||||||||
33 | return executed 18 times by 1 test: (*pat == '*');return (*pat == '*'); Executed by:
executed 18 times by 1 test: return (*pat == '*'); Executed by:
| 18 | ||||||||||||||||||||||||
34 | - | |||||||||||||||||||||||||
35 | switch (c = *pat++) | - | ||||||||||||||||||||||||
36 | { | - | ||||||||||||||||||||||||
37 | default executed 17893 times by 1 test: :default: Executed by:
executed 17893 times by 1 test: default: Executed by:
| 17893 | ||||||||||||||||||||||||
38 | return executed 17893 times by 1 test: (((flags & (1 << 4)) ? ((1 && 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:
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:
| 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:
| 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:
| 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:
| 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:
| 17893 | ||||||||||||||||||||||||
43 | (__extension__ ({ int __res; if (sizeof (
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:
| 0-17893 | ||||||||||||||||||||||||
44 | (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:
| 0-17893 | ||||||||||||||||||||||||
45 | ) > 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:
| 0-17893 | ||||||||||||||||||||||||
46 | (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:
| 0-17893 | ||||||||||||||||||||||||
47 | )
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:
| 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:
| 17893 | ||||||||||||||||||||||||
49 | ); __res = __c < -128
never executed: else __res = tolower (end of block 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:
| 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:
| 0-17893 | ||||||||||||||||||||||||
51 | ); never executed: } else __res = (*__ctype_tolower_loc ())[(int) (__res = tolower ( (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:
| 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:
| 0-17893 | ||||||||||||||||||||||||
53 | )]; never executed: __res; })) __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:
| 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:
| 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:
| 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:
| 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:
| 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:
| 17893 | ||||||||||||||||||||||||
59 | (__extension__ ({ int __res; if (sizeof (
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:
| 0-17893 | ||||||||||||||||||||||||
60 | (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:
| 0-17893 | ||||||||||||||||||||||||
61 | ) > 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:
| 0-17893 | ||||||||||||||||||||||||
62 | (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:
| 0-17893 | ||||||||||||||||||||||||
63 | )
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:
| 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:
| 17893 | ||||||||||||||||||||||||
65 | ); __res = __c < -128
never executed: else __res = tolower (end of block 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:
| 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:
| 0-17893 | ||||||||||||||||||||||||
67 | ); never executed: } else __res = (*__ctype_tolower_loc ())[(int) (__res = tolower ( (unsigned char)c ); executed 6 times by 1 test: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; Executed by:
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:
| 0-17893 | ||||||||||||||||||||||||
68 | (unsigned char)c executed 6 times by 1 test: __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; Executed by:
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:
| 6-17893 | ||||||||||||||||||||||||
69 | )]; executed 6 times by 1 test: __res; })) __res = (*__ctype_tolower_loc ())[(int) ( (unsigned char)c )]; Executed by:
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:
| 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:
| 17893 | ||||||||||||||||||||||||
71 | case executed 486 times by 1 test: '\\':case '\\': Executed by:
executed 486 times by 1 test: case '\\': Executed by:
| 486 | ||||||||||||||||||||||||
72 | return executed 486 times by 1 test: (((flags & (1 << 4)) ? ((1 && 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:
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:
| 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:
| 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:
| 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:
| 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:
| 486 | ||||||||||||||||||||||||
77 | (__extension__ ({ int __res; if (sizeof (
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:
| 0-486 | ||||||||||||||||||||||||
78 | (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:
| 0-486 | ||||||||||||||||||||||||
79 | ) > 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:
| 0-486 | ||||||||||||||||||||||||
80 | (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:
| 0-486 | ||||||||||||||||||||||||
81 | )
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:
| 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:
| 486 | ||||||||||||||||||||||||
83 | ); __res = __c < -128
never executed: else __res = tolower (end of block 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:
| 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:
| 0-486 | ||||||||||||||||||||||||
85 | ); never executed: } else __res = (*__ctype_tolower_loc ())[(int) (__res = tolower ( (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:
| 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:
| 0-486 | ||||||||||||||||||||||||
87 | )]; never executed: __res; })) __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:
| 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:
| 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:
| 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:
| 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:
| 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:
| 486 | ||||||||||||||||||||||||
93 | (__extension__ ({ int __res; if (sizeof (
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:
| 0-486 | ||||||||||||||||||||||||
94 | (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:
| 0-486 | ||||||||||||||||||||||||
95 | ) > 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:
| 0-486 | ||||||||||||||||||||||||
96 | (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:
| 0-486 | ||||||||||||||||||||||||
97 | )
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:
| 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:
| 486 | ||||||||||||||||||||||||
99 | ); __res = __c < -128
never executed: else __res = tolower (end of block 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:
| 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:
| 0-486 | ||||||||||||||||||||||||
101 | ); never executed: } else __res = (*__ctype_tolower_loc ())[(int) (__res = tolower ( (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:
| 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:
| 0-486 | ||||||||||||||||||||||||
103 | )]; never executed: __res; })) __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:
| 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:
| 486 | ||||||||||||||||||||||||
105 | case executed 16094 times by 1 test: '?':case '?': Executed by:
executed 16094 times by 1 test: case '?': Executed by:
| 16094 | ||||||||||||||||||||||||
106 | return executed 16094 times by 1 test: (*pat == '(' ? 1 : (*string != L'\0'));return (*pat == '(' ? 1 : (*string != L'\0')); Executed by:
executed 16094 times by 1 test: return (*pat == '(' ? 1 : (*string != L'\0')); Executed by:
| 16094 | ||||||||||||||||||||||||
107 | case executed 193 times by 1 test: '*':case '*': Executed by:
executed 193 times by 1 test: case '*': Executed by:
| 193 | ||||||||||||||||||||||||
108 | return executed 193 times by 1 test: (1);return (1); Executed by:
executed 193 times by 1 test: return (1); Executed by:
| 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: (*pat == '(' ? 1 : (((flags & (1 << 4)) ? ((1 && 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)))); 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 (
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
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
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
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 | )
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
never executed: else __res = tolower (end of block 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: } else __res = (*__ctype_tolower_loc ())[(int) (__res = tolower ( (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 | ||||||||||||||||||||||||
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; })) __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 | ||||||||||||||||||||||||
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 (
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
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
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
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 | )
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
never executed: else __res = tolower (end of block 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: } else __res = (*__ctype_tolower_loc ())[(int) (__res = tolower ( (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 | ||||||||||||||||||||||||
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; })) __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 | ||||||||||||||||||||||||
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:
executed 59508 times by 1 test: case '[': Executed by:
| 59508 | ||||||||||||||||||||||||
146 | return executed 59508 times by 1 test: (*string != '\0');return (*string != '\0'); Executed by:
executed 59508 times by 1 test: return (*string != '\0'); Executed by:
| 59508 | ||||||||||||||||||||||||
147 | } | - | ||||||||||||||||||||||||
148 | } | - | ||||||||||||||||||||||||
149 | - | |||||||||||||||||||||||||
150 | int | - | ||||||||||||||||||||||||
151 | umatchlen (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 (*
| 0-59359 | ||||||||||||||||||||||||
159 | return never executed: (0);return (0); never executed: return (0); | 0 | ||||||||||||||||||||||||
160 | - | |||||||||||||||||||||||||
161 | matlen = in_cclass = in_collsym = in_equiv = 0; | - | ||||||||||||||||||||||||
162 | while (c = *pat++
| 59064-68045 | ||||||||||||||||||||||||
163 | { | - | ||||||||||||||||||||||||
164 | switch (c) | - | ||||||||||||||||||||||||
165 | { | - | ||||||||||||||||||||||||
166 | default executed 11173 times by 1 test: :default: Executed by:
executed 11173 times by 1 test: default: Executed by:
| 11173 | ||||||||||||||||||||||||
167 | matlen++; | - | ||||||||||||||||||||||||
168 | break; executed 11173 times by 1 test: break; Executed by:
| 11173 | ||||||||||||||||||||||||
169 | case executed 197 times by 1 test: '\\':case '\\': Executed by:
executed 197 times by 1 test: case '\\': Executed by:
| 197 | ||||||||||||||||||||||||
170 | if (*
| 0-197 | ||||||||||||||||||||||||
171 | return never executed: ++matlen;return ++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:
| 197 | ||||||||||||||||||||||||
177 | break; executed 197 times by 1 test: break; Executed by:
| 197 | ||||||||||||||||||||||||
178 | case executed 2928 times by 1 test: '?':case '?': Executed by:
executed 2928 times by 1 test: case '?': Executed by:
| 2928 | ||||||||||||||||||||||||
179 | if (*
| 0-2928 | ||||||||||||||||||||||||
180 | return never executed: (matlen = -1);return (matlen = -1); never executed: return (matlen = -1); | 0 | ||||||||||||||||||||||||
181 | else | - | ||||||||||||||||||||||||
182 | matlen++; executed 2928 times by 1 test: matlen++; Executed by:
| 2928 | ||||||||||||||||||||||||
183 | break; executed 2928 times by 1 test: break; Executed by:
| 2928 | ||||||||||||||||||||||||
184 | case executed 295 times by 1 test: '*':case '*': Executed by:
executed 295 times by 1 test: case '*': Executed by:
| 295 | ||||||||||||||||||||||||
185 | return executed 295 times by 1 test: (matlen = -1);return (matlen = -1); Executed by:
executed 295 times by 1 test: return (matlen = -1); Executed by:
| 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 (*
| 0 | ||||||||||||||||||||||||
190 | return never executed: (matlen = -1);return (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:
executed 53452 times by 1 test: case '[': Executed by:
| 53452 | ||||||||||||||||||||||||
195 | - | |||||||||||||||||||||||||
196 | bracklen = 1; | - | ||||||||||||||||||||||||
197 | c = *pat++; | - | ||||||||||||||||||||||||
198 | do | - | ||||||||||||||||||||||||
199 | { | - | ||||||||||||||||||||||||
200 | if (c == 0
| 3-213647 | ||||||||||||||||||||||||
201 | { | - | ||||||||||||||||||||||||
202 | pat--; | - | ||||||||||||||||||||||||
203 | matlen += bracklen; | - | ||||||||||||||||||||||||
204 | goto executed 3 times by 1 test: bad_bracket;goto bad_bracket; Executed by:
executed 3 times by 1 test: goto bad_bracket; Executed by:
| 3 | ||||||||||||||||||||||||
205 | } | - | ||||||||||||||||||||||||
206 | else if (c == '\\'
| 48-213599 | ||||||||||||||||||||||||
207 | { | - | ||||||||||||||||||||||||
208 | - | |||||||||||||||||||||||||
209 | bracklen++; | - | ||||||||||||||||||||||||
210 | - | |||||||||||||||||||||||||
211 | - | |||||||||||||||||||||||||
212 | if (*
| 0-48 | ||||||||||||||||||||||||
213 | { | - | ||||||||||||||||||||||||
214 | matlen += bracklen; | - | ||||||||||||||||||||||||
215 | goto executed 1 time by 1 test: bad_bracket;goto bad_bracket; Executed by:
executed 1 time by 1 test: goto bad_bracket; Executed by:
| 1 | ||||||||||||||||||||||||
216 | } | - | ||||||||||||||||||||||||
217 | } executed 47 times by 1 test: end of block Executed by:
| 47 | ||||||||||||||||||||||||
218 | else if (c == '['
| 0-195801 | ||||||||||||||||||||||||
219 | { | - | ||||||||||||||||||||||||
220 | pat++; | - | ||||||||||||||||||||||||
221 | bracklen++; | - | ||||||||||||||||||||||||
222 | in_cclass = 1; | - | ||||||||||||||||||||||||
223 | } executed 17798 times by 1 test: end of block Executed by:
| 17798 | ||||||||||||||||||||||||
224 | else if (in_cclass
| 0-106785 | ||||||||||||||||||||||||
225 | { | - | ||||||||||||||||||||||||
226 | pat++; | - | ||||||||||||||||||||||||
227 | bracklen++; | - | ||||||||||||||||||||||||
228 | in_cclass = 0; | - | ||||||||||||||||||||||||
229 | } executed 17795 times by 1 test: end of block Executed by:
| 17795 | ||||||||||||||||||||||||
230 | else if (c == '['
| 0-178006 | ||||||||||||||||||||||||
231 | { | - | ||||||||||||||||||||||||
232 | pat++; | - | ||||||||||||||||||||||||
233 | bracklen++; | - | ||||||||||||||||||||||||
234 | if (*
| 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
| 0-178006 | ||||||||||||||||||||||||
242 | { | - | ||||||||||||||||||||||||
243 | pat++; | - | ||||||||||||||||||||||||
244 | bracklen++; | - | ||||||||||||||||||||||||
245 | in_collsym = 0; | - | ||||||||||||||||||||||||
246 | } never executed: end of block | 0 | ||||||||||||||||||||||||
247 | else if (c == '['
| 0-178006 | ||||||||||||||||||||||||
248 | { | - | ||||||||||||||||||||||||
249 | pat++; | - | ||||||||||||||||||||||||
250 | bracklen++; | - | ||||||||||||||||||||||||
251 | if (*
| 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
| 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:
| 178006 | ||||||||||||||||||||||||
266 | } | - | ||||||||||||||||||||||||
267 | while ((
| 53448-160198 | ||||||||||||||||||||||||
268 | matlen++; | - | ||||||||||||||||||||||||
269 | bad_bracket: code before this statement executed 53448 times by 1 test: bad_bracket: Executed by:
| 53448 | ||||||||||||||||||||||||
270 | break; executed 53452 times by 1 test: break; Executed by:
| 53452 | ||||||||||||||||||||||||
271 | } | - | ||||||||||||||||||||||||
272 | } | - | ||||||||||||||||||||||||
273 | - | |||||||||||||||||||||||||
274 | return executed 59064 times by 1 test: matlen;return matlen; Executed by:
executed 59064 times by 1 test: return matlen; Executed by:
| 59064 | ||||||||||||||||||||||||
275 | } | - | ||||||||||||||||||||||||
276 | int | - | ||||||||||||||||||||||||
277 | wextglob_pattern_p (pat) | - | ||||||||||||||||||||||||
278 | const wchar_t *pat; | - | ||||||||||||||||||||||||
279 | { | - | ||||||||||||||||||||||||
280 | switch (pat[0]) | - | ||||||||||||||||||||||||
281 | { | - | ||||||||||||||||||||||||
282 | case never executed: L'*':case L'*': never executed: case L'*': | 0 | ||||||||||||||||||||||||
283 | case never executed: L'+':case L'+': never executed: case L'+': | 0 | ||||||||||||||||||||||||
284 | case never executed: L'!':case L'!': never executed: case L'!': | 0 | ||||||||||||||||||||||||
285 | case never executed: L'@':case L'@': never executed: case L'@': | 0 | ||||||||||||||||||||||||
286 | case never executed: L'?':case L'?': never executed: case L'?': | 0 | ||||||||||||||||||||||||
287 | return never executed: (pat[1] == L'(');return (pat[1] == L'('); never executed: return (pat[1] == L'('); | 0 | ||||||||||||||||||||||||
288 | default never executed: :default: never executed: default: | 0 | ||||||||||||||||||||||||
289 | return never executed: 0;return 0; never executed: return 0; | 0 | ||||||||||||||||||||||||
290 | } | - | ||||||||||||||||||||||||
291 | - | |||||||||||||||||||||||||
292 | return dead code: 0;return 0; dead code: return 0; | - | ||||||||||||||||||||||||
293 | } | - | ||||||||||||||||||||||||
294 | - | |||||||||||||||||||||||||
295 | - | |||||||||||||||||||||||||
296 | - | |||||||||||||||||||||||||
297 | - | |||||||||||||||||||||||||
298 | - | |||||||||||||||||||||||||
299 | - | |||||||||||||||||||||||||
300 | int | - | ||||||||||||||||||||||||
301 | match_pattern_wchar (pat, string, flags) | - | ||||||||||||||||||||||||
302 | wchar_t *pat, *string; | - | ||||||||||||||||||||||||
303 | int flags; | - | ||||||||||||||||||||||||
304 | { | - | ||||||||||||||||||||||||
305 | wchar_t c; | - | ||||||||||||||||||||||||
306 | - | |||||||||||||||||||||||||
307 | if (*
| 0-2 | ||||||||||||||||||||||||
308 | return never executed: (*pat == L'*');return (*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:
executed 2 times by 1 test: default: Executed by:
| 2 | ||||||||||||||||||||||||
313 | return executed 2 times by 1 test: (((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (c) ? towlower (c) : (c)));return (((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (c) ? towlower (c) : (c))); Executed by:
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:
| 2 | ||||||||||||||||||||||||
314 | case never executed: L'\\':case L'\\': never executed: case L'\\': | 0 | ||||||||||||||||||||||||
315 | return never executed: (((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (*pat) ? towlower (*pat) : (*pat)));return (((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: L'?':case L'?': never executed: case L'?': | 0 | ||||||||||||||||||||||||
317 | return never executed: (*pat == L'(' ? 1 : (*string != L'\0'));return (*pat == L'(' ? 1 : (*string != L'\0')); never executed: return (*pat == L'(' ? 1 : (*string != L'\0')); | 0 | ||||||||||||||||||||||||
318 | case never executed: L'*':case L'*': never executed: case L'*': | 0 | ||||||||||||||||||||||||
319 | return never executed: (1);return (1); never executed: return (1); | 0 | ||||||||||||||||||||||||
320 | case never executed: L'+':case L'+': never executed: case L'+': | 0 | ||||||||||||||||||||||||
321 | case never executed: L'!':case L'!': never executed: case L'!': | 0 | ||||||||||||||||||||||||
322 | case never executed: L'@':case L'@': never executed: case L'@': | 0 | ||||||||||||||||||||||||
323 | return never executed: (*pat == L'(' ? 1 : (((flags & (1 << 4)) && iswupper (*string) ? towlower (*string) : (*string)) == ((flags & (1 << 4)) && iswupper (c) ? towlower (c) : (c))));return (*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: L'[':case L'[': never executed: case L'[': | 0 | ||||||||||||||||||||||||
325 | return never executed: (*string != L'\0');return (*string != L'\0'); never executed: return (*string != L'\0'); | 0 | ||||||||||||||||||||||||
326 | } | - | ||||||||||||||||||||||||
327 | } | - | ||||||||||||||||||||||||
328 | - | |||||||||||||||||||||||||
329 | int | - | ||||||||||||||||||||||||
330 | wmatchlen (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 (*
| 0-7 | ||||||||||||||||||||||||
338 | return never executed: (0);return (0); never executed: return (0); | 0 | ||||||||||||||||||||||||
339 | - | |||||||||||||||||||||||||
340 | matlen = in_cclass = in_collsym = in_equiv = 0; | - | ||||||||||||||||||||||||
341 | while (c = *pat++
| 7-14 | ||||||||||||||||||||||||
342 | { | - | ||||||||||||||||||||||||
343 | switch (c) | - | ||||||||||||||||||||||||
344 | { | - | ||||||||||||||||||||||||
345 | default executed 14 times by 1 test: :default: Executed by:
executed 14 times by 1 test: default: Executed by:
| 14 | ||||||||||||||||||||||||
346 | matlen++; | - | ||||||||||||||||||||||||
347 | break; executed 14 times by 1 test: break; Executed by:
| 14 | ||||||||||||||||||||||||
348 | case never executed: L'\\':case L'\\': never executed: case L'\\': | 0 | ||||||||||||||||||||||||
349 | if (*
| 0 | ||||||||||||||||||||||||
350 | return never executed: ++matlen;return ++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: L'?':case L'?': never executed: case L'?': | 0 | ||||||||||||||||||||||||
358 | if (*
| 0 | ||||||||||||||||||||||||
359 | return never executed: (matlen = -1);return (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: L'*':case L'*': never executed: case L'*': | 0 | ||||||||||||||||||||||||
364 | return never executed: (matlen = -1);return (matlen = -1); never executed: return (matlen = -1); | 0 | ||||||||||||||||||||||||
365 | case never executed: L'+':case L'+': never executed: case L'+': | 0 | ||||||||||||||||||||||||
366 | case never executed: L'!':case L'!': never executed: case L'!': | 0 | ||||||||||||||||||||||||
367 | case never executed: L'@':case L'@': never executed: case L'@': | 0 | ||||||||||||||||||||||||
368 | if (*
| 0 | ||||||||||||||||||||||||
369 | return never executed: (matlen = -1);return (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: L'[':case L'[': never executed: case L'[': | 0 | ||||||||||||||||||||||||
374 | - | |||||||||||||||||||||||||
375 | bracklen = 1; | - | ||||||||||||||||||||||||
376 | c = *pat++; | - | ||||||||||||||||||||||||
377 | do | - | ||||||||||||||||||||||||
378 | { | - | ||||||||||||||||||||||||
379 | if (c == 0
| 0 | ||||||||||||||||||||||||
380 | { | - | ||||||||||||||||||||||||
381 | pat--; | - | ||||||||||||||||||||||||
382 | matlen += bracklen; | - | ||||||||||||||||||||||||
383 | goto never executed: bad_bracket;goto bad_bracket; never executed: goto bad_bracket; | 0 | ||||||||||||||||||||||||
384 | } | - | ||||||||||||||||||||||||
385 | else if (c == L'\\'
| 0 | ||||||||||||||||||||||||
386 | { | - | ||||||||||||||||||||||||
387 | - | |||||||||||||||||||||||||
388 | bracklen++; | - | ||||||||||||||||||||||||
389 | - | |||||||||||||||||||||||||
390 | - | |||||||||||||||||||||||||
391 | if (*
| 0 | ||||||||||||||||||||||||
392 | { | - | ||||||||||||||||||||||||
393 | matlen += bracklen; | - | ||||||||||||||||||||||||
394 | goto never executed: bad_bracket;goto bad_bracket; never executed: goto bad_bracket; | 0 | ||||||||||||||||||||||||
395 | } | - | ||||||||||||||||||||||||
396 | } never executed: end of block | 0 | ||||||||||||||||||||||||
397 | else if (c == L'['
| 0 | ||||||||||||||||||||||||
398 | { | - | ||||||||||||||||||||||||
399 | pat++; | - | ||||||||||||||||||||||||
400 | bracklen++; | - | ||||||||||||||||||||||||
401 | in_cclass = 1; | - | ||||||||||||||||||||||||
402 | } never executed: end of block | 0 | ||||||||||||||||||||||||
403 | else if (in_cclass
| 0 | ||||||||||||||||||||||||
404 | { | - | ||||||||||||||||||||||||
405 | pat++; | - | ||||||||||||||||||||||||
406 | bracklen++; | - | ||||||||||||||||||||||||
407 | in_cclass = 0; | - | ||||||||||||||||||||||||
408 | } never executed: end of block | 0 | ||||||||||||||||||||||||
409 | else if (c == L'['
| 0 | ||||||||||||||||||||||||
410 | { | - | ||||||||||||||||||||||||
411 | pat++; | - | ||||||||||||||||||||||||
412 | bracklen++; | - | ||||||||||||||||||||||||
413 | if (*
| 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
| 0 | ||||||||||||||||||||||||
421 | { | - | ||||||||||||||||||||||||
422 | pat++; | - | ||||||||||||||||||||||||
423 | bracklen++; | - | ||||||||||||||||||||||||
424 | in_collsym = 0; | - | ||||||||||||||||||||||||
425 | } never executed: end of block | 0 | ||||||||||||||||||||||||
426 | else if (c == L'['
| 0 | ||||||||||||||||||||||||
427 | { | - | ||||||||||||||||||||||||
428 | pat++; | - | ||||||||||||||||||||||||
429 | bracklen++; | - | ||||||||||||||||||||||||
430 | if (*
| 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
| 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 ((
| 0 | ||||||||||||||||||||||||
447 | matlen++; | - | ||||||||||||||||||||||||
448 | bad_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: matlen;return matlen; Executed by:
executed 7 times by 1 test: return matlen; Executed by:
| 7 | ||||||||||||||||||||||||
454 | } | - | ||||||||||||||||||||||||
Switch to Source code | Preprocessed file |