Searched defs:document (Results 1 - 25 of 496) sorted by path

1234567891011>>

/external/bluetooth/glib/tests/
H A Dmarkup-collect.c82 const char *document; member in struct:test
165 tests[i].document,
172 i, tests[i].document,
187 tests[i].document, tests[i].error_code);
194 tests[i].document, g_quark_to_string (error->domain));
199 tests[i].document, error->code, tests[i].error_code);
204 tests[i].document, tests[i].error_info);
209 "but came out as '%s'", i, tests[i].document,
/external/chromium/chrome/browser/history/
H A Dsnippet.cc210 const std::string& document) {
218 document_utext = utext_openUTF8(document_utext, document.data(),
219 document.size(), &status);
239 CHECK(match_end <= document.size());
249 CHECK(start < document.size());
250 snippet += UTF8ToUTF16(document.substr(start, match_start - start));
255 snippet += UTF8ToUTF16(document.substr(match_start,
270 CHECK(end <= document.size());
271 snippet += UTF8ToUTF16(document.substr(match_end, end - match_end));
278 CHECK(end <= document
209 ComputeSnippet(const MatchPositions& match_positions, const std::string& document) argument
[all...]
H A Dsnippet_unittest.cc16 // A sample document to compute snippets of.
23 "(referred to collectively as the \"Services\" in this document and excluding "
27 "Amphitheatre Parkway, Mountain View, CA 94043, United States. This document "
89 // |query| against |document|. Matches are surrounded by "**".
90 string16 BuildSnippet(const std::string& document, argument
92 // This function assumes that |document| does not contain
95 // |document|. We need to add more test cases and change this function
98 const std::string document_folded = StringToLowerASCII(std::string(document));
103 // Manually construct match_positions of the document.
120 snippet.ComputeSnippet(match_positions, document);
[all...]
/external/chromium/chrome/browser/printing/
H A Dprint_job.cc146 // Flush the cached document.
208 PrintedDocument* PrintJob::document() const { function in class:printing::PrintJob
224 // Sync the document with the worker.
241 DCHECK_EQ(event_details.document(), document_.get());
337 PrintedDocument* document,
339 : document_(document),
347 PrintedDocument* JobEventDetails::document() const { function in class:printing::JobEventDetails
336 JobEventDetails(Type type, PrintedDocument* document, PrintedPage* page) argument
H A Dprint_job_worker.cc29 PrintedDocument* document,
34 details_ = new JobEventDetails(detail_type, document, page);
228 // We still don't know how many pages the document contains. We can't
229 // start to print the document yet since the header/footer may refer to
230 // the document's page count.
27 Init(PrintJobWorkerOwner* print_job, JobEventDetails::Type detail_type, PrintedDocument* document, PrintedPage* page) argument
/external/chromium/chrome/browser/resources/bookmark_manager/js/
H A Dmain.js22 document.documentElement.setAttribute('os', 'mac');
38 i18nTemplate.process(document, data);
90 var splitter = document.querySelector('.main > .splitter');
213 if (document.activeElement != input)
231 document.querySelector('button.logo').onclick = function(e) {
876 document.addEventListener('dragstart', this.handleDragStart.bind(this));
877 document.addEventListener('dragenter', this.handleDragEnter.bind(this));
878 document.addEventListener('dragover', this.handleDragOver.bind(this));
879 document.addEventListener('dragleave', this.handleDragLeave.bind(this));
880 document
[all...]
/external/chromium/chrome/browser/resources/
H A Dcollected_cookies.js67 document.oncontextmenu = function(e) {
71 document.onkeydown = function(e) {
79 document.addEventListener('DOMContentLoaded', load);
/external/chromium/chrome/browser/resources/file_manager/js/
H A Dharness.js27 var paramstr = decodeURIComponent(document.location.search.substr(1));
30 var input = document.getElementById('default-path');
34 var iframe = document.getElementById('dialog');
35 iframe.setAttribute('src', 'main.html' + document.location.search);
46 var input = document.getElementById('default-path');
52 document.location.href = '?' + JSON.stringify(this.params);
90 return document.getElementById('dialog').contentWindow.fileManager;
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/
H A Dcontent.js45 listenAndCoalesce(document, "scroll");
48 if ((window == window.top) && document.body && !document.body.onresize) {
49 document.body.onresize = function(event) {
54 listenAndCoalesce(document, "keypress", function(event) {
/external/chromium/chrome/common/extensions/
H A Dupdate_manifest.cc93 // Utility class for cleaning up the xml document when leaving a scope.
96 explicit ScopedXmlDocument(xmlDocPtr document) : document_(document) {} argument
211 ScopedXmlDocument document(xmlParseDoc(
213 if (!document.get()) {
218 xmlNode *root = xmlDocGetRootElement(document.get());
/external/chromium/chrome/common/
H A Dweb_apps.cc66 GURL url = link.document().completeURL(href);
92 "an absolute URL with the same origin as the document.";
148 WebDocument document = frame->document(); local
149 if (document.isNull())
152 WebElement head = document.head();
/external/chromium/third_party/libjingle/source/talk/base/
H A Dhttpcommon.cc422 // Clear headers first, since releasing a document may have far-reaching
426 document.reset();
483 StreamInterface* document) {
485 setDocumentAndLength(document);
488 void HttpData::setDocumentAndLength(StreamInterface* document) { argument
492 ASSERT(document != NULL);
493 this->document.reset(document);
495 if (this->document->GetAvailable(&content_length)) {
615 StreamInterface* document,
482 setContent(const std::string& content_type, StreamInterface* document) argument
614 set_success(const std::string& content_type, StreamInterface* document, uint32 scode) argument
[all...]
H A Dhttpcommon.h95 HE_STREAM, // Problem reading or writing to the document
301 scoped_ptr<StreamInterface> document; member in struct:talk_base::HttpData
381 void setContent(const std::string& content_type, StreamInterface* document);
382 void setDocumentAndLength(StreamInterface* document);
422 void set_success(const std::string& content_type, StreamInterface* document,
/external/chromium/webkit/glue/
H A Ddom_operations.cc131 // Get current using document.
132 WebDocument current_doc = current_frame->document();
254 web_frame->document().getElementById(WebString::fromUTF8(element_id));
275 web_frame->document().getElementById(WebString::fromUTF8(element_id));
289 WebElement element = web_frame->document().getElementById(
310 void GetMetaElementsWithAttribute(WebDocument* document, argument
314 DCHECK(document);
317 WebElement head = document->head();
H A Dwebaccessibility.cc367 const WebKit::WebDocument& document = src.document(); local
369 name = document.title();
370 attributes[ATTR_DOC_TITLE] = document.title();
371 attributes[ATTR_DOC_URL] = document.frame()->url().spec().utf16();
372 if (document.isXHTMLDocument())
377 const WebKit::WebDocumentType& doctype = document.doctype();
381 const gfx::Size& scroll_offset = document.frame()->scrollOffset();
/external/collada/include/dae/
H A DdaeDatabase.h44 * Creates a new document, defining its root as the <tt><i>dom</i></tt> object; returns an error if the document name already exists.
45 * @param name Name of the new document, must be a valid URI.
46 * @param dom Existing @c domCOLLADA root element of the document
47 * @param document Pointer to a @c daeDocument pointer that receives the document created
48 * @param zaeRootDocument Indicates if the new document is the root document of a ZAE archive.
50 * @return Returns @c DAE_OK if the document was created successfully, otherwise returns a negative value as defined in daeError.h.
54 virtual daeInt insertDocument(daeString name, daeElement* dom, daeDocument** document
310 removeCollection(daeDocument* document) argument
[all...]
H A DdaeIOPlugin.h61 * @param uri the URI of the COLLADA document to load, not all plugins accept all types of URIs,
63 * @param docBuffer A string containing the text of the document to load. This is an optional attribute
64 * and should only be used if the document has already been loaded into memory.
73 * Writes a specific document to an output.
74 * @param name URI to write the document to, not all IO plugins support all types of URIs
76 * @param document Pointer to the document that we're going to write out.
81 virtual daeInt write(const daeURI& name, daeDocument *document, daeBool replace) = 0;
122 virtual daeInt write(const daeURI& name, daeDocument *document, daeBool replace) { return DAE_ERROR; } argument
/external/collada/src/dae/
H A DdaeIOPluginCommon.cpp57 //check if document already exists
71 "Failed to load XML document from memory\n" :
77 // Insert the document into the database, the Database will keep a ref on the main dom, so it won't get deleted
80 daeDocument *document = NULL; local
82 int res = database->insertDocument(fileURI.getURI(),domObject,&document);
109 "Failed to load XML document from memory\n" :
116 // Insert the document into the database, the Database will keep a ref on the main dom, so it won't get deleted
119 daeDocument *document = NULL;
121 int res = database->insertDocument(fileURI.getURI(),domObject,&document, zaeRoot, extractedURI);
H A DdaeTinyXMLPlugin.cpp77 daeErrorHandler::get()->handleError("Failed to open XML document from memory buffer in "
106 daeInt daeTinyXMLPlugin::write(const daeURI& name, daeDocument *document, daeBool replace) argument
108 // Make sure database and document are both set
111 if(!document)
142 writeElement(document->getDomRoot());
/external/collada/src/modules/LIBXMLPlugin/
H A DdaeLIBXMLPlugin.cpp195 daeErrorHandler::get()->handleError("Failed to open XML document from memory buffer in "
272 daeInt daeLIBXMLPlugin::write(const daeURI& name, daeDocument *document, daeBool replace) argument
274 // Make sure database and document are both set
277 if(!document)
335 writeElement( document->getDomRoot() );
/external/collada/src/modules/STLDatabase/
H A DdaeSTLDatabase.cpp31 daeDocument* document = getDocument(name); local
32 if(document)
65 daeInt daeSTLDatabase::insertDocument(const char *name, daeElement* dom, daeDocument** document, bool zaeRootDocument, const std::string& extractedFileURI) argument
67 return createDocument( name, dom, document, zaeRootDocument, extractedFileURI );
69 daeInt daeSTLDatabase::createDocument(const char *name, daeElement* dom, daeDocument** document, bool zaeRootDocument, const std::string& extractedFileURI) argument
71 // If a document already exists with the same name, error
74 if (document)
75 *document = NULL;
79 // Make a new document
86 if (document)
92 insertDocument(const char *name, daeDocument** document) argument
96 createDocument(const char *name, daeDocument** document) argument
129 removeDocument(daeDocument *document) argument
168 daeDocument *document; local
188 insertElement(daeDocument* document,daeElement* element) argument
232 removeElement(daeDocument* document,daeElement* element) 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)
3330 \end{document}
/external/libxml2/
H A Drelaxng.c225 xmlDocPtr document; member in struct:_xmlRelaxNGParserCtxt
234 /* the document stack */
253 int freedoc; /* need to free the document */
356 xmlDocPtr doc; /* the document being validated */
396 * Structure associated to a RelaxNGs document element
401 xmlDocPtr doc; /* the associated XML document */
409 * Structure associated to a RelaxNGs document element
414 xmlDocPtr doc; /* the associated XML document */
672 * @docu: a document structure
674 * Deallocate a RelaxNG document structur
[all...]
/external/libxslt/libxslt/
H A DxsltInternals.h327 * Data structure associated to a parsed document.
333 int main; /* is this the main document */
334 xmlDocPtr doc; /* the parsed document */
936 const xmlChar *filename; /* document URL */
1405 int ver11; /* document */
1406 const xmlChar *filename; /* document URL */
1407 int has_filename; /* document */
1489 xsltDocumentPtr docList; /* the include document list */
1492 * General data on the style sheet document.
1614 * all document tex
1692 xsltDocumentPtr document; /* the current source document; can be NULL if an RTF */ member in struct:_xsltTransformContext
[all...]
/external/skia/src/images/
H A DSkImageDecoder_fpdfemb.cpp197 FPDFEMB_DOCUMENT document; local
198 result = FPDFEMB_StartLoadDocument(&file, NULL, &document, NULL);
199 SkDebugf("----- SkImageDecoder_FPDFEMB_Factory open %d %p\n", result, document);
201 int pageCount = FPDFEMB_GetPageCount(document);
206 result = FPDFEMB_LoadPage(document, 0, &page);
230 result = FPDFEMB_CloseDocument(document);

Completed in 510 milliseconds

1234567891011>>