Searched refs:InferProtoType (Results 1 – 4 of 4) sorted by relevance
/external/perfetto/tools/ftrace_proto_gen/ |
D | ftrace_proto_gen_unittest.cc | 23 TEST(FtraceEventParserTest, InferProtoType) { in TEST() argument 25 EXPECT_EQ(InferProtoType(Field{"char foo[16]", 0, 16, false}).ToString(), in TEST() 27 EXPECT_EQ(InferProtoType(Field{"char bar_42[64]", 0, 64, false}).ToString(), in TEST() 30 InferProtoType(Field{"__data_loc char[] foo", 0, 4, false}).ToString(), in TEST() 32 EXPECT_EQ(InferProtoType(Field{"char[] foo", 0, 8, false}).ToString(), in TEST() 34 EXPECT_EQ(InferProtoType(Field{"char * foo", 0, 8, false}).ToString(), in TEST() 37 EXPECT_EQ(InferProtoType(Field{"int foo", 0, 4, true}).ToString(), "int32"); in TEST() 38 EXPECT_EQ(InferProtoType(Field{"s32 signal", 50, 4, true}).ToString(), in TEST() 41 EXPECT_EQ(InferProtoType(Field{"unsigned int foo", 0, 4, false}).ToString(), in TEST() 43 EXPECT_EQ(InferProtoType(Field{"u32 control_freq", 44, 4, false}).ToString(), in TEST() [all …]
|
D | proto_gen_utils.h | 93 ProtoType InferProtoType(const FtraceEvent::Field& field);
|
D | ftrace_proto_gen.cc | 106 ProtoType type = InferProtoType(field); in GenerateProto()
|
D | proto_gen_utils.cc | 194 ProtoType InferProtoType(const FtraceEvent::Field& field) { in InferProtoType() function
|