Searched defs:document (Results 1 - 25 of 73) sorted by relevance

123

/external/v8/test/mjsunit/regress/
H A Dregress-3252443.js28 var document = new Object(); class
29 document.getElementById = function(s) { return { style: {}}};
31 document.getElementById(p1+p0).style.display='';
32 document.getElementById(p1+''+p0).style.backgroundColor = "";
33 document.getElementById(p1+''+p0).style.color="";
34 document.getElementById(p1+''+p0).style.borderBottomColor = "";
37 document.getElementById(p1+i).style.display='';
38 document.getElementById(p1+''+i).style.backgroundColor = "";
39 document.getElementById(p1+''+i).style.color="";
40 document
[all...]
/external/libxml2/doc/examples/
H A Dparse3.c3 * synopsis: Parse an XML document in memory to a tree and free it
16 static const char *document = "<doc/>"; variable
20 * @content: the content of the document
23 * Parse the in memory document and free the resulting tree
27 xmlDocPtr doc; /* the resulting document tree */
30 * The document being in memory, it have no base per RFC 2396,
35 fprintf(stderr, "Failed to parse document\n");
49 example3Func(document, 6);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
H A DXTagXmlResourceLoader.java38 protected void processResourceXml( File xmlFile, Document document, boolean isSystem ) throws Exception { argument
44 NodeList items = document.getElementsByTagName( tag );
H A DXmlLoader.java15 protected abstract void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception; argument
H A DXpathResourceXmlLoader.java21 @Override protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception { argument
23 NodeList nodes = (NodeList) stringsXPath.evaluate(document, XPathConstants.NODESET);
H A DAttrResourceLoader.java26 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception { argument
28 NodeList stringNodes = (NodeList) stringsXPath.evaluate(document, XPathConstants.NODESET);
H A DDrawableResourceLoader.java38 /** document */
91 * Store document locally keyed by resource name.
94 * @param document Document
101 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception { argument
107 documents.put(name, document);
135 Document document = documents.get(resourceName);
137 NodeList items = document.getElementsByTagName("item");
156 Document document = documents.get(resourceExtractor.getResourceName(resourceId));
157 return "animation-list".equals(document.getDocumentElement().getLocalName());
H A DMenuLoader.java33 protected void processResourceXml(File xmlFile, Document document, boolean ignored) throws Exception { argument
36 NodeList items = document.getChildNodes();
H A DPreferenceLoader.java34 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception { argument
36 processChildren(document.getChildNodes(), topLevelNode);
H A DViewLoader.java40 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception { argument
42 processChildren(document.getChildNodes(), topLevelNode);
/external/pdfium/fpdfsdk/src/
H A Dfpdfeditimg.cpp11 DLLEXPORT FPDF_PAGEOBJECT STDCALL FPDFPageObj_NewImgeObj(FPDF_DOCUMENT document) argument
13 if (!document)
16 CPDF_Image* pImg = new CPDF_Image((CPDF_Document *)document);
H A Dfpdfsave.cpp57 FPDF_BOOL _FPDF_Doc_Save(FPDF_DOCUMENT document,FPDF_FILEWRITE * pFileWrite,FPDF_DWORD flags, FPDF_BOOL bSetVersion, argument
60 CPDF_Document* pDoc = (CPDF_Document*)document;
86 DLLEXPORT FPDF_BOOL STDCALL FPDF_SaveAsCopy( FPDF_DOCUMENT document,FPDF_FILEWRITE * pFileWrite, argument
89 return _FPDF_Doc_Save(document, pFileWrite, flags, FALSE , 0);
93 DLLEXPORT FPDF_BOOL STDCALL FPDF_SaveWithVersion( FPDF_DOCUMENT document,FPDF_FILEWRITE * pFileWrite, argument
96 return _FPDF_Doc_Save(document, pFileWrite, flags, TRUE , fileVersion);
H A Dfpdf_ext.cpp216 DLLEXPORT int FPDFDoc_GetPageMode(FPDF_DOCUMENT document) argument
218 if (!document) return PAGEMODE_UNKNOWN;
219 CPDF_Dictionary *pRoot = ((CPDF_Document*)document)->GetRoot();
H A Dfpdfdoc.cpp30 DLLEXPORT FPDF_BOOKMARK STDCALL FPDFBookmark_GetFirstChild(FPDF_DOCUMENT document, FPDF_BOOKMARK pDict) argument
32 if (!document)
34 CPDF_Document* pDoc = (CPDF_Document*)document;
40 DLLEXPORT FPDF_BOOKMARK STDCALL FPDFBookmark_GetNextSibling(FPDF_DOCUMENT document, FPDF_BOOKMARK pDict) argument
42 if (!document || !pDict)
44 CPDF_Document* pDoc = (CPDF_Document*)document;
64 DLLEXPORT FPDF_BOOKMARK STDCALL FPDFBookmark_Find(FPDF_DOCUMENT document, FPDF_WIDESTRING title) argument
66 if (!document)
70 CPDF_Document* pDoc = (CPDF_Document*)document;
77 DLLEXPORT FPDF_DEST STDCALL FPDFBookmark_GetDest(FPDF_DOCUMENT document, FPDF_BOOKMAR argument
124 FPDFAction_GetDest(FPDF_DOCUMENT document, FPDF_ACTION pDict) argument
135 FPDFAction_GetURIPath(FPDF_DOCUMENT document, FPDF_ACTION pDict, void* buffer, unsigned long buflen) argument
151 FPDFDest_GetPageIndex(FPDF_DOCUMENT document, FPDF_DEST pDict) argument
182 FPDFLink_GetDest(FPDF_DOCUMENT document, FPDF_LINK pDict) argument
[all...]
H A Dfpdfeditpage.cpp50 DLLEXPORT void STDCALL FPDFPage_Delete(FPDF_DOCUMENT document, int page_index) argument
52 CPDF_Document* pDoc = (CPDF_Document*)document;
61 DLLEXPORT FPDF_PAGE STDCALL FPDFPage_New(FPDF_DOCUMENT document, int page_index, double width, double height) argument
63 if (!document)
66 // CPDF_Parser* pParser = (CPDF_Parser*)document;
67 CPDF_Document* pDoc = (CPDF_Document*)document;
H A Dfpdfformfill.cpp44 DLLEXPORT FPDF_FORMHANDLE STDCALL FPDFDOC_InitFormFillEnvironment(FPDF_DOCUMENT document, FPDF_FORMFILLINFO* formInfo) argument
46 if(!document || !formInfo || formInfo->version!=1)
48 CPDF_Document * pDocument = (CPDF_Document*) document;
/external/v8/benchmarks/spinning-balls/
H A Dv.js198 var canvas = document.createElement("canvas");
201 document.body.appendChild(canvas);
296 var canvas = document.createElement("canvas");
299 document.body.appendChild(canvas);
373 var msg = document.createElement("p");
376 var table = document.createElement("table");
380 var row = document.createElement("tr");
381 var time = document.createElement("td");
382 var count = document.createElement("td");
429 function create(tag) { return document
[all...]
/external/droiddriver/src/io/appium/droiddriver/finders/
H A DByXPath.java55 // document needs to be static so that when buildDomNode is called recursively
56 // on children they are in the same document to be appended.
57 private static Document document; field in class:ByXPath
67 document = null;
107 Logs.log(Log.ERROR, e, "Failed to clear document");
108 document = null; // getDocument will create new
114 if (document == null) {
116 document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
121 return document;
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/
H A DDOMSerializer.java85 * @param doc the document to serialize.
96 * @param doc the document to serialize.
178 private void writeDocument(Document document, Writer writer) throws IOException { argument
179 String v = document.getXmlVersion();
184 if (document.getXmlStandalone()) {
189 NodeList nodes = document.getChildNodes();
/external/libxml2/
H A DtestXPath.c49 static xmlDocPtr document = NULL; variable
52 * Default document
85 ctxt = xmlXPtrNewContext(document, NULL, NULL);
89 ctxt = xmlXPathNewContext(document);
90 ctxt->node = xmlDocGetRootElement(document);
181 if (document == NULL) {
183 document = xmlReadDoc(buffer,NULL,NULL,XML_PARSE_COMPACT);
185 document = xmlReadFile(filename,NULL,XML_PARSE_COMPACT);
212 printf("\t-i filename : read the document from filename\n");
216 if (document !
[all...]
H A Dtestchar.c26 static void testDocumentRangeByte1(xmlParserCtxtPtr ctxt, char *document, argument
37 res = xmlReadMemory(document, len, "test", NULL, 0);
66 static void testDocumentRangeByte2(xmlParserCtxtPtr ctxt, char *document, argument
79 res = xmlReadMemory(document, len, "test", NULL, 0);
127 "Failed to parse document for Bytes 0x%02X 0x%02X\n", i, j);
149 * Set up a parsing context using the first document as
158 printf("testing 1 byte char in document: 1");
199 printf("testing 2 byte char in document: 1");
529 * not when parsing a full document, this is less expensive and we can
/external/pdfium/testing/
H A Dembedder_test.h20 // This class is used to load a PDF document, and then run programatic
57 FPDF_DOCUMENT document() { return document_; } function in class:EmbedderTest
60 // Open the document specified by |filename|, and create its form fill
64 // Perform JavaScript actions that are to run at document open time.
67 // Determine the page numbers present in the document.
71 // Load a specific page of the open document.
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/
H A DRSSFeedUpdateEntryTask.java120 Document document=null;
122 document=documentBuilder.parse(file);
138 setEntryNodeUpdate(document.getDocumentElement());
140 Node newNode=findAndReplace(document);
153 transformer.transform(new DOMSource(document),new StreamResult(new PrintStream(file)));
211 private Node findAndReplace(Document document) { argument
215 NodeList nodelist = getNodeList(document, xpath);
252 transformer.transform(new DOMSource(getParentNode(document,aNode,null,NS)), new StreamResult(System.out)); //$NON-NLS-1$
261 parentEntryNode = getParentNode(document, aNode, "entry", NS); //$NON-NLS-1$ //$NON-NLS-2$
272 private Node getParentNode(Document document, Nod argument
295 getNodeList(Document document, String xpath) argument
[all...]
H A DRSSFeedAddEntryTask.java264 Document document=null;
266 document=documentBuilder.parse(file);
282 Element element=document.getDocumentElement();
291 Node newNode=createEntry(document);
306 element.insertBefore(document.createTextNode(NL + " "),refNode); //$NON-NLS-1$
312 transformer.transform(new DOMSource(document),new StreamResult(new OutputStreamWriter(new FileOutputStream(file))));
315 transformer.transform(new DOMSource(document),new StreamResult(System.out));
328 private Element createEntry(Document document) { argument
331 Element entry = document.createElement("entry"); //$NON-NLS-1$
345 elem = document
514 attachNode(Document document,Element entry,Element elem,String txt) argument
[all...]
/external/iproute2/doc/
H A Dip-cref.tex22 \section{About this document}
24 This document presents a comprehensive description of the \verb|ip| utility
28 However, the document is self-contained and the reader, provided they have a
33 This document is split into sections explaining \verb|ip| commands
153 in the document body.
478 document).
555 for them and we do not use it in this document.
631 Appendix~\ref{ADDR-SEL} (p.\pageref{ADDR-SEL} of this document)
3365 \end{document}

Completed in 470 milliseconds

123