Home
last modified time | relevance | path

Searched refs:indexPath (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_manager.cpp313 std::string indexPath = (*iter)->GetIndexPath(); in FindRawFile() local
314 auto index = indexPath.rfind(seperator); in FindRawFile()
316 RESMGR_HILOGE(RESMGR_TAG, "index path format error, %s", indexPath.c_str()); in FindRawFile()
319 std::string resourcesIndexPath = indexPath.substr(0, index); in FindRawFile()
544 std::string indexPath = (*iter)->GetIndexPath(); in GetResourcePaths() local
545 auto index = indexPath.rfind('/'); in GetResourcePaths()
547 RESMGR_HILOGE(RESMGR_TAG, "index path format error, %s", indexPath.c_str()); in GetResourcePaths()
551 result.emplace_back(indexPath.substr(0, index) + "/resources/"); in GetResourcePaths()
741 int32_t HapManager::GetValidIndexPath(std::string &indexPath) in GetValidIndexPath() argument
749 indexPath = tempPath; in GetValidIndexPath()
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/
H A Dhap_parser.h128 …static RState GetRawFileListUnCompressed(const std::string &indexPath, const std::string &rawDirPa…
H A Dhap_manager.h240 int32_t GetValidIndexPath(std::string &indexPath);
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dhap_parser.cpp381 RState HapParser::GetRawFileListUnCompressed(const std::string &indexPath, const std::string &rawDi… in GetRawFileListUnCompressed() argument
384 auto pos = indexPath.rfind('/'); in GetRawFileListUnCompressed()
388 std::string rawFilePath = indexPath.substr(0, pos) + "/resources/"; in GetRawFileListUnCompressed()