Lines Matching defs:writer
2338 xmlTextWriterPtr writer)
2346 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "context"));
2348 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "id"));
2349 TRY0(xmlTextWriterWriteFormatString(writer, "%p", ctx));
2350 TRY0(xmlTextWriterEndElement(writer)); /* id */
2353 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "name"));
2354 TRY0(xmlTextWriterWriteFormatString(writer, "%s", ctx->name));
2355 TRY0(xmlTextWriterEndElement(writer)); /* name */
2369 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "references"));
2370 TRY0(xmlTextWriterWriteFormatString(writer, "%d", ctx->references));
2371 TRY0(xmlTextWriterEndElement(writer)); /* references */
2374 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "total"));
2375 TRY0(xmlTextWriterWriteFormatString(writer,
2378 TRY0(xmlTextWriterEndElement(writer)); /* total */
2381 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "inuse"));
2382 TRY0(xmlTextWriterWriteFormatString(writer,
2385 TRY0(xmlTextWriterEndElement(writer)); /* inuse */
2387 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "maxinuse"));
2388 TRY0(xmlTextWriterWriteFormatString(writer,
2391 TRY0(xmlTextWriterEndElement(writer)); /* maxinuse */
2393 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "blocksize"));
2397 TRY0(xmlTextWriterWriteFormatString(writer,
2404 TRY0(xmlTextWriterWriteFormatString(writer, "%s", "-"));
2405 TRY0(xmlTextWriterEndElement(writer)); /* blocksize */
2407 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "pools"));
2408 TRY0(xmlTextWriterWriteFormatString(writer, "%u", ctx->poolcnt));
2409 TRY0(xmlTextWriterEndElement(writer)); /* pools */
2412 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "hiwater"));
2413 TRY0(xmlTextWriterWriteFormatString(writer,
2416 TRY0(xmlTextWriterEndElement(writer)); /* hiwater */
2418 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "lowater"));
2419 TRY0(xmlTextWriterWriteFormatString(writer,
2422 TRY0(xmlTextWriterEndElement(writer)); /* lowater */
2424 TRY0(xmlTextWriterEndElement(writer)); /* context */
2433 isc_mem_renderxml(xmlTextWriterPtr writer) {
2441 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "contexts"));
2450 xmlrc = xml_renderctx(ctx, &summary, writer);
2458 TRY0(xmlTextWriterEndElement(writer)); /* contexts */
2460 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "summary"));
2462 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "TotalUse"));
2463 TRY0(xmlTextWriterWriteFormatString(writer,
2466 TRY0(xmlTextWriterEndElement(writer)); /* TotalUse */
2468 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "InUse"));
2469 TRY0(xmlTextWriterWriteFormatString(writer,
2472 TRY0(xmlTextWriterEndElement(writer)); /* InUse */
2474 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "BlockSize"));
2475 TRY0(xmlTextWriterWriteFormatString(writer,
2478 TRY0(xmlTextWriterEndElement(writer)); /* BlockSize */
2480 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "ContextSize"));
2481 TRY0(xmlTextWriterWriteFormatString(writer,
2484 TRY0(xmlTextWriterEndElement(writer)); /* ContextSize */
2486 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "Lost"));
2487 TRY0(xmlTextWriterWriteFormatString(writer,
2490 TRY0(xmlTextWriterEndElement(writer)); /* Lost */
2492 TRY0(xmlTextWriterEndElement(writer)); /* summary */