Lines Matching defs:firstChild
83 protected ChildNode firstChild = null;
139 newnode.firstChild = null;
146 for (ChildNode child = firstChild;
182 for (ChildNode child = firstChild;
200 return firstChild != null;
231 return firstChild;
247 return firstChild != null ? firstChild.previousSibling : null;
252 if (firstChild != null) {
253 firstChild.previousSibling = node;
404 // Note: firstChild.previousSibling == lastChild!!
405 if (firstChild == null) {
407 firstChild = newInternal;
414 ChildNode lastChild = firstChild.previousSibling;
417 firstChild.previousSibling = newInternal;
421 if (refChild == firstChild) {
423 firstChild.isFirstChild(false);
424 newInternal.nextSibling = firstChild;
425 newInternal.previousSibling = firstChild.previousSibling;
426 firstChild.previousSibling = newInternal;
427 firstChild = newInternal;
532 // Note: lastChild == firstChild.previousSibling
533 if (oldInternal == firstChild) {
536 firstChild = oldInternal.nextSibling;
537 if (firstChild != null) {
538 firstChild.isFirstChild(true);
539 firstChild.previousSibling = oldInternal.previousSibling;
547 firstChild.previousSibling = prev;
689 if (firstChild == null) {
692 if (firstChild == lastChild()) {
707 n = firstChild;
738 if (firstChild == lastChild()) {
739 return index == 0 ? firstChild : null;
768 n = firstChild;
775 if (!firstAccess && (n == firstChild || n == lastChild())) {
854 for (kid = firstChild; kid != null; kid = kid.nextSibling) {
909 for (ChildNode mykid = firstChild;