Lines Matching defs:n
230 "Please file a bug\n", __FILE__, __LINE__);
436 (void) fprintf(stderr, "Statistics:\n"
437 " %d libraries\n %d files\n"
438 " %d interfaces\n %d lines\n"
439 " %d errors\n %d warnings\n"
440 " %d skips\n"
441 "in %.0f seconds, at %.1f lines/minute.\n",
451 "spec2trace: %d errors %d warnings.\n",
529 errlog(VERBOSE, "name=\"%s\", value=\"%s\", line=%d\n",
553 name = strtok(p, " \t\n\r");
577 while ((p = strtok(t, " \r\t\n")) != NULL) {
676 int n;
680 n = MAXLINE - snprintf(buffer, MAXLINE, "%s", name_of(p));
684 n -= snprintf(strend(buffer), n,
744 errlog(VERBOSE, "parsing prototype: %s\n", tmp_proto);
748 errlog(FATAL|INPUT, "bad prototype: %s\n\t%s\n", parse_err, p);
756 " declaration name = %s\n", interface,
764 " (pointer to function)\n", interface);
787 errlog(VERBOSE, "f_name=%s, f_basetype=%s, f_type=%s\n",
824 "a_name = %s, a_basetype = %s, a_type = %s\n",
861 "/*\n"
862 " * Generated by spec2trace %s: do not edit this file.\n */\n\n",
866 "#ifndef true\n"
867 "#define\ttrue 1\n"
868 "#define\tfalse 0\n"
869 "#endif\n\n"
870 "static char const *oparen = \"(\";\n"
871 "static char const *retstr = \" return = \";\n"
872 "static char const *errnostr = \" errno = \";\n"
873 "static char const *nilstr = \"<nil>\";\n"
874 "\n");
921 (void) putc('\n', Headfp);
953 "/* Do not edit this file: it is a generated one. */\n\n"
954 "static char const *__abi_place_holder;\n\n");
980 (void) fprintf(Headfp, "#include %s\n", include);
982 (void) fprintf(Headfp, "\n#include <stdio.h>\n"
983 "#include <dlfcn.h>\n"
984 "#include <apptrace.h>\n\n");
986 errlog(TRACING, "\n");