reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/Support/LEB128Test.cpp
   38   EXPECT_SLEB128_EQ("\x00", 0, 0);
   39   EXPECT_SLEB128_EQ("\x01", 1, 0);
   40   EXPECT_SLEB128_EQ("\x7f", -1, 0);
   41   EXPECT_SLEB128_EQ("\x3f", 63, 0);
   42   EXPECT_SLEB128_EQ("\x41", -63, 0);
   43   EXPECT_SLEB128_EQ("\x40", -64, 0);
   44   EXPECT_SLEB128_EQ("\xbf\x7f", -65, 0);
   45   EXPECT_SLEB128_EQ("\xc0\x00", 64, 0);
   48   EXPECT_SLEB128_EQ("\x80\x00", 0, 2);
   49   EXPECT_SLEB128_EQ("\x80\x80\x00", 0, 3);
   50   EXPECT_SLEB128_EQ("\xff\x80\x00", 0x7f, 3);
   51   EXPECT_SLEB128_EQ("\xff\x80\x80\x00", 0x7f, 4);
   52   EXPECT_SLEB128_EQ("\x80\x81\x00", 0x80, 3);
   53   EXPECT_SLEB128_EQ("\x80\x81\x80\x00", 0x80, 4);
   54   EXPECT_SLEB128_EQ("\xc0\x7f", -0x40, 2);
   56   EXPECT_SLEB128_EQ("\xc0\xff\x7f", -0x40, 3);
   57   EXPECT_SLEB128_EQ("\x80\xff\x7f", -0x80, 3);
   58   EXPECT_SLEB128_EQ("\x80\xff\xff\x7f", -0x80, 4);