Searched refs:GetNameFromTypeAndName (Results 1 – 5 of 5) sorted by relevance
/external/perfetto/src/traced/probes/ftrace/ |
D | format_parser_unittest.cc | 126 TEST(FtraceEventParserTest, GetNameFromTypeAndName) { in TEST() argument 127 EXPECT_EQ(GetNameFromTypeAndName("int foo"), "foo"); in TEST() 128 EXPECT_EQ(GetNameFromTypeAndName("int foo_bar"), "foo_bar"); in TEST() 129 EXPECT_EQ(GetNameFromTypeAndName("const char * foo"), "foo"); in TEST() 130 EXPECT_EQ(GetNameFromTypeAndName("const char foo[64]"), "foo"); in TEST() 131 EXPECT_EQ(GetNameFromTypeAndName("char[] foo[16]"), "foo"); in TEST() 132 EXPECT_EQ(GetNameFromTypeAndName("u8 foo[(int)sizeof(struct blah)]"), "foo"); in TEST() 134 EXPECT_EQ(GetNameFromTypeAndName(""), ""); in TEST() 135 EXPECT_EQ(GetNameFromTypeAndName("]"), ""); in TEST() 136 EXPECT_EQ(GetNameFromTypeAndName("["), ""); in TEST() [all …]
|
D | format_parser.cc | 72 if (IsCommonFieldName(GetNameFromTypeAndName(type_and_name))) { in ParseFtraceEventBody() 99 std::string GetNameFromTypeAndName(const std::string& type_and_name) { in GetNameFromTypeAndName() function
|
D | format_parser.h | 54 std::string GetNameFromTypeAndName(const std::string& type_and_name);
|
D | proto_translation_table.cc | 44 std::string name = GetNameFromTypeAndName(field.type_and_name); in MakeFtracePageHeaderSpec() 170 if (GetNameFromTypeAndName(ftrace_field.type_and_name) != in MergeFields() 525 std::string field_name = GetNameFromTypeAndName(ftrace_field.type_and_name); in CreateGenericEventField()
|
/external/perfetto/tools/ftrace_proto_gen/ |
D | ftrace_proto_gen.cc | 114 std::string name = GetNameFromTypeAndName(field.type_and_name); in GenerateProto()
|