line |
true |
false |
branch |
125
|
0 |
0 |
if (PRINTABLE(c)) fprintf(f, "%c", (char)c); |
|
0 |
0 |
if (PRINTABLE(c)) fprintf(f, "%c", (char)c); |
126
|
0 |
0 |
else if (c <= 0x80) fprintf(f, "\\x%02x", c); |
224
|
0 |
0 |
while (*ptr != '\0') |
227
|
0 |
0 |
if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x{%x}", c); |
|
0 |
0 |
if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x{%x}", c); |
266
|
0 |
0 |
if (code[1] != PT_CLIST) |
273
|
0 |
0 |
const char *not = (*code == OP_PROP)? "" : "not "; |
321
|
0 |
0 |
if (re->magic_number != MAGIC_NUMBER) |
343
|
0 |
0 |
if (print_lengths) |
376
|
0 |
0 |
while (*code == OP_CHAR); |
387
|
0 |
0 |
while (*code == OP_CHARI); |
395
|
0 |
0 |
if (print_lengths) fprintf(f, "%3d ", GET(code, 1)); |
418
|
0 |
0 |
if (print_lengths) fprintf(f, "%3d ", GET(code, 1)); |
443
|
0 |
0 |
if (c == RREF_ANY) |
493
|
0 |
0 |
if (*code >= OP_TYPESTAR) |
495
|
0 |
0 |
if (code[1] == OP_PROP || code[1] == OP_NOTPROP) |
|
0 |
0 |
if (code[1] == OP_PROP || code[1] == OP_NOTPROP) |
519
|
0 |
0 |
if (*code != OP_EXACT && *code != OP_EXACTI) fprintf(f, "0,"); |
|
0 |
0 |
if (*code != OP_EXACT && *code != OP_EXACTI) fprintf(f, "0,"); |
521
|
0 |
0 |
if (*code == OP_MINUPTO || *code == OP_MINUPTOI) fprintf(f, "?"); |
|
0 |
0 |
if (*code == OP_MINUPTO || *code == OP_MINUPTOI) fprintf(f, "?"); |
522
|
0 |
0 |
else if (*code == OP_POSUPTO || *code == OP_POSUPTOI) fprintf(f, "+"); |
|
0 |
0 |
else if (*code == OP_POSUPTO || *code == OP_POSUPTOI) fprintf(f, "+"); |
529
|
0 |
0 |
if (code[1 + IMM2_SIZE] == OP_PROP || code[1 + IMM2_SIZE] == OP_NOTPROP) |
|
0 |
0 |
if (code[1 + IMM2_SIZE] == OP_PROP || code[1 + IMM2_SIZE] == OP_NOTPROP) |
536
|
0 |
0 |
if (*code != OP_TYPEEXACT) fprintf(f, "0,"); |
538
|
0 |
0 |
if (*code == OP_TYPEMINUPTO) fprintf(f, "?"); |
539
|
0 |
0 |
else if (*code == OP_TYPEPOSUPTO) fprintf(f, "+"); |
591
|
0 |
0 |
if (*code != OP_NOTEXACT && *code != OP_NOTEXACTI) fprintf(f, "0,"); |
|
0 |
0 |
if (*code != OP_NOTEXACT && *code != OP_NOTEXACTI) fprintf(f, "0,"); |
593
|
0 |
0 |
if (*code == OP_NOTMINUPTO || *code == OP_NOTMINUPTOI) fprintf(f, "?"); |
|
0 |
0 |
if (*code == OP_NOTMINUPTO || *code == OP_NOTMINUPTOI) fprintf(f, "?"); |
595
|
0 |
0 |
if (*code == OP_NOTPOSUPTO || *code == OP_NOTPOSUPTOI) fprintf(f, "+"); |
|
0 |
0 |
if (*code == OP_NOTPOSUPTO || *code == OP_NOTPOSUPTOI) fprintf(f, "+"); |
599
|
0 |
0 |
if (print_lengths) fprintf(f, "%3d ", GET(code, 1)); |
653
|
0 |
0 |
if (*code == OP_XCLASS) |
658
|
0 |
0 |
if ((*ccode & XCL_NOT) != 0) |
673
|
0 |
0 |
if (printmap) |
676
|
0 |
0 |
if (invertmap) |
678
|
0 |
0 |
for (i = 0; i < 32; i++) inverted_map[i] = ~map[i]; |
682
|
0 |
0 |
for (i = 0; i < 256; i++) |
684
|
0 |
0 |
if ((map[i/8] & (1 << (i&7))) != 0) |
687
|
0 |
0 |
for (j = i+1; j < 256; j++) |
688
|
0 |
0 |
if ((map[j/8] & (1 << (j&7))) == 0) break; |
689
|
0 |
0 |
if (i == '-' || i == ']') fprintf(f, "\\"); |
|
0 |
0 |
if (i == '-' || i == ']') fprintf(f, "\\"); |
690
|
0 |
0 |
if (PRINTABLE(i)) fprintf(f, "%c", i); |
|
0 |
0 |
if (PRINTABLE(i)) fprintf(f, "%c", i); |
692
|
0 |
0 |
if (--j > i) |
694
|
0 |
0 |
if (j != i + 1) fprintf(f, "-"); |
695
|
0 |
0 |
if (j == '-' || j == ']') fprintf(f, "\\"); |
|
0 |
0 |
if (j == '-' || j == ']') fprintf(f, "\\"); |
696
|
0 |
0 |
if (PRINTABLE(j)) fprintf(f, "%c", j); |
|
0 |
0 |
if (PRINTABLE(j)) fprintf(f, "%c", j); |
707
|
0 |
0 |
if (*code == OP_XCLASS) |
710
|
0 |
0 |
while ((ch = *ccode++) != XCL_END) |
742
|
0 |
0 |
fprintf(f, "\\%c{%s}", (not? 'P':'p'), |
751
|
0 |
0 |
if (ch == XCL_RANGE) |
763
|
0 |
0 |
fprintf(f, "]%s", (*code == OP_NCLASS)? " (neg)" : ""); |
788
|
0 |
0 |
if (max == 0) fprintf(f, "{%u,}", min); |
790
|
0 |
0 |
if (*ccode == OP_CRMINRANGE) fprintf(f, "?"); |
791
|
0 |
0 |
else if (*ccode == OP_CRPOSRANGE) fprintf(f, "+"); |