58 writes to basePtr
System.ServiceModel (58)
System\ServiceModel\Dispatcher\QueryFunctions.cs (47)
508
args[i].
basePtr
++;
577
values[arg.
basePtr
++].ConvertTo(context, type);
746
values[arg.
basePtr
++].ConvertTo(context, ValueDataType.Boolean);
766
values[arg.
basePtr
++].Not();
788
NodeSequence sourceSeq = sequenceBuffer[sequences.
basePtr
++].Sequence;
802
context.SetValue(context, langArg.
basePtr
++, true);
806
context.SetValue(context, langArg.
basePtr
++, true);
810
context.SetValue(context, langArg.
basePtr
++, false);
814
sequences.
basePtr
++;
826
NodeSequence sourceSeq = sequenceBuffer[sequences.
basePtr
++].Sequence;
852
arg.
basePtr
++;
869
arg.
basePtr
++;
887
arg.
basePtr
++;
905
arg.
basePtr
++;
927
arg.
basePtr
++;
938
values[arg.
basePtr
++].ConvertTo(context, ValueDataType.Double);
955
arg.
basePtr
++;
967
arg.
basePtr
++;
984
arg.
basePtr
++;
994
values[arg.
basePtr
++].ConvertTo(context, ValueDataType.String);
1013
arg1.
basePtr
++;
1014
arg2.
basePtr
++;
1030
arg1.
basePtr
++;
1031
arg2.
basePtr
++;
1032
arg3.
basePtr
++;
1051
arg1.
basePtr
++;
1052
arg2.
basePtr
++;
1053
arg3.
basePtr
++;
1054
arg4.
basePtr
++;
1072
arg1.
basePtr
++;
1073
arg2.
basePtr
++;
1084
arg.
basePtr
++;
1106
arg1.
basePtr
++;
1107
arg2.
basePtr
++;
1124
arg1.
basePtr
++;
1125
arg2.
basePtr
++;
1142
arg1.
basePtr
++;
1143
arg2.
basePtr
++;
1163
arg1.
basePtr
++;
1164
arg2.
basePtr
++;
1198
argStartAt.
basePtr
++;
1199
argString.
basePtr
++;
1200
argLimit.
basePtr
++;
1236
argSource.
basePtr
++;
1237
argKeys.
basePtr
++;
1238
argValues.
basePtr
++;
1276
argStr.
basePtr
++;
System\ServiceModel\Dispatcher\QueryRelOp.cs (2)
58
argX.
basePtr
++;
59
argY.
basePtr
++;
System\ServiceModel\Dispatcher\QueryValue.cs (1)
443
this.frame.
basePtr
= start + 1;
System\ServiceModel\Dispatcher\XPathMessageContext.cs (8)
994
seqArg.
basePtr
++;
1056
seqArg.
basePtr
++;
1121
seqArg.
basePtr
++;
1195
seqArg.
basePtr
++;
1272
actorArg.
basePtr
++;
1573
dateArg.
basePtr
++;
1622
nameArg.
basePtr
++;
1688
spanArg.
basePtr
++;
182 references to basePtr
System.ServiceModel (182)
System\ServiceModel\Dispatcher\QueryBranchOp.cs (6)
159
for (int i = arg.
basePtr
; i <= arg.endPtr; ++i)
212
for (int maskIndex = resultMask.
basePtr
, resultIndex = results.
basePtr
; maskIndex <= resultMask.endPtr; ++maskIndex)
266
for (int seqIndex = sequences.
basePtr
; seqIndex <= sequences.endPtr; ++seqIndex)
276
for (int i = resultMask.
basePtr
, n = 0; i <= resultMask.endPtr; ++i, ++n)
403
for (int i = frame.
basePtr
; i <= frame.endPtr; ++i)
System\ServiceModel\Dispatcher\QueryFunctions.cs (87)
496
while (args[0].
basePtr
<= args[0].endPtr)
502
builder.Append(context.PeekString(args[i].
basePtr
));
505
context.SetValue(context, args[this.argCount - 1].
basePtr
, builder.ToString());
575
while (arg.
basePtr
<= arg.endPtr)
744
while (arg.
basePtr
<= arg.endPtr)
764
while (arg.
basePtr
<= arg.endPtr)
786
while (sequences.
basePtr
<= sequences.endPtr)
792
string lang = context.PeekString(langArg.
basePtr
).ToUpperInvariant();
824
while (sequences.
basePtr
<= sequences.endPtr)
849
while (arg.
basePtr
<= arg.endPtr)
851
context.SetValue(context, arg.
basePtr
, context.PeekSequence(arg.
basePtr
).Count);
865
while (arg.
basePtr
<= arg.endPtr)
867
NodeSequence sequence = context.PeekSequence(arg.
basePtr
);
868
context.SetValue(context, arg.
basePtr
, sequence.LocalName);
883
while (arg.
basePtr
<= arg.endPtr)
885
NodeSequence sequence = context.PeekSequence(arg.
basePtr
);
886
context.SetValue(context, arg.
basePtr
, sequence.Name);
901
while (arg.
basePtr
<= arg.endPtr)
903
NodeSequence sequence = context.PeekSequence(arg.
basePtr
);
904
context.SetValue(context, arg.
basePtr
, sequence.Namespace);
924
while (arg.
basePtr
<= arg.endPtr)
926
context.SetValue(context, arg.
basePtr
, Math.Ceiling(context.PeekDouble(arg.
basePtr
)));
936
while (arg.
basePtr
<= arg.endPtr)
952
while (arg.
basePtr
<= arg.endPtr)
954
context.SetValue(context, arg.
basePtr
, Math.Floor(context.PeekDouble(arg.
basePtr
)));
963
while (arg.
basePtr
<= arg.endPtr)
965
double val = context.PeekDouble(arg.
basePtr
);
966
context.SetValue(context, arg.
basePtr
, QueryValueModel.Round(context.PeekDouble(arg.
basePtr
)));
974
while (arg.
basePtr
<= arg.endPtr)
976
NodeSequence sequence = context.PeekSequence(arg.
basePtr
);
983
context.SetValue(context, arg.
basePtr
, sum);
992
while (arg.
basePtr
<= arg.endPtr)
1008
while (arg1.
basePtr
<= arg1.endPtr)
1010
string str1 = context.PeekString(arg1.
basePtr
);
1011
string str2 = context.PeekString(arg2.
basePtr
);
1012
context.SetValue(context, arg2.
basePtr
, str1 + str2);
1024
while (arg1.
basePtr
<= arg1.endPtr)
1026
string str1 = context.PeekString(arg1.
basePtr
);
1027
string str2 = context.PeekString(arg2.
basePtr
);
1028
string str3 = context.PeekString(arg3.
basePtr
);
1029
context.SetValue(context, arg3.
basePtr
, str1 + str2 + str3);
1044
while (arg1.
basePtr
<= arg1.endPtr)
1046
string str1 = context.PeekString(arg1.
basePtr
);
1047
string str2 = context.PeekString(arg2.
basePtr
);
1048
string str3 = context.PeekString(arg3.
basePtr
);
1049
string str4 = context.PeekString(arg4.
basePtr
);
1050
context.SetValue(context, arg4.
basePtr
, str1 + str2 + str3 + str4);
1067
while (arg1.
basePtr
<= arg1.endPtr)
1069
string leftString = context.PeekString(arg1.
basePtr
);
1070
string rightString = context.PeekString(arg2.
basePtr
);
1071
context.SetValue(context, arg2.
basePtr
, (-1 != leftString.IndexOf(rightString, StringComparison.Ordinal)));
1081
while (arg.
basePtr
<= arg.endPtr)
1083
context.SetValue(context, arg.
basePtr
, context.PeekString(arg.
basePtr
).Length);
1101
while (arg1.
basePtr
<= arg1.endPtr)
1103
string leftString = context.PeekString(arg1.
basePtr
);
1104
string rightString = context.PeekString(arg2.
basePtr
);
1105
context.SetValue(context, arg2.
basePtr
, leftString.StartsWith(rightString, StringComparison.Ordinal));
1118
while (arg1.
basePtr
<= arg1.endPtr)
1120
string str1 = context.PeekString(arg1.
basePtr
);
1121
string str2 = context.PeekString(arg2.
basePtr
);
1123
context.SetValue(context, arg2.
basePtr
, idx == -1 ? string.Empty : str1.Substring(0, idx));
1136
while (arg1.
basePtr
<= arg1.endPtr)
1138
string str1 = context.PeekString(arg1.
basePtr
);
1139
string str2 = context.PeekString(arg2.
basePtr
);
1141
context.SetValue(context, arg2.
basePtr
, idx == -1 ? string.Empty : str1.Substring(idx + str2.Length));
1154
while (arg1.
basePtr
<= arg1.endPtr)
1156
string str = context.PeekString(arg1.
basePtr
);
1157
int startAt = ((int)Math.Round(context.PeekDouble(arg2.
basePtr
))) - 1;
1162
context.SetValue(context, arg2.
basePtr
, (startAt >= str.Length) ? string.Empty : str.Substring(startAt));
1178
while (argString.
basePtr
<= argString.endPtr)
1180
string str = context.PeekString(argString.
basePtr
);
1181
int startAt = ((int)Math.Round(context.PeekDouble(argStartAt.
basePtr
))) - 1;
1186
int length = (int)Math.Round(context.PeekDouble(argLimit.
basePtr
));
1197
context.SetValue(context, argLimit.
basePtr
, substr);
1215
while (argSource.
basePtr
<= argSource.endPtr)
1219
string source = context.PeekString(argSource.
basePtr
);
1220
string keys = context.PeekString(argKeys.
basePtr
);
1221
string values = context.PeekString(argValues.
basePtr
);
1235
context.SetValue(context, argValues.
basePtr
, builder.ToString());
1250
while (argStr.
basePtr
<= argStr.endPtr)
1253
string str = context.PeekString(argStr.
basePtr
).Trim(whitespace);
1275
context.SetValue(context, argStr.
basePtr
, builder.ToString());
System\ServiceModel\Dispatcher\QueryIntervalOp.cs (1)
1016
for (int i = arg.
basePtr
; i <= arg.endPtr; ++i)
System\ServiceModel\Dispatcher\QueryMath.cs (11)
62
for (int x = argX.
basePtr
, y = argY.
basePtr
; x <= argX.endPtr; ++x, ++y)
89
for (int x = argX.
basePtr
, y = argY.
basePtr
; x <= argX.endPtr; ++x, ++y)
116
for (int x = argX.
basePtr
, y = argY.
basePtr
; x <= argX.endPtr; ++x, ++y)
142
for (int x = argX.
basePtr
, y = argY.
basePtr
; x <= argX.endPtr; ++x, ++y)
168
for (int x = argX.
basePtr
, y = argY.
basePtr
; x <= argX.endPtr; ++x, ++y)
192
for (int i = frame.
basePtr
; i <= frame.endPtr; ++i)
System\ServiceModel\Dispatcher\QueryPrefixOp.cs (4)
764
Fx.Assert(context.Values[arg.
basePtr
].IsType(ValueDataType.String), "");
766
string target = context.Values[arg.
basePtr
].String;
767
context.Values[arg.
basePtr
].Boolean = target.StartsWith(this.literal, StringComparison.Ordinal);
771
for (int i = arg.
basePtr
; i <= arg.endPtr; ++i)
System\ServiceModel\Dispatcher\QueryProcessor.cs (1)
991
NodeSequence seq = context.Sequences[context.TopSequenceArg.
basePtr
].Sequence;
System\ServiceModel\Dispatcher\QueryRelOp.cs (10)
55
while (argX.
basePtr
<= argX.endPtr)
57
values[argY.
basePtr
].Update(context, values[argY.
basePtr
].CompareTo(ref values[argX.
basePtr
], op));
160
values[arg.
basePtr
].Update(context, values[arg.
basePtr
].Equals(this.literal));
164
for (int i = arg.
basePtr
; i <= arg.endPtr; ++i)
234
values[arg.
basePtr
].Update(context, values[arg.
basePtr
].Equals(this.literal));
238
for (int i = arg.
basePtr
; i <= arg.endPtr; ++i)
System\ServiceModel\Dispatcher\QueryResultOp.cs (14)
39
return context.Values[topFrame.
basePtr
].ToBoolean();
44
for (int i = topFrame.
basePtr
; i <= topFrame.endPtr; ++i)
67
ValueDataType resultType = context.Values[topFrame.
basePtr
].Type;
74
SafeNodeSequenceIterator value = new SafeNodeSequenceIterator(context.Values[topFrame.
basePtr
].GetSequence(), context);
80
bool value = context.Values[topFrame.
basePtr
].GetBoolean();
86
string value = context.Values[topFrame.
basePtr
].GetString();
92
double value = context.Values[topFrame.
basePtr
].GetDouble();
188
ValueDataType resultType = context.Values[topFrame.
basePtr
].Type;
195
SafeNodeSequenceIterator value = new SafeNodeSequenceIterator(context.Values[topFrame.
basePtr
].GetSequence(), context);
201
bool value = context.Values[topFrame.
basePtr
].GetBoolean();
207
string value = context.Values[topFrame.
basePtr
].GetString();
213
double value = context.Values[topFrame.
basePtr
].GetDouble();
244
match = context.Values[topFrame.
basePtr
].ToBoolean();
249
for (int i = topFrame.
basePtr
; i <= topFrame.endPtr; ++i)
System\ServiceModel\Dispatcher\QuerySelectOp.cs (2)
497
for (int i = topFrame.
basePtr
; i <= topFrame.endPtr; ++i)
581
for (int i = topFrame.
basePtr
; i <= topFrame.endPtr; ++i)
System\ServiceModel\Dispatcher\QuerySetOp.cs (8)
21
for (int seqIndex = sequences.
basePtr
, ordinalIndex = ordinals.
basePtr
; seqIndex <= sequences.endPtr; ++seqIndex)
63
for (int i = sequences.
basePtr
; i <= sequences.endPtr; ++i)
98
for (int seqIndex = sequences.
basePtr
, resultIndex = results.
basePtr
; seqIndex <= sequences.endPtr; ++seqIndex)
146
for (int x = topArg.
basePtr
, y = secondArg.
basePtr
; x <= topArg.endPtr; ++x, ++y)
172
for (int i = arg.
basePtr
; i <= arg.endPtr; ++i)
System\ServiceModel\Dispatcher\QueryStack.cs (13)
33
return this.endPtr - this.
basePtr
+ 1;
47
Fx.Assert(value >= this.
basePtr
, "");
61
Fx.Assert(this.IsValidPtr(this.
basePtr
+ offset), "");
62
return this.
basePtr
+ offset;
75
return (ptr >= this.
basePtr
&& ptr <= this.endPtr);
275
for (int i = topFrame.
basePtr
; i <= topFrame.endPtr; ++i)
390
for (int i = topArg.
basePtr
; i <= topArg.endPtr; ++i)
395
this.stack.stackPtr = topArg.
basePtr
- 1;
423
dest.Push(this.buffer.buffer, topFrame.
basePtr
, argCount);
430
dest.Push(this.buffer.buffer[topFrame.
basePtr
].Sequence);
435
this.stack.stackPtr = topFrame.
basePtr
- 1;
652
for (int i = arg.
basePtr
; i <= arg.endPtr; ++i)
674
for (int i = arg.
basePtr
; i <= arg.endPtr; ++i)
System\ServiceModel\Dispatcher\QuerySubExprEliminator.cs (1)
335
NodeSequence seq = context.Sequences[context.TopSequenceArg.
basePtr
].Sequence;
System\ServiceModel\Dispatcher\XPathMessageContext.cs (24)
978
while (seqArg.
basePtr
<= seqArg.endPtr)
981
NodeSequence seq = context.PeekSequence(seqArg.
basePtr
);
992
context.SetValue(context, seqArg.
basePtr
, actor);
1040
while (seqArg.
basePtr
<= seqArg.endPtr)
1043
NodeSequence seq = context.PeekSequence(seqArg.
basePtr
);
1054
context.SetValue(context, seqArg.
basePtr
, mandatory);
1105
while (seqArg.
basePtr
<= seqArg.endPtr)
1108
NodeSequence seq = context.PeekSequence(seqArg.
basePtr
);
1119
context.SetValue(context, seqArg.
basePtr
, next);
1179
while (seqArg.
basePtr
<= seqArg.endPtr)
1182
NodeSequence seq = context.PeekSequence(seqArg.
basePtr
);
1193
context.SetValue(context, seqArg.
basePtr
, ult);
1248
while (actorArg.
basePtr
<= actorArg.endPtr)
1250
string actor = context.PeekString(actorArg.
basePtr
);
1270
context.SetValue(context, actorArg.
basePtr
, seq);
1569
while (dateArg.
basePtr
<= dateArg.endPtr)
1571
string dateStr = context.PeekString(dateArg.
basePtr
);
1572
context.SetValue(context, dateArg.
basePtr
, Convert(dateStr));
1612
while (nameArg.
basePtr
<= nameArg.endPtr)
1616
if (data == null || !data.TryGetValue(context.PeekString(nameArg.
basePtr
), out value))
1621
context.SetValue(context, nameArg.
basePtr
, value);
1684
while (spanArg.
basePtr
<= spanArg.endPtr)
1686
string spanStr = context.PeekString(spanArg.
basePtr
);
1687
context.SetValue(context, spanArg.
basePtr
, Convert(spanStr));