Home
last modified time | relevance | path

Searched refs:GetNameFromTypeAndName (Results 1 – 5 of 5) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dformat_parser_unittest.cc126 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 …]
Dformat_parser.cc72 if (IsCommonFieldName(GetNameFromTypeAndName(type_and_name))) { in ParseFtraceEventBody()
99 std::string GetNameFromTypeAndName(const std::string& type_and_name) { in GetNameFromTypeAndName() function
Dformat_parser.h54 std::string GetNameFromTypeAndName(const std::string& type_and_name);
Dproto_translation_table.cc44 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/
Dftrace_proto_gen.cc114 std::string name = GetNameFromTypeAndName(field.type_and_name); in GenerateProto()