Home
last modified time | relevance | path

Searched refs:refNode (Results 1 – 25 of 28) sorted by relevance

12

/external/webkit/Source/WebKit/win/Interfaces/
DDOMRange.idl100 - (void)setStart:(DOMNode *)refNode :(int)offset;
102 HRESULT setStart([in] IDOMNode* refNode, [in] int offset);
105 - (void)setEnd:(DOMNode *)refNode :(int)offset;
107 HRESULT setEnd([in] IDOMNode* refNode, [in] int offset);
110 - (void)setStartBefore:(DOMNode *)refNode;
112 HRESULT setStartBefore([in] IDOMNode* refNode);
115 - (void)setStartAfter:(DOMNode *)refNode;
117 HRESULT setStartAfter([in] IDOMNode* refNode);
120 - (void)setEndBefore:(DOMNode *)refNode;
122 HRESULT setEndBefore([in] IDOMNode* refNode);
[all …]
/external/webkit/Source/WebCore/dom/
DRange.cpp195 void Range::setStart(PassRefPtr<Node> refNode, int offset, ExceptionCode& ec) in setStart() argument
202 if (!refNode) { in setStart()
207 if (refNode->document() != m_ownerDocument) { in setStart()
213 Node* childNode = checkNodeWOffset(refNode.get(), offset, ec); in setStart()
217 m_start.set(refNode, offset, childNode); in setStart()
235 void Range::setEnd(PassRefPtr<Node> refNode, int offset, ExceptionCode& ec) in setEnd() argument
242 if (!refNode) { in setEnd()
247 if (refNode->document() != m_ownerDocument) { in setEnd()
253 Node* childNode = checkNodeWOffset(refNode.get(), offset, ec); in setEnd()
257 m_end.set(refNode, offset, childNode); in setEnd()
[all …]
DRange.idl39 [OldStyleObjC] void setStart(in Node refNode,
42 [OldStyleObjC] void setEnd(in Node refNode,
45 void setStartBefore(in Node refNode)
47 void setStartAfter(in Node refNode)
49 void setEndBefore(in Node refNode)
51 void setEndAfter(in Node refNode)
55 void selectNode(in Node refNode)
57 void selectNodeContents(in Node refNode)
102 boolean intersectsNode(in Node refNode)
105 short compareNode(in Node refNode)
[all …]
DRange.h66 bool isPointInRange(Node* refNode, int offset, ExceptionCode&);
67 short comparePoint(Node* refNode, int offset, ExceptionCode&) const;
69 CompareResults compareNode(Node* refNode, ExceptionCode&) const;
75 bool intersectsNode(Node* refNode, ExceptionCode&);
/external/webkit/Source/WebCore/editing/
DFormatBlockCommand.cpp68 Element* refNode = enclosingBlockFlowElement(end); in formatRange() local
73 if (isElementForFormatBlock(refNode->tagQName()) && start == startOfBlock(start) in formatRange()
74 && (end == endOfBlock(end) || isNodeVisiblyContainedWithin(refNode, range.get())) in formatRange()
75 && refNode != root && !root->isDescendantOf(refNode)) { in formatRange()
77 if (refNode->hasTagName(tagName())) in formatRange()
79 nodeAfterInsertionPosition = refNode; in formatRange()
DModifySelectionListLevel.cpp91 …ectionListLevelCommand::insertSiblingNodeRangeBefore(Node* startNode, Node* endNode, Node* refNode) in insertSiblingNodeRangeBefore() argument
97 insertNodeBefore(node, refNode); in insertSiblingNodeRangeBefore()
106 …lectionListLevelCommand::insertSiblingNodeRangeAfter(Node* startNode, Node* endNode, Node* refNode) in insertSiblingNodeRangeAfter() argument
112 insertNodeAfter(node, refNode); in insertSiblingNodeRangeAfter()
117 refNode = node; in insertSiblingNodeRangeAfter()
DReplaceSelectionCommand.cpp88 void insertNodeBefore(PassRefPtr<Node> node, Node* refNode);
224 void ReplacementFragment::insertNodeBefore(PassRefPtr<Node> node, Node* refNode) in insertNodeBefore() argument
226 if (!node || !refNode) in insertNodeBefore()
229 ContainerNode* parent = refNode->parentNode(); in insertNodeBefore()
234 parent->insertBefore(node, refNode, ec); in insertNodeBefore()
988 RefPtr<Node> refNode = fragment.firstChild(); in doApply() local
989 RefPtr<Node> node = refNode->nextSibling(); in doApply()
991 fragment.removeNode(refNode); in doApply()
994 …if ((isListElement(refNode.get()) || (isStyleSpan(refNode.get()) && isListElement(refNode->firstCh… in doApply()
996 refNode = insertAsListItems(refNode, blockStart, insertionPos); in doApply()
[all …]
DInsertParagraphSeparatorCommand.cpp256 Node *refNode; in doApply() local
261 refNode = startBlock; in doApply()
263 refNode = startBlock->childNode(insertionPosition.deprecatedEditingOffset()); in doApply()
264 ASSERT(refNode); // must be true or we'd be in the end of block case in doApply()
266 refNode = insertionPosition.deprecatedNode(); in doApply()
271 insertNodeBefore(blockToInsert, refNode); in doApply()
DModifySelectionListLevel.h41 void insertSiblingNodeRangeBefore(Node* startNode, Node* endNode, Node* refNode);
42 void insertSiblingNodeRangeAfter(Node* startNode, Node* endNode, Node* refNode);
/external/webkit/LayoutTests/dom/xhtml/level3/core/
Dnodeinsertbefore22.js90 var refNode;
102 refNode = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:a");
104 appendedChild = element.appendChild(refNode);
110 inserted = element.insertBefore(ancestor,refNode);
Dnodeinsertbefore23.js97 var refNode;
115 refNode = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:p");
117 appendedChild = element.appendChild(refNode);
122 inserted = element.insertBefore(newNode,refNode);
Dnodeinsertbefore24.js90 var refNode;
101 refNode = doc.createCDATASection("CDATASection");
107 inserted = element.insertBefore(newNode,refNode);
Dnodeinsertbefore21.js90 var refNode;
102 refNode = element.firstChild;
110 inserted = element.insertBefore(newNode,refNode);
Dnodeinsertbefore19.js90 var refNode;
104 refNode = element.firstChild;
107 inserted = element.insertBefore(newNode,refNode);
Dnodeinsertbefore20.js90 var refNode;
102 refNode = element.firstChild;
109 inserted = element.insertBefore(newNode,refNode);
Dnodeinsertbefore17.js98 var refNode;
112 refNode = element.firstChild;
115 inserted = element.insertBefore(newText,refNode);
/external/webkit/Source/WebCore/svg/
DSVGLinearGradientElement.cpp184 … Node* refNode = ownerDocument()->getElementById(SVGURIReference::getTarget(current->href())); in collectGradientAttributes() local
185 …if (refNode && (refNode->hasTagName(SVGNames::linearGradientTag) || refNode->hasTagName(SVGNames::… in collectGradientAttributes()
186 current = static_cast<SVGGradientElement*>(refNode); in collectGradientAttributes()
DSVGRadialGradientElement.cpp198 … Node* refNode = ownerDocument()->getElementById(SVGURIReference::getTarget(current->href())); in collectGradientAttributes() local
199 …if (refNode && (refNode->hasTagName(SVGNames::radialGradientTag) || refNode->hasTagName(SVGNames::… in collectGradientAttributes()
200 current = static_cast<SVGGradientElement*>(refNode); in collectGradientAttributes()
DSVGPatternElement.cpp278 … Node* refNode = ownerDocument()->getElementById(SVGURIReference::getTarget(current->href())); in collectPatternAttributes() local
279 if (refNode && refNode->hasTagName(SVGNames::patternTag)) { in collectPatternAttributes()
280 current = static_cast<const SVGPatternElement*>(const_cast<const Node*>(refNode)); in collectPatternAttributes()
/external/webkit/Source/WebCore/webaudio/
DAudioContext.cpp252 refNode(node.get()); // context keeps reference until source has finished playing in createBufferSource()
262refNode(node.get()); // context keeps reference until we stop making javascript rendering callbacks in createJavaScriptNode()
345 void AudioContext::refNode(AudioNode* node) in refNode() function in WebCore::AudioContext
DAudioContext.h225 void refNode(AudioNode*);
/external/webkit/Source/WebCore/bindings/objc/
DPublicDOMInterfaces.h1158 - (void)setStart:(DOMNode *)refNode offset:(int)offset AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;
1159 - (void)setStart:(DOMNode *)refNode :(int)offset;
1160 - (void)setEnd:(DOMNode *)refNode offset:(int)offset AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER;
1161 - (void)setEnd:(DOMNode *)refNode :(int)offset;
1162 - (void)setStartBefore:(DOMNode *)refNode;
1163 - (void)setStartAfter:(DOMNode *)refNode;
1164 - (void)setEndBefore:(DOMNode *)refNode;
1165 - (void)setEndAfter:(DOMNode *)refNode;
1167 - (void)selectNode:(DOMNode *)refNode;
1168 - (void)selectNodeContents:(DOMNode *)refNode;
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/
DRSSFeedAddEntryTask.java305 Node refNode=child.getNextSibling(); in updateFeedXML() local
306 element.insertBefore(document.createTextNode(NL + " "),refNode); //$NON-NLS-1$ in updateFeedXML()
307 element.insertBefore(newNode,refNode); in updateFeedXML()
/external/libxml2/
Dxmlschemas.c23769 xmlSchemaPSVIIDCNodePtr refNode = NULL; in xmlSchemaCheckCVCIDCKeyRef() local
23789 refNode = matcher->targets->items[i]; in xmlSchemaCheckCVCIDCKeyRef()
23791 refKeys = refNode->keys; in xmlSchemaCheckCVCIDCKeyRef()
23832 XML_SCHEMAV_CVC_IDC, refNode, in xmlSchemaCheckCVCIDCKeyRef()
23837 refNode->keys, nbFields), in xmlSchemaCheckCVCIDCKeyRef()
23851 XML_SCHEMAV_CVC_IDC, refNode, in xmlSchemaCheckCVCIDCKeyRef()
23855 refNode->keys, nbFields), in xmlSchemaCheckCVCIDCKeyRef()
/external/webkit/Source/WebCore/
DChangeLog-2011-02-1647249 … The bug was caused by FormatBlockCommand::formatRange's not removing refNode when the refNode
47250 contains more than one paragraphs even when the refNode is fully selected.

12