Home
last modified time | relevance | path

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

/external/perfetto/src/protozero/
Dmessage_unittest.cc178 Message* root_msg = NewMessage(); in TEST_F() local
179 root_msg->AppendVarInt(1 /* field_id */, 1); in TEST_F()
182 root_msg->BeginNestedMessage<FakeChildMessage>(128 /* field_id */); in TEST_F()
187 root_msg->BeginNestedMessage<FakeChildMessage>(129 /* field_id */); in TEST_F()
190 root_msg->AppendVarInt(5 /* field_id */, 3); in TEST_F()
202 EXPECT_EQ(20u, root_msg->Finalize()); in TEST_F()
220 Message* root_msg = NewMessage(); in TEST_F() local
227 root_msg->AppendScatteredBytes(1 /* field_id */, ranges, 2); in TEST_F()
228 EXPECT_EQ(86u, root_msg->Finalize()); in TEST_F()
242 Message* root_msg = NewMessage(); in TEST_F() local
[all …]
/external/perfetto/src/protozero/filtering/
Dfilter_util.cc100 const google::protobuf::Descriptor* root_msg = nullptr; in LoadMessageDefinition() local
102 root_msg = importer.pool()->FindMessageTypeByName(root_message); in LoadMessageDefinition()
106 root_msg = root_file->message_type(0); in LoadMessageDefinition()
107 if (root_msg) in LoadMessageDefinition()
111 root_msg->full_name().c_str()); in LoadMessageDefinition()
114 if (!root_msg) { in LoadMessageDefinition()
124 ParseProtoDescriptor(root_msg, &descriptors_by_full_name); in LoadMessageDefinition()