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

References

unittests/Support/LEB128Test.cpp
  152   EXPECT_DECODE_SLEB128_EQ(0L, "\x00");
  153   EXPECT_DECODE_SLEB128_EQ(1L, "\x01");
  154   EXPECT_DECODE_SLEB128_EQ(63L, "\x3f");
  155   EXPECT_DECODE_SLEB128_EQ(-64L, "\x40");
  156   EXPECT_DECODE_SLEB128_EQ(-63L, "\x41");
  157   EXPECT_DECODE_SLEB128_EQ(-1L, "\x7f");
  158   EXPECT_DECODE_SLEB128_EQ(128L, "\x80\x01");
  159   EXPECT_DECODE_SLEB128_EQ(129L, "\x81\x01");
  160   EXPECT_DECODE_SLEB128_EQ(-129L, "\xff\x7e");
  161   EXPECT_DECODE_SLEB128_EQ(-128L, "\x80\x7f");
  162   EXPECT_DECODE_SLEB128_EQ(-127L, "\x81\x7f");
  163   EXPECT_DECODE_SLEB128_EQ(64L, "\xc0\x00");
  164   EXPECT_DECODE_SLEB128_EQ(-12345L, "\xc7\x9f\x7f");
  167   EXPECT_DECODE_SLEB128_EQ(0L, "\x80\x00");
  168   EXPECT_DECODE_SLEB128_EQ(0L, "\x80\x80\x00");
  169   EXPECT_DECODE_SLEB128_EQ(0x7fL, "\xff\x00");
  170   EXPECT_DECODE_SLEB128_EQ(0x7fL, "\xff\x80\x00");
  171   EXPECT_DECODE_SLEB128_EQ(0x80L, "\x80\x81\x00");
  172   EXPECT_DECODE_SLEB128_EQ(0x80L, "\x80\x81\x80\x00");