Home
last modified time | relevance | path

Searched refs:strCurrentDir (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dutils.cpp502 RState Utils::GetFiles(const std::string &strCurrentDir, std::vector<std::string> &vFiles) in GetFiles() argument
506 Utils::CanonicalizePath(strCurrentDir.c_str(), outPath, PATH_MAX); in GetFiles()
508 RESMGR_HILOGE(RESMGR_TAG, "invalid path, %{public}s", strCurrentDir.c_str()); in GetFiles()
513 if ((dir = opendir(strCurrentDir.c_str())) == nullptr) { in GetFiles()
514 … RESMGR_HILOGE(RESMGR_TAG, "opendir failed strCurrentDir = %{public}s", strCurrentDir.c_str()); in GetFiles()
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dtheme_pack_resource.cpp223 std::vector<std::string> GetFiles(const std::string &strCurrentDir) in GetFiles() argument
229 if ((dir = opendir(strCurrentDir.c_str())) == nullptr) { in GetFiles()
230 … RESMGR_HILOGE(RESMGR_TAG, "opendir failed strCurrentDir = %{public}s", strCurrentDir.c_str()); in GetFiles()
237 vFiles.emplace_back(strCurrentDir + "/" + pDir->d_name); in GetFiles()
239 std::string strNextDir = strCurrentDir + "/" + pDir->d_name; in GetFiles()
H A Dtheme_pack_manager.cpp68 std::vector<std::string> ThemePackManager::GetRootDir(const std::string &strCurrentDir) in GetRootDir() argument
74 if ((dir = opendir(strCurrentDir.c_str())) == nullptr) { in GetRootDir()
81 std::string strNextDir = strCurrentDir + "/" + pDir->d_name; in GetRootDir()
84 std::string filePath = strCurrentDir + "/" + pDir->d_name; in GetRootDir()
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/utils/
H A Dutils.h111 static RState GetFiles(const std::string &strCurrentDir, std::vector<std::string> &vFiles);
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/
H A Dtheme_pack_manager.h203 std::vector<std::string> GetRootDir(const std::string &strCurrentDir);