73 references to Left
System.Data.Common (73)
System\Data\RbTree.cs (67)
432
while (
Left
(x_id) != NIL)
434
x_id =
Left
(x_id);
449
SetRight(x_id,
Left
(y_id));
450
if (
Left
(y_id) != NIL)
452
SetParent(
Left
(y_id), x_id);
469
else if (x_id ==
Left
(Parent(x_id)))
484
SetSubTreeSize(x_id, (SubTreeSize(
Left
(x_id)) + SubTreeSize(Right(x_id)) + (Next(x_id) == NIL ? 1 : SubTreeSize(Next(x_id)))));
489
SetSubTreeSize(y_id, (SubTreeSize(
Left
(y_id)) + SubTreeSize(Right(y_id)) + (Next(y_id) == NIL ? 1 : SubTreeSize(Next(y_id)))));
502
int y_id =
Left
(x_id);
524
else if (x_id ==
Left
(Parent(x_id))) // x is left child of its parent
535
SetSubTreeSize(x_id, (SubTreeSize(
Left
(x_id)) + SubTreeSize(Right(x_id)) + (Next(x_id) == NIL ? 1 : SubTreeSize(Next(x_id)))));
540
SetSubTreeSize(y_id, (SubTreeSize(
Left
(y_id)) + SubTreeSize(Right(y_id)) + (Next(y_id) == NIL ? 1 : SubTreeSize(Next(y_id)))));
591
Debug.Assert((NIL ==
Left
(z_id)) || (0 > Compare(root_id,
Left
(z_id), z_id)), "Left is not left");
593
z_id =
Left
(z_id);
629
SetLeft(newMainTreeNodeId,
Left
(z_id));
633
if (
Left
(Parent(z_id)) == z_id)
639
if (
Left
(z_id) != NIL)
640
SetParent(
Left
(z_id), newMainTreeNodeId);
680
int c = (position) - (SubTreeSize(
Left
(y_id)));
684
z_id =
Left
(z_id);
747
if (Parent(x_id) ==
Left
(Parent(Parent(x_id)))) // if x.parent is a left child
772
y_id =
Left
(Parent(Parent(x_id))); // y = x.parent.parent.left;
782
if (x_id ==
Left
(Parent(x_id)))
891
if (
Left
(z_id) == NIL || Right(z_id) == NIL)
896
if (
Left
(y_id) != NIL)
897
x_id =
Left
(y_id);
916
else if (y_id ==
Left
(py_id)) // update y's parent to point to X as its child
981
SetLeft(satelliteRootId,
Left
(mNode));
988
if (
Left
(Parent(mNode)) == mNode)
999
if (
Left
(mNode) != NIL)
1001
SetParent(
Left
(mNode), satelliteRootId);
1034
SetLeft(y_id,
Left
(z_id));
1041
if (
Left
(Parent(z_id)) == z_id)
1056
if (
Left
(z_id) != NIL)
1058
SetParent(
Left
(z_id), y_id);
1108
if ((x_id != NIL && x_id ==
Left
(Parent(x_id))) || (x_id == NIL &&
Left
(px_id) == NIL))
1127
if (color(
Left
(w_id)) == NodeColor.black && color(Right(w_id)) == NodeColor.black)
1137
SetColor(
Left
(w_id), NodeColor.black);
1154
w_id =
Left
(px_id);
1162
w_id = (x_id == NIL) ?
Left
(px_id) :
Left
(Parent(x_id));
1170
w_id = (x_id == NIL) ?
Left
(px_id) :
Left
(Parent(x_id));
1179
if (color(Right(w_id)) == NodeColor.black && color(
Left
(w_id)) == NodeColor.black)
1187
if (color(
Left
(w_id)) == NodeColor.black)
1192
w_id = (x_id == NIL) ?
Left
(px_id) :
Left
(Parent(x_id));
1197
SetColor(
Left
(w_id), NodeColor.black);
1229
Debug.Assert((NIL ==
Left
(x_id)) || (0 > Compare(root_id,
Left
(x_id), x_id)), "Search duplicate Left is not left");
1231
x_id =
Left
(x_id);
1259
Debug.Assert((NIL ==
Left
(x_id)) || (0 > Compare(NIL,
Left
(x_id), x_id)), "Search Left is not left");
1261
x_id =
Left
(x_id);
1408
int myRank = SubTreeSize(
Left
(nodeId));
1417
myRank += (SubTreeSize(
Left
(parent)) + 1);
1429
int myRank = SubTreeSize(
Left
(nodeId));
1435
myRank += (SubTreeSize(
Left
(parent)) + ((Next(parent) == NIL) ? 1 : SubTreeSize(Next(parent))));
1483
while (x_id != NIL && !(((rank = SubTreeSize(
Left
(x_id)) + 1) == index) && Next(x_id) == NIL))
1487
x_id =
Left
(x_id);
1515
int y_id =
Left
(x_id);
1543
if (!CheckUnique(
Left
(curNodeId)) || !CheckUnique(Right(curNodeId)))
1587
if ((index = IndexOf(
Left
(nodeId), item)) != -1)
1762
int myCorrectSize = SubTreeSize(
Left
(nodeId)) + SubTreeSize(Right(nodeId)) + (Next(nodeId) == NIL ? 1 : SubTreeSize(Next(nodeId)));
1785
int myCorrectSize = SubTreeSize(
Left
(nodeId)) + SubTreeSize(Right(nodeId)) + (Next(nodeId) == NIL ? 1 : SubTreeSize(Next(nodeId)));
System\Data\Selection.cs (6)
558
if (c < 0) { x = _records.
Left
(x); } // < for decsending
568
if (c > 0) { x = _records.
Left
(x); } // > for ascending
601
if (c > 0) { x = _records.
Left
(x); }
620
if (c > 0) { x = _records.
Left
(x); }
637
if (c < 0) { x = _records.
Left
(x); }
1013
GetUniqueKeyValues(list, _records.
Left
(curNodeId));