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

References

unittests/Support/LEB128Test.cpp
  117   EXPECT_DECODE_ULEB128_EQ(0u, "\x00");
  118   EXPECT_DECODE_ULEB128_EQ(1u, "\x01");
  119   EXPECT_DECODE_ULEB128_EQ(63u, "\x3f");
  120   EXPECT_DECODE_ULEB128_EQ(64u, "\x40");
  121   EXPECT_DECODE_ULEB128_EQ(0x7fu, "\x7f");
  122   EXPECT_DECODE_ULEB128_EQ(0x80u, "\x80\x01");
  123   EXPECT_DECODE_ULEB128_EQ(0x81u, "\x81\x01");
  124   EXPECT_DECODE_ULEB128_EQ(0x90u, "\x90\x01");
  125   EXPECT_DECODE_ULEB128_EQ(0xffu, "\xff\x01");
  126   EXPECT_DECODE_ULEB128_EQ(0x100u, "\x80\x02");
  127   EXPECT_DECODE_ULEB128_EQ(0x101u, "\x81\x02");
  128   EXPECT_DECODE_ULEB128_EQ(4294975616ULL, "\x80\xc1\x80\x80\x10");
  131   EXPECT_DECODE_ULEB128_EQ(0u, "\x80\x00");
  132   EXPECT_DECODE_ULEB128_EQ(0u, "\x80\x80\x00");
  133   EXPECT_DECODE_ULEB128_EQ(0x7fu, "\xff\x00");
  134   EXPECT_DECODE_ULEB128_EQ(0x7fu, "\xff\x80\x00");
  135   EXPECT_DECODE_ULEB128_EQ(0x80u, "\x80\x81\x00");
  136   EXPECT_DECODE_ULEB128_EQ(0x80u, "\x80\x81\x80\x00");