Home | History | Annotate | Download | only in base

Lines Matching defs:bytes

20   const uint8_t bytes[64] = {0};
21 BitBuffer buffer(bytes, 32);
42 const uint8_t bytes[] = {0x0A, 0xBC, 0xDE, 0xF1, 0x23, 0x45, 0x67, 0x89};
46 BitBuffer buffer(bytes, 8);
58 const uint8_t bytes[] = {0x0A, 0xBC, 0xDE, 0xF1, 0x23,
63 BitBuffer buffer(bytes, 9);
91 // The bytes. It almost looks like counting down by two at a time, except the
93 const uint8_t bytes[] = {0x1F, 0xDB, 0x97, 0x53, 0x0E, 0xCA, 0x86, 0x42};
98 BitBuffer buffer(bytes, 8);
115 const uint8_t bytes[] = {0x4D, 0x32};
117 BitBuffer buffer(bytes, 2);
141 uint8_t bytes[4] = {0};
142 BitBufferWriter buffer(bytes, 4);
230 const uint8_t bytes[] = {0x00, 0xFF, 0xFF};
232 // If it didn't, the above buffer would be valid at 3 bytes.
233 BitBuffer buffer(bytes, 1);
237 BitBuffer longer_buffer(bytes, 2);
240 BitBuffer longest_buffer(bytes, 3);
248 uint8_t bytes[16] = {0};
249 BitBufferWriter buffer(bytes, 4);
280 uint8_t bytes[16] = {0};
281 BitBufferWriter buffer(bytes, 16);
303 uint8_t bytes[64] = {0};
304 BitBufferWriter buffer(bytes, 64);
318 uint8_t bytes[] = {0xFF, 0xFF};
319 BitBufferWriter buffer(bytes, 2);
322 EXPECT_EQ(0xEFu, bytes[0]);
324 EXPECT_EQ(0xE1u, bytes[0]);
326 EXPECT_EQ(0xE0u, bytes[0]);
327 EXPECT_EQ(0x7F, bytes[1]);