Lines Matching defs:realOutPath
79 std::string realOutPath;
80 if (!ecmascript::RealPath(pgoPath, realOutPath, false)) {
88 GetRuntimeInfoByPath(lines, realOutPath.c_str(), soBuildId);
100 SetRuntimeInfo(realOutPath.c_str(), lines, MAX_LENGTH);
125 static char realOutPath[PATH_MAX] = { '\0' };
126 if (!GetCrashSandBoxRealPath(realOutPath, PATH_MAX) || IsCharEmpty(realOutPath)) {
129 SetRuntimeInfo(realOutPath, lines, MAX_LENGTH);
242 virtual bool GetCrashSandBoxRealPath(char *realOutPath, size_t length) const
244 if (!ecmascript::RealPathByChar(OhosConstants::SANDBOX_ARK_PROFILE_PATH, realOutPath, length, false)) {
247 if (strcat_s(realOutPath, NAME_MAX, OhosConstants::PATH_SEPARATOR) != 0) {
250 if (strcat_s(realOutPath, NAME_MAX, OhosConstants::AOT_RUNTIME_INFO_NAME) !=0) {
314 static char realOutPath[PATH_MAX] = { '\0' };
315 if (!GetCrashSandBoxRealPath(realOutPath, PATH_MAX)) {
318 if (!FileExist(realOutPath)) {
328 GetRuntimeInfoByPath(lines, realOutPath, soBuildId);
334 std::string realOutPath;
335 if (!ecmascript::RealPath(pgoRealPath, realOutPath, false)) {
338 if (!FileExist(realOutPath.c_str())) {
348 GetRuntimeInfoByPath(lines, realOutPath.c_str(), soBuildId);
351 virtual void SetRuntimeInfo(const char *realOutPath, char lines[][BUFFER_SIZE], int length) const
353 int fd = open(realOutPath, O_WRONLY | O_CREAT | O_TRUNC, 0666);
366 void GetRuntimeInfoByPath(char lines[][BUFFER_SIZE], const char *realOutPath, const char *soBuildId) const
368 int fd = open(realOutPath, O_RDONLY);