Lines Matching refs:stdout
242 fprintf(stdout, "\n#define %s \\\n", name);
243 fprintf(stdout, "\tswitch (%s) { \\\n" /*}*/, tsw);
248 fprintf(stdout, "\t\tdefault: break; \\\n");
250 fprintf(stdout,
252 fputs(/*{*/ "\t\t} \\\n", stdout);
253 fputs("\t\tbreak; \\\n", stdout);
257 fprintf(stdout, "\tcase %d: switch (%s) { \\\n" /*}*/,
262 fprintf(stdout,
267 fprintf(stdout,
272 fputs(" \\\n", stdout);
277 fprintf(stdout, "\t\tdefault: break; \\\n");
279 fprintf(stdout, "\t\tdefault: %s; break; \\\n", res);
280 fputs(/*{*/ "\t\t} \\\n", stdout);
281 fputs("\t\tbreak; \\\n", stdout);
285 fprintf(stdout, "\n#define %s\n", name);
287 fprintf(stdout, "\n#define %s %s;\n", name, res);
290 fprintf(stdout, "\tdefault: break; \\\n");
292 fprintf(stdout, "\tdefault: %s; break; \\\n", res);
293 fputs(/*{*/ "\t}\n", stdout);
628 if (!depend) fprintf(stdout, copyright, year);
631 fputs("#ifndef DNS_CODE_H\n", stdout);
632 fputs("#define DNS_CODE_H 1\n\n", stdout);
634 fputs("#include <isc/boolean.h>\n", stdout);
635 fputs("#include <isc/result.h>\n\n", stdout);
636 fputs("#include <dns/name.h>\n\n", stdout);
639 fprintf(stdout, "#include \"%s/%s_%d.c\"\n",
642 fputs("\n\n", stdout);
713 fprintf(stdout, "#define RDATATYPE_COMPARE(_s, _d, _tn, _n, _tp) \\\n");
714 fprintf(stdout, "\tdo { \\\n");
715 fprintf(stdout, "\t\tif (sizeof(_s) - 1 == _n && \\\n"
718 fprintf(stdout, "\t\t\tif ((dns_rdatatype_attributes(_d) & "
720 fprintf(stdout, "\t\t\t\treturn (ISC_R_NOTIMPLEMENTED); \\\n");
721 fprintf(stdout, "\t\t\t*(_tp) = _d; \\\n");
722 fprintf(stdout, "\t\t\treturn (ISC_R_SUCCESS); \\\n");
723 fprintf(stdout, "\t\t} \\\n");
724 fprintf(stdout, "\t} while (0)\n\n");
726 fprintf(stdout, "#define RDATATYPE_FROMTEXT_SW(_hash,"
728 fprintf(stdout, "\tswitch (_hash) { \\\n");
741 fprintf(stdout, "\t\tcase %u: \\\n", hash);
752 fprintf(stdout, "\t\t\tRDATATYPE_COMPARE"
759 fprintf(stdout, "\t\t\tbreak; \\\n");
761 fprintf(stdout, "\t}\n");
763 fprintf(stdout, "#define RDATATYPE_ATTRIBUTE_SW \\\n");
764 fprintf(stdout, "\tswitch (type) { \\\n");
769 fprintf(stdout, "\tcase %u: return (%s); \\\n",
772 fprintf(stdout, "\t}\n");
774 fprintf(stdout, "#define RDATATYPE_TOTEXT_SW \\\n");
775 fprintf(stdout, "\tswitch (type) { \\\n");
780 fprintf(stdout, "\tcase %u: return "
784 fprintf(stdout, "\t}\n");
786 fputs("#endif /* DNS_CODE_H */\n", stdout);
790 fprintf(stdout, "#ifndef DNS_ENUMTYPE_H\n");
791 fprintf(stdout, "#define DNS_ENUMTYPE_H 1\n\n");
793 fprintf(stdout, "enum {\n");
794 fprintf(stdout, "\tdns_rdatatype_none = 0,\n");
799 fprintf(stdout,
804 fprintf(stdout, "\tdns_rdatatype_ixfr = 251,\n");
805 fprintf(stdout, "\tdns_rdatatype_axfr = 252,\n");
806 fprintf(stdout, "\tdns_rdatatype_mailb = 253,\n");
807 fprintf(stdout, "\tdns_rdatatype_maila = 254,\n");
808 fprintf(stdout, "\tdns_rdatatype_any = 255\n");
810 fprintf(stdout, "};\n\n");
812 fprintf(stdout, "#define dns_rdatatype_none\t"
818 fprintf(stdout,
826 fprintf(stdout, "#define dns_rdatatype_ixfr\t"
828 fprintf(stdout, "#define dns_rdatatype_axfr\t"
830 fprintf(stdout, "#define dns_rdatatype_mailb\t"
832 fprintf(stdout, "#define dns_rdatatype_maila\t"
834 fprintf(stdout, "#define dns_rdatatype_any\t"
837 fprintf(stdout, "\n#endif /* DNS_ENUMTYPE_H */\n");
843 fprintf(stdout, "#ifndef DNS_ENUMCLASS_H\n");
844 fprintf(stdout, "#define DNS_ENUMCLASS_H 1\n\n");
846 fprintf(stdout, "enum {\n");
848 fprintf(stdout, "\tdns_rdataclass_reserved0 = 0,\n");
849 fprintf(stdout, "#define dns_rdataclass_reserved0 \\\n\t\t\t\t"
856 fprintf(stdout, "\tdns_rdataclass_%s = %d%s\n", s, classnum, \
858 fprintf(stdout, "#define dns_rdataclass_%s\t" \
872 fprintf(stdout, "};\n\n");
873 fprintf(stdout, "#endif /* DNS_ENUMCLASS_H */\n");
878 fputs(buf, stdout);
887 fputs(buf, stdout);
894 fputs(buf, stdout);
900 fprintf(stdout, "%s:\t%s/%s_%d.h\n", file,
904 if (ferror(stdout) != 0)