Home
last modified time | relevance | path

Searched refs:nameIndex_ (Results 1 – 25 of 26) sorted by relevance

12

/developtools/profiler/device/services/profiler_service/test/unittest/
Dplugin_service_stubs.cpp212 CHECK_TRUE(nameIndex_.count(pluginName) > 0, std::make_pair(0, nullptr), in GetPluginContext()
214 uint32_t id = nameIndex_[pluginName]; in GetPluginContext()
229 if (nameIndex_.find(pluginInfo.name) == nameIndex_.end()) { // add new plugin in AddPluginInfo()
252 nameIndex_[pluginInfo.name] = pluginId; in AddPluginInfo()
255 …CHECK_TRUE(nameIndex_.count(pluginInfo.name) > 0, false, "plugin name %s not found!", pluginInfo.n… in AddPluginInfo()
257 uint32_t pluginId = nameIndex_[pluginInfo.name]; in AddPluginInfo()
300 nameIndex_.erase(pluginName); in RemovePluginInfo()
/developtools/profiler/device/services/plugin_service/src/
Dplugin_service.cpp282 CHECK_TRUE(nameIndex_.count(pluginName) > 0, std::make_pair(0, nullptr), in GetPluginContext()
284 uint32_t id = nameIndex_[pluginName]; in GetPluginContext()
299 if (nameIndex_.find(pluginInfo.name) == nameIndex_.end()) { // add new plugin in AddPluginInfo()
325 nameIndex_[pluginInfo.name] = pluginId; in AddPluginInfo()
328 …CHECK_TRUE(nameIndex_.count(pluginInfo.name) > 0, false, "plugin name %s not found!", pluginInfo.n… in AddPluginInfo()
330 uint32_t pluginId = nameIndex_[pluginInfo.name]; in AddPluginInfo()
390 nameIndex_.erase(pluginName); in RemovePluginInfo()
472 if (nameIndex_.find(name) == nameIndex_.end()) { in GetPluginIdByName()
475 return nameIndex_[name]; in GetPluginIdByName()
/developtools/profiler/host/smartperf/trace_streamer/test/unittest/
Dprocess_filter_test.cpp188 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName));
192 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName2));
225 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName));
248 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName2));
276 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName3));
295 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName));
364 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName));
/developtools/profiler/host/smartperf/trace_streamer/src/filter/
Dprocess_filter.cpp73 thread->nameIndex_ = nameIndex; in UpdateOrCreateThreadWithPidAndName()
115 thread->nameIndex_ = traceDataCache_->GetDataIndex(name); in UpdateOrCreateProcessWithName()
127 thread->nameIndex_ = threadNameIndex; in UpdateOrCreateThreadWithNameIndex()
131 thread->nameIndex_ = threadNameIndex; in UpdateOrCreateThreadWithNameIndex()
175 if (thread->nameIndex_) { in isThreadNameEmpty()
Dbinder_filter.cpp82 const auto destThreadName = traceDataCache_->GetConstThreadData(dstItid).nameIndex_; in SendTraction()
111 const auto threadName = traceDataCache_->GetConstThreadData(internalTid).nameIndex_; in ReceiveTraction()
Dcpu_filter.cpp107 thread->tid_, traceDataCache_->GetDataFromDict(thread->nameIndex_), thread->startT_); in Finish()
/developtools/profiler/device/plugins/native_daemon/src/
Dsection_header.cpp57 nameIndex_ = u4Buf[index]; in ParseSecHeader32()
84 nameIndex_ = u4Buf[index]; in ParseSecHeader64()
Delf_symbol.cpp41 nameIndex_ = u4Buf[nameOffset]; in ParseElf32Symbol()
60 nameIndex_ = u4Buf[nameOffset]; in ParseElf64Symbol()
Dsymbols_file.cpp587 std::string name = elfFile->GetStrPtr(shdr->link_, symbol->nameIndex_); in ReadSymTab()
611 elfFile->GetStrPtr(elfFile->ehdr_->shdrStrTabIdx_, shdr->nameIndex_); in ParseShdr()
651 … const char *sh_name = elfFile->GetStrPtr(elfFile->ehdr_->shdrStrTabIdx_, shdr->nameIndex_); in ParseShdr()
Delf_file.cpp240 std::string secName = GetSectionName(shdr->nameIndex_); in ParseSecHeaders()
/developtools/profiler/host/smartperf/trace_streamer/src/parser/hiperf_parser/hiperf/
Dsection_header.cpp57 nameIndex_ = u4Buf[index]; in ParseSecHeader32()
84 nameIndex_ = u4Buf[index]; in ParseSecHeader64()
Delf_symbol.cpp41 nameIndex_ = u4Buf[nameOffset]; in ParseElf32Symbol()
60 nameIndex_ = u4Buf[nameOffset]; in ParseElf64Symbol()
Dsymbols_file.cpp594 std::string name = elfFile->GetStrPtr(shdr->link_, symbol->nameIndex_); in ReadSymTab()
619 elfFile->GetStrPtr(elfFile->ehdr_->shdrStrTabIdx_, shdr->nameIndex_); in ParseShdr()
653 elfFile->GetStrPtr(elfFile->ehdr_->shdrStrTabIdx_, shdr->nameIndex_); in ParseShdr()
Delf_file.cpp234 std::string secName = GetSectionName(shdr->nameIndex_); in ParseSecHeaders()
/developtools/hiperf/src/
Dsection_header.cpp57 nameIndex_ = u4Buf[index]; in ParseSecHeader32()
84 nameIndex_ = u4Buf[index]; in ParseSecHeader64()
Delf_symbol.cpp41 nameIndex_ = u4Buf[nameOffset]; in ParseElf32Symbol()
60 nameIndex_ = u4Buf[nameOffset]; in ParseElf64Symbol()
Dsymbols_file.cpp597 std::string name = elfFile->GetStrPtr(shdr->link_, symbol->nameIndex_); in ReadSymTab()
622 elfFile->GetStrPtr(elfFile->ehdr_->shdrStrTabIdx_, shdr->nameIndex_); in ParseShdr()
664 elfFile->GetStrPtr(elfFile->ehdr_->shdrStrTabIdx_, shdr->nameIndex_); in ParseShdr()
Delf_file.cpp236 std::string secName = GetSectionName(shdr->nameIndex_); in ParseSecHeaders()
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/
Dtrace_data_cache_base.cpp43 thread.nameIndex_ = dataDict_.GetStringIndex(ZERO_THREAD_NAME); in UpdataZeroThreadInfo()
Dtrace_stdtype.h97 DataIndex nameIndex_ = 0; variable
423 return nameIndex_; in NameIndexData()
429 nameIndex_.clear(); in Clear()
435 std::deque<uint32_t> nameIndex_ = {}; variable
/developtools/hiperf/include/
Delf_parser.h146 uint32_t nameIndex_; variable
189 uint32_t nameIndex_; variable
/developtools/profiler/device/plugins/native_daemon/include/
Delf_parser.h156 uint32_t nameIndex_; variable
199 uint32_t nameIndex_; variable
/developtools/profiler/device/services/plugin_service/include/
Dplugin_service.h117 std::map<std::string, uint32_t> nameIndex_; variable
/developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_parser/
Dhtrace_native_hook_parser.cpp347 if (thread->nameIndex_ == 0) { in UpdateThreadNameWithNativeHookData()
350 thread->nameIndex_ = threadNameMapItor->second; in UpdateThreadNameWithNativeHookData()
/developtools/profiler/host/smartperf/trace_streamer/src/table/
Dthread_table.cpp439 const auto& name = dataCache_->GetDataFromDict(thread.nameIndex_); in Column()

12