Lines Matching refs:output
193 /* make relevant output appear before error message */
195 (void) fprintf(stderr, "Error flushing output: %s\n",
206 * Write message to standard output
209 output(const char *format, ...)
216 error(gettext("Error writing output: %s\n"),
229 error(gettext("Error writing output: %s\n"),
244 error(gettext("Error writing output: %s\n"),
277 error(gettext("Error writing output: %s\n"),
325 output("<!ELEMENT FRUID_XML_Tree (Parameter*, "
379 output("<!ELEMENT %s (%s", element[i],
382 output("<!ELEMENT %s (Index_%s*)>\n"
389 output(",\n\t%s", def->enumTable[j].text);
391 output(")>\n");
393 output("<!ELEMENT %s EMPTY>\n"
398 output("<!-- %s valid enumeration values\n");
400 output("\t\"");
402 output("\"\n");
404 output("-->\n");
408 output("<!ELEMENT %s (Index*)>\n", element[i]);
410 output("\n");
414 output("<!ATTLIST UNKNOWN tag CDATA \"UNKNOWN\">\n\n");
420 output("<!ELEMENT Segment ((UNKNOWN");
422 if (tagged[i]) output("\n\t| %s", element[i]);
425 output(")*)>\n");
471 output("%s", tmp2);
504 output("%c%c%c%c%c%c%c%c",
529 output("%d", valueint);
536 output((def->dispType == FDISP_Octal) ?
540 output((def->dispType == FDISP_Octal) ?
586 output("\n");
644 output("-");
645 output("%2.2x", field[i]);
663 output("0x%2.2X (%s)", *(field),
666 output("0x%2.2X (UNKNOWN)", *(field));
681 output("%2.2X", field[i]);
688 output(" (");
690 output(")");
766 output("%*s<%s>\n", indent, "", path);
769 output("%*s<%s value=\"", indent, "", path);
771 output("%s\"/>\n", timestring);
773 output("%*s<%s value=\"", indent, "", path);
775 output("%2.2x", data[cnt]);
777 output(":");
780 output("\"/>\n");
782 output("%*s<%s value=\"", indent, "", path);
784 output("%2.2x\"/>\n", data[10]);
786 output("%*s<%s value=\"", indent, "", path);
788 output("%2.2x\"/>\n", data[11]);
790 output("%*s<%s value=\"", indent, "", path);
792 output("%2.2x\"/>\n", data[12]);
794 output("%*s<%s value=\"", indent, "", path);
796 output("%2.2x", data[cnt]);
798 output("\"/>\n");
801 output("%*s</%s>\n", indent, "", path);
804 output("%*s%s\n", indent, "", path);
807 output("%*s%s: ", indent, "", path);
808 output("%s\n", timestring);
810 output("%*s%s: ", indent, "", path);
812 output("%2.2x", data[cnt]);
814 output(":");
816 output("\n");
818 output("%*s%s: ", indent, "", path);
819 output("%2.2x\n", data[10]);
821 output("%*s%s: ", indent, "", path);
822 output("%2.2x\n", data[11]);
825 output("%*s%s: ", indent, "", path);
826 output("%2.2x\n", data[12]);
828 output("%*s%s: ", indent, "", path);
830 output("%2.2x", data[cnt]);
831 output("\n");
858 output("%*s<%s>\n", indent, "", path);
861 output("%*s<%s value=\"", indent, "", path);
863 output("%s\"/>\n", timestring);
865 output("%*s<%s value=\"", indent, "", path);
867 output("%2.2x", data[cnt]);
869 output("\"/>\n");
872 output("%*s</%s>\n", indent, "", path);
875 output("%*s%s\n", indent, "", path);
878 output("%*s%s: ", indent, "", path);
879 output("%s\n", timestring);
882 output("%*s%s: ", indent, "", path);
884 output("%2.2x", data[cnt]);
885 output("\n");
946 output("%*s<%s>\n", indent, "", path);
948 output("%*s%s (%d iterations)\n", indent, "", path,
963 if (xml) output("%*s</%s>\n", indent, "", path);
969 output("%*s<%s>\n", indent, "", path);
971 output("%*s%s\n", indent, "", path);
984 if (xml) output("%*s</%s>\n", indent, "", path);
993 output(format, indent, "", path);
996 output("\"/>\n"); /* \" confuses cstyle */
1026 output("%*s%s: ", indent, "", path);
1028 output("\n");
1105 output("%*s<Segment name=\"%s\">\n", INDENT, "", name);
1107 output("%*sSEGMENT: %s\n", INDENT, "", name);
1110 if (xml) output("%*s</Segment>\n", INDENT, "");
1122 if (xml) output("%*s</Segment>\n", INDENT, "");
1134 output("%s%s\n", path,
1148 output("</Location> <!-- %s -->\n", args);
1159 output("</Fru> <!-- %s -->\n", args);
1171 output("</Container> <!-- %s -->\n", args);
1184 output("<Fru name=\"%s\">\n", name);
1188 output("<Container name=\"%s\">\n", name);
1192 output("<Location name=\"%s\">\n", name);
1234 if (xml) output("<ContainerData>\n");
1243 if (xml) output("</ContainerData>\n");
1278 output("<ErrorLog>\n");
1283 output("</ErrorLog>\n");
1293 output("</FRUID_XML_Tree>\n");
1314 /* Help arrange for correct, efficient interleaving of output */
1333 output("<?xml version=\"1.0\" ?>\n"