/external/libxml2/doc/tutorial/ |
includeconvert.c | 52 xmlDocPtr doc; 66 doc = xmlNewDoc ("1.0"); 67 rootnode = xmlNewDocNode(doc, NULL, (const xmlChar*)"root", out); 68 xmlDocSetRootElement(doc, rootnode); 70 xmlSaveFormatFileEnc("-", doc, encoding, 1);
|
/external/libxml2/include/libxml/ |
entities.h | 47 struct _xmlDoc *doc; /* the containing document */ member in struct:_xmlEntity 83 xmlNewEntity (xmlDocPtr doc, 90 xmlAddDocEntity (xmlDocPtr doc, 97 xmlAddDtdEntity (xmlDocPtr doc, 106 xmlGetDocEntity (const xmlDoc *doc, 109 xmlGetDtdEntity (xmlDocPtr doc, 112 xmlGetParameterEntity (xmlDocPtr doc, 116 xmlEncodeEntities (xmlDocPtr doc, 120 xmlEncodeEntitiesReentrant(xmlDocPtr doc, 123 xmlEncodeSpecialChars (const xmlDoc *doc, [all...] |
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/ |
TableTest.java | 50 private HTMLDocument doc; field in class:TableTest 61 doc = new HTMLDocument(root.createFile("Test.html"), "UTF-8"); 62 doc.head().title(); 63 body = doc.body(); 109 doc.close(); 139 doc.close(); 144 doc.close(); 163 doc.close(); 166 final Document doc = support.parse(output.getFile("Test.html")); local 170 support.findStr(doc, "/html/body/table/thead/tr/td[1]/@class")) 208 final Document doc = support.parse(output.getFile("Test.html")); local [all...] |
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/page/ |
SourceHighlighterTest.java | 64 final Document doc = htmlSupport.parse(buffer.toString()); local 67 assertEquals("\tA\n", htmlSupport.findStr(doc, "//pre/text()")); 74 final Document doc = htmlSupport.parse(buffer.toString()); local 76 htmlSupport.findStr(doc, "//pre/@class")); 84 final Document doc = htmlSupport.parse(buffer.toString()); local 86 htmlSupport.findStr(doc, "//pre/@class")); 98 final Document doc = htmlSupport.parse(buffer.toString()); local 100 htmlSupport.findStr(doc, "//pre/span[text() = 'A']/@class")); 102 htmlSupport.findStr(doc, "//pre/span[text() = 'B']/@class")); 104 htmlSupport.findStr(doc, "//pre/span[text() = 'C']/@class")) 113 final Document doc = htmlSupport.parse(buffer.toString()); local 123 final Document doc = htmlSupport.parse(buffer.toString()); local 135 final Document doc = htmlSupport.parse(buffer.toString()); local 147 final Document doc = htmlSupport.parse(buffer.toString()); local [all...] |
/external/libxml2/ |
testC14N.c | 62 xmlDocPtr doc; local 74 doc = xmlReadFile(xml_filename, NULL, XML_PARSE_DTDATTR | XML_PARSE_NOENT); 75 if (doc == NULL) { 83 if(xmlDocGetRootElement(doc) == NULL) { 85 xmlFreeDoc(doc); 93 xpath = load_xpath_expr(doc, xpath_filename); 96 xmlFreeDoc(doc); 105 ret = xmlC14NDocDumpMemory(doc, 119 xmlFreeDoc(doc); 127 xmlFreeDoc(doc); 241 xmlDocPtr doc; local [all...] |
xlink.c | 110 * @doc: the document containing the node 123 xlinkIsLink (xmlDocPtr doc, xmlNodePtr node) { 128 if (doc == NULL) doc = node->doc; 129 if ((doc != NULL) && (doc->type == XML_HTML_DOCUMENT_NODE)) { 157 xlink = xmlSearchNs(doc, node, XLINK_NAMESPACE);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
DocumentCreateAttributeNS.java | 80 Document doc; local 88 doc = (Document) load("staffNS", builder); 89 attribute = doc.createAttributeNS(namespaceURI, qualifiedName); 102 Document doc; local 110 doc = (Document) load("staffNS", builder); 111 attribute1 = doc.createAttributeNS( 126 attribute2 = doc.createAttributeNS("http://www.w3.org/2000/xmlns/", 142 Document doc; local 157 doc = (Document) load("staffNS", builder); 164 doc.createAttributeNS(namespaceURI, qualifiedName) 173 Document doc; local 202 Document doc; local 227 Document doc; local 251 Document doc; local [all...] |
SetNamedItemNS.java | 77 Document doc; local 85 doc = (Document) load("staffNS", builder); 86 elementList = doc.getElementsByTagName("address"); 106 Document doc; local 113 doc = (Document) load("staffNS", builder); 117 elementList = doc.getElementsByTagName("address"); 134 Document doc; local 142 doc = (Document) load("staffNS", builder); 143 arg = doc.createAttributeNS(namespaceURI, qualifiedName); 145 elementList = doc.getElementsByTagName("address") 199 Document doc; local [all...] |
ElementSetAttributeNS.java | 56 Document doc; local 61 doc = (Document) load("staff", builder); 62 element = doc.createElementNS("http://www.w3.org/DOM", "dom:elem"); 73 Document doc; local 79 doc = (Document) load("staff", builder); 80 elementList = doc.getElementsByTagNameNS("*", "address"); 94 Document doc; local 100 doc = (Document) load("staffNS", builder); 101 elementList = doc.getElementsByTagName("emp:employee"); 117 Document doc; local 150 Document doc; local 169 Document doc; local 201 Document doc; local [all...] |
SetAttributeNodeNS.java | 85 Document doc; local 91 doc = (Document) load("staffNS", builder); 92 elementList = doc.getElementsByTagName("emp:address"); 95 newElement = doc.createElement("newElement"); 97 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName); 113 // Document doc; 122 // doc = (Document) load("staffNS", builder); 125 // genderList = doc.getElementsByTagName("gender"); 130 // gen = doc.createEntityReference("ent4"); 136 // newAttr = doc.createAttributeNS("www.xyz.com", "emp:local1") 151 Document doc; local 166 Document doc; local [all...] |
ImportNode.java | 92 Document doc; local 110 doc = (Document) load("staffNS", builder); 115 aNode = doc.importNode(newAttr, false); 135 Document doc; local 143 doc = (Document) load("staffNS", builder); 146 aNode = doc.importNode(cDataSec, false); 157 Document doc; local 165 doc = (Document) load("staffNS", builder); 168 aNode = doc.importNode(comment, false); 179 Document doc; local 200 Document doc; local 227 Document doc; local 276 Document doc; local 334 Document doc; local 443 Document doc; local 469 Document doc; local 491 Document doc; local 510 Document doc; local [all...] |
/prebuilts/misc/common/swig/include/2.0.11/guile/ |
pointer-in-out.i | 49 %typemap(in, doc="$NAME is of type <" #SCM_TYPE ">") PTRTYPE *INPUT(PTRTYPE temp) 57 %typemap(in, doc="$NAME is of type <" #SCM_TYPE "> and is consumed by the function") PTRTYPE *INPUT_CONSUMED(PTRTYPE temp) 66 %typemap(in, doc="$NAME is of type <" #SCM_TYPE "> and is consumed by the function") PTRTYPE *INPUT_DESTROYED(PTRTYPE temp) 79 %typemap(argout, doc="<" #SCM_TYPE ">") PTRTYPE *OUTPUT 82 %typemap(argout, doc="<" #SCM_TYPE ">") PTRTYPE *OUTPUT_NONCOLLECTABLE 93 %typemap(in, doc="$NAME is of type <" #SCM_TYPE ">") PTRTYPE { 98 %typemap(out, doc="<" #SCM_TYPE ">") PTRTYPE {
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_attrinsertbefore7.java | 61 Document doc; local 75 doc = (Document) load("hc_staff", true); 76 acronymList = doc.getElementsByTagName("acronym"); 80 terNode = doc.createTextNode("ter"); 87 dayNode = doc.createCDATASection("day"); 94 dayNode = doc.createCDATASection("day"); 95 docFrag = doc.createDocumentFragment();
|
/cts/tools/utils/cts/ |
tools.py | 53 def WriteDescription(self, doc, parent): 56 child = doc.createElement('TestSuite') 60 suite.WriteDescription(doc, child) 62 child = doc.createElement('TestCase') 66 test = doc.createElement('Test') 95 doc = minidom.Document() 96 package = doc.createElement('TestPackage') 99 self.root_suite.WriteDescription(doc, package) 100 doc.appendChild(package) 101 return doc [all...] |
/external/python/cpython2/Lib/test/ |
test_minidom.py | 19 "<!DOCTYPE doc PUBLIC 'http://xml.python.org/public'" 23 "]><doc attr='value'> text\n" 24 "<?pi sample?> <!-- comment --> <e/> </doc>") 30 return getDOMImplementation().createDocument(None, "doc", doctype) 33 doctype = getDOMImplementation().createDocumentType("doc", None, None) 50 doc = create_doc_without_doctype(doctype) 51 doctype.entities.item(0).ownerDocument = doc 52 doctype.notations.item(0).ownerDocument = doc 53 return doc 75 dom = parseString("<doc><foo/></doc>" [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_minidom.py | 23 return getDOMImplementation().createDocument(None, "doc", doctype)
26 doctype = getDOMImplementation().createDocumentType("doc", None, None)
43 doc = create_doc_without_doctype(doctype)
44 doctype.entities.item(0).ownerDocument = doc
45 doctype.notations.item(0).ownerDocument = doc
46 return doc
68 dom = parseString("<doc><foo/></doc>")
81 and root.toxml() == "<doc><element/><foo/></doc>"
[all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_minidom.py | 23 return getDOMImplementation().createDocument(None, "doc", doctype) 26 doctype = getDOMImplementation().createDocumentType("doc", None, None) 43 doc = create_doc_without_doctype(doctype) 44 doctype.entities.item(0).ownerDocument = doc 45 doctype.notations.item(0).ownerDocument = doc 46 return doc 68 dom = parseString("<doc><foo/></doc>") 81 and root.toxml() == "<doc><element/><foo/></doc>" [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_minidom.py | 23 return getDOMImplementation().createDocument(None, "doc", doctype) 26 doctype = getDOMImplementation().createDocumentType("doc", None, None) 43 doc = create_doc_without_doctype(doctype) 44 doctype.entities.item(0).ownerDocument = doc 45 doctype.notations.item(0).ownerDocument = doc 46 return doc 68 dom = parseString("<doc><foo/></doc>") 81 and root.toxml() == "<doc><element/><foo/></doc>" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_minidom.py | 23 return getDOMImplementation().createDocument(None, "doc", doctype) 26 doctype = getDOMImplementation().createDocumentType("doc", None, None) 43 doc = create_doc_without_doctype(doctype) 44 doctype.entities.item(0).ownerDocument = doc 45 doctype.notations.item(0).ownerDocument = doc 46 return doc 68 dom = parseString("<doc><foo/></doc>") 81 and root.toxml() == "<doc><element/><foo/></doc>" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_minidom.py | 23 return getDOMImplementation().createDocument(None, "doc", doctype) 26 doctype = getDOMImplementation().createDocumentType("doc", None, None) 43 doc = create_doc_without_doctype(doctype) 44 doctype.entities.item(0).ownerDocument = doc 45 doctype.notations.item(0).ownerDocument = doc 46 return doc 68 dom = parseString("<doc><foo/></doc>") 81 and root.toxml() == "<doc><element/><foo/></doc>" [all...] |
/art/tools/ahat/src/ |
SiteHandler.java | 40 public void handle(Doc doc, Query query) throws IOException { 45 doc.title("Site"); 46 doc.big(Summarizer.summarize(site)); 48 doc.section("Allocation Site"); 49 SitePrinter.printSite(mSnapshot, doc, query, ALLOCATION_SITE_ID, site); 51 doc.section("Sites Called from Here"); 54 doc.println(DocString.text("(none)")); 79 HeapTable.render(doc, query, SITES_CALLED_ID, table, mSnapshot, children); 82 doc.section("Objects Allocated") [all...] |
/external/libogg/ |
libogg.spec | 59 %doc AUTHORS CHANGES COPYING README 64 %doc doc/index.html 65 %doc doc/framing.html 66 %doc doc/oggstream.html 67 %doc doc/white-ogg.png 68 %doc doc/white-xifish.pn [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
TestDocumentsProvider.java | 111 for (DocumentInfo doc : docs) { 113 .add(Document.COLUMN_DOCUMENT_ID, doc.documentId) 114 .add(Document.COLUMN_MIME_TYPE, doc.mimeType) 115 .add(Document.COLUMN_DISPLAY_NAME, doc.displayName) 116 .add(Document.COLUMN_LAST_MODIFIED, doc.lastModified) 117 .add(Document.COLUMN_FLAGS, doc.flags) 118 .add(Document.COLUMN_SUMMARY, doc.summary) 119 .add(Document.COLUMN_SIZE, doc.size) 120 .add(Document.COLUMN_ICON, doc.icon);
|
/external/google-benchmark/src/ |
commandlineflags.h | 18 #define DEFINE_bool(name, default_val, doc) bool FLAG(name) = (default_val) 19 #define DEFINE_int32(name, default_val, doc) int32_t FLAG(name) = (default_val) 20 #define DEFINE_int64(name, default_val, doc) int64_t FLAG(name) = (default_val) 21 #define DEFINE_double(name, default_val, doc) double FLAG(name) = (default_val) 22 #define DEFINE_string(name, default_val, doc) \
|
/external/libcxx/utils/google-benchmark/src/ |
commandlineflags.h | 18 #define DEFINE_bool(name, default_val, doc) bool FLAG(name) = (default_val) 19 #define DEFINE_int32(name, default_val, doc) int32_t FLAG(name) = (default_val) 20 #define DEFINE_int64(name, default_val, doc) int64_t FLAG(name) = (default_val) 21 #define DEFINE_double(name, default_val, doc) double FLAG(name) = (default_val) 22 #define DEFINE_string(name, default_val, doc) \
|