Lines Matching defs:TRY0

1813 #define TRY0(a) do { xmlrc = (a); if (xmlrc < 0) goto error; } while(0)
1826 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "thread-model"));
1828 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "type"));
1829 TRY0(xmlTextWriterWriteString(writer, ISC_XMLCHAR "threaded"));
1830 TRY0(xmlTextWriterEndElement(writer)); /* type */
1832 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "worker-threads"));
1833 TRY0(xmlTextWriterWriteFormatString(writer, "%d", mgr->workers));
1834 TRY0(xmlTextWriterEndElement(writer)); /* worker-threads */
1836 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "type"));
1837 TRY0(xmlTextWriterWriteString(writer, ISC_XMLCHAR "non-threaded"));
1838 TRY0(xmlTextWriterEndElement(writer)); /* type */
1840 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "references"));
1841 TRY0(xmlTextWriterWriteFormatString(writer, "%d", mgr->refs));
1842 TRY0(xmlTextWriterEndElement(writer)); /* references */
1845 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "default-quantum"));
1846 TRY0(xmlTextWriterWriteFormatString(writer, "%d",
1848 TRY0(xmlTextWriterEndElement(writer)); /* default-quantum */
1850 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "tasks-running"));
1851 TRY0(xmlTextWriterWriteFormatString(writer, "%d", mgr->tasks_running));
1852 TRY0(xmlTextWriterEndElement(writer)); /* tasks-running */
1854 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "tasks-ready"));
1855 TRY0(xmlTextWriterWriteFormatString(writer, "%d", mgr->tasks_ready));
1856 TRY0(xmlTextWriterEndElement(writer)); /* tasks-ready */
1858 TRY0(xmlTextWriterEndElement(writer)); /* thread-model */
1860 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "tasks"));
1864 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "task"));
1867 TRY0(xmlTextWriterStartElement(writer,
1869 TRY0(xmlTextWriterWriteFormatString(writer, "%s",
1871 TRY0(xmlTextWriterEndElement(writer)); /* name */
1874 TRY0(xmlTextWriterStartElement(writer,
1876 TRY0(xmlTextWriterWriteFormatString(writer, "%d",
1878 TRY0(xmlTextWriterEndElement(writer)); /* references */
1880 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "id"));
1881 TRY0(xmlTextWriterWriteFormatString(writer, "%p", task));
1882 TRY0(xmlTextWriterEndElement(writer)); /* id */
1884 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "state"));
1885 TRY0(xmlTextWriterWriteFormatString(writer, "%s",
1887 TRY0(xmlTextWriterEndElement(writer)); /* state */
1889 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "quantum"));
1890 TRY0(xmlTextWriterWriteFormatString(writer, "%d",
1892 TRY0(xmlTextWriterEndElement(writer)); /* quantum */
1894 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "events"));
1895 TRY0(xmlTextWriterWriteFormatString(writer, "%d",
1897 TRY0(xmlTextWriterEndElement(writer)); /* events */
1899 TRY0(xmlTextWriterEndElement(writer));
1904 TRY0(xmlTextWriterEndElement(writer)); /* tasks */