Lines Matching refs:fprintf
415 if (fprintf(infop->dthi_out, "extern void __dtrace_%s___%s(",
420 if (fprintf(infop->dthi_out, "%s",
426 fprintf(infop->dthi_out, ", ") < 0)
430 if (i == 0 && fprintf(infop->dthi_out, "void") < 0)
433 if (fprintf(infop->dthi_out, ");\n") < 0)
436 if (fprintf(infop->dthi_out,
469 if (fprintf(infop->dthi_out, "#define\t%s_%s(",
474 if (fprintf(infop->dthi_out, "arg%d", i) < 0)
478 fprintf(infop->dthi_out, ", ") < 0)
483 if (fprintf(infop->dthi_out, ") \\\n\t") < 0)
486 if (fprintf(infop->dthi_out, "__dtrace_%s___%s(",
491 if (fprintf(infop->dthi_out, "arg%d", i) < 0)
495 fprintf(infop->dthi_out, ", ") < 0)
500 if (fprintf(infop->dthi_out, ")\n") < 0)
504 if (fprintf(infop->dthi_out,
519 if (fprintf(infop->dthi_out, "#define\t%s_%s_ENABLED() (0)\n",
555 if (fprintf(out, "#if _DTRACE_VERSION\n\n") < 0)
560 if (fprintf(out, "\n\n") < 0)
565 if (fprintf(out, "\n#else\n\n") < 0)
573 if (fprintf(out, "\n#endif\n\n") < 0)
591 if (fprintf(out, "#ifndef\t_%s\n#define\t_%s\n\n",
596 if (fprintf(out, "#include <unistd.h>\n\n") < 0)
599 if (fprintf(out, "#ifdef\t__cplusplus\nextern \"C\" {\n#endif\n\n") < 0)
608 if (fprintf(out, "\n#ifdef\t__cplusplus\n}\n#endif\n") < 0)
611 if (fname != NULL && fprintf(out, "\n#endif\t/* _%s */\n", mfname) < 0)