Home
last modified time | relevance | path

Searched refs:newChild (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Lib/xml/dom/
Dminidom.py82 def insertBefore(self, newChild, refChild): argument
83 if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE:
84 for c in tuple(newChild.childNodes):
87 return newChild
88 if newChild.nodeType not in self._child_node_types:
90 "%s cannot be child of %s" % (repr(newChild), repr(self)))
91 if newChild.parentNode is not None:
92 newChild.parentNode.removeChild(newChild)
94 self.appendChild(newChild)
100 if newChild.nodeType in _nodeTypes_with_children:
[all …]
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/
Disolated-reifier.js299 const newChild = { variable
329 newChild.target = newChild
330 root.children.push(newChild)
331 root.inventory.set(newChild.location, newChild)
/third_party/vk-gl-cts/framework/common/
DtcuCommandLine.cpp443 CaseTreeNode* const newChild = new CaseTreeNode(curName); in parseCaseTrie() local
447 nodeStack.back()->addChild(newChild); in parseCaseTrie()
451 delete newChild; in parseCaseTrie()
456 nodeStack.push_back(newChild); in parseCaseTrie()
505 CaseTreeNode* const newChild = new CaseTreeNode(curName); in parseSimpleCaseList() local
509 nodeStack[stackPos]->addChild(newChild); in parseSimpleCaseList()
513 delete newChild; in parseSimpleCaseList()
/third_party/node/deps/npm/node_modules/path-scurry/dist/mjs/
Dindex.js397 const pchild = this.newChild(pathPart, UNKNOWN, {
814 const child = this.newChild(e.name, type, { parent: this });
1173 newChild(name, type = UNKNOWN, opts = {}) { method in PathWin32
1251 newChild(name, type = UNKNOWN, opts = {}) { method in PathPosix
/third_party/node/deps/npm/node_modules/path-scurry/dist/cjs/
Dindex.js425 const pchild = this.newChild(pathPart, UNKNOWN, {
842 const child = this.newChild(e.name, type, { parent: this });
1202 newChild(name, type = UNKNOWN, opts = {}) { method in PathWin32
1281 newChild(name, type = UNKNOWN, opts = {}) { method in PathPosix
/third_party/python/Doc/library/
Dxml.dom.rst360 .. method:: Node.appendChild(newChild)
363 children, returning *newChild*. If the node was already in
367 .. method:: Node.insertBefore(newChild, refChild)
371 *newChild* is returned. If *refChild* is ``None``, it inserts *newChild* at the
382 .. method:: Node.replaceChild(newChild, oldChild)
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DIntermediate.cpp518 TIntermTyped* newChild = childTempConstant->fold(op, 0, infoSink); in addUnaryMath() local
520 if (newChild) in addUnaryMath()
521 return newChild; in addUnaryMath()
/third_party/typescript/tests/lib/
Dlib.d.ts11968 appendChild(newChild: Node): Node;
11973 insertBefore(newChild: Node, refChild?: Node): Node;
11981 replaceChild(newChild: Node, oldChild: Node): Node;