Line | Source Code | Coverage |
---|
1 | | - |
2 | | - |
3 | extern int | - |
4 | pcre16_refcount(pcre16 *argument_re, int adjust) | - |
5 | | - |
6 | { | - |
7 | real_pcre16 *re = (real_pcre16 *)argument_re; | - |
8 | if (re == ((void *)0)) return (-2); never executed: return (-2); never evaluated: re == ((void *)0) | 0 |
9 | if (re->magic_number != 0x50435245UL) return (-4); never executed: return (-4); never evaluated: re->magic_number != 0x50435245UL | 0 |
10 | if ((re->flags & 0x0002) == 0) return (-28); never executed: return (-28); never evaluated: (re->flags & 0x0002) == 0 | 0 |
11 | re->ref_count = (-adjust > re->ref_count)? 0 : never evaluated: (-adjust > re->ref_count) | 0 |
12 | (adjust + re->ref_count > 65535)? 65535 : | - |
13 | re->ref_count + adjust; | - |
14 | return re->ref_count; never executed: return re->ref_count; | 0 |
15 | } | - |
16 | | - |
| | |