Home
last modified time | relevance | path

Searched refs:InternString (Results 1 – 16 of 16) sorted by relevance

/external/perfetto/src/trace_processor/
Dproto_trace_parser.cc161 utid_name_id_(context->storage->InternString("utid")), in ProtoTraceParser()
162 sched_wakeup_name_id_(context->storage->InternString("sched_wakeup")), in ProtoTraceParser()
163 cpu_freq_name_id_(context->storage->InternString("cpufreq")), in ProtoTraceParser()
164 cpu_idle_name_id_(context->storage->InternString("cpuidle")), in ProtoTraceParser()
165 comm_name_id_(context->storage->InternString("comm")), in ProtoTraceParser()
166 num_forks_name_id_(context->storage->InternString("num_forks")), in ProtoTraceParser()
167 num_irq_total_name_id_(context->storage->InternString("num_irq_total")), in ProtoTraceParser()
169 context->storage->InternString("num_softirq_total")), in ProtoTraceParser()
170 num_irq_name_id_(context->storage->InternString("num_irq")), in ProtoTraceParser()
171 num_softirq_name_id_(context->storage->InternString("num_softirq")), in ProtoTraceParser()
[all …]
Dstring_pool_unittest.cc42 auto id = pool.InternString(kString); in TEST()
45 ASSERT_EQ(id, pool.InternString(kString)); in TEST()
51 auto id = pool.InternString(NullTermStringView()); in TEST()
65 pool.InternString(kString); in TEST()
76 pool.InternString(kString); in TEST()
106 string_map.emplace(pool.InternString(str), str); in TEST()
Dproto_trace_parser_unittest.cc104 MOCK_METHOD1(InternString, StringId(base::StringView));
242 EXPECT_CALL(*storage_, InternString(base::StringView(task_newtask))) in TEST_F()
244 EXPECT_CALL(*storage_, InternString(base::StringView(buf_value))); in TEST_F()
290 EXPECT_CALL(*storage_, InternString(base::StringView("Test"))); in TEST_F()
291 EXPECT_CALL(*storage_, InternString(base::StringView("meta1"))); in TEST_F()
292 EXPECT_CALL(*storage_, InternString(base::StringView("value1"))); in TEST_F()
293 EXPECT_CALL(*storage_, InternString(base::StringView("meta2"))); in TEST_F()
294 EXPECT_CALL(*storage_, InternString(base::StringView("meta3"))); in TEST_F()
679 EXPECT_CALL(*storage_, InternString(base::StringView("cat2,cat3"))) in TEST_F()
681 EXPECT_CALL(*storage_, InternString(base::StringView("ev2"))) in TEST_F()
[all …]
Dheap_profile_tracker_unittest.cc59 mapping_name = context.storage->InternString("[mapping]"); in HeapProfileTrackerDupTest()
60 build = context.storage->InternString("[build id]"); in HeapProfileTrackerDupTest()
61 frame_name = context.storage->InternString("[frame]"); in HeapProfileTrackerDupTest()
272 auto interned = context.storage->InternString( in TEST()
277 auto interned = context.storage->InternString( in TEST()
282 auto interned = context.storage->InternString( in TEST()
Djson_trace_parser.cc85 StringId cat_id = storage->InternString(cat); in ParseTracePacket()
86 StringId name_id = storage->InternString(name); in ParseTracePacket()
109 auto thread_name_id = context_->storage->InternString(thread_name); in ParseTracePacket()
Devent_tracker.cc42 context->storage->InternString(descriptor->fields[i].name); in EventTracker()
44 sched_switch_id_ = context->storage->InternString(descriptor->name); in EventTracker()
70 StringId next_comm_id = context_->storage->InternString(next_comm); in PushSchedSwitch()
98 StringId prev_comm_id = context_->storage->InternString(prev_comm); in PushSchedSwitch()
Dsyscall_tracker.cc89 id = context_->storage->InternString(name); in SetArchitecture()
95 id = context_->storage->InternString(unknown_str); in SetArchitecture()
Dfuchsia_trace_parser.cc84 cat = context_->storage->InternString( in ParseTracePacket()
91 name = context_->storage->InternString( in ParseTracePacket()
Dstring_pool.h67 Id InternString(base::StringView str) { in InternString() function
Dfuchsia_trace_tokenizer.cc233 StringId id = storage->InternString(s); in ParseRecord()
309 name = storage->InternString( in ParseRecord()
Dtrace_sorter_unittest.cc69 MOCK_METHOD1(InternString, StringId(base::StringView view));
Dheap_profile_tracker.cc27 : context_(context), empty_(context_->storage->InternString({"", 0})) {} in HeapProfileTracker()
Dprocess_tracker.cc132 auto proc_name_id = context_->storage->InternString(name); in UpdateProcess()
Dtrace_storage.h741 virtual StringId InternString(base::StringView str) { in InternString() function
742 return string_pool_.InternString(str); in InternString()
/external/perfetto/src/traced/probes/ftrace/
Dproto_translation_table.cc496 e->name = InternString(group_and_name.name()); in GetOrCreateEvent()
497 e->group = InternString(group_and_name.group()); in GetOrCreateEvent()
516 const char* ProtoTranslationTable::InternString(const std::string& str) { in InternString() function in perfetto::ProtoTranslationTable
533 field->ftrace_name = InternString(field_name); in CreateGenericEventField()
Dproto_translation_table.h159 const char* InternString(const std::string& str);