Searched refs:strCurrentDir (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/ |
H A D | utils.cpp | 502 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 D | theme_pack_resource.cpp | 223 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 D | theme_pack_manager.cpp | 68 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 D | utils.h | 111 static RState GetFiles(const std::string &strCurrentDir, std::vector<std::string> &vFiles);
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/ |
H A D | theme_pack_manager.h | 203 std::vector<std::string> GetRootDir(const std::string &strCurrentDir);
|