Home
last modified time | relevance | path

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

12

/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/surface/
Dsurface.dart1007 final PersistedSurface newChild = _children[i];
1008 assert(newChild.isActive || newChild.isPendingRetention,
1009 'New child is in incorrect state ${newChild.state}');
1010 assert(newChild.rootElement != null);
1011 assert(newChild.rootElement.parent == childContainer);
1029 final PersistedSurface newChild = _children[i];
1030 if (newChild.isPendingRetention) {
1031 newChild.retain();
1032 assert(newChild.isPendingRetention);
1033 } else if (newChild is PersistedContainerSurface &&
[all …]
/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/libxml2/python/tests/
Dbuild.py13 root = doc.newChild(None, "doc", None)
16 elem = root.newChild(None, "foo", "bar")
Dnsdel.py47 root = doc.newChild(None, "root", None)
49 child = root.newChild(namespace, "child", None)
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dcustom_paint.dart713 final SemanticsNode newChild = _updateSemanticsChild(oldChild, newSemantics);
714 newChildren[newChildrenTop] = newChild;
722 final CustomPainterSemantics newChild = newChildSemantics[newChildrenBottom];
723 if (!_canUpdateSemanticsChild(oldChild, newChild))
763 final SemanticsNode newChild = _updateSemanticsChild(oldChild, newSemantics);
764 assert(oldChild == newChild || oldChild == null);
765 newChildren[newChildrenTop] = newChild;
781 final SemanticsNode newChild = _updateSemanticsChild(oldChild, newSemantics);
782 assert(oldChild == newChild);
783 newChildren[newChildrenTop] = newChild;
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dlist_tile.dart982 final Element newChild = updateChild(oldChild, widget, slot);
987 if (newChild != null) {
988 slotToChild[slot] = newChild;
989 childToSlot[newChild] = slot;
1004 final Element newChild = updateChild(oldChild, widget, slot);
1009 if (newChild != null) {
1010 slotToChild[slot] = newChild;
1011 childToSlot[newChild] = slot;
1093 RenderBox _updateChild(RenderBox oldChild, RenderBox newChild, _ListTileSlot slot) {
1099 if (newChild != null) {
[all …]
Dchip.dart1957 final Element newChild = updateChild(oldChild, widget, slot);
1962 if (newChild != null) {
1963 slotToChild[slot] = newChild;
1964 childToSlot[newChild] = slot;
1978 final Element newChild = updateChild(oldChild, widget, slot);
1983 if (newChild != null) {
1984 slotToChild[slot] = newChild;
1985 childToSlot[newChild] = slot;
2130 RenderBox _updateChild(RenderBox oldChild, RenderBox newChild, _ChipSlot slot) {
2136 if (newChild != null) {
[all …]
Dinput_decorator.dart615 RenderBox _updateChild(RenderBox oldChild, RenderBox newChild, _DecorationSlot slot) {
621 if (newChild != null) {
622 childToSlot[newChild] = slot;
623 slotToChild[slot] = newChild;
624 adoptChild(newChild);
626 return newChild;
1481 final Element newChild = updateChild(oldChild, widget, slot);
1486 if (newChild != null) {
1487 slotToChild[slot] = newChild;
1488 childToSlot[newChild] = slot;
[all …]
/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/flutter/flutter/packages/flutter/lib/src/widgets/
Dlist_wheel_scroll_view.dart823 final Element newChild = updateChild(_childElements[index], retrieveWidget(index), index);
824 if (newChild != null) {
825 _childElements[index] = newChild;
849 final Element newChild =
851 if (newChild != null) {
852 _childElements[index] = newChild;
874 final Element newChild = super.updateChild(child, newWidget, newSlot);
875 final ListWheelParentData newParentData = newChild?.renderObject?.parentData;
882 return newChild;
Dsliver.dart1113 final Element newChild = updateChild(newChildren[index], _build(index), index);
1114 if (newChild != null) {
1115 _childElements[index] = newChild;
1116 final SliverMultiBoxAdaptorParentData parentData = newChild.renderObject.parentData;
1118 _currentBeforeChild = newChild.renderObject;
1163 Element newChild;
1166 newChild = updateChild(_childElements[index], _build(index), index);
1170 if (newChild != null) {
1171 _childElements[index] = newChild;
1181 final Element newChild = super.updateChild(child, newWidget, newSlot);
[all …]
Dframework.dart3089 final Element newChild = _retakeInactiveElement(key, newWidget);
3090 if (newChild != null) {
3091 assert(newChild._parent == null);
3092 assert(() { _debugCheckForCycles(newChild); return true; }());
3093 newChild._activateWithParent(this, newSlot);
3094 final Element updatedChild = updateChild(newChild, newWidget, newSlot);
3095 assert(newChild == updatedChild);
3099 final Element newChild = newWidget.createElement();
3100 assert(() { _debugCheckForCycles(newChild); return true; }());
3101 newChild.mount(this, newSlot);
[all …]
Doverlay.dart597 final Element newChild = inflateWidget(widget.offstage[i], previousChild);
598 _offstage[i] = newChild;
599 previousChild = newChild;
/third_party/typescript/tests/baselines/reference/
DimportMeta(module=es2020,target=es5).types74 >document.body.appendChild : <T extends Node>(newChild: T) => T
78 >appendChild : <T extends Node>(newChild: T) => T
DimportMeta(module=commonjs,target=es5).types74 >document.body.appendChild : <T extends Node>(newChild: T) => T
78 >appendChild : <T extends Node>(newChild: T) => T
DimportMeta(module=system,target=es5).types74 >document.body.appendChild : <T extends Node>(newChild: T) => T
78 >appendChild : <T extends Node>(newChild: T) => T
DimportMeta(module=esnext,target=esnext).types74 >document.body.appendChild : <T extends Node>(newChild: T) => T
78 >appendChild : <T extends Node>(newChild: T) => T
DimportMeta(module=esnext,target=es5).types74 >document.body.appendChild : <T extends Node>(newChild: T) => T
78 >appendChild : <T extends Node>(newChild: T) => T
DimportMeta(module=commonjs,target=esnext).types74 >document.body.appendChild : <T extends Node>(newChild: T) => T
78 >appendChild : <T extends Node>(newChild: T) => T
DimportMeta(module=system,target=esnext).types74 >document.body.appendChild : <T extends Node>(newChild: T) => T
78 >appendChild : <T extends Node>(newChild: T) => T
DimportMeta(module=es2020,target=esnext).types74 >document.body.appendChild : <T extends Node>(newChild: T) => T
78 >appendChild : <T extends Node>(newChild: T) => T
/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;
/third_party/typescript/lib/
Dlib.dom.d.ts10897 appendChild<T extends Node>(newChild: T): T;
10918 insertBefore<T extends Node>(newChild: T, refChild: Node | null): T;
10932 replaceChild<T extends Node>(newChild: Node, oldChild: T): T;

12