Searched refs:doc (Results 1 - 25 of 651) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/python/tests/
H A Dpush.py10 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()
H A Dvalidate.py11 doc = ctxt.doc() variable
14 if doc.name != "valid.xml":
15 print "doc.name failed"
17 root = doc.children
18 if root.name != "doc":
24 doc.freeDoc()
31 doc = ctxt.doc() variable
33 doc
48 doc = ctxt.doc() variable
[all...]
H A Dresolver.py14 doc = libxml2.parseFile("doesnotexist.xml") variable
15 root = doc.children
19 doc.freeDoc()
23 doc = libxml2.parseFile("doesnotexist.xml")
24 root = doc.children
28 doc.freeDoc()
H A Dtst.py8 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()
H A Dattribs.py11 doc = libxml2.parseDoc( variable
20 elem = doc.getRootElement()
26 doc.freeDoc()
H A Dserialize.py11 doc = libxml2.parseDoc("""<root><foo>hello</foo></root>""")
12 str = doc.serialize()
18 str = doc.serialize("iso-8859-1")
24 str = doc.serialize(format=1)
32 str = doc.serialize("iso-8859-1", 1)
44 root = doc.getRootElement()
65 doc.freeDoc()
70 doc = libxml2.htmlParseDoc("""<html><head><title>Hello</title><body><p>hello</body></html>""", None)
71 str = doc.serialize()
77 str = doc
[all...]
H A Dnsdel.py28 doc = libxml2.parseDoc(instance) variable
29 node = doc.getRootElement()
34 doc.freeDoc()
37 doc = libxml2.parseDoc(instance) variable
38 node = doc.getRootElement()
43 doc.freeDoc()
46 doc = libxml2.newDoc("1.0") variable
47 root = doc.newChild(None, "root", None)
51 doc.reconciliateNs(root)
53 doc
[all...]
H A Dxpath.py12 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()
H A Dbuild.py8 doc = libxml2.newDoc("1.0") variable
9 comment = doc.newDocComment("This is a generated document")
10 doc.addChild(comment)
12 doc.addChild(pi)
13 root = doc.newChild(None, "doc", None)
14 ns = root.newNs("http://example.com/doc", "my")
19 doc.saveFile("tmp.xml")
20 doc.freeDoc()
22 doc variable
[all...]
H A Dctxterror.py29 doc = parserCtxt.doc() variable
30 doc.freeDoc()
44 doc = parserCtxt.doc() variable
45 doc.freeDoc()
H A DvalidDTD.py34 doc = libxml2.parseDoc(valid) variable
35 ret = doc.validateDtd(ctxt, dtd)
39 doc.freeDoc()
42 doc = libxml2.parseDoc(invalid) variable
43 ret = doc.validateDtd(ctxt, dtd)
46 doc.freeDoc()
H A Ddtdvalid.py14 doc = libxml2.parseDoc(instance) variable
15 ret = doc.validateDtd(ctxt, dtd)
20 doc.freeDoc()
H A Dxpathleak.py27 doc = libxml2.parseDoc("<fish/>") variable
28 ctxt = doc.xpathNewContext()
29 ctxt.setContextNode(doc)
38 doc.freeDoc()
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/doc/examples/
H A Dparse1.c24 xmlDocPtr doc; /* the resulting document tree */ local
26 doc = xmlReadFile(filename, NULL, 0);
27 if (doc == NULL) {
31 xmlFreeDoc(doc);
H A Dparse3.c16 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);
H A Dio2.c20 xmlDocPtr doc; local
27 doc = xmlNewDoc(BAD_CAST "1.0");
30 xmlDocSetRootElement(doc, n);
36 xmlDocDumpFormatMemory(doc, &xmlbuff, &buffersize, 1);
43 xmlFreeDoc(doc);
H A Dparse2.c26 xmlDocPtr doc; /* the resulting document tree */ local
35 doc = xmlCtxtReadFile(ctxt, filename, NULL, XML_PARSE_DTDVALID);
37 if (doc == NULL) {
44 xmlFreeDoc(doc);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/doc/tutorial/
H A Dincludeaddkeyword.c9 parseStory (xmlDocPtr doc, xmlNodePtr cur, char *keyword) {
18 xmlDocPtr doc;
21 doc = xmlParseFile(docname);
23 if (doc == NULL ) {
28 cur = xmlDocGetRootElement(doc);
32 xmlFreeDoc(doc);
38 xmlFreeDoc(doc);
45 parseStory (doc, cur, keyword);
50 return(doc);
58 xmlDocPtr doc;
[all...]
H A Dincludeaddattribute.c12 xmlDocPtr doc;
17 doc = xmlParseFile(docname);
19 if (doc == NULL ) {
24 cur = xmlDocGetRootElement(doc);
28 xmlFreeDoc(doc);
34 xmlFreeDoc(doc);
40 return(doc);
48 xmlDocPtr doc;
57 doc = parseDoc (docname, uri);
58 if (doc !
[all...]
H A Dincludexpath.c7 xmlDocPtr doc;
8 doc = xmlParseFile(docname);
10 if (doc == NULL ) {
15 return doc;
19 getnodeset (xmlDocPtr doc, xmlChar *xpath){
24 context = xmlXPathNewContext(doc);
46 xmlDocPtr doc;
59 doc = getdoc(docname);
60 result = getnodeset (doc, xpath);
64 keyword = xmlNodeListGetString(doc, nodese
[all...]
H A Dincludekeyword.c9 parseStory (xmlDocPtr doc, xmlNodePtr cur) {
15 key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1);
27 xmlDocPtr doc;
30 doc = xmlParseFile(docname);
32 if (doc == NULL ) {
37 cur = xmlDocGetRootElement(doc);
41 xmlFreeDoc(doc);
47 xmlFreeDoc(doc);
54 parseStory (doc, cur);
60 xmlFreeDoc(doc);
[all...]
H A Dincludegetattribute.c9 getReference (xmlDocPtr doc, xmlNodePtr cur) {
28 xmlDocPtr doc;
31 doc = xmlParseFile(docname);
33 if (doc == NULL ) {
38 cur = xmlDocGetRootElement(doc);
42 xmlFreeDoc(doc);
48 xmlFreeDoc(doc);
52 getReference (doc, cur);
53 xmlFreeDoc(doc);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/docs/examples/
H A Dversion-check.pl41 my %doc;
48 $doc{$sym}=$a[0]; # when it was introduced
81 my $r = age($doc{$a}) <=> age($doc{$b});
93 my $newver = $doc{$newsym};
98 if($doc{$w} eq $newver) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/
H A Dsymbol-scan.pl52 my %doc;
85 if($doc{$sym}) {
90 $doc{$sym}=$sym;
118 if($doc{$e}) {
122 $doc{$e}="used";
141 for my $e (sort keys %doc) {
142 if(($doc{$e} ne "used") && !$rem{$e}) {
160 printf "%d symbols are listed in symbols-in-versions\n (out of which %d are listed as removed)\n", scalar(keys %doc), scalar(keys %rem);
161 printf "%d symbols in symbols-in-versions should match the ones in headers\n", scalar(keys %doc) - scalar(keys %rem);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/
H A Dcheck-xml-test-suite.py61 doc = ctxt.doc()
63 doc = None
65 doc.freeDoc()
67 return doc
87 doc = ctxt.doc()
89 doc = None
90 if doc != None:
91 doc
[all...]

Completed in 120 milliseconds

1234567891011>>