Lines Matching refs:encoding
31 std::vector<uint8_t> encoding; in TEST() local
32 encoder.GetEncoding(&encoding); in TEST()
34 EXPECT_EQ(42u, encoding.size()); in TEST()
36 EXPECT_EQ(0xe5, encoding[0]); in TEST()
37 EXPECT_EQ(0x8e, encoding[1]); in TEST()
38 EXPECT_EQ(0x26, encoding[2]); in TEST()
40 EXPECT_EQ(0x00, encoding[3]); in TEST()
42 EXPECT_EQ(0x01, encoding[4]); in TEST()
44 EXPECT_EQ(0x3f, encoding[5]); in TEST()
46 EXPECT_EQ(0xc0, encoding[6]); in TEST()
47 EXPECT_EQ(0x00, encoding[7]); in TEST()
49 EXPECT_EQ(0x7f, encoding[8]); in TEST()
51 EXPECT_EQ(0x9b, encoding[9]); in TEST()
52 EXPECT_EQ(0xf1, encoding[10]); in TEST()
53 EXPECT_EQ(0x59, encoding[11]); in TEST()
55 EXPECT_EQ(0xff, encoding[12]); in TEST()
56 EXPECT_EQ(0xff, encoding[13]); in TEST()
57 EXPECT_EQ(0xff, encoding[14]); in TEST()
58 EXPECT_EQ(0xff, encoding[15]); in TEST()
59 EXPECT_EQ(0x07, encoding[16]); in TEST()
61 EXPECT_EQ(0x80, encoding[17]); in TEST()
62 EXPECT_EQ(0x80, encoding[18]); in TEST()
63 EXPECT_EQ(0x80, encoding[19]); in TEST()
64 EXPECT_EQ(0x80, encoding[20]); in TEST()
65 EXPECT_EQ(0x78, encoding[21]); in TEST()
67 EXPECT_EQ(0xff, encoding[22]); in TEST()
68 EXPECT_EQ(0xff, encoding[23]); in TEST()
69 EXPECT_EQ(0xff, encoding[24]); in TEST()
70 EXPECT_EQ(0xff, encoding[25]); in TEST()
71 EXPECT_EQ(0xff, encoding[26]); in TEST()
72 EXPECT_EQ(0xff, encoding[27]); in TEST()
73 EXPECT_EQ(0xff, encoding[28]); in TEST()
74 EXPECT_EQ(0xff, encoding[29]); in TEST()
75 EXPECT_EQ(0xff, encoding[30]); in TEST()
76 EXPECT_EQ(0x00, encoding[31]); in TEST()
78 EXPECT_EQ(0x80, encoding[32]); in TEST()
79 EXPECT_EQ(0x80, encoding[33]); in TEST()
80 EXPECT_EQ(0x80, encoding[34]); in TEST()
81 EXPECT_EQ(0x80, encoding[35]); in TEST()
82 EXPECT_EQ(0x80, encoding[36]); in TEST()
83 EXPECT_EQ(0x80, encoding[37]); in TEST()
84 EXPECT_EQ(0x80, encoding[38]); in TEST()
85 EXPECT_EQ(0x80, encoding[39]); in TEST()
86 EXPECT_EQ(0x80, encoding[40]); in TEST()
87 EXPECT_EQ(0x7f, encoding[41]); in TEST()
91 std::vector<uint8_t> encoding; in TEST() local
93 encoding.push_back(0xe5); in TEST()
94 encoding.push_back(0x8e); in TEST()
95 encoding.push_back(0x26); in TEST()
97 encoding.push_back(0x00); in TEST()
99 encoding.push_back(0x01); in TEST()
101 encoding.push_back(0x3f); in TEST()
103 encoding.push_back(0xc0); in TEST()
104 encoding.push_back(0x00); in TEST()
106 encoding.push_back(0x7f); in TEST()
108 encoding.push_back(0x9b); in TEST()
109 encoding.push_back(0xf1); in TEST()
110 encoding.push_back(0x59); in TEST()
112 encoding.push_back(0xff); in TEST()
113 encoding.push_back(0xff); in TEST()
114 encoding.push_back(0xff); in TEST()
115 encoding.push_back(0xff); in TEST()
116 encoding.push_back(0x07); in TEST()
118 encoding.push_back(0x80); in TEST()
119 encoding.push_back(0x80); in TEST()
120 encoding.push_back(0x80); in TEST()
121 encoding.push_back(0x80); in TEST()
122 encoding.push_back(0x78); in TEST()
124 encoding.push_back(0xff); in TEST()
125 encoding.push_back(0xff); in TEST()
126 encoding.push_back(0xff); in TEST()
127 encoding.push_back(0xff); in TEST()
128 encoding.push_back(0xff); in TEST()
129 encoding.push_back(0xff); in TEST()
130 encoding.push_back(0xff); in TEST()
131 encoding.push_back(0xff); in TEST()
132 encoding.push_back(0xff); in TEST()
133 encoding.push_back(0x00); in TEST()
135 encoding.push_back(0x80); in TEST()
136 encoding.push_back(0x80); in TEST()
137 encoding.push_back(0x80); in TEST()
138 encoding.push_back(0x80); in TEST()
139 encoding.push_back(0x80); in TEST()
140 encoding.push_back(0x80); in TEST()
141 encoding.push_back(0x80); in TEST()
142 encoding.push_back(0x80); in TEST()
143 encoding.push_back(0x80); in TEST()
144 encoding.push_back(0x7f); in TEST()
146 Sleb128Decoder<uint64_t> decoder(encoding, 0); in TEST()