/developtools/packing_tool/packing_tool/frameworks/src/ |
H A D | packager.cpp | 102 if (Utils::EndsWith(name, suffix)) { in IsPathValid() 147 if (Utils::EndsWith(name, suffix)) { in CompatibleProcess() 179 if (Utils::EndsWith(name, suffix) || Utils::EndsWith(name, extraSuffix)) { in CompatibleProcess() 213 if (!Utils::EndsWith(filePath.filename().string(), Constants::HAP_SUFFIX)) { in IsOutPathValid() 220 if (!Utils::EndsWith(filePath.filename().string(), Constants::HAR_SUFFIX)) { in IsOutPathValid() 227 if (!Utils::EndsWith(filePath.filename().string(), Constants::APP_SUFFIX)) { in IsOutPathValid() 234 if (!Utils::EndsWith(filePath.filename().string(), Constants::RES_SUFFIX)) { in IsOutPathValid() 241 if (!Utils::EndsWith(filePath.filename().string(), Constants::HSP_SUFFIX)) { in IsOutPathValid() 378 if (!Utils::EndsWith(hapPat in IsModuleHap() [all...] |
H A D | version_normalize.cpp | 209 if (Utils::EndsWith(zipFilePath, Constants::HAP_SUFFIX)) { in CompressDirToHap() 211 } else if (Utils::EndsWith(zipFilePath, Constants::HSP_SUFFIX)) { in CompressDirToHap()
|
H A D | appqf_packager.cpp | 87 if (!Utils::EndsWith(outputPath, Constants::APPQF_SUFFIX)) { in PreProcess()
|
H A D | hqf_packager.cpp | 43 } else if (!Utils::EndsWith(it->second, Constants::HQF_SUFFIX)) { in PreProcess()
|
H A D | fast_app_packager.cpp | 321 } else if (Utils::EndsWith(filename, Constants::HSP_SUFFIX)) { in GetModuleJsonContentFromPath() 434 if (Utils::EndsWith(filename, Constants::HSP_SUFFIX)) { in GetPackageNameFromPath() 459 } else if (Utils::EndsWith(filename, Constants::HSP_SUFFIX)) { in GetPackInfoContentFromPath() 576 } else if (fs::is_regular_file(inputPath) && Utils::EndsWith(inputPath.filename().string(), in Pack()
|
H A D | utils.cpp | 102 bool Utils::EndsWith(const std::string& str, const std::string& suffix) in EndsWith() function in OHOS::AppPackingTool::Utils 359 if (fs::is_regular_file(fsFilePath) && EndsWith(fsFilePath.filename(), suffix)) { in CheckFileSuffix()
|
H A D | multiapp_packager.cpp | 180 if (!Utils::EndsWith(entry.path().filename(), Constants::HAP_SUFFIX) && in CopyHapAndHspFromApp() 181 !Utils::EndsWith(entry.path().filename(), Constants::HSP_SUFFIX)) { in CopyHapAndHspFromApp()
|
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/ |
H A D | string_utils_test.cpp | 59 * @tc.desc: test StringUtils::EndsWith with normal case. 66 EXPECT_TRUE(StringUtils::EndsWith(str, ext)); in HWTEST_F() 67 EXPECT_TRUE(StringUtils::EndsWith(str, str)); in HWTEST_F() 68 EXPECT_TRUE(StringUtils::EndsWith(ext, ext)); in HWTEST_F() 73 * @tc.desc: test StringUtils::EndsWith with false case. 80 EXPECT_FALSE(StringUtils::EndsWith(str, +".")); in HWTEST_F() 81 EXPECT_FALSE(StringUtils::EndsWith(ext, str)); in HWTEST_F()
|
/developtools/profiler/device/plugins/ftrace_plugin/include/ |
H A D | string_utils.h | 23 static bool EndsWith(const std::string& str, const std::string& postfix);
|
/developtools/packing_tool/packing_tool/frameworks/src/json/ |
H A D | module_json_utils.cpp | 143 if (!Utils::EndsWith(fileName, HAP_SUFFIX) && !Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetHapVerifyInfosfromFileList()
|
/developtools/packing_tool/packing_tool/frameworks/test/unittest/app_packager_test/mock/ |
H A D | mock_module_json_utils.cpp | 182 if (!Utils::EndsWith(fileName, HAP_SUFFIX) && !Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetHapVerifyInfosfromFileList()
|
/developtools/profiler/device/plugins/ftrace_plugin/src/ |
H A D | kernel_symbols_parser.cpp | 92 if (StringUtils::EndsWith(info.name, ".cfi")) { in Parse()
|
H A D | string_utils.cpp | 19 bool StringUtils::EndsWith(const std::string& str, const std::string& postfix) in EndsWith() function in StringUtils
|
/developtools/packing_tool/packing_tool/frameworks/include/ |
H A D | utils.h | 48 static bool EndsWith(const std::string& str, const std::string& suffix);
|
/developtools/packing_tool/packing_tool/frameworks/test/unittest/utils_Test/ |
H A D | utils_test.cpp | 170 * @tc.desc: EndsWith. 178 EXPECT_TRUE(OHOS::AppPackingTool::Utils::EndsWith(str, suffix)); in HWTEST_F()
|
/developtools/smartperf_host/trace_streamer/src/parser/hiperf_parser/ |
H A D | perf_data_parser.cpp | 418 if (EndsWith(filePath, inputFilePath)) { in GetFileIdWithLikelyFilePath()
|