Home
last modified time | relevance | path

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

/external/perfetto/src/protozero/
Dmessage_unittest.cc35 constexpr uint8_t kTestBytes[] = {0, 0, 0, 0, 0x42, 1, 0x42, 0xff, 0x42, 0}; variable
106 msg->AppendBytes(i, kTestBytes, sizeof(kTestBytes)); in BuildNestedMessages()
149 msg->AppendBytes(7 /* field_id */, kTestBytes, sizeof(kTestBytes)); in TEST_F()
319 handle1->AppendBytes(1 /* field_id */, kTestBytes, 1 /* size */); in TEST_F()
327 handle2->AppendBytes(1 /* field_id */, kTestBytes, 2 /* size */); in TEST_F()
335 handle_swp->AppendBytes(2 /* field_id */, kTestBytes, 3 /* size */); in TEST_F()
338 handle3->AppendBytes(1 /* field_id */, kTestBytes, 4 /* size */); in TEST_F()
348 handle_swp->AppendBytes(2 /* field_id */, kTestBytes, 8 /* size */); in TEST_F()
401 handle1->AppendBytes(1 /* field_id */, kTestBytes, 1 /* size */); in TEST_F()
/external/libbrillo/brillo/
Dsecure_blob_unittest.cc23 const char kTestBytes[] = {'\0', '\x1', 'a', std::numeric_limits<char>::min(), in TEST() local
25 const Blob blob(std::begin(kTestBytes), std::end(kTestBytes)); in TEST()
27 EXPECT_EQ(string(std::begin(kTestBytes), std::end(kTestBytes)), in TEST()