/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XSLStyleSheetLibxslt.cpp | 25 #include "core/dom/Document.h" 99 xmlDocPtr XSLStyleSheet::document() function in class:WebCore::XSLStyleSheet 118 Document* document = ownerDocument(); local 119 if (!document) 121 return document->fetcher(); 144 // The XSL transform may leave the newly-transformed document 146 // and any of its children. XML document disposal can corrupt memory 147 // if a document uses more than one symbol dictionary, so we 166 if (!document()) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
WebPageSerializer.cpp | 41 #include "core/dom/Document.h" 103 return element->document().completeURL(value); 167 // Now get the resources associated with each node of the document. 168 RefPtr<HTMLCollection> allNodes = frame->document()->all(); 208 Document* document = page->mainFrame()->document(); local 209 return MHTMLArchive::generateMHTMLData(resources, encodingPolicy, document->title(), document->suggestedMIMEType());
|
WebPageSerializerImpl.h | 52 class Document; 124 WebCore::Document* document; member in struct:blink::WebPageSerializerImpl::SerializeDomParam 126 bool isHTMLDocument; // document.isHTMLDocument() 141 SerializeDomParam(const WebCore::KURL&, const WTF::TextEncoding&, WebCore::Document*, const WTF::String& directoryName);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
DrawableResourceLoader.java | 10 import org.w3c.dom.Document; 38 /** document */ 39 protected Map<String, Document> documents = new HashMap<String, Document>(); 71 Document xmlDoc = documents.get(resourceExtractor.getResourceName(resId)); 91 * Store document locally keyed by resource name. 94 * @param document Document 98 * org.w3c.dom.Document, boolean) 101 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception 135 Document document = documents.get(resourceName); local 156 Document document = documents.get(resourceExtractor.getResourceName(resourceId)); local [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPMetaParser.java | 24 import org.w3c.dom.Document; 77 Document document = parseXml(input, options); local 81 result = findRootNode(document, xmpmetaRequired, result); 120 * @return Returns the parsed XML document or an exception. 123 private static Document parseXml(Object input, ParseOptions options) 147 * @return Returns an XML DOM-Document. 150 private static Document parseXmlFromInputStream(InputStream stream, ParseOptions options) 180 * @return Returns an XML DOM-Document. 183 private static Document parseXmlFromBytebuffer(ByteBuffer buffer, ParseOptions options [all...] |
/frameworks/base/core/jni/android/graphics/pdf/ |
PdfDocument.cpp | 83 SkDocument* document = SkDocument::CreatePDF(stream); local 87 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight, 94 document->endPage(); 96 document->close(); 123 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); local 124 return reinterpret_cast<jint>(document->startPage(pageWidth, pageHeight, 129 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); local 130 document->finishPage(); 135 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); local 137 document->write(skWStream) 142 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
TypoFix.java | 58 protected void apply(IDocument document, IStructuredModel model, Node node, 71 String current = document.get(start, end-start); 73 document.replace(start, end - start, replacements.get(0)); 76 FindReplaceDocumentAdapter finder = new FindReplaceDocumentAdapter(document); 96 document.replace(start, end - start, replacements.get(0));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidXmlCharacterMatcherTest.java | 117 IStructuredDocument document = layoutEditor.getStructuredDocument(); local 119 IRegion match = matcher.match(document, caretPosBefore); 122 String text = document.get();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutMetadataTest.java | 67 private static String getText(IDocument document, Node node) throws Exception { 72 return document.get(region.getStartOffset(), length); 82 IStructuredDocument document = xmlEditor.getStructuredDocument(); local 87 Pair<IDocument, UiElementNode> pair = Pair.<IDocument, UiElementNode>of(document, node);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
FlatManifestWriterImpl.java | 33 import org.w3c.dom.Document; 63 protected Document customizeManifest(Document manifest) { 105 Document document = documentBuilder.newDocument(); local 108 Element smoothStreamingMedia = document.createElement("SmoothStreamingMedia"); 109 document.appendChild(smoothStreamingMedia); 115 smoothStreamingMedia.appendChild(document.createComment(Version.VERSION)); 116 Element videoStreamIndex = document.createElement("StreamIndex"); 126 Element qualityLevel = document.createElement("QualityLevel") [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
NormalizeTest.java | 26 import org.w3c.dom.Document; 56 private Document document; field in class:NormalizeTest 65 document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); 66 domConfiguration = document.getDomConfig(); 343 document.getDocumentElement().normalize(); 344 assertEquals(xml, domToString(document)); 348 document.getDocumentElement().normalize(); 349 assertEquals(xml, domToString(document)); 356 document.normalizeDocument() [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/ |
RSSFeedAddEntryTask.java | 39 import org.w3c.dom.Document; 264 Document document=null; local 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) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
TestNode.java | 41 import org.w3c.dom.Document; 244 Document document = DomUtilities.parseDocument(xml, false); local 245 assertNotNull(document); 246 assertNotNull(document.getDocumentElement()); 248 return createFromNode(document.getDocumentElement()); 254 Document document = ((TestXmlNode) node).mElement.getOwnerDocument(); local 256 String xml = dumpDocument(document); 257 document = DomUtilities.parseDocument(xml, false) [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/ |
XPathImpl.java | 38 import org.w3c.dom.Document; 156 private static Document d = null; 181 private static Document getDummyDocument( ) { 241 * <code>item</code>, an empty document will be used for the 356 * <code>item</code>, an empty document will be used for the 418 * {@link #evaluate(String expression, Object item, QName returnType)} on the resulting document object.</p> 431 * @param source The input source of the document to evaluate over. 474 Document document = getParser().parse( source ); local 476 XObject resultObject = eval( expression, document ); [all...] |
/external/chromium/chrome/common/ |
web_apps.cc | 66 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_org/chrome/renderer/translate/ |
translate_helper.cc | 82 // Get the document language as set by WebKit from the http-equiv 87 // being the language of the document and the latter being the 95 WebDocument document = main_frame->document(); local 96 std::string content_language = document.contentLanguage().utf8(); 97 WebElement html_element = document.documentElement(); 113 GURL url(document.url()); 130 IsTranslationAllowed(&document) && !language.empty())); 271 bool TranslateHelper::IsTranslationAllowed(WebDocument* document) { 272 WebElement head = document->head() [all...] |
/external/chromium_org/chrome_frame/ |
bho.cc | 98 // our active document/activex instances to query referrer and other 199 // Returns true if the currently loaded document in the browser has 205 base::win::ScopedComPtr<IDispatch> document; local 208 SUCCEEDED(web_browser2->get_Document(document.Receive()))) { 210 if (SUCCEEDED(container.QueryFrom(document))) { 219 // If a top level document has embedded iframes then the theory is 220 // that first the top level document finishes loading and then the 227 // up as a temporary iframe in the parent document. It is not clear 237 // via document.write. 279 // (frames or iframes) in the current document, then the http-equi [all...] |
/external/chromium_org/content/renderer/accessibility/ |
accessibility_node_serializer.cc | 358 dst->AddStringAttribute(dst->ATTR_HTML_TAG, "#document"); 359 const WebDocument& document = src.document(); local 361 name = UTF16ToUTF8(document.title()); 362 dst->AddStringAttribute(dst->ATTR_DOC_TITLE, UTF16ToUTF8(document.title())); 363 dst->AddStringAttribute(dst->ATTR_DOC_URL, document.url().spec()); 366 document.isXHTMLDocument() ? "text/xhtml" : "text/html"); 371 const WebDocumentType& doctype = document.doctype(); 377 const gfx::Size& scroll_offset = document.frame()->scrollOffset(); 381 const gfx::Size& min_offset = document.frame()->minimumScrollOffset() [all...] |
renderer_accessibility_complete.cc | 47 const WebDocument& document = GetMainDocument(); local 48 if (!document.isNull()) { 52 HandleWebAccessibilityEvent(document.accessibilityObject(), 88 const WebDocument& document = GetMainDocument(); local 89 if (document.isNull()) 93 // When focus is cleared, implicitly focus the document. 95 HandleWebAccessibilityEvent(document.accessibilityObject(), 101 const WebDocument& document = GetMainDocument(); local 102 if (document.isNull()) 109 WebAXObject new_root = document.accessibilityObject() 117 const WebDocument& document = GetMainDocument(); local 168 const WebDocument& document = GetMainDocument(); local 389 const WebDocument& document = GetMainDocument(); local 501 const WebDocument& document = GetMainDocument(); local 519 const WebDocument& document = GetMainDocument(); local 547 const WebDocument& document = GetMainDocument(); local 573 const WebDocument& document = GetMainDocument(); local 604 const WebDocument& document = GetMainDocument(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
V8WindowShell.cpp | 69 static void checkDocumentWrapper(v8::Handle<v8::Object> wrapper, Document* document) 71 ASSERT(V8Document::toNative(wrapper) == document); 72 ASSERT(!document->isHTMLDocument() || (V8Document::toNative(v8::Handle<v8::Object>::Cast(wrapper->GetPrototype())) == document)); 137 // Clear the document wrapper cache before turning on access checks on 138 // the old DOMWindow wrapper. This way, access to the document wrapper 234 if (m_frame->document()) { 235 ContentSecurityPolicy* csp = m_frame->document()->contentSecurityPolicy(); 244 // document domai 383 Document* document = m_frame->document(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
FontFaceSet.cpp | 41 #include "core/dom/Document.h" 63 void loaded(Document*); 64 void error(Document*); 80 void LoadFontPromiseResolver::loaded(Document* document) 83 if (m_numLoading || !document) 93 void LoadFontPromiseResolver::error(Document* document) 96 loaded(document); 101 loaded(face->fontSelector()->document()); 144 Document* FontFaceSet::document() const function in class:WebCore::FontFaceSet [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
StyleResolverState.h | 48 StyleResolverState(Document&, Element*, RenderStyle* parentStyle = 0, RenderRegion* regionForStyling = 0); 50 // In FontFaceSet and CanvasRenderingContext2D, we don't have an element to grab the document from. 51 // This is why we have to store the document separately. 52 Document& document() const { return m_document; } function in class:WebCore::StyleResolverState 110 return m_elementStyleResources.styleImage(document().textLinkColors(), style()->color(), propertyId, value); 125 // SVG handles zooming in a different way compared to CSS. The whole document is scaled instead 132 // properties that are NOT allowed to scale within a zoomed SVG document (letter/word-spacing/font-size). 139 Document& m_document;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
FullscreenElementStack.cpp | 32 #include "core/dom/Document.h" 54 } while ((owner = owner->document().ownerElement())); 63 FullscreenElementStack* FullscreenElementStack::from(Document* document) 65 FullscreenElementStack* fullscreen = fromIfExists(document); 67 fullscreen = new FullscreenElementStack(document); 68 DocumentSupplement::provideTo(document, supplementName(), adoptPtr(fullscreen)); 74 FullscreenElementStack* FullscreenElementStack::fromIfExistsSlow(Document* document) 76 return static_cast<FullscreenElementStack*>(DocumentSupplement::from(document, supplementName())) 113 inline Document* FullscreenElementStack::document() function in class:WebCore::FullscreenElementStack [all...] |
Position.h | 130 Document* document() const { return m_anchorNode ? &m_anchorNode->document() : 0; } function in class:WebCore::Position
|
TreeScope.cpp | 32 #include "core/dom/Document.h" 65 TreeScope::TreeScope(ContainerNode* rootNode, Document* document) 67 , m_documentScope(document) 68 , m_parentTreeScope(document) 73 ASSERT(document); 74 ASSERT(rootNode != document); 79 TreeScope::TreeScope(Document* document) 80 : m_rootNode(document) 358 Document& document = rootNode()->document(); local [all...] |