• Home
  • Raw
  • Download

Lines Matching refs:WireFormat

274             uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited);  in ReadMaliciouslyLargeBlob()
348 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited); in ReadInvalidUtf8()
399 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in TestSlowPathAvoidance()
401 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in TestSlowPathAvoidance()
409 Assert.AreEqual(1, WireFormat.GetTagFieldNumber(tag)); in TestSlowPathAvoidance()
413 Assert.AreEqual(2, WireFormat.GetTagFieldNumber(tag)); in TestSlowPathAvoidance()
438 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in SkipGroup()
442 output.WriteTag(2, WireFormat.WireType.StartGroup); in SkipGroup()
443 output.WriteTag(1, WireFormat.WireType.Fixed32); in SkipGroup()
445 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in SkipGroup()
448 output.WriteTag(3, WireFormat.WireType.StartGroup); in SkipGroup()
449 output.WriteTag(1, WireFormat.WireType.Fixed64); in SkipGroup()
452 output.WriteTag(3, WireFormat.WireType.EndGroup); in SkipGroup()
455 output.WriteTag(2, WireFormat.WireType.EndGroup); in SkipGroup()
457 output.WriteTag(3, WireFormat.WireType.LengthDelimited); in SkipGroup()
464 … Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup()
466 Assert.AreEqual(WireFormat.MakeTag(2, WireFormat.WireType.StartGroup), input.ReadTag()); in SkipGroup()
468 … Assert.AreEqual(WireFormat.MakeTag(3, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup()
482 output.WriteTag(1, WireFormat.WireType.LengthDelimited); in SkipGroup_WrongEndGroupTag()
486 output.WriteTag(2, WireFormat.WireType.StartGroup); in SkipGroup_WrongEndGroupTag()
487 output.WriteTag(3, WireFormat.WireType.Fixed32); in SkipGroup_WrongEndGroupTag()
489 output.WriteTag(4, WireFormat.WireType.EndGroup); in SkipGroup_WrongEndGroupTag()
495 … Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited), input.ReadTag()); in SkipGroup_WrongEndGroupTag()
497 Assert.AreEqual(WireFormat.MakeTag(2, WireFormat.WireType.StartGroup), input.ReadTag()); in SkipGroup_WrongEndGroupTag()
509 output.WriteTag(1, WireFormat.WireType.EndGroup); in RogueEndGroupTag()
514 Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.EndGroup), input.ReadTag()); in RogueEndGroupTag()
523 output.WriteTag(1, WireFormat.WireType.StartGroup); in EndOfStreamReachedWhileSkippingGroup()
524 output.WriteTag(2, WireFormat.WireType.StartGroup); in EndOfStreamReachedWhileSkippingGroup()
525 output.WriteTag(2, WireFormat.WireType.EndGroup); in EndOfStreamReachedWhileSkippingGroup()
543 output.WriteTag(1, WireFormat.WireType.StartGroup); in RecursionLimitAppliedWhileSkippingGroup()
547 output.WriteTag(1, WireFormat.WireType.EndGroup); in RecursionLimitAppliedWhileSkippingGroup()
554 Assert.AreEqual(WireFormat.MakeTag(1, WireFormat.WireType.StartGroup), input.ReadTag()); in RecursionLimitAppliedWhileSkippingGroup()