Lines Matching refs:resolvedPath
723 string resolvedPath = CanonicalizeSpecPath(srcPath); in ReadBinFile() local
726 int fd = uv_fs_open(nullptr, &req, resolvedPath.c_str(), O_RDONLY, 0, nullptr); in ReadBinFile()
730 … WRITE_LOG(LOG_FATAL, "ReadBinFile uv_fs_open %s error %s", resolvedPath.c_str(), buffer); in ReadBinFile()
740 resolvedPath.c_str(), buffer, byteIO, readMax); in ReadBinFile()
760 string resolvedPath; in WriteBinFile() local
769 resolvedPath = srcPath.c_str(); in WriteBinFile()
772 resolvedPath = CanonicalizeSpecPath(srcPath); in WriteBinFile()
775 int fd = uv_fs_open(nullptr, &req, resolvedPath.c_str(), flags, S_IWUSR | S_IRUSR, nullptr); in WriteBinFile()
780 … WRITE_LOG(LOG_FATAL, "WriteBinFile uv_fs_open %s error %s", resolvedPath.c_str(), buffer); in WriteBinFile()
792 resolvedPath.c_str(), buffer, bytesDone, bufLen); in WriteBinFile()
1402 char resolvedPath[PATH_MAX] = { 0 }; in CanonicalizeSpecPath() local
1404 if (!_fullpath(resolvedPath, src.c_str(), PATH_MAX)) { in CanonicalizeSpecPath()
1409 if (realpath(src.c_str(), resolvedPath) == nullptr) { in CanonicalizeSpecPath()
1414 string res(resolvedPath); in CanonicalizeSpecPath()