Home | History | Annotate | Download | only in tests

Lines Matching defs:libxml2

3 import libxml2
6 libxml2.debugMemory(1)
16 pctxt = libxml2.xpathParserContext(_obj=ctx)
24 doc = libxml2.parseFile("tst.xml")
33 libxml2.registerXPathFunction(ctxt._o, "foo", None, foo)
34 libxml2.registerXPathFunction(ctxt._o, "bar", None, bar)
58 libxml2.cleanupParser()
59 if libxml2.debugMemory(1) == 0:
62 print("Memory leak %d bytes" % (libxml2.debugMemory(1)))
63 libxml2.dumpMemory()