Searched refs:EXPECT_DECODE_SLEB128_EQ (Results 1 – 2 of 2) sorted by relevance
/external/llvm/unittests/Support/ |
D | LEB128Test.cpp | 123 #define EXPECT_DECODE_SLEB128_EQ(EXPECTED, VALUE) \ in TEST() macro 133 EXPECT_DECODE_SLEB128_EQ(0L, "\x00"); in TEST() 134 EXPECT_DECODE_SLEB128_EQ(1L, "\x01"); in TEST() 135 EXPECT_DECODE_SLEB128_EQ(63L, "\x3f"); in TEST() 136 EXPECT_DECODE_SLEB128_EQ(-64L, "\x40"); in TEST() 137 EXPECT_DECODE_SLEB128_EQ(-63L, "\x41"); in TEST() 138 EXPECT_DECODE_SLEB128_EQ(-1L, "\x7f"); in TEST() 139 EXPECT_DECODE_SLEB128_EQ(128L, "\x80\x01"); in TEST() 140 EXPECT_DECODE_SLEB128_EQ(129L, "\x81\x01"); in TEST() 141 EXPECT_DECODE_SLEB128_EQ(-129L, "\xff\x7e"); in TEST() [all …]
|
/external/llvm-project/llvm/unittests/Support/ |
D | LEB128Test.cpp | 145 #define EXPECT_DECODE_SLEB128_EQ(EXPECTED, VALUE) \ in TEST() macro 158 EXPECT_DECODE_SLEB128_EQ(0L, "\x00"); in TEST() 159 EXPECT_DECODE_SLEB128_EQ(1L, "\x01"); in TEST() 160 EXPECT_DECODE_SLEB128_EQ(63L, "\x3f"); in TEST() 161 EXPECT_DECODE_SLEB128_EQ(-64L, "\x40"); in TEST() 162 EXPECT_DECODE_SLEB128_EQ(-63L, "\x41"); in TEST() 163 EXPECT_DECODE_SLEB128_EQ(-1L, "\x7f"); in TEST() 164 EXPECT_DECODE_SLEB128_EQ(128L, "\x80\x01"); in TEST() 165 EXPECT_DECODE_SLEB128_EQ(129L, "\x81\x01"); in TEST() 166 EXPECT_DECODE_SLEB128_EQ(-129L, "\xff\x7e"); in TEST() [all …]
|