Home
last modified time | relevance | path

Searched refs:nested_msg_index (Results 1 – 7 of 7) sorted by relevance

/external/perfetto/src/protozero/filtering/
Dfilter_bytecode_generator_unittest.cc116 EXPECT_EQ(parser.Query(0, 11).nested_msg_index, 3u); in TEST()
118 EXPECT_EQ(parser.Query(0, 12).nested_msg_index, 1u); in TEST()
124 EXPECT_EQ(parser.Query(1, 11).nested_msg_index, 1u); in TEST()
126 EXPECT_EQ(parser.Query(1, 12).nested_msg_index, 2u); in TEST()
128 EXPECT_EQ(parser.Query(1, 13).nested_msg_index, 3u); in TEST()
137 EXPECT_EQ(parser.Query(3, 1).nested_msg_index, 0u); in TEST()
Dfilter_util_unittest.cc89 EXPECT_EQ(fbp.Query(1, 4).nested_msg_index, 1u); // Self in TEST()
139 EXPECT_EQ(fbp.Query(1, 1).nested_msg_index, fbp.Query(1, 2).nested_msg_index); in TEST()
142 EXPECT_NE(fbp.Query(1, 1).nested_msg_index, fbp.Query(1, 3).nested_msg_index); in TEST()
Dfilter_bytecode_parser_unittest.cc218 EXPECT_EQ(parser.Query(0, 4).nested_msg_index, 3u); in TEST()
222 EXPECT_EQ(parser.Query(0, 127).nested_msg_index, 1u); in TEST()
224 EXPECT_EQ(parser.Query(0, 128).nested_msg_index, 2u); in TEST()
230 EXPECT_EQ(parser.Query(1, 2).nested_msg_index, 1u); in TEST()
239 EXPECT_EQ(parser.Query(2, 2).nested_msg_index, 3u); in TEST()
246 EXPECT_EQ(parser.Query(3, 2).nested_msg_index, 2u); in TEST()
Dfilter_bytecode_parser.h51 uint32_t nested_msg_index; member
57 bool simple_field() const { return nested_msg_index == kSimpleField; } in simple_field()
Dfilter_bytecode_parser.cc226 res.nested_msg_index = field_state & ~kAllowed; in Query()
228 res.nested_msg_index < message_offset_.size() - 1); in Query()
Dmessage_filter.cc90 root_msg_idx = res.nested_msg_index; in SetFilterRoot()
213 next_state.msg_index = filter.nested_msg_index; in FilterOneByte()
Dfilter_util.cc256 uint32_t nested_msg_index = descr_to_idx[field.nested_type]; in GenerateFilterBytecode() local
257 bytecode_gen.AddNestedField(field_id, nested_msg_index); in GenerateFilterBytecode()