Home
last modified time | relevance | path

Searched refs:strPath (Results 1 - 6 of 6) sorted by relevance

/foundation/multimodalinput/input/util/common/src/
H A Dutil.cpp166 static std::string GetFileName(const std::string &strPath) in GetFileName() argument
168 size_t nPos = strPath.find_last_of('/'); in GetFileName()
169 if (strPath.npos == nPos) { in GetFileName()
170 nPos = strPath.find_last_of('\\'); in GetFileName()
172 if (strPath.npos == nPos) { in GetFileName()
173 return strPath; in GetFileName()
176 return strPath.substr(nPos + 1, strPath.npos); in GetFileName()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dzip_writer.cpp78 std::string strPath = path.Value(); in OpenNewFileEntry() local
81 strPath += SEPARATOR; in OpenNewFileEntry()
84 return ZipOpenNewFileInZip(zip_file, strPath, options, lastModified); in OpenNewFileEntry()
H A Dzip_internal.cpp272 zipFile zipFile, const std::string &strPath, const OPTIONS &options, const struct tm *lastModifiedTime) in ZipOpenNewFileInZip()
279 strPath.c_str(), // filename in ZipOpenNewFileInZip()
271 ZipOpenNewFileInZip( zipFile zipFile, const std::string &strPath, const OPTIONS &options, const struct tm *lastModifiedTime) ZipOpenNewFileInZip() argument
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/include/
H A Dzip_internal.h65 zipFile zipFile, const std::string &strPath, const OPTIONS &options, const struct tm *lastModifiedTime);
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_image_unit_test.cpp148 const char* strPath = static_cast<const char*>(TIF_IMAGE_PATH); in HWTEST_F() local
149 imageView_->SetSrc(strPath); in HWTEST_F()
150 EXPECT_STREQ(imageView_->GetPath(), strPath); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontmgr_fuzzer/
H A Dfontmgr_fuzzer.cpp378 std::string strPath(path); in FontMgrFuzzTest010()
380 fontMgr->ParseInstallFontConfig(strPath, fontPathVec); in FontMgrFuzzTest010()

Completed in 4 milliseconds