Home
last modified time | relevance | path

Searched refs:indexFilePath (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_resource.cpp145 std::string indexFilePath = std::string("assets/"); in GetIndexFilePath() local
146 indexFilePath.append(mName); in GetIndexFilePath()
147 indexFilePath.append("/resources.index"); in GetIndexFilePath()
148 return indexFilePath; in GetIndexFilePath()
161 std::string indexFilePath; in GetIndexData() local
163 indexFilePath = "resources.index"; in GetIndexData()
165 indexFilePath = GetIndexFilePath(extractor); in GetIndexData()
167 bool ret = extractor->ExtractToBufByName(indexFilePath, tmpBuf, len); in GetIndexData()
169 …RESMGR_HILOGE(RESMGR_TAG, "failed to get buf data indexFilePath, %{public}s", indexFilePath.c_str(… in GetIndexData()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
H A Dhap_parser.cpp147 std::string indexFilePath = std::string("assets/"); in ReadIndexFromFile() local
148 indexFilePath.append(mName); in ReadIndexFromFile()
149 indexFilePath.append(RES_FILE_NAME); in ReadIndexFromFile()
151 return ReadFileFromZip(zipFile, indexFilePath.c_str(), buffer, bufLen, errInfo); in ReadIndexFromFile()
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dhap_parser.cpp189 std::string indexFilePath = std::string("assets/"); in GetIndexFilePath() local
190 indexFilePath.append(mName); in GetIndexFilePath()
191 indexFilePath.append("/resources.index"); in GetIndexFilePath()
192 return indexFilePath; in GetIndexFilePath()
217 std::string indexFilePath = GetIndexFilePath(uf); in ReadIndexFromFile() local
218 return ReadFileInfoFromZip(uf, indexFilePath.c_str(), buffer, bufLen); in ReadIndexFromFile()