Lines Matching refs:fprintf

81 if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x%02x", c);
87 if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x%02x", c);
104 fprintf(f, "\\X{%x}", c);
113 if (c < 128) fprintf(f, "\\x%02x", c); else fprintf(f, "\\x{%x}", c);
187 fprintf(f, "%3d ", (int)(code - codestart));
189 fprintf(f, " ");
213 fprintf(f, " %s\n", OP_names[*code]);
214 fprintf(f, "------------------------------------------------------------------\n");
218 fprintf(f, " %.2x %s", code[1], OP_names[*code]);
222 fprintf(f, " ");
229 fprintf(f, "\n");
233 fprintf(f, " NC ");
240 fprintf(f, "\n");
245 if (print_lengths) fprintf(f, "%3d ", GET(code, 1));
246 else fprintf(f, " ");
247 fprintf(f, "%s %d", OP_names[*code], GET2(code, 1+LINK_SIZE));
264 if (print_lengths) fprintf(f, "%3d ", GET(code, 1));
265 else fprintf(f, " ");
266 fprintf(f, "%s", OP_names[*code]);
270 fprintf(f, " %s %d", OP_names[*code], GET2(code, 1));
275 fprintf(f, "%3d %s", GET2(code,1), OP_names[*code]);
281 fprintf(f, " Cond recurse any");
283 fprintf(f, " Cond recurse %d", c);
289 fprintf(f, " Cond nrecurse any");
291 fprintf(f, " Cond nrecurse %d", c);
295 fprintf(f, " Cond def");
316 fprintf(f, " ");
319 fprintf(f, "%s", OP_names[code[1]]);
322 fprintf(f, " %s ", get_ucpname(code[2], code[3]));
327 fprintf(f, "%s", OP_names[*code]);
334 fprintf(f, " ");
336 fprintf(f, "{");
337 if (*code != OP_EXACT) fprintf(f, "0,");
338 fprintf(f, "%d}", GET2(code,1));
339 if (*code == OP_MINUPTO) fprintf(f, "?");
340 else if (*code == OP_POSUPTO) fprintf(f, "+");
347 fprintf(f, " %s", OP_names[code[3]]);
350 fprintf(f, " %s ", get_ucpname(code[4], code[5]));
353 fprintf(f, "{");
354 if (*code != OP_TYPEEXACT) fprintf(f, "0,");
355 fprintf(f, "%d}", GET2(code,1));
356 if (*code == OP_TYPEMINUPTO) fprintf(f, "?");
357 else if (*code == OP_TYPEPOSUPTO) fprintf(f, "+");
362 if (PRINTABLE(c)) fprintf(f, " [^%c]", c);
363 else fprintf(f, " [^\\x%02x]", c);
376 if (PRINTABLE(c)) fprintf(f, " [^%c]", c);
377 else fprintf(f, " [^\\x%02x]", c);
378 fprintf(f, "%s", OP_names[*code]);
386 if (PRINTABLE(c)) fprintf(f, " [^%c]{", c);
387 else fprintf(f, " [^\\x%02x]{", c);
388 if (*code != OP_NOTEXACT) fprintf(f, "0,");
389 fprintf(f, "%d}", GET2(code,1));
390 if (*code == OP_NOTMINUPTO) fprintf(f, "?");
391 else if (*code == OP_NOTPOSUPTO) fprintf(f, "+");
395 if (print_lengths) fprintf(f, "%3d ", GET(code, 1));
396 else fprintf(f, " ");
397 fprintf(f, "%s", OP_names[*code]);
401 fprintf(f, " \\%d", GET2(code,1));
406 fprintf(f, " %s %d %d %d", OP_names[*code], code[1], GET(code,2),
412 fprintf(f, " %s %s", OP_names[*code], get_ucpname(code[1], code[2]));
426 fprintf(f, " [");
433 if ((*ccode++ & XCL_NOT) != 0) fprintf(f, "^");
452 if (i == '-' || i == ']') fprintf(f, "\\");
453 if (PRINTABLE(i)) fprintf(f, "%c", i);
454 else fprintf(f, "\\x%02x", i);
457 if (j != i + 1) fprintf(f, "-");
458 if (j == '-' || j == ']') fprintf(f, "\\");
459 if (PRINTABLE(j)) fprintf(f, "%c", j);
460 else fprintf(f, "\\x%02x", j);
479 fprintf(f, "\\p{%s}", get_ucpname(ptype, pvalue));
485 fprintf(f, "\\P{%s}", get_ucpname(ptype, pvalue));
492 fprintf(f, "-");
501 fprintf(f, "]%s", (*code == OP_NCLASS)? " (neg)" : "");
514 fprintf(f, "%s", OP_names[*ccode]);
522 if (max == 0) fprintf(f, "{%d,}", min);
523 else fprintf(f, "{%d,%d}", min, max);
524 if (*ccode == OP_CRMINRANGE) fprintf(f, "?");
540 fprintf(f, " %s %s", OP_names[*code], code + 2);
546 fprintf(f, " %s %d", OP_names[*code], GET(code, 1));
548 fprintf(f, " %s", OP_names[*code]);
553 fprintf(f, " %s %d %s", OP_names[*code], GET(code, 1),
556 fprintf(f, " %s %s", OP_names[*code], code + 2 + LINK_SIZE);
563 fprintf(f, " %s", OP_names[*code]);
568 fprintf(f, "\n");