Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/bash/src/lib/glob/strmatch.c |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | - | |||||||||||||
2 | - | |||||||||||||
3 | extern int xstrmatch (char *, char *, int); | - | ||||||||||||
4 | - | |||||||||||||
5 | extern int internal_wstrmatch (wchar_t *, wchar_t *, int); | - | ||||||||||||
6 | - | |||||||||||||
7 | - | |||||||||||||
8 | int | - | ||||||||||||
9 | strmatch (pattern, string, flags) | - | ||||||||||||
10 | char *pattern; | - | ||||||||||||
11 | char *string; | - | ||||||||||||
12 | int flags; | - | ||||||||||||
13 | { | - | ||||||||||||
14 | if (string == 0
| 0-48823648 | ||||||||||||
15 | return never executed: 1;return 1; never executed: return 1; | 0 | ||||||||||||
16 | - | |||||||||||||
17 | return executed 48823648 times by 1 test: (xstrmatch (pattern, string, flags));return (xstrmatch (pattern, string, flags)); Executed by:
executed 48823648 times by 1 test: return (xstrmatch (pattern, string, flags)); Executed by:
| 48823648 | ||||||||||||
18 | } | - | ||||||||||||
19 | - | |||||||||||||
20 | - | |||||||||||||
21 | int | - | ||||||||||||
22 | wcsmatch (wpattern, wstring, flags) | - | ||||||||||||
23 | wchar_t *wpattern; | - | ||||||||||||
24 | wchar_t *wstring; | - | ||||||||||||
25 | int flags; | - | ||||||||||||
26 | { | - | ||||||||||||
27 | if (wstring == 0
| 0-9622991 | ||||||||||||
28 | return never executed: (1);return (1); never executed: return (1); | 0 | ||||||||||||
29 | - | |||||||||||||
30 | return executed 9622991 times by 1 test: (internal_wstrmatch (wpattern, wstring, flags));return (internal_wstrmatch (wpattern, wstring, flags)); Executed by:
executed 9622991 times by 1 test: return (internal_wstrmatch (wpattern, wstring, flags)); Executed by:
| 9622991 | ||||||||||||
31 | } | - | ||||||||||||
Switch to Source code | Preprocessed file |