Home
last modified time | relevance | path

Searched refs:EndsWith (Results 1 - 16 of 16) sorted by relevance

/developtools/packing_tool/packing_tool/frameworks/src/
H A Dpackager.cpp102 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 Dversion_normalize.cpp209 if (Utils::EndsWith(zipFilePath, Constants::HAP_SUFFIX)) { in CompressDirToHap()
211 } else if (Utils::EndsWith(zipFilePath, Constants::HSP_SUFFIX)) { in CompressDirToHap()
H A Dappqf_packager.cpp87 if (!Utils::EndsWith(outputPath, Constants::APPQF_SUFFIX)) { in PreProcess()
H A Dhqf_packager.cpp43 } else if (!Utils::EndsWith(it->second, Constants::HQF_SUFFIX)) { in PreProcess()
H A Dfast_app_packager.cpp321 } 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 Dutils.cpp102 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 Dmultiapp_packager.cpp180 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 Dstring_utils_test.cpp59 * @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 Dstring_utils.h23 static bool EndsWith(const std::string& str, const std::string& postfix);
/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Dmodule_json_utils.cpp143 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 Dmock_module_json_utils.cpp182 if (!Utils::EndsWith(fileName, HAP_SUFFIX) && !Utils::EndsWith(fileName, HSP_SUFFIX)) { in GetHapVerifyInfosfromFileList()
/developtools/profiler/device/plugins/ftrace_plugin/src/
H A Dkernel_symbols_parser.cpp92 if (StringUtils::EndsWith(info.name, ".cfi")) { in Parse()
H A Dstring_utils.cpp19 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 Dutils.h48 static bool EndsWith(const std::string& str, const std::string& suffix);
/developtools/packing_tool/packing_tool/frameworks/test/unittest/utils_Test/
H A Dutils_test.cpp170 * @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 Dperf_data_parser.cpp418 if (EndsWith(filePath, inputFilePath)) { in GetFileIdWithLikelyFilePath()

Completed in 10 milliseconds