Home
last modified time | relevance | path

Searched refs:second (Results 1 - 25 of 192) sorted by relevance

12345678

/developtools/smartperf_host/trace_streamer/src/filter/
H A Dframe_filter.cpp63 if (!frame->second.size()) { in MarkRSOnDoCompositionEvent()
67 auto lastFrameSlice = frame->second.back(); in MarkRSOnDoCompositionEvent()
79 if (!frame->second.size()) { in BeginRSTransactionData()
83 frame->second.begin()->get()->frameNum_ = franeNum; in BeginRSTransactionData()
88 dstRenderSlice_[itid][franeNum] = frame->second[0]; in BeginRSTransactionData()
99 TS_CHECK_TRUE_RET(!frame->second.empty(), false); in BeginProcessCommandUni()
100 auto lastFrameSlice = frame->second.back(); in BeginProcessCommandUni()
109 auto srcFrame = sourceFrameMap->second.find(it.frameNum); in BeginProcessCommandUni()
110 if (srcFrame == sourceFrameMap->second.end()) { in BeginProcessCommandUni()
113 fromSlices.push_back(srcFrame->second in BeginProcessCommandUni()
[all...]
H A Dapp_start_filter.cpp41 if (item.second.empty()) { in CaclRsDataByPid()
44 auto itorSecond = item.second.begin(); in CaclRsDataByPid()
45 if (itorSecond->second->ipid_ == INVALID_UINT32) { in CaclRsDataByPid()
49 if (itorSecond->second->ipid_ == frameSliceData->Ipids()[m] && !frameSliceData->Types()[m] && in CaclRsDataByPid()
58 std::make_unique<APPStartupData>(callId, itorSecond->second->ipid_, in CaclRsDataByPid()
59 itorSecond->second->tid_, in CaclRsDataByPid()
69 std::make_unique<APPStartupData>(callId, itorSecond->second->ipid_, in CaclRsDataByPid()
70 itorSecond->second->tid_, in CaclRsDataByPid()
85 if (item.second.count(UI_ABILITY_LAUNCHING)) { in UpdatePidByNameIndex()
86 ipid = item.second in UpdatePidByNameIndex()
[all...]
H A Dargs_filter.cpp40 (void)argSet->AppendNewArg(it->first, it->second.type, it->second.value, count_); in NewArgs()
49 (void)argSet->AppendNewArg(it->first, it->second.type, it->second.value, argSetId); in AppendArgs()
/developtools/packing_tool/packing_tool/frameworks/src/
H A Dhsp_packager.cpp82 if (it == parameterMap_.end() || it->second.empty()) { in IsVerifyValidInHspCommonMode()
86 jsonPath_ = it->second; in IsVerifyValidInHspCommonMode()
87 if (!IsPathValid(it->second, true, Constants::MODULE_JSON)) { in IsVerifyValidInHspCommonMode()
99 if (it != parameterMap_.end() && !it->second.empty() && in IsVerifyValidInHspCommonMode()
100 !SplitDirList(it->second, formatedDirList_)) { in IsVerifyValidInHspCommonMode()
106 const std::string filePath = it->second; in IsVerifyValidInHspCommonMode()
115 if (it != parameterMap_.end() && !it ->second.empty()) { in IsVerifyValidInHspCommonMode()
116 const std::string filePath = it->second; in IsVerifyValidInHspCommonMode()
131 const std::string filePath = it->second; in IsVerifyValidInHspMode()
142 outPath = it->second; in IsVerifyValidInHspMode()
[all...]
H A Dhap_packager.cpp47 jsonPath = it->second; in PreProcess()
50 if (it != parameterMap_.end() && !it->second.empty() && jsonPath.empty()) { in PreProcess()
55 outPath = it->second; in PreProcess()
60 forceRewrite = it->second; in PreProcess()
110 if (it == parameterMap_.end() || it->second.empty()) { in IsVerifyValidInHapCommonMode()
114 jsonPath_ = it->second; in IsVerifyValidInHapCommonMode()
115 if (!IsPathValid(it->second, true, Constants::CONFIG_JSON) in IsVerifyValidInHapCommonMode()
116 && !IsPathValid(it->second, true, Constants::MODULE_JSON)) { in IsVerifyValidInHapCommonMode()
126 const std::string filePath = it->second; in IsVerifyValidInHapCommonMode()
138 if (it != parameterMap_.end() && !SplitDirList(it->second, formatedDirList in IsVerifyValidInHapCommonMode()
[all...]
H A Dfast_app_packager.cpp101 if (it != parameterMap_.end() && !it->second.empty()) { in IsVerifyValidInFastAppMode()
102 packInfoPath = it->second; in IsVerifyValidInFastAppMode()
113 outPath = it->second; in IsVerifyValidInFastAppMode()
118 forceRewrite = it->second; in IsVerifyValidInFastAppMode()
127 if (itHap != parameterMap_.end() && !itHap->second.empty() && in FormatPath()
128 (!IsFormatPathValid(itHap->second, formattedHapPathList_) || !IsHapPathValid(formattedHapPathList_))) { in FormatPath()
134 if (itHsp != parameterMap_.end() && !itHsp->second.empty() && (!IsFormatPathValid(itHsp->second, in FormatPath()
140 if ((itHap == parameterMap_.end() || itHap->second.empty()) && in FormatPath()
141 (itHsp == parameterMap_.end() || itHsp->second in FormatPath()
[all...]
H A Dapp_packager.cpp279 if (it != parameterMap_.end() && !it->second.empty()) { in CheckSignaturePath()
280 if (!fs::is_regular_file(it->second)) { in CheckSignaturePath()
291 if (it != parameterMap_.end() && !it->second.empty()) { in CheckCertificatePath()
292 if (!fs::is_regular_file(it->second)) { in CheckCertificatePath()
303 if (it != parameterMap_.end() && !it->second.empty()) { in CheckEntrycardPath()
304 if (!CompatibleProcess(it->second, formattedEntryCardPathList_, Constants::PNG_SUFFIX)) { in CheckEntrycardPath()
315 if (it != parameterMap_.end() && !it->second.empty()) { in CheckPackResPath()
316 if (!IsPathValid(it->second, true, Constants::FILE_PACK_RES)) { in CheckPackResPath()
404 CompressPackinfoIntoHap(hapPathItem, hapUnzipTempPath, hapTempPath.string(), it->second); in CompressHapAndHspFiles()
418 CompressPackinfoIntoHap(hspPathItem, hspUnzipTempPath, hspTempPath.string(), it->second); in CompressHapAndHspFiles()
[all...]
H A Dhqf_packager.cpp43 } else if (!Utils::EndsWith(it->second, Constants::HQF_SUFFIX)) { in PreProcess()
53 if (it->second != "true") { in PreProcess()
106 if (moduleJson.ParseFromFile(it->second)) { in Process()
116 if (zipWrapper_.AddFileOrDirectoryToZip(it->second, Constants::LIB_PATH) != ZipErrCode::ZIP_ERR_SUCCESS) { in Process()
122 if (zipWrapper_.AddFileOrDirectoryToZip(it->second, Constants::RESOURCES_PATH) != ZipErrCode::ZIP_ERR_SUCCESS) { in Process()
128 if (zipWrapper_.AddFileOrDirectoryToZip(it->second, Constants::ETS_PATH) != in Process()
H A Dres_packager.cpp71 packInfoPath_ = it->second; in IsVerifyValidInResMode()
84 entryCardPath_ = it->second; in IsVerifyValidInResMode()
102 outPath_ = it->second; in IsVerifyValidInResMode()
107 forceRewrite = it->second; in IsVerifyValidInResMode()
/developtools/global_resource_tool/src/
H A Did_worker.cpp57 return result->second; in GetId()
65 resourceId.id = it.second; in GetHeaderId()
67 resourceId.name = it.first.second; in GetHeaderId()
73 ids.insert(ids.end(), item.second.begin(), item.second.end()); in GetHeaderId()
84 return result->second.id; in GetSystemId()
91 return result->second; in GenerateAppId()
96 ids_.emplace(make_pair(resType, name), defined->second.id); in GenerateAppId()
97 return defined->second.id; in GenerateAppId()
102 ids_.emplace(make_pair(resType, name), result->second); in GenerateAppId()
[all...]
H A Dresource_module.cpp52 if (item == scanDirs_.end() || item->second.empty()) { in ScanResource()
59 if (resourceCompiler->Compile(item->second) != RESTOOL_SUCCESS) { in ScanResource()
81 auto result = alls.emplace(iter.first, iter.second); in MergeResourceItem()
82 if (result.second) { in MergeResourceItem()
86 for (const auto &resourceItem : iter.second) { in MergeResourceItem()
87 auto ret = find_if(result.first->second.begin(), result.first->second.end(), [&resourceItem](auto &iter) { in MergeResourceItem()
90 if (ret == result.first->second.end()) { in MergeResourceItem()
91 result.first->second.push_back(resourceItem); in MergeResourceItem()
111 owner_.emplace(iter.first, iter.second); in Push()
[all...]
H A Dresource_table.cpp48 for (const auto &resourceItem : item.second) { in CreateResourceTable()
77 for (const auto &resourceItemPtr : item.second) { in CreateResourceTable()
160 if (pairPtr.second.empty()) { in CreateIdDefined()
171 ResourceItem item = pairPtr.second.front(); in CreateIdDefined()
249 const auto &keyParams = config.second.at(0).resourceItem.GetKeyParam(); in Prepare()
266 limitKeyConfig->second.offset = pos; in Prepare()
269 idSet.idCount = config.second.size(); in Prepare()
271 for (const auto &tableData : config.second) { in Prepare()
290 for (const auto &tableData : config.second) { in SaveRecordItem()
291 if (idSet->second in SaveRecordItem()
[all...]
H A Dfile_manager.cpp76 bool found = any_of(item.second.begin(), item.second.end(), [](const auto &iter) { in CheckAllItems()
80 auto firstItem = item.second.front(); in CheckAllItems()
83 (firstItem.GetName() == iterItem.second); in CheckAllItems()
103 allIconIds.insert(it.second.begin(), it.second.end()); in ScaleIcons()
114 for (auto &item : iter->second) { in ScaleIcons()
/developtools/smartperf_host/trace_streamer/src/base/
H A Ddouble_map.h37 auto hookId = (*streamIdHookidMap).second.find(t2); in Insert()
38 if (hookId == (*streamIdHookidMap).second.end()) { in Insert()
39 (*streamIdHookidMap).second.emplace(std::make_pair(t2, t3)); in Insert()
41 (*streamIdHookidMap).second.at(t2) = t3; in Insert()
52 auto hookId = (*streamIdHookidMap).second.find(t2); in Find()
53 if (hookId == (*streamIdHookidMap).second.end()) { in Find()
56 return hookId->second; in Find()
66 return &streamIdHookidMap->second; in Find()
H A Dbase_map.h33 (*streamIdHookidMap).second.Erase(t2); \
39 auto hookId = (*streamIdHookidMap).second.find(t2); \
40 if (hookId != (*streamIdHookidMap).second.end()) { \
41 (*streamIdHookidMap).second.erase(hookId); \
48 (*streamIdHookidMap).second.Erase(t2, t3); \
54 (*streamIdHookidMap).second.Erase(t2, t3, t4); \
/developtools/hiperf/src/
H A Dsubcommand_stat.cpp166 if (!(it->second->summaries.empty())) { in Report()
238 newPerMap->pid = thread_map_.find(summary.tid)->second.pid; in InitPerMap()
265 if (event->second == nullptr || event->second->eventCount == 0) { in ReportDetailInfos()
271 for (auto &it : event->second->summaries) { in ReportDetailInfos()
281 perMaps[perKey]->configName = GetDetailComments(event->second, perMaps[perKey]->commentSum, in ReportDetailInfos()
289 PrintPerValue(iper->second, ratio, configName); in ReportDetailInfos()
306 std::string strEventCount = std::to_string(it->second->eventCount); in ReportNormal()
313 if (it->second->timeRunning < it->second in ReportNormal()
[all...]
H A Dsubcommand_help.cpp45 if (commandOption.second != nullptr) { in OnHelp()
47 commandOption.second->help.c_str()); in OnHelp()
55 if (command.second == nullptr) { in OnHelp()
58 printf("\t%s:\t%s\n", command.second->Name().c_str(), command.second->Brief().c_str()); in OnHelp()
/developtools/packing_tool/ohos_packing_tool/frameworks/src/
H A Dhap_packager.cpp62 if (ParseJsonFile(moduleJson, it->second)) { in Process()
68 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::LIB_PATH), fi); in Process()
72 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::RESOURCES_PATH), fi); in Process()
76 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::RESOURCES_INDEX), fi); in Process()
80 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::PACK_INFO), fi); in Process()
84 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::ETS_PATH), fi); in Process()
88 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::RPCID_SC), fi); in Process()
92 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::PKG_CONTEXT_JSON), fi); in Process()
H A Dhsp_packager.cpp52 if (ParseJsonFile(moduleJson, it->second)) { in Process()
58 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::LIB_PATH), fi); in Process()
62 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::RESOURCES_PATH), fi); in Process()
66 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::RESOURCES_INDEX), fi); in Process()
70 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::PACK_INFO), fi); in Process()
74 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::ETS_PATH), fi); in Process()
78 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::RPCID_SC), fi); in Process()
82 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::PKG_CONTEXT_JSON), fi); in Process()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/entity/
H A DPair.java28 private Pair(A first, B second) { in Pair() argument
30 mSecond = second; in Pair()
37 * @param second value of pair
42 public static <A, B> Pair<A, B> create(A first, B second) { in create() argument
43 return new Pair<A, B>(first, second); in create()
/developtools/profiler/device/plugins/hiebpf_plugin/tools/src/
H A Debpf_converter.cpp83 if (iter->second.symTab != nullptr) { in ~EbpfConverter()
84 delete[] iter->second.symTab; in ~EbpfConverter()
85 iter->second.symTab = nullptr; in ~EbpfConverter()
87 if (iter->second.strTab != nullptr) { in ~EbpfConverter()
88 delete[] iter->second.strTab; in ~EbpfConverter()
89 iter->second.strTab = nullptr; in ~EbpfConverter()
242 for (const auto &sym : itm.second) { in EventFsParsing()
266 iter->second.push_back(maps); in EventMapsParsing()
401 for (const auto &sym : itm.second) { in EventMemParsing()
467 for (const auto &sym : itm.second) { in EventBIOParsing()
[all...]
/developtools/hiperf/test/unittest/common/native/
H A Dreport_json_file_test.cpp486 EXPECT_EQ(configIt->second.eventCount_, 4u); in HWTEST_F()
487 ASSERT_EQ(configIt->second.processes_.size(), 1u); in HWTEST_F()
488 EXPECT_EQ(configIt->second.processes_.at(2).pid_, 2); in HWTEST_F()
489 EXPECT_EQ(configIt->second.processes_.at(2).eventCount_, 4u); in HWTEST_F()
490 ASSERT_EQ(configIt->second.processes_.at(2).threads_.size(), 1u); in HWTEST_F()
491 EXPECT_EQ(configIt->second.processes_.at(2).threads_.at(3).tid_, 3); in HWTEST_F()
492 EXPECT_EQ(configIt->second.processes_.at(2).threads_.at(3).eventCount_, 4u); in HWTEST_F()
493 EXPECT_EQ(configIt->second.processes_.at(2).threads_.at(3).sampleCount_, 1u); in HWTEST_F()
512 EXPECT_EQ(configIt->second.eventCount_, 0u); in HWTEST_F()
513 ASSERT_EQ(configIt->second in HWTEST_F()
[all...]
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/ftrace/
H A Dsched_stdtype.cpp65 timeStamps_.emplace_back(timeStampsTemp[itor->second]); in SortAllRowByTs()
66 durations_.emplace_back(durationsTemp[itor->second]); in SortAllRowByTs()
67 itids_.emplace_back(itidsTemp[itor->second]); in SortAllRowByTs()
68 tids_.emplace_back(tidsTemp[itor->second]); in SortAllRowByTs()
69 pids_.emplace_back(pidsTemp[itor->second]); in SortAllRowByTs()
70 states_.emplace_back(statesTemp[itor->second]); in SortAllRowByTs()
71 cpus_.emplace_back(cpusTemp[itor->second]); in SortAllRowByTs()
72 argSetIds_.emplace_back(argSetIdsTemp[itor->second]); in SortAllRowByTs()
/developtools/hiperf/demo/cpp/
H A Dhiperf_example_cmd.cpp43 int second {36000};
198 Loop(option.second * msDuartion, option); in CallStack10()
210 Loop(option.second * msDuartion, option); in CallStack9()
222 Loop(option.second * msDuartion, option); in CallStack8()
234 Loop(option.second * msDuartion, option); in CallStack7()
246 Loop(option.second * msDuartion, option); in CallStack6()
258 Loop(option.second * msDuartion, option); in CallStack5()
270 Loop(option.second * msDuartion, option); in CallStack4()
282 Loop(option.second * msDuartion, option); in CallStack3()
294 Loop(option.second * msDuartio in CallStack2()
[all...]
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
H A Debpf_base.cpp95 GetSymbolStartIndex(reinterpret_cast<const Elf32_Sym *>(end->second), symbolStart, symVaddr); in GetSymbolNameIndexFromSymVaddr()
97 GetSymbolStartIndex(reinterpret_cast<const Elf64_Sym *>(end->second), symbolStart, symVaddr); in GetSymbolNameIndexFromSymVaddr()
121 itor->second->insert(std::make_tuple(pid, ip)); in UpdateFilePathIndexToPidAndIpMap()
144 if (ip < end->second->end) { in GetSymbolSave()
146 vmOffset = end->second->offset; in GetSymbolSave()
148 traceDataCache_->GetDataIndex(reinterpret_cast<const char *>((end->second) + 1)); in GetSymbolSave()
164 uint64_t symVaddr = ip - vmStart + vmOffset + itor->second->textVaddr - itor->second->textOffset; in GetSymbolSave()
166 auto symbolIndex = GetSymbolNameIndexFromSymVaddr(itor->second, symVaddr); in GetSymbolSave()
229 rows = item.second; in EBPFReloadElfSymbolTable()
[all...]

Completed in 17 milliseconds

12345678