26 writes to Offset
PresentationFramework (26)
src\Framework\MS\Internal\Data\LiveShapingBlock.cs (5)
68
return new RBFinger<LiveShapingItem>() { Node=this,
Offset
=offset, Index=baseIndex+offset, Found=true };
117
oldFinger = new RBFinger<LiveShapingItem>() { Node=this,
Offset
=index, Index=baseIndex+index, Found=true };
219
return new RBFinger<LiveShapingItem>() { Node = this,
Offset
= k, Index = index+k };
356
return new RBFinger<LiveShapingItem>() { Node=foundBlock,
Offset
=offset, Index=baseIndex+offset };
437
return new RBFinger<LiveShapingItem>() { Node=foundBlock,
Offset
=offset, Index=baseIndex+offset };
src\Framework\MS\Internal\Data\RBFinger.cs (4)
45
finger.
Offset
+= 1;
50
finger.
Offset
= 0;
57
finger.
Offset
-= 1;
63
finger.
Offset
= finger.Node.Size - 1;
src\Framework\MS\Internal\Data\RBNode.cs (17)
98
result = new RBFinger<T>() { Node = this,
Offset
= 0, Index = 0, Found = false };
106
result = new RBFinger<T>() { Node = this,
Offset
= index - LeftSize, Index = index, Found = true };
111
result = new RBFinger<T>() { Node = this,
Offset
= Size, Index = LeftSize + Size, Found = false };
129
result = new RBFinger<T>() { Node = this,
Offset
= 0, Index = 0, Found = (compL == 0) };
134
result = new RBFinger<T>() { Node = this,
Offset
= 0, Index = LeftSize, Found = true };
141
result = new RBFinger<T>() { Node = this,
Offset
= offset, Index = LeftSize + offset, Found = found };
146
result = new RBFinger<T>() { Node = this,
Offset
= Size, Index = LeftSize + Size };
183
result = new RBFinger<T>() { Node = this,
Offset
= left, Index = left, Found = (compL == 0) };
188
result = new RBFinger<T>() { Node = this,
Offset
= 0, Index = LeftSize, Found = true };
214
result = new RBFinger<T>() { Node = this,
Offset
= right, Index = LeftSize + right, Found = false };
227
result = new RBFinger<T>() { Node = this,
Offset
= offset, Index = LeftSize + offset, Found = found };
271
return new RBFinger<T>() { Node = startingNode,
Offset
= k + 1, Index = nodeIndex + k + 1 };
289
return new RBFinger<T>() { Node = parent,
Offset
= offset, Index = nodeIndex + offset };
302
newFinger = new RBFinger<T>() { Node = newFinger.Node.GetSuccessor(),
Offset
= 0, Index = newFinger.Index };
306
return new RBFinger<T>() { Node = startingNode,
Offset
= 0, Index = nodeIndex };
379
finger.
Offset
= 0;
386
finger.
Offset
-= 1;
20 references to Offset
PresentationFramework (20)
src\Framework\MS\Internal\Data\LiveShapingTree.cs (1)
96
finger.Node.SetItemAt(finger.
Offset
, new LiveShapingItem(item, List));
src\Framework\MS\Internal\Data\RBFinger.cs (4)
20
public T Item { get { return Node.GetItemAt(
Offset
); } }
21
public void SetItem(T x) { Node.SetItemAt(
Offset
, x); }
47
if (finger.
Offset
== finger.Node.Size)
59
if (finger.
Offset
< 0)
src\Framework\MS\Internal\Data\RBNode.cs (8)
264
int nodeIndex = finger.Index - finger.
Offset
;
265
T x = startingNode.GetItemAt(finger.
Offset
);
268
for (int k = finger.
Offset
- 1; k >= 0; --k)
301
if (newFinger.
Offset
== newFinger.Node.Size)
318
int oldOffset = oldFinger.
Offset
, newOffset = newFinger.
Offset
;
319
T x = oldNode.GetItemAt(oldFinger.
Offset
);
370
int offset = finger.
Offset
;
src\Framework\MS\Internal\Data\RBTree.cs (7)
103
node.InsertAt(finger.
Offset
, x);
113
successor = InsertNode(finger.Index + node.Size - finger.
Offset
);
115
node.InsertAt(finger.
Offset
, x, successor, succsucc);
526
return finger.Node.GetItemAt(finger.
Offset
);
532
finger.Node.SetItemAt(finger.
Offset
, value);
619
yield return finger.Node.GetItemAt(finger.
Offset
);
629
yield return finger.Node.GetItemAt(finger.
Offset
);