Lines Matching refs:fprintf
116 if (PRINTABLE(c)) fprintf(f, "%c", (char)c); in print_char()
117 else if (c < 0x80) fprintf(f, "\\x%02x", c); in print_char()
118 else fprintf(f, "\\x{%02x}", c); in print_char()
137 fprintf(f, "\\X{%x}", c); /* Invalid starting byte */ in print_char()
150 fprintf(f, "\\X{%x}", c); /* Invalid secondary byte */ in print_char()
156 fprintf(f, "\\x{%x}", c); in print_char()
167 fprintf(f, "\\X{%x}", c); in print_char()
171 fprintf(f, "\\x{%x}", c); in print_char()
180 fprintf(f, "\\X{%x}", c); in print_char()
210 if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x{%x}", c); in print_custring()
220 if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x{%x}", c); in print_custring_bylen()
276 fprintf(f, "%s%s %s%s", before, OP_names[*code], get_ucpname(code[1], in print_prop()
283 fprintf (f, "%s%sclist", before, not); in print_prop()
284 while (*p < NOTACHAR) fprintf(f, " %04x", *p++); in print_prop()
285 fprintf(f, "%s", after); in print_prop()
326 fprintf(f, "%3d ", (int)(code - codestart)); in pcre2_printint()
328 fprintf(f, " "); in pcre2_printint()
347 fprintf(f, " %s\n", OP_names[*code]); in pcre2_printint()
348 fprintf(f, "------------------------------------------------------------------\n"); in pcre2_printint()
352 fprintf(f, " "); in pcre2_printint()
359 fprintf(f, "\n"); in pcre2_printint()
363 fprintf(f, " /i "); in pcre2_printint()
370 fprintf(f, "\n"); in pcre2_printint()
377 if (print_lengths) fprintf(f, "%3d ", GET(code, 1)); in pcre2_printint()
378 else fprintf(f, " "); in pcre2_printint()
379 fprintf(f, "%s %d", OP_names[*code], GET2(code, 1+LINK_SIZE)); in pcre2_printint()
399 if (print_lengths) fprintf(f, "%3d ", GET(code, 1)); in pcre2_printint()
400 else fprintf(f, " "); in pcre2_printint()
401 fprintf(f, "%s", OP_names[*code]); in pcre2_printint()
405 fprintf(f, " %s %d", OP_names[*code], GET2(code, 1)); in pcre2_printint()
409 fprintf(f, "%3d %s", GET2(code,1), OP_names[*code]); in pcre2_printint()
415 fprintf(f, " %s Cond ref <", flag); in pcre2_printint()
417 fprintf(f, ">%d", GET2(code, 1 + IMM2_SIZE)); in pcre2_printint()
424 fprintf(f, " Cond recurse any"); in pcre2_printint()
426 fprintf(f, " Cond recurse %d", c); in pcre2_printint()
432 fprintf(f, " %s Cond recurse <", flag); in pcre2_printint()
434 fprintf(f, ">%d", GET2(code, 1 + IMM2_SIZE)); in pcre2_printint()
439 fprintf(f, " Cond false"); in pcre2_printint()
443 fprintf(f, " Cond true"); in pcre2_printint()
475 fprintf(f, " %s ", flag); in pcre2_printint()
484 else fprintf(f, "%s", OP_names[code[1]]); in pcre2_printint()
487 fprintf(f, "%s", OP_names[*code]); in pcre2_printint()
500 fprintf(f, " %s ", flag); in pcre2_printint()
502 fprintf(f, "{"); in pcre2_printint()
503 if (*code != OP_EXACT && *code != OP_EXACTI) fprintf(f, "0,"); in pcre2_printint()
504 fprintf(f, "%d}", GET2(code,1)); in pcre2_printint()
505 if (*code == OP_MINUPTO || *code == OP_MINUPTOI) fprintf(f, "?"); in pcre2_printint()
506 else if (*code == OP_POSUPTO || *code == OP_POSUPTOI) fprintf(f, "+"); in pcre2_printint()
518 else fprintf(f, " %s", OP_names[code[1 + IMM2_SIZE]]); in pcre2_printint()
519 fprintf(f, "{"); in pcre2_printint()
520 if (*code != OP_TYPEEXACT) fprintf(f, "0,"); in pcre2_printint()
521 fprintf(f, "%d}", GET2(code,1)); in pcre2_printint()
522 if (*code == OP_TYPEMINUPTO) fprintf(f, "?"); in pcre2_printint()
523 else if (*code == OP_TYPEPOSUPTO) fprintf(f, "+"); in pcre2_printint()
530 fprintf(f, " %s [^", flag); in pcre2_printint()
532 fprintf(f, "]"); in pcre2_printint()
556 fprintf(f, " %s [^", flag); in pcre2_printint()
558 fprintf(f, "]%s", OP_names[*code]); in pcre2_printint()
572 fprintf(f, " %s [^", flag); in pcre2_printint()
574 fprintf(f, "]{"); in pcre2_printint()
575 if (*code != OP_NOTEXACT && *code != OP_NOTEXACTI) fprintf(f, "0,"); in pcre2_printint()
576 fprintf(f, "%d}", GET2(code,1)); in pcre2_printint()
577 if (*code == OP_NOTMINUPTO || *code == OP_NOTMINUPTOI) fprintf(f, "?"); in pcre2_printint()
579 if (*code == OP_NOTPOSUPTO || *code == OP_NOTPOSUPTOI) fprintf(f, "+"); in pcre2_printint()
583 if (print_lengths) fprintf(f, "%3d ", GET(code, 1)); in pcre2_printint()
584 else fprintf(f, " "); in pcre2_printint()
585 fprintf(f, "%s", OP_names[*code]); in pcre2_printint()
592 fprintf(f, " %s \\%d", flag, GET2(code,1)); in pcre2_printint()
602 fprintf(f, " %s \\k<", flag); in pcre2_printint()
604 fprintf(f, ">%d", GET2(code, 1 + IMM2_SIZE)); in pcre2_printint()
610 fprintf(f, " %s %d %d %d", OP_names[*code], code[1 + 2*LINK_SIZE], in pcre2_printint()
616 fprintf(f, " %s %c", OP_names[*code], c); in pcre2_printint()
625 fprintf(f, "%c %d %d %d", c, GET(code, 1 + 3*LINK_SIZE), GET(code, 1), in pcre2_printint()
648 fprintf(f, " ["); in pcre2_printint()
658 fprintf(f, "^"); in pcre2_printint()
686 if (i == '-' || i == ']') fprintf(f, "\\"); in pcre2_printint()
687 if (PRINTABLE(i)) fprintf(f, "%c", i); in pcre2_printint()
688 else fprintf(f, "\\x%02x", i); in pcre2_printint()
691 if (j != i + 1) fprintf(f, "-"); in pcre2_printint()
692 if (j == '-' || j == ']') fprintf(f, "\\"); in pcre2_printint()
693 if (PRINTABLE(j)) fprintf(f, "%c", j); in pcre2_printint()
694 else fprintf(f, "\\x%02x", j); in pcre2_printint()
727 fprintf(f, "[:%sgraph:]", notch); in pcre2_printint()
731 fprintf(f, "[:%sprint:]", notch); in pcre2_printint()
735 fprintf(f, "[:%spunct:]", notch); in pcre2_printint()
739 fprintf(f, "\\%c{%s}", (not? 'P':'p'), in pcre2_printint()
750 fprintf(f, "-"); in pcre2_printint()
760 fprintf(f, "]%s", (*code == OP_NCLASS)? " (neg)" : ""); in pcre2_printint()
776 fprintf(f, "%s", OP_names[*ccode]); in pcre2_printint()
785 if (max == 0) fprintf(f, "{%u,}", min); in pcre2_printint()
786 else fprintf(f, "{%u,%u}", min, max); in pcre2_printint()
787 if (*ccode == OP_CRMINRANGE) fprintf(f, "?"); in pcre2_printint()
788 else if (*ccode == OP_CRPOSRANGE) fprintf(f, "+"); in pcre2_printint()
806 fprintf(f, " %s ", OP_names[*code]); in pcre2_printint()
812 fprintf(f, " %s", OP_names[*code]); in pcre2_printint()
823 fprintf(f, " %s %s", flag, OP_names[*code]); in pcre2_printint()
828 fprintf(f, "\n"); in pcre2_printint()