Home
last modified time | relevance | path

Searched refs:ancestor (Results 1 – 25 of 105) sorted by relevance

12345

/external/apache-xml/src/main/java/org/apache/xalan/processor/
DProcessorExsltFuncResult.java52 ElemTemplateElement ancestor = handler.getElemTemplateElement().getParentElem(); in startElement() local
53 while (ancestor != null && !(ancestor instanceof ElemExsltFunction)) in startElement()
55 if (ancestor instanceof ElemVariable in startElement()
56 || ancestor instanceof ElemParam in startElement()
57 || ancestor instanceof ElemExsltFuncResult) in startElement()
62 ancestor = ancestor.getParentElem(); in startElement()
64 if (ancestor == null) in startElement()
/external/webkit/Source/WebCore/svg/
DSVGFontFaceFormatElement.cpp49 ContainerNode* ancestor = parentNode()->parentNode(); in childrenChanged() local
50 if (!ancestor || !ancestor->hasTagName(font_face_srcTag)) in childrenChanged()
53 ancestor = ancestor->parentNode(); in childrenChanged()
54 if (ancestor && ancestor->hasTagName(font_faceTag)) in childrenChanged()
55 static_cast<SVGFontFaceElement*>(ancestor)->rebuildFontFace(); in childrenChanged()
/external/webkit/Source/WebCore/dom/
DEventDispatcher.cpp247 Node* ancestor = m_node.get(); in ensureEventAncestors() local
248 EventTarget* target = eventTargetRespectingSVGTargetRules(ancestor); in ensureEventAncestors()
251 bool isSVGShadowRoot = ancestor->isSVGShadowRoot(); in ensureEventAncestors()
252 if (isSVGShadowRoot || ancestor->isShadowRoot()) { in ensureEventAncestors()
256 ancestor = isSVGShadowRoot ? ancestor->svgShadowHost() : ancestor->shadowHost(); in ensureEventAncestors()
258 ancestor = ancestor->shadowHost(); in ensureEventAncestors()
261 target = ancestor; in ensureEventAncestors()
263 ancestor = ancestor->parentNodeGuaranteedHostFree(); in ensureEventAncestors()
265 if (!ancestor) in ensureEventAncestors()
270 shouldSkipNextAncestor = ancestor->isSVGShadowRoot(); in ensureEventAncestors()
[all …]
DScriptElement.cpp202 Node* ancestor = m_element->parentNode(); in prepareScript() local
203 while (ancestor) { in prepareScript()
204 if (ancestor->isSVGShadowRoot()) in prepareScript()
206 ancestor = ancestor->parentNode(); in prepareScript()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DDominators.java117 DFSInfo ancestorbbInfo = info[bbInfo.ancestor.getIndex()]; in compress()
119 if (ancestorbbInfo.ancestor != null) { in compress()
128 SsaBasicBlock vAncestor = vbbInfo.ancestor; in compress()
132 if (visited.add(vAncestor) && vabbInfo.ancestor != null) { in compress()
139 if (vabbInfo.ancestor == null) { in compress()
148 vbbInfo.ancestor = vabbInfo.ancestor; in compress()
156 if (bbInfo.ancestor == null) { in eval()
220 wInfo.ancestor = wInfo.parent; in run()
278 public SsaBasicBlock ancestor; field in Dominators.DFSInfo
/external/guava/guava-tests/test/com/google/common/collect/
DFauxveridesTest.java108 private void doHasAllFauxveridesTest(Class<?> descendant, Class<?> ancestor) { in doHasAllFauxveridesTest() argument
110 getAllRequiredToFauxveride(descendant, ancestor); in doHasAllFauxveridesTest()
111 Set<MethodSignature> found = getAllFauxveridden(descendant, ancestor); in doHasAllFauxveridesTest()
119 Class<?> descendant, Class<?> ancestor) { in getAllRequiredToFauxveride() argument
120 return getPublicStaticMethodsBetween(ancestor, Object.class); in getAllRequiredToFauxveride()
124 Class<?> descendant, Class<?> ancestor) { in getAllFauxveridden() argument
125 return getPublicStaticMethodsBetween(descendant, ancestor); in getAllFauxveridden()
129 Class<?> descendant, Class<?> ancestor) { in getPublicStaticMethodsBetween() argument
131 for (Class<?> clazz : getClassesBetween(descendant, ancestor)) { in getPublicStaticMethodsBetween()
152 Class<?> descendant, Class<?> ancestor) { in getClassesBetween() argument
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DChunkedIntArray.java141 int ancestor = startPos; in specialFind() local
142 while(ancestor > 0) in specialFind()
145 ancestor*=slotsize; in specialFind()
146 int chunkpos = ancestor >> lowbits; in specialFind()
147 int slotpos = ancestor & lowmask; in specialFind()
153 ancestor = chunk[slotpos + 1]; in specialFind()
155 if(ancestor == position) in specialFind()
159 if (ancestor <= 0) in specialFind()
/external/webkit/LayoutTests/fast/xpath/
Dunion-context-node-expected.txt12 Query "ancestor::xhtml:span" from span#B
17 Query ".|ancestor::xhtml:span" from span#B
22 Query "ancestor::xhtml:span|." from span#B
27 Query "ancestor::xhtml:*[local-name()='span']" from span#B
32 Query ".|ancestor::xhtml:*[local-name()='span']" from span#B
37 Query "ancestor::xhtml:*[local-name()='span']|." from span#B
42 Query "(ancestor::xhtml:*[local-name()='span'])|." from span#B
Dxpath-functional-test-expected.txt6 [ok].//blockquote/ancestor::*
7 [ok].//blockquote/ancestor-or-self::*
20 [ok].//*[ancestor::blockquote]
21 [ok].//*[ancestor-or-self::blockquote]
39 [ok].//blockquote/ancestor::* | .//blockquote/descendant::*
53 [ok].//blockquote/ancestor::*[2]
54 [ok].//blockquote/ancestor-or-self::*[2]
79 [ok].//*[sum(ancestor::*/@title) < sum(descendant::*/@title)]
Ddocument-order-expected.txt1 PASS ancestor::* (context = attr1)
2 PASS ancestor::* (context = GCHILD11)
3 PASS ancestor::node() (context = attr1)
4 PASS ancestor::node() (context = GCHILD11)
27 PASS ancestor-or-self::node() (context = attr1)
Dtext-nodes-expected.txt7 ancestor-or-self::node(), b: "null null null b"
8 ancestor-or-self::*, b: "null null"
9 ancestor-or-self::node(), a: "null null null a"
10 ancestor-or-self::*, a: "null null"
Dposition-expected.txt14 PASS ancestor::node()[2]
15 PASS ancestor-or-self::node()[2]
16 PASS ancestor-or-self::node()[3]
/external/webkit/Source/WebCore/inspector/front-end/
DBottomUpProfileDataGridTree.js99 var ancestor = nodeInfo.ancestor;
101 var child = this.findChild(ancestor);
115 … var child = new WebInspector.BottomUpProfileDataGridNode(this.profileView, ancestor, this.tree);
117 if (ancestor !== focusNode) {
127 var parent = ancestor.parent;
129 nodeInfo.ancestor = parent;
192 …this._remainingNodeInfos.push({ ancestor:profileNode, focusNode:profileNode, totalTimeAccountedFor… property
/external/webkit/Source/WebCore/editing/
DBreakBlockquoteCommand.cpp173 Element* ancestor; in doApply() local
175 for (ancestor = ancestors.first(), clonedParent = clonedAncestor->parentElement(); in doApply()
176 ancestor && ancestor != topBlockquote; in doApply()
177 ancestor = ancestor->parentElement(), clonedParent = clonedParent->parentElement()) { in doApply()
178 moveNode = ancestor->nextSibling(); in doApply()
/external/webkit/LayoutTests/dom/xhtml/level3/core/
Dnodeinsertbefore22.js91 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/webkit/Source/WebCore/platform/graphics/android/layers/
DLayer.cpp136 void Layer::localToAncestor(const Layer* ancestor, SkMatrix* matrix) const { in localToAncestor() argument
137 if (this == ancestor) { in localToAncestor()
146 ASSERT(!ancestor); in localToAncestor()
153 ASSERT(isAncestor(ancestor)); in localToAncestor()
154 for (const Layer* layer = this->fParent; layer != ancestor; layer = layer->fParent) { in localToAncestor()
162 if (ancestor) in localToAncestor()
163 matrix->postConcat(ancestor->getChildrenMatrix()); in localToAncestor()
/external/guava/guava/src/com/google/common/collect/
DAbstractMultimap.java376 @Nullable K key, List<V> list, @Nullable WrappedCollection ancestor) { in wrapList() argument
378 ? new RandomAccessWrappedList(key, list, ancestor) in wrapList()
379 : new WrappedList(key, list, ancestor); in wrapList()
402 final WrappedCollection ancestor; field in AbstractMultimap.WrappedCollection
406 @Nullable WrappedCollection ancestor) { in WrappedCollection() argument
409 this.ancestor = ancestor; in WrappedCollection()
411 = (ancestor == null) ? null : ancestor.getDelegate(); in WrappedCollection()
422 if (ancestor != null) { in refreshIfEmpty()
423 ancestor.refreshIfEmpty(); in refreshIfEmpty()
424 if (ancestor.getDelegate() != ancestorDelegate) { in refreshIfEmpty()
[all …]
/external/webkit/LayoutTests/fast/xpath/py-dom-xpath/
Daxes-expected.txt3 PASS //*[@id="2.2"]/ancestor::*
11 PASS //*[@id="2.2"]/ancestor-or-self::*
12 Test that the ancestor, descendant, following, preceding, and self axes partition the document
Dpredicates-expected.txt3 PASS //group[@id="g2"]/ancestor::*[1]
9 PASS //group[@id="g2"]/ancestor-or-self::*[1]
/external/libvpx/nestegg/src/
Dnestegg.c273 struct list_node * ancestor; member
291 struct list_node * ancestor; member
755 ne_is_ancestor_element(uint64_t id, struct list_node * ancestor) in ne_is_ancestor_element() argument
759 for (; ancestor; ancestor = ancestor->previous) in ne_is_ancestor_element()
760 for (element = ancestor->node; element->id; ++element) in ne_is_ancestor_element()
780 ne_ctx_push(nestegg * ctx, struct ebml_element_desc * ancestor, void * data) in ne_ctx_push() argument
785 item->previous = ctx->ancestor; in ne_ctx_push()
786 item->node = ancestor; in ne_ctx_push()
788 ctx->ancestor = item; in ne_ctx_push()
796 item = ctx->ancestor; in ne_ctx_pop()
[all …]
/external/libxslt/libxslt/
Dnumbers.c635 xmlNodePtr ancestor; in xsltNumberFormatGetMultipleLevel() local
653 for (ancestor = node; in xsltNumberFormatGetMultipleLevel()
654 (ancestor != NULL) && (ancestor->type != XML_DOCUMENT_NODE); in xsltNumberFormatGetMultipleLevel()
655 ancestor = xmlXPathNextAncestor(parser, ancestor)) { in xsltNumberFormatGetMultipleLevel()
658 xsltTestCompMatchList(context, ancestor, fromPat)) in xsltNumberFormatGetMultipleLevel()
661 if ((count == NULL && node->type == ancestor->type && in xsltNumberFormatGetMultipleLevel()
662 xmlStrEqual(node->name, ancestor->name)) || in xsltNumberFormatGetMultipleLevel()
663 xsltTestCompMatchList(context, ancestor, countPat)) { in xsltNumberFormatGetMultipleLevel()
666 for (preceding = ancestor; in xsltNumberFormatGetMultipleLevel()
671 if ((preceding->type == ancestor->type) && in xsltNumberFormatGetMultipleLevel()
[all …]
/external/webkit/LayoutTests/fast/xpath/4XPath/Core/
Dtest_step-expected.txt1 PASS ancestor::*
2 PASS ancestor-or-self::*
/external/webkit/Source/WebCore/html/
DHTMLImageElement.cpp240 for (ContainerNode* ancestor = parentNode(); ancestor; ancestor = ancestor->parentNode()) { in insertedIntoTree() local
241 if (ancestor->hasTagName(formTag)) { in insertedIntoTree()
242 m_form = static_cast<HTMLFormElement*>(ancestor); in insertedIntoTree()
/external/webkit/Source/WebCore/loader/
DNavigationScheduler.cpp302 …for (Frame* ancestor = targetFrame->tree()->parent(); ancestor; ancestor = ancestor->tree()->paren… in mustLockBackForwardList() local
303 Document* document = ancestor->document(); in mustLockBackForwardList()
304 if (!ancestor->loader()->isComplete() || (document && document->processingLoadEvent())) in mustLockBackForwardList()
/external/guava/guava/src/com/google/common/net/
DInternetDomainName.java367 return hasPublicSuffix() ? ancestor(publicSuffixIndex) : null; in publicSuffix()
444 return ancestor(publicSuffixIndex - 1); in topPrivateDomain()
464 return ancestor(1); in parent()
475 private InternetDomainName ancestor(int levels) { in ancestor() method in InternetDomainName

12345