/external/libxml2/doc/examples/ |
parse1.c | 24 xmlDocPtr doc; /* the resulting document tree */ local 26 doc = xmlReadFile(filename, NULL, 0); 27 if (doc == NULL) { 31 xmlFreeDoc(doc);
|
parse2.c | 26 xmlDocPtr doc; /* the resulting document tree */ local 35 doc = xmlCtxtReadFile(ctxt, filename, NULL, XML_PARSE_DTDVALID); 37 if (doc == NULL) { 44 xmlFreeDoc(doc);
|
parse3.c | 16 static const char *document = "<doc/>"; 27 xmlDocPtr doc; /* the resulting document tree */ local 33 doc = xmlReadMemory(content, length, "noname.xml", NULL, 0); 34 if (doc == NULL) { 38 xmlFreeDoc(doc);
|
io2.c | 20 xmlDocPtr doc; local 27 doc = xmlNewDoc(BAD_CAST "1.0"); 30 xmlDocSetRootElement(doc, n); 36 xmlDocDumpFormatMemory(doc, &xmlbuff, &buffersize, 1); 43 xmlFreeDoc(doc);
|
tree1.c | 53 xmlDoc *doc = NULL; local 67 doc = xmlReadFile(argv[1], NULL, 0); 69 if (doc == NULL) { 74 root_element = xmlDocGetRootElement(doc); 79 xmlFreeDoc(doc);
|
/external/libxml2/python/tests/ |
attribs.py | 11 doc = libxml2.parseDoc( variable 20 elem = doc.getRootElement() 26 doc.freeDoc()
|
dtdvalid.py | 14 doc = libxml2.parseDoc(instance) variable 15 ret = doc.validateDtd(ctxt, dtd) 20 doc.freeDoc()
|
push.py | 10 doc = ctxt.doc() variable 12 if doc.name != "test.xml": 15 root = doc.children 19 doc.freeDoc() 24 doc = ctxt.doc() variable 25 doc.freeDoc()
|
tst.py | 8 doc = libxml2.parseFile("tst.xml") variable 9 if doc.name != "tst.xml": 10 print("doc.name failed") 12 root = doc.children 13 if root.name != "doc": 20 doc.freeDoc()
|
xpath.py | 12 doc = libxml2.parseFile("tst.xml") variable 13 if doc.name != "tst.xml": 14 print("doc.name error") 17 ctxt = doc.xpathNewContext() 22 if res[0].name != "doc" or res[1].name != "foo": 33 doc.freeDoc() 37 doc = libxml2.parseFile("tst.xml") variable 38 ctxt = doc.xpathNewContext() 40 doc.freeDoc()
|
ctxterror.py | 29 doc = parserCtxt.doc() variable 30 doc.freeDoc() 44 doc = parserCtxt.doc() variable 45 doc.freeDoc()
|
relaxng.py | 29 doc = libxml2.parseDoc(instance) variable 30 ret = doc.relaxNGValidateDoc(ctxt) 35 doc.freeDoc()
|
resolver.py | 19 doc = libxml2.parseFile("doesnotexist.xml") variable 20 root = doc.children 24 doc.freeDoc() 28 doc = libxml2.parseFile("doesnotexist.xml") 29 root = doc.children 33 doc.freeDoc()
|
schema.py | 33 doc = libxml2.parseDoc(instance) variable 34 ret = doc.schemaValidateDoc(ctxt_valid) 39 doc.freeDoc()
|
tstmem.py | 19 doc = libxml2.parseDoc(instance) variable 20 ret = doc.validateDtd(ctxt, dtd) 25 doc.freeDoc()
|
walker.py | 39 doc = libxml2.parseDoc(docstr) variable 40 reader = doc.readerWalker(); 55 doc.freeDoc() 78 doc = libxml2.parseDoc(docstr) variable 79 reader.NewWalker(doc) 95 doc.freeDoc()
|
/frameworks/base/tools/aapt2/cmd/ |
Util_test.cpp | 30 const auto doc = GenerateSplitManifest(app_info, split_constraints); local 31 const auto &root = doc->root;
|
/frameworks/base/tools/aapt2/compile/ |
XmlIdCollector_test.cpp | 28 std::unique_ptr<xml::XmlResource> doc = test::BuildXmlDom(R"EOF( local 37 ASSERT_TRUE(collector.Consume(context.get(), doc.get())); 40 1, std::count(doc->file.exported_symbols.begin(), 41 doc->file.exported_symbols.end(), 45 1, std::count(doc->file.exported_symbols.begin(), 46 doc->file.exported_symbols.end(), 50 1, std::count(doc->file.exported_symbols.begin(), 51 doc->file.exported_symbols.end(), 58 std::unique_ptr<xml::XmlResource> doc = 62 ASSERT_TRUE(collector.Consume(context.get(), doc.get())) [all...] |
/prebuilts/go/darwin-x86/src/cmd/go/internal/doc/ |
doc.go | 5 // Package doc implements the ``go doc'' command. 6 package doc package 15 UsageLine: "doc [-u] [-c] [package|[package.]symbol[.methodOrField]]", 19 Doc prints the documentation comments associated with the item identified by its 25 Doc accepts zero, one, or two arguments. 29 go doc 40 go doc <pkg> 41 go doc <sym>[.<methodOrField>] 42 go doc [<pkg>.]<sym>[.<methodOrField> [all...] |
/prebuilts/go/darwin-x86/src/go/doc/ |
synopsis_test.go | 5 package doc package
|
/prebuilts/go/linux-x86/src/cmd/go/internal/doc/ |
doc.go | 5 // Package doc implements the ``go doc'' command. 6 package doc package 15 UsageLine: "doc [-u] [-c] [package|[package.]symbol[.methodOrField]]", 19 Doc prints the documentation comments associated with the item identified by its 25 Doc accepts zero, one, or two arguments. 29 go doc 40 go doc <pkg> 41 go doc <sym>[.<methodOrField>] 42 go doc [<pkg>.]<sym>[.<methodOrField> [all...] |
/prebuilts/go/linux-x86/src/go/doc/ |
synopsis_test.go | 5 package doc package
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/ |
HTMLDocumentTest.java | 52 final HTMLDocument doc = new HTMLDocument(buffer, "UTF-8"); local 53 doc.head(); 54 doc.close(); 65 final HTMLDocument doc = new HTMLDocument(buffer, "UTF-8"); local 66 doc.body(); 67 doc.close(); 78 final HTMLDocument doc = new HTMLDocument(buffer, "UTF-8"); local 79 doc.head().title(); 80 doc.body(); 81 doc.close() [all...] |
/external/pdfium/testing/libfuzzer/ |
pdf_xml_fuzzer.cc | 56 auto doc = pdfium::MakeUnique<CFX_XMLDoc>(); local 57 if (!doc->LoadXML(pdfium::MakeUnique<CFX_XMLParser>(doc->GetRoot(), stream))) 60 if (doc->DoLoad() < 100) 63 (void)XFA_FDEExtension_GetDocumentNode(doc.get());
|
/prebuilts/tools/linux-x86_64/kythe/studio/ |
manifest2vname.py | 25 doc = xml.etree.ElementTree.parse('.repo/manifests/default.xml') variable 26 manifest = doc.getroot()
|