/external/webkit/Source/WebCore/svg/ |
SVGFontFaceFormatElement.cpp | 49 ContainerNode* ancestor = parentNode()->parentNode(); 50 if (!ancestor || !ancestor->hasTagName(font_face_srcTag)) 53 ancestor = ancestor->parentNode(); 54 if (ancestor && ancestor->hasTagName(font_faceTag)) 55 static_cast<SVGFontFaceElement*>(ancestor)->rebuildFontFace();
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
ProcessorExsltFuncResult.java | 52 ElemTemplateElement ancestor = handler.getElemTemplateElement().getParentElem(); local 53 while (ancestor != null && !(ancestor instanceof ElemExsltFunction)) 55 if (ancestor instanceof ElemVariable 56 || ancestor instanceof ElemParam 57 || ancestor instanceof ElemExsltFuncResult) 62 ancestor = ancestor.getParentElem(); 64 if (ancestor == null)
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
ChunkedIntArray.java | 131 // Check that the node at index "position" is not an ancestor 133 // RETURN -1. If position is NOT an ancestor, return position. 139 // We have to look all the way up the ancestor chain 140 // to make sure we don't have an ancestor. 141 int ancestor = startPos; local 142 while(ancestor > 0) 144 // Get the node whose index == ancestor 145 ancestor*=slotsize; 146 int chunkpos = ancestor >> lowbits; 147 int slotpos = ancestor & lowmask [all...] |
/external/webkit/Source/WebCore/dom/ |
EventDispatcher.cpp | 136 // Assume divergent boundary is the relatedTarget itself (in other words, related target ancestor chain does not cross any shadow DOM boundaries). 140 // Walk down from the top, looking for lowest common ancestor, also monitoring shadow DOM boundaries. 166 // The relatedTarget is an ancestor or shadowHost of the target. 247 Node* ancestor = m_node.get(); local 248 EventTarget* target = eventTargetRespectingSVGTargetRules(ancestor); 251 bool isSVGShadowRoot = ancestor->isSVGShadowRoot(); 252 if (isSVGShadowRoot || ancestor->isShadowRoot()) { 256 ancestor = isSVGShadowRoot ? ancestor->svgShadowHost() : ancestor->shadowHost() [all...] |
ScriptElement.cpp | 202 Node* ancestor = m_element->parentNode(); 203 while (ancestor) { 204 if (ancestor->isSVGShadowRoot()) 206 ancestor = ancestor->parentNode();
|
/external/guava/guava-tests/test/com/google/common/collect/ |
FauxveridesTest.java | 108 private void doHasAllFauxveridesTest(Class<?> descendant, Class<?> ancestor) { 110 getAllRequiredToFauxveride(descendant, ancestor); 111 Set<MethodSignature> found = getAllFauxveridden(descendant, ancestor); 114 assertEquals("Must hide public static methods from ancestor classes", 119 Class<?> descendant, Class<?> ancestor) { 120 return getPublicStaticMethodsBetween(ancestor, Object.class); 124 Class<?> descendant, Class<?> ancestor) { 125 return getPublicStaticMethodsBetween(descendant, ancestor); 129 Class<?> descendant, Class<?> ancestor) { 131 for (Class<?> clazz : getClassesBetween(descendant, ancestor)) { [all...] |
/external/webkit/Source/WebCore/editing/ |
BreakBlockquoteCommand.cpp | 138 // On exiting this loop, clonedAncestor is the lowest ancestor 169 // Split the tree up the ancestor chain until the topBlockquote 170 // Throughout this loop, clonedParent is the clone of ancestor's parent. 171 // This is so we can clone ancestor's siblings and place the clones 172 // into the clone corresponding to the ancestor's parent. 173 Element* ancestor; local 175 for (ancestor = ancestors.first(), clonedParent = clonedAncestor->parentElement(); 176 ancestor && ancestor != topBlockquote; 177 ancestor = ancestor->parentElement(), clonedParent = clonedParent->parentElement()) [all...] |
markup.cpp | 365 Node* ancestor = ancestorsToClose.last(); local 366 if (next != pastEnd && next->isDescendantOf(ancestor)) 369 appendEndTag(ancestor); 370 lastClosed = ancestor; 490 // Retain the Mail quote level by including all ancestor mail block quotes. 595 // Also include all of the ancestors of lastClosed up to this special ancestor. 596 for (ContainerNode* ancestor = lastClosed->parentNode(); ancestor; ancestor = ancestor->parentNode()) [all...] |
/dalvik/dx/src/com/android/dx/ssa/ |
Dominators.java | 117 DFSInfo ancestorbbInfo = info[bbInfo.ancestor.getIndex()]; 119 if (ancestorbbInfo.ancestor != null) { 128 SsaBasicBlock vAncestor = vbbInfo.ancestor; 131 // Make sure we process our ancestor before ourselves. 132 if (visited.add(vAncestor) && vabbInfo.ancestor != null) { 138 // Update based on ancestor info. 139 if (vabbInfo.ancestor == null) { 148 vbbInfo.ancestor = vabbInfo.ancestor; 156 if (bbInfo.ancestor == null) 278 public SsaBasicBlock ancestor; field in class:Dominators.DFSInfo [all...] |
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
Dominators.java | 117 DFSInfo ancestorbbInfo = info[bbInfo.ancestor.getIndex()]; 119 if (ancestorbbInfo.ancestor != null) { 128 SsaBasicBlock vAncestor = vbbInfo.ancestor; 131 // Make sure we process our ancestor before ourselves. 132 if (visited.add(vAncestor) && vabbInfo.ancestor != null) { 138 // Update based on ancestor info. 139 if (vabbInfo.ancestor == null) { 148 vbbInfo.ancestor = vabbInfo.ancestor; 156 if (bbInfo.ancestor == null) 278 public SsaBasicBlock ancestor; field in class:Dominators.DFSInfo [all...] |
/external/skia/src/core/ |
SkPictureStateTree.cpp | 120 // Trace back up to a common ancestor, restoring to get our current state to match that 121 // of the ancestor, and saving a list of nodes whose state we need to apply to get to 122 // the target (we can restore up to the ancestor immediately, but we'll need to return 126 Node* ancestor = targetNode; local 127 while (tmp != ancestor) { 129 uint16_t targetLevel = ancestor->fLevel; 136 fNodes.push(ancestor); 137 ancestor = ancestor->fParent; 141 if (ancestor->fFlags & Node::kSave_Flag) [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
BottomUpProfileDataGridTree.js | 30 // because a root node can represent itself AND an ancestor. 99 var ancestor = nodeInfo.ancestor; 101 var child = this.findChild(ancestor); 113 // If not, add it as a true ancestor. 114 // In heavy mode, we take our visual identity from ancestor node... 115 var child = new WebInspector.BottomUpProfileDataGridNode(this.profileView, ancestor, this.tree); 117 if (ancestor !== focusNode) { 127 var parent = ancestor.parent; 129 nodeInfo.ancestor = parent [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
Layer.cpp | 136 void Layer::localToAncestor(const Layer* ancestor, SkMatrix* matrix) const { 137 if (this == ancestor) { 146 ASSERT(!ancestor); 152 // and ancestor. 153 ASSERT(isAncestor(ancestor)); 154 for (const Layer* layer = this->fParent; layer != ancestor; layer = layer->fParent) { 161 // If ancestor is not the root layer, apply its child transformation too. 162 if (ancestor) 163 matrix->postConcat(ancestor->getChildrenMatrix());
|
/external/guava/guava/src/com/google/common/collect/ |
AbstractMultimap.java | 376 @Nullable K key, List<V> list, @Nullable WrappedCollection ancestor) { 378 ? new RandomAccessWrappedList(key, list, ancestor) 379 : new WrappedList(key, list, ancestor); 387 * <p>Full collections, identified by a null ancestor field, contain all 394 * given key. Its ancestor field points to the full wrapped collection with 402 final WrappedCollection ancestor; field in class:AbstractMultimap.WrappedCollection 406 @Nullable WrappedCollection ancestor) { 409 this.ancestor = ancestor; 411 = (ancestor == null) ? null : ancestor.getDelegate() [all...] |
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
nodeinsertbefore22.js | 78 Using insertBefore on an Element node attempt to insert the ancestor of an Element node 91 var ancestor; 103 ancestor = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:p"); 105 appendedChild = ancestor.appendChild(element); 110 inserted = element.insertBefore(ancestor,refNode);
|
/external/chromium/chrome/browser/accessibility/ |
browser_accessibility.cc | 91 BrowserAccessibility* ancestor) { 92 if (this == ancestor) { 95 return parent_->IsDescendantOf(ancestor);
|
/external/webkit/Source/WebCore/html/ |
HTMLImageElement.cpp | 240 for (ContainerNode* ancestor = parentNode(); ancestor; ancestor = ancestor->parentNode()) { 241 if (ancestor->hasTagName(formTag)) { 242 m_form = static_cast<HTMLFormElement*>(ancestor);
|
/external/webkit/Source/WebCore/loader/ |
NavigationScheduler.cpp | 299 // Navigation of a subframe during loading of an ancestor frame does not create a new back/forward item. 302 for (Frame* ancestor = targetFrame->tree()->parent(); ancestor; ancestor = ancestor->tree()->parent()) { 303 Document* document = ancestor->document(); 304 if (!ancestor->loader()->isComplete() || (document && document->processingLoadEvent()))
|
/external/libvpx/libvpx/nestegg/src/ |
nestegg.c | 273 struct list_node * ancestor; member in struct:saved_state 291 struct list_node * ancestor; member in struct:nestegg 755 ne_is_ancestor_element(uint64_t id, struct list_node * ancestor) 759 for (; ancestor; ancestor = ancestor->previous) 760 for (element = ancestor->node; element->id; ++element) 780 ne_ctx_push(nestegg * ctx, struct ebml_element_desc * ancestor, void * data) 785 item->previous = ctx->ancestor; 786 item->node = ancestor; [all...] |
/external/guava/guava/src/com/google/common/net/ |
InternetDomainName.java | 367 return hasPublicSuffix() ? ancestor(publicSuffixIndex) : null; 444 return ancestor(publicSuffixIndex - 1); 455 * Returns an {@code InternetDomainName} that is the immediate ancestor of 464 return ancestor(1); 468 * Returns the ancestor of the current domain at the given number of levels 475 private InternetDomainName ancestor(int levels) { method in class:InternetDomainName
|
/external/libxslt/libxslt/ |
numbers.c | 594 /* Skip to next preceding or ancestor */ 635 xmlNodePtr ancestor; local 652 /* ancestor-or-self::*[count] */ 653 for (ancestor = node; 654 (ancestor != NULL) && (ancestor->type != XML_DOCUMENT_NODE); 655 ancestor = xmlXPathNextAncestor(parser, ancestor)) { 658 xsltTestCompMatchList(context, ancestor, fromPat)) 661 if ((count == NULL && node->type == ancestor->type && [all...] |
/external/webkit/Source/WebCore/page/ |
FrameTree.h | 55 bool isDescendantOf(const Frame* ancestor) const;
|
FrameTree.cpp | 242 bool FrameTree::isDescendantOf(const Frame* ancestor) const 244 if (!ancestor) 247 if (m_thisFrame->page() != ancestor->page()) 251 if (frame == ancestor)
|
/external/webkit/Source/WebKit2/UIProcess/ |
WebFrameProxy.cpp | 221 bool WebFrameProxy::isDescendantOf(const WebFrameProxy* ancestor) const 223 if (!ancestor) 226 if (m_page != ancestor->m_page) 230 if (frame == ancestor)
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
TreeParser.java | 202 Object ancestor = getAncestor(adaptor, tokenNames, t, goal); local 203 if ( ancestor==null ) return false; 204 t = ancestor;
|