/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/ |
MockXmlNode.java | 122 public Node appendChild(Node newChild) throws DOMException { 123 mNodeList.getArrayList().add((MockXmlNode) newChild); 124 return newChild; 228 public Node insertBefore(Node newChild, Node refChild) 261 public Node replaceChild(Node newChild, Node oldChild)
|
/external/webkit/WebCore/html/ |
HTMLOptionElement.cpp | 51 bool HTMLOptionElement::checkDTD(const Node* newChild) 53 return newChild->isTextNode() || newChild->hasTagName(scriptTag);
|
HTMLSelectElement.cpp | 54 bool HTMLSelectElement::checkDTD(const Node* newChild) 57 return newChild->isTextNode() || newChild->hasTagName(optionTag) || newChild->hasTagName(optgroupTag) || newChild->hasTagName(hrTag) || 58 newChild->hasTagName(scriptTag);
|
HTMLFrameSetElement.h | 40 virtual bool checkDTD(const Node* newChild);
|
HTMLDocument.cpp | 299 bool HTMLDocument::childAllowed(Node *newChild) 301 return newChild->hasTagName(htmlTag) || newChild->isCommentNode() || (newChild->nodeType() == DOCUMENT_TYPE_NODE && !doctype());
|
HTMLSelectElement.h | 85 virtual bool checkDTD(const Node* newChild);
|
HTMLTableElement.cpp | 56 bool HTMLTableElement::checkDTD(const Node* newChild) 58 if (newChild->isTextNode()) 59 return static_cast<const Text*>(newChild)->containsOnlyWhitespace(); 60 return newChild->hasTagName(captionTag) || 61 newChild->hasTagName(colTag) || newChild->hasTagName(colgroupTag) || 62 newChild->hasTagName(theadTag) || newChild->hasTagName(tfootTag) || 63 newChild->hasTagName(tbodyTag) || newChild->hasTagName(formTag) | [all...] |
/external/webkit/WebCore/dom/ |
Node.idl | 66 [OldStyleObjC, Custom] Node insertBefore(in [Return] Node newChild, 69 [OldStyleObjC, Custom] Node replaceChild(in Node newChild, 74 [Custom] Node appendChild(in [Return] Node newChild)
|
Node.h | 135 virtual bool insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionCode&, bool shouldLazyAttach = false); 136 virtual bool replaceChild(PassRefPtr<Node> newChild, Node* oldChild, ExceptionCode&, bool shouldLazyAttach = false); 138 virtual bool appendChild(PassRefPtr<Node> newChild, ExceptionCode&, bool shouldLazyAttach = false); 396 void checkAddChild(Node* newChild, ExceptionCode&); // Error-checking when adding via the DOM API 397 virtual bool childAllowed(Node* newChild); // Error-checking during parsing that checks the DTD 399 void checkReplaceChild(Node* newChild, Node* oldChild, ExceptionCode&); 400 virtual bool canReplaceChild(Node* newChild, Node* oldChild);
|
Node.cpp | 1079 bool Node::canReplaceChild(Node* newChild, Node*) 1081 if (newChild->nodeType() != DOCUMENT_FRAGMENT_NODE) { 1082 if (!childTypeAllowed(newChild->nodeType())) 1085 for (Node *n = newChild->firstChild(); n; n = n->nextSibling()) { 1093 void Node::checkReplaceChild(Node* newChild, Node* oldChild, ExceptionCode& ec) 1098 // Not mentioned in spec: throw NOT_FOUND_ERR if newChild is null 1099 if (!newChild) { 1112 // WRONG_DOCUMENT_ERR: Raised if newChild was created from a different document than the one that 1114 // We assume that if newChild is a DocumentFragment, all children are created from the same document 1116 if (newChild->document() != document()) [all...] |
/libcore/luni/src/main/java/org/apache/xalan/templates/ |
ElemValueOf.java | 261 * @param newChild Child to add to children list 267 public ElemTemplateElement appendChild(ElemTemplateElement newChild) 271 new Object[]{ newChild.getNodeName(), 272 this.getNodeName() }); //"Can not add " +((ElemTemplateElement)newChild).m_elemName +
|
ElemCopyOf.java | 213 * @param newChild Child to add to this node's child list 217 public ElemTemplateElement appendChild(ElemTemplateElement newChild) 221 new Object[]{ newChild.getNodeName(), 222 this.getNodeName() }); //"Can not add " +((ElemTemplateElement)newChild).m_elemName +
|
/external/webkit/WebCore/platform/graphics/qt/ |
GraphicsLayerQt.h | 49 virtual bool replaceChild(GraphicsLayer* oldChild, GraphicsLayer* newChild);
|
/external/webkit/WebCore/rendering/ |
CounterNode.h | 61 void insertAfter(CounterNode* newChild, CounterNode* beforeChild, const AtomicString& identifier);
|
RenderMenuList.h | 59 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0);
|
RenderInline.cpp | 139 void RenderInline::addChild(RenderObject* newChild, RenderObject* beforeChild) 142 return addChildToContinuation(newChild, beforeChild); 143 return addChildIgnoringContinuation(newChild, beforeChild); 178 void RenderInline::addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild) 184 if (!newChild->isInline() && !newChild->isFloatingOrPositioned()) { 187 // |newChild|. We then make that block box a continuation of this inline. We take all of 208 splitFlow(beforeChild, newBox, newChild, oldContinuation); 212 RenderBoxModelObject::addChild(newChild, beforeChild); 214 newChild->setNeedsLayoutAndPrefWidthsRecalc() [all...] |
RenderButton.cpp | 48 void RenderButton::addChild(RenderObject* newChild, RenderObject* beforeChild) 59 m_inner->addChild(newChild, beforeChild);
|
/external/webkit/WebKitTools/Scripts/webkitpy/ |
BeautifulSoup.py | 180 def insert(self, position, newChild): 181 if (isinstance(newChild, basestring) 182 or isinstance(newChild, unicode)) \ 183 and not isinstance(newChild, NavigableString): 184 newChild = NavigableString(newChild) 187 if hasattr(newChild, 'parent') and newChild.parent != None: 190 if newChild.parent == self: 191 index = self.find(newChild) [all...] |
/external/webkit/WebCore/svg/ |
SVGUseElement.cpp | 699 RefPtr<Element> newChild = targetInstance->correspondingElement()->cloneElementWithChildren(); 706 if (subtreeContainsDisallowedElement(newChild.get())) 707 removeDisallowedElementsFromSubtree(newChild.get()); 710 if (newChild->isSVGElement()) 711 newChildPtr = static_cast<SVGElement*>(newChild.get()); 715 shadowRoot->appendChild(newChild.release(), ec); 760 RefPtr<Element> newChild = target->cloneElementWithChildren(); 767 if (subtreeContainsDisallowedElement(newChild.get())) 768 removeDisallowedElementsFromSubtree(newChild.get()); 771 if (newChild->isSVGElement() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/gscripts/ |
android.widget.LinearLayout.groovy | 227 INode newChild = targetNode.insertChildAt(fqcn, insertPos); 237 addAttributes(newChild, element, idMap) { 247 addInnerElements(newChild, element, idMap);
|
/external/webkit/WebCore/platform/graphics/android/ |
GraphicsLayerAndroid.h | 51 virtual bool replaceChild(GraphicsLayer* oldChild, GraphicsLayer* newChild);
|
/external/webkit/WebCore/platform/graphics/win/ |
GraphicsLayerCACF.h | 55 virtual bool replaceChild(GraphicsLayer *oldChild, GraphicsLayer *newChild);
|
/external/webkit/JavaScriptCore/profiler/ |
ProfileNode.cpp | 98 RefPtr<ProfileNode> newChild = ProfileNode::create(callIdentifier, m_head ? m_head : this, this); // If this ProfileNode has no head it is the head. 100 m_children.last()->setNextSibling(newChild.get()); 101 m_children.append(newChild.release());
|
/external/webkit/WebCore/platform/graphics/ |
GraphicsLayer.cpp | 174 bool GraphicsLayer::replaceChild(GraphicsLayer* oldChild, GraphicsLayer* newChild) 176 ASSERT(!newChild->parent()); 180 m_children[i] = newChild; 188 newChild->removeFromParent(); 189 newChild->setParent(this);
|
/external/webkit/WebKit/win/ |
DOMCoreClasses.h | 165 /* [in] */ IDOMNode *newChild, 170 /* [in] */ IDOMNode *newChild, 391 /* [in] */ IDOMNode *newChild, 393 /* [retval][out] */ IDOMNode **result) { return DOMNode::insertBefore(newChild, refChild, result); } 396 /* [in] */ IDOMNode *newChild, 398 /* [retval][out] */ IDOMNode **result) { return DOMNode::replaceChild(newChild, oldChild, result); } 623 /* [in] */ IDOMNode *newChild, 625 /* [retval][out] */ IDOMNode **result) { return DOMNode::insertBefore(newChild, refChild, result); } 628 /* [in] */ IDOMNode *newChild, 630 /* [retval][out] */ IDOMNode **result) { return DOMNode::replaceChild(newChild, oldChild, result); [all...] |