Lines Matching full:ref
52 …internal static float? ReadFloatWrapperLittleEndian(ref ReadOnlySpan<byte> buffer, ref ParserInter… in ReadFloatWrapperLittleEndian()
68 return ReadFloatWrapperSlow(ref buffer, ref state); in ReadFloatWrapperLittleEndian()
71 return ParsingPrimitives.ParseFloat(ref buffer, ref state); in ReadFloatWrapperLittleEndian()
75 return ReadFloatWrapperSlow(ref buffer, ref state); in ReadFloatWrapperLittleEndian()
79 …internal static float? ReadFloatWrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState… in ReadFloatWrapperSlow()
81 int length = ParsingPrimitives.ParseLength(ref buffer, ref state); in ReadFloatWrapperSlow()
91 if (ParsingPrimitives.ParseTag(ref buffer, ref state) == 13) in ReadFloatWrapperSlow()
93 result = ParsingPrimitives.ParseFloat(ref buffer, ref state); in ReadFloatWrapperSlow()
97 ParsingPrimitivesMessages.SkipLastField(ref buffer, ref state); in ReadFloatWrapperSlow()
104 …internal static double? ReadDoubleWrapperLittleEndian(ref ReadOnlySpan<byte> buffer, ref ParserInt… in ReadDoubleWrapperLittleEndian()
120 return ReadDoubleWrapperSlow(ref buffer, ref state); in ReadDoubleWrapperLittleEndian()
123 return ParsingPrimitives.ParseDouble(ref buffer, ref state); in ReadDoubleWrapperLittleEndian()
127 return ReadDoubleWrapperSlow(ref buffer, ref state); in ReadDoubleWrapperLittleEndian()
131 …internal static double? ReadDoubleWrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalSta… in ReadDoubleWrapperSlow()
133 int length = ParsingPrimitives.ParseLength(ref buffer, ref state); in ReadDoubleWrapperSlow()
143 if (ParsingPrimitives.ParseTag(ref buffer, ref state) == 9) in ReadDoubleWrapperSlow()
145 result = ParsingPrimitives.ParseDouble(ref buffer, ref state); in ReadDoubleWrapperSlow()
149 ParsingPrimitivesMessages.SkipLastField(ref buffer, ref state); in ReadDoubleWrapperSlow()
156 …internal static bool? ReadBoolWrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ReadBoolWrapper()
158 return ReadUInt64Wrapper(ref buffer, ref state) != 0; in ReadBoolWrapper()
161 …internal static uint? ReadUInt32Wrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState sta… in ReadUInt32Wrapper()
177 return ReadUInt32WrapperSlow(ref buffer, ref state); in ReadUInt32Wrapper()
184 return ReadUInt32WrapperSlow(ref buffer, ref state); in ReadUInt32Wrapper()
186 var result = ParsingPrimitives.ParseRawVarint32(ref buffer, ref state); in ReadUInt32Wrapper()
191 return ReadUInt32WrapperSlow(ref buffer, ref state); in ReadUInt32Wrapper()
197 return ReadUInt32WrapperSlow(ref buffer, ref state); in ReadUInt32Wrapper()
201 …internal static uint? ReadUInt32WrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState… in ReadUInt32WrapperSlow()
203 int length = ParsingPrimitives.ParseLength(ref buffer, ref state); in ReadUInt32WrapperSlow()
213 if (ParsingPrimitives.ParseTag(ref buffer, ref state) == 8) in ReadUInt32WrapperSlow()
215 result = ParsingPrimitives.ParseRawVarint32(ref buffer, ref state); in ReadUInt32WrapperSlow()
219 ParsingPrimitivesMessages.SkipLastField(ref buffer, ref state); in ReadUInt32WrapperSlow()
226 …internal static int? ReadInt32Wrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ReadInt32Wrapper()
228 return (int?)ReadUInt32Wrapper(ref buffer, ref state); in ReadInt32Wrapper()
231 …internal static ulong? ReadUInt64Wrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState st… in ReadUInt64Wrapper()
249 return ReadUInt64WrapperSlow(ref buffer, ref state); in ReadUInt64Wrapper()
255 return ReadUInt64WrapperSlow(ref buffer, ref state); in ReadUInt64Wrapper()
257 var result = ParsingPrimitives.ParseRawVarint64(ref buffer, ref state); in ReadUInt64Wrapper()
262 return ReadUInt64WrapperSlow(ref buffer, ref state); in ReadUInt64Wrapper()
268 return ReadUInt64WrapperSlow(ref buffer, ref state); in ReadUInt64Wrapper()
272 …internal static ulong? ReadUInt64WrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalStat… in ReadUInt64WrapperSlow()
276 int length = ParsingPrimitives.ParseLength(ref buffer, ref state); in ReadUInt64WrapperSlow()
285 if (ParsingPrimitives.ParseTag(ref buffer, ref state) == expectedTag) in ReadUInt64WrapperSlow()
287 result = ParsingPrimitives.ParseRawVarint64(ref buffer, ref state); in ReadUInt64WrapperSlow()
291 ParsingPrimitivesMessages.SkipLastField(ref buffer, ref state); in ReadUInt64WrapperSlow()
298 …internal static long? ReadInt64Wrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState stat… in ReadInt64Wrapper()
300 return (long?)ReadUInt64Wrapper(ref buffer, ref state); in ReadInt64Wrapper()
303 internal static float? ReadFloatWrapperLittleEndian(ref ParseContext ctx) in ReadFloatWrapperLittleEndian()
305 … return ParsingPrimitivesWrappers.ReadFloatWrapperLittleEndian(ref ctx.buffer, ref ctx.state); in ReadFloatWrapperLittleEndian()
308 internal static float? ReadFloatWrapperSlow(ref ParseContext ctx) in ReadFloatWrapperSlow()
310 return ParsingPrimitivesWrappers.ReadFloatWrapperSlow(ref ctx.buffer, ref ctx.state); in ReadFloatWrapperSlow()
313 internal static double? ReadDoubleWrapperLittleEndian(ref ParseContext ctx) in ReadDoubleWrapperLittleEndian()
315 … return ParsingPrimitivesWrappers.ReadDoubleWrapperLittleEndian(ref ctx.buffer, ref ctx.state); in ReadDoubleWrapperLittleEndian()
318 internal static double? ReadDoubleWrapperSlow(ref ParseContext ctx) in ReadDoubleWrapperSlow()
320 return ParsingPrimitivesWrappers.ReadDoubleWrapperSlow(ref ctx.buffer, ref ctx.state); in ReadDoubleWrapperSlow()
323 internal static bool? ReadBoolWrapper(ref ParseContext ctx) in ReadBoolWrapper()
325 return ParsingPrimitivesWrappers.ReadBoolWrapper(ref ctx.buffer, ref ctx.state); in ReadBoolWrapper()
328 internal static uint? ReadUInt32Wrapper(ref ParseContext ctx) in ReadUInt32Wrapper()
330 return ParsingPrimitivesWrappers.ReadUInt32Wrapper(ref ctx.buffer, ref ctx.state); in ReadUInt32Wrapper()
333 internal static int? ReadInt32Wrapper(ref ParseContext ctx) in ReadInt32Wrapper()
335 return ParsingPrimitivesWrappers.ReadInt32Wrapper(ref ctx.buffer, ref ctx.state); in ReadInt32Wrapper()
338 internal static ulong? ReadUInt64Wrapper(ref ParseContext ctx) in ReadUInt64Wrapper()
340 return ParsingPrimitivesWrappers.ReadUInt64Wrapper(ref ctx.buffer, ref ctx.state); in ReadUInt64Wrapper()
343 internal static ulong? ReadUInt64WrapperSlow(ref ParseContext ctx) in ReadUInt64WrapperSlow()
345 return ParsingPrimitivesWrappers.ReadUInt64WrapperSlow(ref ctx.buffer, ref ctx.state); in ReadUInt64WrapperSlow()
348 internal static long? ReadInt64Wrapper(ref ParseContext ctx) in ReadInt64Wrapper()
350 return ParsingPrimitivesWrappers.ReadInt64Wrapper(ref ctx.buffer, ref ctx.state); in ReadInt64Wrapper()