Lines Matching refs:hapPath
1390 std::string ArkGetFileName(int pid, uintptr_t jsPandaFileAddr, std::string &hapPath)
1409 hapPath = ArkReadCStringFromAddr(pid, hapPathAddr);
1417 std::unique_ptr<uint8_t[]> ArkReadData([[maybe_unused]] const std::string &hapPath,
1425 ExtractorUtil::GetLoadFilePath(hapPath), newCreate);
1427 LOG_ECMA(ERROR) << "Ark read data failed, hapPath: " << hapPath;
1431 LOG_ECMA(ERROR) << "Ark read data failed, hap/hsp path: " << hapPath << ", file name: " << fileName;
1438 std::shared_ptr<JSPandaFile> OpenJSPandaFileByReadData(const std::string &hapPath, const std::string &fileName)
1441 auto data = ArkReadData(hapPath, fileName, dataSize);
1461 auto fileIter = jsPandaFileTable.find(JsFrameDebugInfos[i].hapPath);
1463 auto jsPandaFile = OpenJSPandaFileByReadData(JsFrameDebugInfos[i].hapPath, JsFrameDebugInfos[i].filePath);
1465 jsPandaFileTable.emplace(JsFrameDebugInfos[i].hapPath, jsPandaFile);
1501 std::string hapPath;
1502 std::string fileName = ArkGetFileName(pid, jsPandaFileAddr, hapPath);
1503 if (fileName.empty() || hapPath.empty()) {
1504 LOG_ECMA(DEBUG) << "ArkGetJsFrameDebugInfo get filename or hapPath failed, fileName: "
1505 << fileName << ", hapPath: "<< hapPath;
1512 JsFrameDebugInfo JsFrameDebugInfo(EntityId(methodId), offset, hapPath, filePath);
1752 void JSSymbolExtractor::CreateSourceMap([[maybe_unused]] const std::string &hapPath)
1757 sourceMap_->Init(hapPath);