Searched refs:MakeTagFixed (Results 1 – 3 of 3) sorted by relevance
/external/perfetto/src/protozero/ |
D | proto_utils_unittest.cc | 70 EXPECT_EQ(0x09u, MakeTagFixed<uint64_t>(1)); in TEST() 72 EXPECT_EQ(0x0Du, MakeTagFixed<uint32_t>(1)); in TEST() 75 EXPECT_EQ(0x03F9u, MakeTagFixed<int64_t>(0x7F)); in TEST() 77 EXPECT_EQ(0x03FDu, MakeTagFixed<int32_t>(0x7F)); in TEST() 80 EXPECT_EQ(0x0401u, MakeTagFixed<double>(0x80)); in TEST() 82 EXPECT_EQ(0x0405u, MakeTagFixed<float>(0x80)); in TEST() 85 EXPECT_EQ(0x01FFF9u, MakeTagFixed<int64_t>(0x3fff)); in TEST() 87 EXPECT_EQ(0x01FFFDu, MakeTagFixed<int32_t>(0x3fff)); in TEST() 90 EXPECT_EQ(0x020001u, MakeTagFixed<int64_t>(0x4000)); in TEST() 92 EXPECT_EQ(0x020005u, MakeTagFixed<int32_t>(0x4000)); in TEST()
|
/external/perfetto/include/perfetto/protozero/ |
D | proto_utils.h | 128 constexpr uint32_t MakeTagFixed(uint32_t field_id) { in MakeTagFixed() function
|
D | message.h | 139 pos = proto_utils::WriteVarInt(proto_utils::MakeTagFixed<T>(field_id), pos); in AppendFixed()
|