44 references to Next
System.Data (44)
fx\src\data\System\Data\RbTree.cs (42)
410
if (NIL !=
Next
(nodeId))
417
nodeId = Minimum(
Next
(nodeId));
472
SetSubTreeSize(x_id, (SubTreeSize(Left(x_id)) + SubTreeSize(Right(x_id)) + (
Next
(x_id) == NIL ? 1 : SubTreeSize(
Next
(x_id)))));
476
SetSubTreeSize(y_id, (SubTreeSize(Left(y_id)) + SubTreeSize(Right(y_id)) + (
Next
(y_id) == NIL ? 1 : SubTreeSize(
Next
(y_id)))));
517
SetSubTreeSize(x_id, (SubTreeSize(Left(x_id)) + SubTreeSize(Right(x_id)) + (
Next
(x_id) == NIL ? 1 : SubTreeSize(
Next
(x_id)))));
521
SetSubTreeSize(y_id, (SubTreeSize(Left(y_id)) + SubTreeSize(Right(y_id)) + (
Next
(y_id) == NIL ? 1 : SubTreeSize(
Next
(y_id)))));
585
if (
Next
(z_id) != NIL) {
586
root_id = RBInsert (
Next
(z_id), x_id, z_id, -1, false); // z_id is existing mainTreeNodeID
587
SetKey (z_id, Key (
Next
(z_id)));
841
if (
Next
(z_id) != NIL)
842
return RBDeleteX(
Next
(z_id),
Next
(z_id), z_id); // delete root of satelite tree.
848
if (
Next
(mNode) != NIL)
849
root_id =
Next
(mNode);
851
if (SubTreeSize (
Next
(mNode)) == 2) // Next(mNode) == root_id
853
else if (SubTreeSize (
Next
(mNode)) == 1) {
893
SetNext (z_id,
Next
(y_id)); //z.value = y.value;
896
if (
Next
(mNode) != NIL)
940
if (mNode == NIL || SubTreeSize(
Next
(mNode)) != 1) {
944
int satelliteRootId =
Next
(mNode);
974
else if (
Next
(mNode) != NIL)
1026
if (mNode != NIL &&
Next
(mNode) == z_id) {
1245
if (
Next
(nodeId) != NIL) {
1246
return new NodePath(SearchSubTree(
Next
(nodeId), key), nodeId);
1300
else if (NIL !=
Next
(node))
1380
myRank += (SubTreeSize(Left(parent)) + ((
Next
(parent) == NIL) ? 1 : SubTreeSize(
Next
(parent))));
1423
while (x_id != NIL && !(((rank = SubTreeSize (Left (x_id)) + 1) == index) &&
Next
(x_id) == NIL))
1428
else if (
Next
(x_id) != NIL && index >= rank && index <= rank + SubTreeSize (
Next
(x_id)) - 1)
1433
return ComputeNodeByIndex(
Next
(x_id), index); //satellite tree root
1437
if (
Next
(x_id) == NIL)
1440
index -= rank + SubTreeSize (
Next
(x_id)) - 1;
1450
Debug.Assert(NIL ==
Next
(x_id), "has unexpected satellite tree");
1681
int myCorrectSize = SubTreeSize (Left (nodeId)) + SubTreeSize (Right (nodeId)) + (
Next
(nodeId) == NIL ? 1 : SubTreeSize (
Next
(nodeId)));
1703
int myCorrectSize = SubTreeSize(Left(nodeId)) + SubTreeSize(Right(nodeId)) + (
Next
(nodeId) == NIL ? 1 : SubTreeSize(
Next
(nodeId)));
fx\src\data\System\Data\Selection.cs (2)
629
if (records.
Next
(nodeId) == IndexTree.NIL)
632
int span = records.SubTreeSize(records.
Next
(nodeId));