/developtools/packing_tool/packing_tool/frameworks/src/ |
H A D | hsp_packager.cpp | 81 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_JSON_PATH); in IsVerifyValidInHspCommonMode() local 82 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() 98 it = parameterMap_.find(Constants::PARAM_DIR_LIST); in IsVerifyValidInHspCommonMode() 99 if (it != parameterMap_.end() && !it->second.empty() && in IsVerifyValidInHspCommonMode() 100 !SplitDirList(it->second, formatedDirList_)) { in IsVerifyValidInHspCommonMode() 104 it in IsVerifyValidInHspCommonMode() 129 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_ETS_PATH); IsVerifyValidInHspMode() local 156 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(paramPath); Compatible() local 196 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(parameterMapKey); IsHspPathValid() local 243 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_OUT_PATH); CompressHspMode() local 302 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_FILE_PATH); CompressHspModePartSecond() local 327 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_RES_PATH); CompressHspModePartThird() local 363 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_BIN_PATH); CompressHspModePartFourth() local 410 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_MAPLE_SO_DIR); CompressHspModeMultiple() local 448 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(paramPath); AddCommonFileOrDirectoryToZip() local [all...] |
H A D | hap_packager.cpp | 44 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_JSON_PATH); in PreProcess() local 46 if (it != parameterMap_.end()) { in PreProcess() 47 jsonPath = it->second; in PreProcess() 49 it = parameterMap_.find(Constants::PARAM_BIN_PATH); in PreProcess() 50 if (it != parameterMap_.end() && !it->second.empty() && jsonPath.empty()) { in PreProcess() 53 it = parameterMap_.find(Constants::PARAM_OUT_PATH); in PreProcess() 54 if (it != parameterMap_.end()) { in PreProcess() 55 outPath = it->second; in PreProcess() 58 it in PreProcess() 109 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_JSON_PATH); IsVerifyValidInHapCommonMode() local 158 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(paramPath); Compatible() local 169 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_INDEX_PATH); IsVerifyValidInHapMode() local 217 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_RPCID_PATH); IsValidRpcid() local 234 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_PACK_INFO_PATH); IsValidPackInfo() local 288 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(parameterMapKey); IsHapPathValid() local 298 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_BIN_PATH); CompressHap() local 441 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_RESOURCES_PATH); CompressHapMode() local 463 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_MAPLE_SO_DIR); CompressHapModeMultiple() local 499 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_OUT_PATH); OpenZipWrapper() local 515 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(paramPath); AddCommonFileOrDirectoryToZip() local 527 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_FILE_PATH); AddParamFileToZip() local 544 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_RES_PATH); AddResFileAndDirLsitToZip() local 576 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_INDEX_PATH); AddIndexToZipForFaMaode() local 590 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_BIN_PATH); AddPkgAndBinFileToZipForStageMaode() local [all...] |
H A D | hqf_packager.cpp | 39 auto it = parameterMap_.find(Constants::PARAM_OUT_PATH); in PreProcess() local 40 if (it == parameterMap_.end()) { in PreProcess() 43 } else if (!Utils::EndsWith(it->second, Constants::HQF_SUFFIX)) { in PreProcess() 48 it = parameterMap_.find(Constants::PARAM_FORCE); in PreProcess() 53 if (it->second != "true") { in PreProcess() 64 it = parameterMap_.find(Constants::PARAM_JSON_PATH); in PreProcess() 65 if (it == parameterMap_.end()) { in PreProcess() 74 it = parameterMap_.find(Constants::PARAM_LIB_PATH); in PreProcess() 75 if (it != parameterMap_.end()) { in PreProcess() 82 it in PreProcess() 104 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_JSON_PATH); Process() local [all...] |
H A D | res_packager.cpp | 68 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_PACK_INFO_PATH); in IsVerifyValidInResMode() local 70 if (it != parameterMap_.end()) { in IsVerifyValidInResMode() 71 packInfoPath_ = it->second; in IsVerifyValidInResMode() 82 it = parameterMap_.find(Constants::PARAM_ENTRYCARD_PATH); in IsVerifyValidInResMode() 83 if (it != parameterMap_.end()) { in IsVerifyValidInResMode() 84 entryCardPath_ = it->second; in IsVerifyValidInResMode() 100 it = parameterMap_.find(Constants::PARAM_OUT_PATH); in IsVerifyValidInResMode() 101 if (it != parameterMap_.end()) { in IsVerifyValidInResMode() 102 outPath_ = it->second; in IsVerifyValidInResMode() 105 it in IsVerifyValidInResMode() [all...] |
H A D | app_packager.cpp | 278 auto it = parameterMap_.find(Constants::PARAM_SIGNATURE_PATH); in CheckSignaturePath() local 279 if (it != parameterMap_.end() && !it->second.empty()) { in CheckSignaturePath() 280 if (!fs::is_regular_file(it->second)) { in CheckSignaturePath() 290 auto it = parameterMap_.find(Constants::PARAM_CERTIFICATE_PATH); in CheckCertificatePath() local 291 if (it != parameterMap_.end() && !it->second.empty()) { in CheckCertificatePath() 292 if (!fs::is_regular_file(it->second)) { in CheckCertificatePath() 302 auto it = parameterMap_.find(Constants::PARAM_ENTRYCARD_PATH); in CheckEntrycardPath() local 303 if (it ! in CheckEntrycardPath() 314 auto it = parameterMap_.find(Constants::PARAM_PACK_RES_PATH); CheckPackResPath() local 393 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_HAP_PATH); CompressHapAndHspFiles() local 469 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_ENTRYCARD_PATH); CompressOtherFiles() local 525 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_PACK_RES_PATH); CompressAppMode() local [all...] |
H A D | fast_app_packager.cpp | 100 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_PACK_INFO_PATH); in IsVerifyValidInFastAppMode() local 101 if (it != parameterMap_.end() && !it->second.empty()) { in IsVerifyValidInFastAppMode() 102 packInfoPath = it->second; in IsVerifyValidInFastAppMode() 111 it = parameterMap_.find(Constants::PARAM_OUT_PATH); in IsVerifyValidInFastAppMode() 112 if (it != parameterMap_.end()) { in IsVerifyValidInFastAppMode() 113 outPath = it->second; in IsVerifyValidInFastAppMode() 116 it = parameterMap_.find(Constants::PARAM_FORCE); in IsVerifyValidInFastAppMode() 117 if (it != parameterMap_.end()) { in IsVerifyValidInFastAppMode() 118 forceRewrite = it in IsVerifyValidInFastAppMode() 150 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_PACK_INFO_PATH); IsVerifyValid() local 477 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_OUT_PATH); CompressFastAppMode() local 656 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_OUT_PATH); PackFastApp() local 732 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_CERTIFICATE_PATH); AddSignatureAndCertificateToApp() local [all...] |
H A D | package_normalize.cpp | 44 auto it = parameterMap_.find(Constants::PARAM_HSP_LIST); in PreProcess() local 45 if (it == parameterMap_.end()) { in PreProcess() 49 if (!CompatibleProcess(it->second, hspList_, Constants::HSP_SUFFIX)) { in PreProcess() 58 it = parameterMap_.find(Constants::PARAM_BUNDLE_NAME); in PreProcess() 60 if (it == parameterMap_.end() || it->second.length() < Constants::BUNDLE_NAME_LEN_MIN || in PreProcess() 61 it->second.length() > Constants::BUNDLE_NAME_LEN_MAX || !std::regex_match(it->second, pattern)) { in PreProcess() 66 it = parameterMap_.find(Constants::PARAM_VERSION_CODE); in PreProcess() 67 if (it in PreProcess() [all...] |
H A D | appqf_packager.cpp | 80 auto it = parameterMap_.find(Constants::PARAM_OUT_PATH); in PreProcess() local 81 if (it == parameterMap_.end()) { in PreProcess() 85 std::string outputPath = it->second; in PreProcess() 96 it = parameterMap_.find(Constants::PARAM_FORCE); in PreProcess() 98 if (it == parameterMap_.end() || it->second == "false") { in PreProcess() 107 it = parameterMap_.find(Constants::PARAM_HQF_LIST); in PreProcess() 108 if (it == parameterMap_.end()) { in PreProcess() 112 if (!CompatibleProcess(it->second, hqfList_, Constants::HQF_SUFFIX)) { in PreProcess()
|
/developtools/profiler/device/services/profiler_service/src/ |
H A D | profiler_capability_manager.cpp | 35 for (auto it = pluginCapabilities_.begin(); it != pluginCapabilities_.end(); it++) { in AddCapability() 36 CHECK_TRUE(it->name() != capability.name(), false, in AddCapability() 37 "capability.name conflict with %zu", (it - pluginCapabilities_.begin())); in AddCapability() 65 for (auto it = pluginCapabilities_.begin(); it != pluginCapabilities_.end(); it++) { in UpdateCapability() 66 if (it->name() == capability.name()) { in UpdateCapability() 67 *it in UpdateCapability() [all...] |
/developtools/packing_tool/ohos_packing_tool/frameworks/src/ |
H A D | hap_packager.cpp | 60 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_JSON_PATH); in Process() local 61 if (it != parameterMap_.end()) { in Process() 62 if (ParseJsonFile(moduleJson, it->second)) { in Process() 66 it = parameterMap_.find(Constants::PARAM_LIB_PATH); in Process() 67 if (it != parameterMap_.end()) { in Process() 68 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::LIB_PATH), fi); in Process() 70 it = parameterMap_.find(Constants::PARAM_RESOURCES_PATH); in Process() 71 if (it != parameterMap_.end()) { in Process() 72 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::RESOURCES_PATH), fi); in Process() 74 it in Process() [all...] |
H A D | hsp_packager.cpp | 50 std::map<std::string, std::string>::const_iterator it = parameterMap_.find(Constants::PARAM_JSON_PATH); in Process() local 51 if (it != parameterMap_.end()) { in Process() 52 if (ParseJsonFile(moduleJson, it->second)) { in Process() 56 it = parameterMap_.find(Constants::PARAM_LIB_PATH); in Process() 57 if (it != parameterMap_.end()) { in Process() 58 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::LIB_PATH), fi); in Process() 60 it = parameterMap_.find(Constants::PARAM_RESOURCES_PATH); in Process() 61 if (it != parameterMap_.end()) { in Process() 62 AddFileToZip(zf, fs::path(it->second), fs::path(Constants::RESOURCES_PATH), fi); in Process() 64 it in Process() [all...] |
/developtools/smartperf_host/trace_streamer/src/filter/ |
H A D | args_filter.cpp | 39 for (auto it = args.valuesMap_.begin(); it != args.valuesMap_.end(); it++) { in NewArgs() 40 (void)argSet->AppendNewArg(it->first, it->second.type, it->second.value, count_); in NewArgs() 48 for (auto it = args.valuesMap_.begin(); it != args.valuesMap_.end(); it++) { in AppendArgs() 49 (void)argSet->AppendNewArg(it in AppendArgs() [all...] |
/developtools/ace_js2bundle/ace-loader/test/lite/ |
H A D | test.js | 68 it("attribute test", () => { 71 it("class test", () => { 74 it("event test", () => { 77 it("expression test", () => { 80 it("exteriorStyle test", () => { 83 it("for directive", () => { 86 it("if directive", () => { 89 it("importJS test", () => { 92 it("inlineStyle test", () => { 95 it("bubbleEven [all...] |
/developtools/ace_js2bundle/ace-loader/test/card/ |
H A D | test.js | 46 it('commonAttr', () => { 50 it('event', () => { 54 it('expression', () => { 58 it('exteriorStyle', () => { 62 it('ifAttr', () => { 66 it('importCSS', () => { 70 it('importLess', () => { 74 it('inlineStyle', () => { 78 it('mediaQuery', () => { 82 it('privateAtt [all...] |
/developtools/ace_js2bundle/ace-loader/test/rich/ |
H A D | test.js | 87 it('class', () => { 90 it('event', () => { 93 it('expression', () => { 96 it('commonAttr', () => { 99 it('uncommonAttr', () => { 102 it('privateAttr', () => { 105 it('forDirective', () => { 108 it('ifDirective', () => { 111 it('inlineStyle', () => { 114 it('exteriorStyl [all...] |
/developtools/global_resource_tool/src/ |
H A D | resource_directory.cpp | 33 for (const auto &it : f.GetChilds()) { in ScanResources() 34 string limitKey = it->GetFilePath().GetFilename(); in ScanResources() 35 if (ResourceUtil::IsIgnoreFile(limitKey, it->IsFile())) { in ScanResources() 39 if (it->IsFile()) { in ScanResources() 40 cerr << "Error: '" << it->GetFilePath().GetPath() << "' not directory." << endl; in ScanResources() 48 if (!ScanResourceLimitKeyDir(it->GetFilePath().GetPath(), limitKey, callback)) { in ScanResources() 71 for (const auto &it : f.GetChilds()) { in ScanResourceLimitKeyDir() 72 string dirPath = it->GetFilePath().GetPath(); in ScanResourceLimitKeyDir() 73 string fileCluster = it->GetFilePath().GetFilename(); in ScanResourceLimitKeyDir() 74 if (ResourceUtil::IsIgnoreFile(fileCluster, it in ScanResourceLimitKeyDir() [all...] |
H A D | resource_check.cpp | 37 for (auto it = jsonCheckIds_.begin(); it != jsonCheckIds_.end(); it++) {
in CheckConfigJson() 38 for (const auto &id : it->second) {
in CheckConfigJson() 44 CheckNodeInResourceItem(it->first, resourceItem);
in CheckConfigJson() 53 for (auto it = jsonCheckIds_.begin(); it != jsonCheckIds_.end(); it++) {
in CheckConfigJsonForCombine() 54 for (const auto &id : it->second) {
in CheckConfigJsonForCombine() 60 CheckNodeInResourceItem(it in CheckConfigJsonForCombine() [all...] |
/developtools/hiperf/src/ |
H A D | subcommand_stat.cpp | 165 for (auto it = countEvents.begin(); it != countEvents.end(); ++it) { in Report() 166 if (!(it->second->summaries.empty())) { in Report() 271 for (auto &it : event->second->summaries) { in ReportDetailInfos() 272 GetPerKey(perKey, it); in ReportDetailInfos() 275 InitPerMap(perMap, it, g_runtimeInstance); in ReportDetailInfos() 282 it, configName); in ReportDetailInfos() 283 perMaps[perKey]->eventCountSum += it.eventCount; in ReportDetailInfos() 284 if (it in ReportDetailInfos() [all...] |
H A D | report_json_file.cpp | 35 auto it = functionMap_.find(libId); in AddNewFunction() local 36 if (it == functionMap_.end()) { in AddNewFunction() 37 it = functionMap_.try_emplace(libId).first; in AddNewFunction() 39 it->second.insert_or_assign(name, ReportFuncMapItem(libId, name, functionId_++)); in AddNewFunction() 135 auto it = frames.begin(); in AddReportCallStack() local 136 while (it != frames.end()) { in AddReportCallStack() 137 int libId = GetLibID(it->mapName); in AddReportCallStack() 139 int funcId = GetFunctionID(libId, it->funcName); in AddReportCallStack() 144 grandchildren.funcName_ = it->funcName; in AddReportCallStack() 148 if (it in AddReportCallStack() 167 auto it = frames.rbegin(); AddReportCallStackReverse() local 208 auto it = find(libList_.begin(), libList_.end(), filepath); GetLibID() local 225 auto it = frames.begin(); UpdateReportCallStack() local [all...] |
/developtools/profiler/device/services/plugin_service/src/ |
H A D | plugin_session_manager.cpp | 129 auto it = pluginSessions_.find(name); in RemovePluginSessions() local 130 if (it == pluginSessions_.end()) { in RemovePluginSessions() 133 pluginSessions_.erase(it); in RemovePluginSessions() 143 auto it = pluginSessions_.find(name); in InvalidatePluginSessions() local 144 if (it == pluginSessions_.end()) { in InvalidatePluginSessions() 147 it->second->Invalidate(); in InvalidatePluginSessions() 160 auto it = pluginSessions_.find(name); in StartPluginSessions() local 161 if (it == pluginSessions_.end()) { in StartPluginSessions() 164 if (!it->second->Start()) { in StartPluginSessions() 165 PROFILER_LOG_INFO(LOG_CORE, "start session %s FAILED!", it in StartPluginSessions() 178 auto it = pluginSessions_.find(name); StopPluginSessions() local 195 auto it = pluginSessions_.find(name); RefreshPluginSession() local 211 auto it = pluginSessions_.find(name); CheckStatus() local 229 auto it = pluginSessions_.find(name); GetStatus() local [all...] |
/developtools/profiler/device/plugins/api/src/ |
H A D | plugin_manager.cpp | 150 auto it = pluginIds_.find(pluginName); in RemovePlugin() local 151 if (it == pluginIds_.end()) { in RemovePlugin() 155 uint32_t index = it->second; in RemovePlugin() 198 if (it == pluginIds_.end()) { in RemovePlugin() 203 pluginIds_.erase(it); in RemovePlugin() 210 auto it = pluginIds_.find(pluginName); in LoadPlugin() local 211 CHECK_TRUE(it != pluginIds_.end(), false, "%s:plugin not exist", __func__); in LoadPlugin() 212 uint32_t index = it->second; in LoadPlugin() 225 auto it = pluginIds_.find(pluginName); in UnloadPlugin() local 226 if (it in UnloadPlugin() 252 auto it = pluginIds_.find(config[idx].name()); CreatePluginSession() local 268 auto it = pluginModules_.find(id); DestroyPluginSession() local 284 auto it = pluginModules_.find(id); StartPluginSession() local 398 auto it = pluginModules_.find(pluginId); PullResult() local 469 auto it = pluginIds_.find(pluginName); CreateWriter() local [all...] |
/developtools/profiler/device/plugins/network_plugin/src/ |
H A D | network_plugin.cpp | 79 for (auto& it : dataCell.details) { in WriteNetWorkData() 81 data->set_tx_bytes(it.tx); in WriteNetWorkData() 82 data->set_rx_bytes(it.rx); in WriteNetWorkData() 83 data->set_type(it.type); in WriteNetWorkData() 97 for (auto& it : systemData.details) { in WriteNetWorkData() 99 data->set_rx_bytes(it.rxBytes + randNum * RX_BYTES_INDEX); in WriteNetWorkData() 100 data->set_rx_packets(it.rxPackets + randNum * RX_PACKETS_INDEX); in WriteNetWorkData() 101 data->set_tx_bytes(it.txBytes + randNum * TX_BYTES_INDEX); in WriteNetWorkData() 102 data->set_tx_packets(it.txPackets + randNum * TX_PACKETS_INDEX); in WriteNetWorkData() 103 data->set_type(it in WriteNetWorkData() [all...] |
/developtools/smartperf_host/trace_streamer/src/trace_data/ |
H A D | trace_data_cache_base.cpp | 27 for (auto it = statusString_.begin(); it != statusString_.end(); it++) { in TraceDataCacheBase() 28 threadStatus2Value_[it->second] = it->first; in TraceDataCacheBase()
|
/developtools/hapsigner/hapsigntool_cpp/hap/provider/src/ |
H A D | remote_sign_provider.cpp | 43 for (auto it = options->begin(); it != options->end(); it++) { in CheckParams() 44 if (paramSet.find(it->first) != paramSet.end()) { in CheckParams() 45 size_t size = it->first.size(); in CheckParams() 46 std::string str = it->first.substr(size - 3); in CheckParams() 48 signParams.insert(std::make_pair(it->first, "")); in CheckParams() 50 signParams.insert(std::make_pair(it->first, options->GetString(it->first))); in CheckParams()
|
/developtools/hiperf/interfaces/innerkits/native/src/ |
H A D | hiperf_client.cpp | 78 auto it = std::find(args_.begin(), args_.end(), name); in SetOption() local 80 if (it == args_.end()) { in SetOption() 86 if (it != args_.end()) { in SetOption() 87 args_.erase(it); in SetOption() 94 auto it = std::find(args_.begin(), args_.end(), name); in SetOption() local 95 if (it != args_.end()) { in SetOption() 96 it++; in SetOption() 97 *it = std::to_string(value); in SetOption() 108 auto it = std::find(args_.begin(), args_.end(), name); in SetOption() local 110 if (it ! in SetOption() 137 auto it = std::find(args_.begin(), args_.end(), name); SetOption() local 156 auto it = std::find(args_.begin(), args_.end(), name); SetOption() local [all...] |