Lines Matching refs:format
85 int format;
410 ret->format = 1;
412 ret->format = 2;
544 if (ctxt != NULL && ctxt->format == 2)
615 int format, level;
648 format = ctxt->format;
651 ctxt->format = 0;
655 ctxt->format = format;
675 if (ctxt->format == 2)
722 if ((ctxt->format == 1) && (xmlIndentTreeOutput) &&
731 if (ctxt->format == 1) {
806 int format;
874 if (ctxt->format == 2)
884 if (ctxt->format == 2)
937 format = ctxt->format;
938 if (format == 1) {
944 ctxt->format = 0;
964 if (ctxt->format == 2)
967 ctxt->format = format;
970 if (ctxt->format == 2)
977 if (ctxt->format == 1) xmlOutputBufferWrite(buf, 1, "\n");
981 if ((xmlIndentTreeOutput) && (ctxt->format == 1))
994 if (ctxt->format == 2)
997 ctxt->format = format;
1317 * @format: is formatting allowed
1321 * Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1
1331 if ((ctxt->format == 1) && (xmlIndentTreeOutput) &&
1338 if (ctxt->format == 1) {
1351 * @format: is formatting allowed
1358 int format, addmeta = 0;
1467 format = ctxt->format;
1468 if (format == 1) {
1473 format = 0;
1535 if (ctxt->format == 1) {
1550 if (ctxt->format == 1)
1570 if (ctxt->format == 1) {
1613 int indent = ctxt->format;
1616 ctxt->format = 0;
1621 ctxt->format = indent;
1649 int indent = ctxt->format;
1652 ctxt->format = 0;
1655 ctxt->format = indent;
1663 int indent = ctxt->format;
1665 if (format == 1) xmlOutputBufferWrite(buf, 1, "\n");
1667 ctxt->format = format;
1670 ctxt->format = indent;
1671 if ((xmlIndentTreeOutput) && (format == 1))
2074 * @format: is formatting allowed
2077 * Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1
2084 int format)
2120 xmlNodeDumpOutput(outbuf, doc, cur, level, format, NULL);
2181 * @format: is formatting allowed
2185 * Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1
2190 int level, int format, const char *encoding)
2209 ctxt.format = format ? 1 : 0;
2235 * @format: should formatting spaces been added
2240 * Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1
2247 int format) {
2295 ctxt.format = format ? 1 : 0;
2339 * @format: should formatting spaces been added
2344 * Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1
2348 xmlDocDumpFormatMemory(xmlDocPtr cur, xmlChar**mem, int *size, int format) {
2349 xmlDocDumpFormatMemoryEnc(cur, mem, size, NULL, format);
2375 * @format: should formatting spaces been added
2380 * Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1
2384 xmlDocFormatDump(FILE *f, xmlDocPtr cur, int format) {
2414 ctxt.format = format ? 1 : 0;
2464 ctxt.format = 0;
2478 * @format: should formatting spaces been added
2488 const char *encoding, int format)
2504 ctxt.format = format ? 1 : 0;
2518 * @format: should formatting spaces be added.
2523 * Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1
2528 const char * encoding, int format ) {
2559 ctxt.format = format ? 1 : 0;
2590 * @format: should formatting spaces been added
2594 * used. If @format is set then the document will be indented on output.
2595 * Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1
2601 xmlSaveFormatFile(const char *filename, xmlDocPtr cur, int format) {
2602 return ( xmlSaveFormatFileEnc( filename, cur, NULL, format ) );