Lines Matching refs:outbuf
2015 xmlOutputBufferPtr outbuf;
2033 outbuf = (xmlOutputBufferPtr) xmlMalloc(sizeof(xmlOutputBuffer));
2034 if (outbuf == NULL) {
2038 memset(outbuf, 0, (size_t) sizeof(xmlOutputBuffer));
2039 outbuf->buffer = buf;
2040 outbuf->encoder = NULL;
2041 outbuf->writecallback = NULL;
2042 outbuf->closecallback = NULL;
2043 outbuf->context = NULL;
2044 outbuf->written = 0;
2047 xmlNodeDumpOutput(outbuf, doc, cur, level, format, NULL);
2048 xmlFree(outbuf);
2064 xmlOutputBufferPtr outbuf;
2082 outbuf = xmlOutputBufferCreateFile(f, NULL);
2083 if (outbuf == NULL)
2087 htmlNodeDumpOutput(outbuf, doc, cur, NULL);
2092 xmlNodeDumpOutput(outbuf, doc, cur, 0, 1, NULL);
2093 xmlOutputBufferClose(outbuf);