Lines Matching refs:bytes
80 std::vector<uint8_t> bytes = { in TEST() local
90 ConstBufferView buffer(bytes.data(), bytes.size()); in TEST()
120 std::vector<uint8_t> bytes(32, 0xFF); in TEST() local
121 MutableBufferView buffer(bytes.data(), bytes.size()); in TEST()
146 bytes); in TEST()
155 std::vector<uint8_t> bytes = { in TEST() local
165 ConstBufferView region(&bytes[0], bytes.size()); in TEST()
199 std::vector<uint8_t> bytes = { in TEST() local
207 MutableBufferView region(&bytes[0], bytes.size()); in TEST()
213 EXPECT_EQ(0xFF, bytes[0x02]); // 00030002: B 00030004 ; T8 in TEST()
214 EXPECT_EQ(0xDE, bytes[0x03]); in TEST()
217 EXPECT_EQ(0x02, bytes[0x02]); // 00030002: B 0003000A ; T8 in TEST()
218 EXPECT_EQ(0xDE, bytes[0x03]); in TEST()
224 EXPECT_EQ(0xFE, bytes[0x08]); // 00030008: B 00030008 ; T11 in TEST()
225 EXPECT_EQ(0xE7, bytes[0x09]); in TEST()
227 EXPECT_EQ(0x02, bytes[0x08]); // 00030008: B 00030010 ; T11 in TEST()
228 EXPECT_EQ(0xE0, bytes[0x09]); in TEST()
234 EXPECT_EQ(0xBF, bytes[0x0C]); // 0003000C: B 0003000A ; T20 in TEST()
235 EXPECT_EQ(0xF7, bytes[0x0D]); in TEST()
236 EXPECT_EQ(0xFD, bytes[0x0E]); in TEST()
237 EXPECT_EQ(0xAF, bytes[0x0F]); in TEST()
239 EXPECT_EQ(0x80, bytes[0x0C]); // 0003000C: B 00030010 ; T20 in TEST()
240 EXPECT_EQ(0xF3, bytes[0x0D]); in TEST()
241 EXPECT_EQ(0x00, bytes[0x0E]); in TEST()
242 EXPECT_EQ(0x80, bytes[0x0F]); in TEST()
250 std::vector<uint8_t> bytes = { in TEST() local
258 MutableBufferView region(&bytes[0], bytes.size()); in TEST()
264 EXPECT_EQ(0xFF, bytes[0x02]); // 0C030002: B 0C030000 ; T24 in TEST()
265 EXPECT_EQ(0xF7, bytes[0x03]); in TEST()
266 EXPECT_EQ(0xFD, bytes[0x04]); in TEST()
267 EXPECT_EQ(0xBF, bytes[0x05]); in TEST()
269 EXPECT_EQ(0x00, bytes[0x02]); // 0C030002: B 0C030008 ; T24 in TEST()
270 EXPECT_EQ(0xF0, bytes[0x03]); in TEST()
271 EXPECT_EQ(0x01, bytes[0x04]); in TEST()
272 EXPECT_EQ(0xB8, bytes[0x05]); in TEST()
276 EXPECT_EQ(0x00, bytes[0x0A]); // 0C03000A: BLX 0C030010 ; T24 in TEST()
277 EXPECT_EQ(0xF0, bytes[0x0B]); in TEST()
278 EXPECT_EQ(0x02, bytes[0x0C]); in TEST()
279 EXPECT_EQ(0xE8, bytes[0x0D]); in TEST()
281 EXPECT_EQ(0x00, bytes[0x0A]); // 0C03000A: BLX 0C030100 ; T24 in TEST()
282 EXPECT_EQ(0xF0, bytes[0x0B]); in TEST()
283 EXPECT_EQ(0x7A, bytes[0x0C]); in TEST()
284 EXPECT_EQ(0xE8, bytes[0x0D]); in TEST()
286 EXPECT_EQ(0xFF, bytes[0x0A]); // 0C03000A: BLX 0C030000 ; T24 in TEST()
287 EXPECT_EQ(0xF7, bytes[0x0B]); in TEST()
288 EXPECT_EQ(0xFA, bytes[0x0C]); in TEST()
289 EXPECT_EQ(0xEF, bytes[0x0D]); in TEST()
293 EXPECT_EQ(0xFF, bytes[0x10]); // 0C030010: BLX 0C030010 ; T24 in TEST()
294 EXPECT_EQ(0xF7, bytes[0x11]); in TEST()
295 EXPECT_EQ(0xFE, bytes[0x12]); in TEST()
296 EXPECT_EQ(0xEF, bytes[0x13]); in TEST()
298 EXPECT_EQ(0x00, bytes[0x10]); // 0C030010: BLX 0C030108 ; T24 in TEST()
299 EXPECT_EQ(0xF0, bytes[0x11]); in TEST()
300 EXPECT_EQ(0x7A, bytes[0x12]); in TEST()
301 EXPECT_EQ(0xE8, bytes[0x13]); in TEST()
311 std::vector<uint8_t> bytes = { in TEST() local
315 MutableBufferView region(&bytes[0], bytes.size()); in TEST()
323 EXPECT_EQ(0x3D, bytes[0x04]); // 08030004: BLX 08030100 ; A24 in TEST()
324 EXPECT_EQ(0x00, bytes[0x05]); in TEST()
325 EXPECT_EQ(0x00, bytes[0x06]); in TEST()
326 EXPECT_EQ(0xFA, bytes[0x07]); in TEST()
330 EXPECT_EQ(0x11, bytes[0x04]); // 08030004: BLX 08030052 ; A24 in TEST()
331 EXPECT_EQ(0x00, bytes[0x05]); in TEST()
332 EXPECT_EQ(0x00, bytes[0x06]); in TEST()
333 EXPECT_EQ(0xFB, bytes[0x07]); in TEST()
337 EXPECT_EQ(0x00, bytes[0x04]); // 08030004: BLX 0803000C ; A24 in TEST()
338 EXPECT_EQ(0x00, bytes[0x05]); in TEST()
339 EXPECT_EQ(0x00, bytes[0x06]); in TEST()
340 EXPECT_EQ(0xFA, bytes[0x07]); in TEST()
422 std::vector<uint8_t> bytes = { in TEST() local
432 MutableBufferView region(&bytes[0], bytes.size()); in TEST()
461 std::vector<uint8_t> bytes = { in TEST() local
471 MutableBufferView region(&bytes[0], bytes.size()); in TEST()
477 EXPECT_EQ(0xFE, bytes[0x08]); // 00030008: B 00030000 ; Immd26 in TEST()
478 EXPECT_EQ(0xFF, bytes[0x09]); in TEST()
479 EXPECT_EQ(0xFF, bytes[0x0A]); in TEST()
480 EXPECT_EQ(0x17, bytes[0x0B]); in TEST()
486 EXPECT_EQ(0x85, bytes[0x10]); // 00030010: CBNZ R5,00030000 ; Immd19 in TEST()
487 EXPECT_EQ(0xFF, bytes[0x11]); in TEST()
488 EXPECT_EQ(0xFF, bytes[0x12]); in TEST()
489 EXPECT_EQ(0x35, bytes[0x13]); in TEST()
491 EXPECT_EQ(0x2A, bytes[0x18]); // 00030018: BGE 0003001C ; Immd19 in TEST()
492 EXPECT_EQ(0x00, bytes[0x19]); in TEST()
493 EXPECT_EQ(0x00, bytes[0x1A]); in TEST()
494 EXPECT_EQ(0x54, bytes[0x1B]); in TEST()
500 EXPECT_EQ(0xAC, bytes[0x1C]); // 0003001C: TBZ X12,#17,00030010 ; Immd14 in TEST()
501 EXPECT_EQ(0xFF, bytes[0x1D]); in TEST()
502 EXPECT_EQ(0x8F, bytes[0x1E]); in TEST()
503 EXPECT_EQ(0x36, bytes[0x1F]); in TEST()