26 writes to Offset
PresentationFramework (26)
MS\Internal\Data\LiveShapingBlock.cs (5)
65
return new RBFinger<LiveShapingItem>() { Node = this,
Offset
= offset, Index = baseIndex + offset, Found = true };
114
oldFinger = new RBFinger<LiveShapingItem>() { Node = this,
Offset
= index, Index = baseIndex + index, Found = true };
216
return new RBFinger<LiveShapingItem>() { Node = this,
Offset
= k, Index = index + k };
353
return new RBFinger<LiveShapingItem>() { Node = foundBlock,
Offset
= offset, Index = baseIndex + offset };
434
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)
95
result = new RBFinger<T>() { Node = this,
Offset
= 0, Index = 0, Found = false };
103
result = new RBFinger<T>() { Node = this,
Offset
= index - LeftSize, Index = index, Found = true };
108
result = new RBFinger<T>() { Node = this,
Offset
= Size, Index = LeftSize + Size, Found = false };
126
result = new RBFinger<T>() { Node = this,
Offset
= 0, Index = 0, Found = (compL == 0) };
131
result = new RBFinger<T>() { Node = this,
Offset
= 0, Index = LeftSize, Found = true };
138
result = new RBFinger<T>() { Node = this,
Offset
= offset, Index = LeftSize + offset, Found = found };
143
result = new RBFinger<T>() { Node = this,
Offset
= Size, Index = LeftSize + Size };
180
result = new RBFinger<T>() { Node = this,
Offset
= left, Index = left, Found = (compL == 0) };
185
result = new RBFinger<T>() { Node = this,
Offset
= 0, Index = LeftSize, Found = true };
211
result = new RBFinger<T>() { Node = this,
Offset
= right, Index = LeftSize + right, Found = false };
224
result = new RBFinger<T>() { Node = this,
Offset
= offset, Index = LeftSize + offset, Found = found };
268
return new RBFinger<T>() { Node = startingNode,
Offset
= k + 1, Index = nodeIndex + k + 1 };
286
return new RBFinger<T>() { Node = parent,
Offset
= offset, Index = nodeIndex + offset };
299
newFinger = new RBFinger<T>() { Node = newFinger.Node.GetSuccessor(),
Offset
= 0, Index = newFinger.Index };
303
return new RBFinger<T>() { Node = startingNode,
Offset
= 0, Index = nodeIndex };
376
finger.
Offset
= 0;
383
finger.
Offset
-= 1;
20 references to Offset
PresentationFramework (20)
MS\Internal\Data\LiveShapingTree.cs (1)
93
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)
261
int nodeIndex = finger.Index - finger.
Offset
;
262
T x = startingNode.GetItemAt(finger.
Offset
);
265
for (int k = finger.
Offset
- 1; k >= 0; --k)
298
if (newFinger.
Offset
== newFinger.Node.Size)
315
int oldOffset = oldFinger.
Offset
, newOffset = newFinger.
Offset
;
316
T x = oldNode.GetItemAt(oldFinger.
Offset
);
367
int offset = finger.
Offset
;
MS\Internal\Data\RBTree.cs (7)
100
node.InsertAt(finger.
Offset
, x);
110
successor = InsertNode(finger.Index + node.Size - finger.
Offset
);
112
node.InsertAt(finger.
Offset
, x, successor, succsucc);
520
return finger.Node.GetItemAt(finger.
Offset
);
526
finger.Node.SetItemAt(finger.
Offset
, value);
611
yield return finger.Node.GetItemAt(finger.
Offset
);
621
yield return finger.Node.GetItemAt(finger.
Offset
);