• Home
  • Raw
  • Download

Lines Matching refs:cin

431 …   CodedInputStream cin = new CodedInputStream(new MemoryStream(bytes), new byte[50], 0, 0, false);  in TestCodedInputOutputPosition()
432 Assert.AreEqual(0, cin.Position); in TestCodedInputOutputPosition()
434 uint tag = cin.ReadTag(); in TestCodedInputOutputPosition()
436 Assert.AreEqual(1, cin.Position); in TestCodedInputOutputPosition()
437 Assert.AreEqual(500, cin.ReadInt32()); in TestCodedInputOutputPosition()
438 Assert.AreEqual(3, cin.Position); in TestCodedInputOutputPosition()
440 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
442 Assert.AreEqual(4, cin.Position); in TestCodedInputOutputPosition()
443 int childlen = cin.ReadLength(); in TestCodedInputOutputPosition()
445 Assert.AreEqual(5, cin.Position); in TestCodedInputOutputPosition()
446 int oldlimit = cin.PushLimit((int)childlen); in TestCodedInputOutputPosition()
447 Assert.AreEqual(5, cin.Position); in TestCodedInputOutputPosition()
451 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
453 Assert.AreEqual(6, cin.Position); in TestCodedInputOutputPosition()
454 Assert.AreEqual(500, cin.ReadInt32()); in TestCodedInputOutputPosition()
455 Assert.AreEqual(8, cin.Position); in TestCodedInputOutputPosition()
457 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
459 Assert.AreEqual(9, cin.Position); in TestCodedInputOutputPosition()
460 ByteString bstr = cin.ReadBytes(); in TestCodedInputOutputPosition()
463 Assert.AreEqual(120, cin.Position); in TestCodedInputOutputPosition()
465 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
468 Assert.AreEqual(121, cin.Position); in TestCodedInputOutputPosition()
469 Assert.AreEqual(501, cin.ReadSFixed32()); in TestCodedInputOutputPosition()
470 Assert.AreEqual(125, cin.Position); in TestCodedInputOutputPosition()
471 Assert.IsTrue(cin.IsAtEnd); in TestCodedInputOutputPosition()
473 cin.PopLimit(oldlimit); in TestCodedInputOutputPosition()
474 Assert.AreEqual(125, cin.Position); in TestCodedInputOutputPosition()
476 tag = cin.ReadTag(); in TestCodedInputOutputPosition()
478 Assert.AreEqual(126, cin.Position); in TestCodedInputOutputPosition()
479 Assert.AreEqual(501, cin.ReadSFixed32()); in TestCodedInputOutputPosition()
480 Assert.AreEqual(130, cin.Position); in TestCodedInputOutputPosition()
481 Assert.IsTrue(cin.IsAtEnd); in TestCodedInputOutputPosition()