26 writes to Offset
PresentationFramework (26)
MS\Internal\Data\LiveShapingBlock.cs (5)
57
return new RBFinger<LiveShapingItem>() { Node = this,
Offset
= offset, Index = baseIndex + offset, Found = true };
106
oldFinger = new RBFinger<LiveShapingItem>() { Node = this,
Offset
= index, Index = baseIndex + index, Found = true };
208
return new RBFinger<LiveShapingItem>() { Node = this,
Offset
= k, Index = index + k };
345
return new RBFinger<LiveShapingItem>() { Node = foundBlock,
Offset
= offset, Index = baseIndex + offset };
426
return new RBFinger<LiveShapingItem>() { Node = foundBlock,
Offset
= offset, Index = baseIndex + offset };
MS\Internal\Data\RBFinger.cs (4)
42
finger.
Offset
+= 1;
47
finger.
Offset
= 0;
54
finger.
Offset
-= 1;
60
finger.
Offset
= finger.Node.Size - 1;
MS\Internal\Data\RBNode.cs (17)
91
result = new RBFinger<T>() { Node = this,
Offset
= 0, Index = 0, Found = false };
99
result = new RBFinger<T>() { Node = this,
Offset
= index - LeftSize, Index = index, Found = true };
104
result = new RBFinger<T>() { Node = this,
Offset
= Size, Index = LeftSize + Size, Found = false };
122
result = new RBFinger<T>() { Node = this,
Offset
= 0, Index = 0, Found = (compL == 0) };
127
result = new RBFinger<T>() { Node = this,
Offset
= 0, Index = LeftSize, Found = true };
134
result = new RBFinger<T>() { Node = this,
Offset
= offset, Index = LeftSize + offset, Found = found };
139
result = new RBFinger<T>() { Node = this,
Offset
= Size, Index = LeftSize + Size };
176
result = new RBFinger<T>() { Node = this,
Offset
= left, Index = left, Found = (compL == 0) };
181
result = new RBFinger<T>() { Node = this,
Offset
= 0, Index = LeftSize, Found = true };
207
result = new RBFinger<T>() { Node = this,
Offset
= right, Index = LeftSize + right, Found = false };
220
result = new RBFinger<T>() { Node = this,
Offset
= offset, Index = LeftSize + offset, Found = found };
264
return new RBFinger<T>() { Node = startingNode,
Offset
= k + 1, Index = nodeIndex + k + 1 };
282
return new RBFinger<T>() { Node = parent,
Offset
= offset, Index = nodeIndex + offset };
295
newFinger = new RBFinger<T>() { Node = newFinger.Node.GetSuccessor(),
Offset
= 0, Index = newFinger.Index };
299
return new RBFinger<T>() { Node = startingNode,
Offset
= 0, Index = nodeIndex };
372
finger.
Offset
= 0;
379
finger.
Offset
-= 1;
20 references to Offset
PresentationFramework (20)
MS\Internal\Data\LiveShapingTree.cs (1)
91
finger.Node.SetItemAt(finger.
Offset
, new LiveShapingItem(item, List));
MS\Internal\Data\RBFinger.cs (4)
17
public T Item { get { return Node.GetItemAt(
Offset
); } }
18
public void SetItem(T x) { Node.SetItemAt(
Offset
, x); }
44
if (finger.
Offset
== finger.Node.Size)
56
if (finger.
Offset
< 0)
MS\Internal\Data\RBNode.cs (8)
257
int nodeIndex = finger.Index - finger.
Offset
;
258
T x = startingNode.GetItemAt(finger.
Offset
);
261
for (int k = finger.
Offset
- 1; k >= 0; --k)
294
if (newFinger.
Offset
== newFinger.Node.Size)
311
int oldOffset = oldFinger.
Offset
, newOffset = newFinger.
Offset
;
312
T x = oldNode.GetItemAt(oldFinger.
Offset
);
363
int offset = finger.
Offset
;
MS\Internal\Data\RBTree.cs (7)
96
node.InsertAt(finger.
Offset
, x);
106
successor = InsertNode(finger.Index + node.Size - finger.
Offset
);
108
node.InsertAt(finger.
Offset
, x, successor, succsucc);
516
return finger.Node.GetItemAt(finger.
Offset
);
522
finger.Node.SetItemAt(finger.
Offset
, value);
607
yield return finger.Node.GetItemAt(finger.
Offset
);
617
yield return finger.Node.GetItemAt(finger.
Offset
);