../3rdparty/pcre/pcre_refcount.c

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3extern int -
4pcre16_refcount(pcre16 *argument_re, int adjust) -
5 -
6{ -
7real_pcre16 *re = (real_pcre16 *)argument_re; -
8if (re == ((void *)0)) return (-2);
never executed: return (-2);
never evaluated: re == ((void *)0)
0
9if (re->magic_number != 0x50435245UL) return (-4);
never executed: return (-4);
never evaluated: re->magic_number != 0x50435245UL
0
10if ((re->flags & 0x0002) == 0) return (-28);
never executed: return (-28);
never evaluated: (re->flags & 0x0002) == 0
0
11re->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; -
14return re->ref_count;
never executed: return re->ref_count;
0
15} -
16 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial