Home
last modified time | relevance | path

Searched refs:kOneTerminatedMostSignificant (Results 1 – 2 of 2) sorted by relevance

/external/pigweed/pw_varint/
Dvarint_test.cc811 ASSERT_EQ(Encode(0u, buffer_, Format::kOneTerminatedMostSignificant), 1u); in TEST_F()
814 ASSERT_EQ(Encode(15u, buffer_, Format::kOneTerminatedMostSignificant), 1u); in TEST_F()
817 ASSERT_EQ(Encode(0x7f, buffer_, Format::kOneTerminatedMostSignificant), 1u); in TEST_F()
843 ASSERT_EQ(Encode(128u, buffer_, Format::kOneTerminatedMostSignificant), 2u); in TEST_F()
846 ASSERT_EQ(Encode(0xffffffff, buffer_, Format::kOneTerminatedMostSignificant), in TEST_F()
912 Decode(MakeBuffer("\x80"), &value, Format::kOneTerminatedMostSignificant), in TEST()
917 Decode(MakeBuffer("\x83"), &value, Format::kOneTerminatedMostSignificant), in TEST()
922 Decode(MakeBuffer("\xaa"), &value, Format::kOneTerminatedMostSignificant), in TEST()
927 Decode(MakeBuffer("\xff"), &value, Format::kOneTerminatedMostSignificant), in TEST()
932 Decode(MakeBuffer("\x00"), &value, Format::kOneTerminatedMostSignificant), in TEST()
[all …]
/external/pigweed/pw_varint/public/pw_varint/
Dvarint.h170 kOneTerminatedMostSignificant = PW_VARINT_ONE_TERMINATED_MOST_SIGNIFICANT, enumerator