Home
last modified time | relevance | path

Searched refs:decoder (Results 1 – 4 of 4) sorted by relevance

/bionic/linker/tests/
Dlinker_sleb128_test.cpp94 sleb128_decoder decoder(&encoding[0], encoding.size()); in TEST() local
96 EXPECT_EQ(624485U, decoder.pop_front()); in TEST()
98 EXPECT_EQ(0U, decoder.pop_front()); in TEST()
99 EXPECT_EQ(1U, decoder.pop_front()); in TEST()
100 EXPECT_EQ(63U, decoder.pop_front()); in TEST()
101 EXPECT_EQ(64U, decoder.pop_front()); in TEST()
102 EXPECT_EQ(static_cast<size_t>(-1), decoder.pop_front()); in TEST()
103 EXPECT_EQ(static_cast<size_t>(-624485), decoder.pop_front()); in TEST()
104 EXPECT_EQ(2147483647U, decoder.pop_front()); in TEST()
105 EXPECT_EQ(static_cast<size_t>(-2147483648), decoder.pop_front()); in TEST()
[all …]
/bionic/tools/relocation_packer/src/
Dpacker.cc57 Sleb128Decoder<typename ELF::Addr> decoder(packed, 4); in UnpackRelocations() local
58 decoder.DequeueAll(&packed_words); in UnpackRelocations()
Dsleb128_unittest.cc146 Sleb128Decoder<uint64_t> decoder(encoding, 0); in TEST() local
148 EXPECT_EQ(624485U, decoder.Dequeue()); in TEST()
151 decoder.DequeueAll(&dequeued); in TEST()
/bionic/linker/
Dlinker_reloc_iterators.h74 explicit packed_reloc_iterator(decoder_t&& decoder) in packed_reloc_iterator() argument
75 : decoder_(decoder) { in packed_reloc_iterator()