Searched refs:realFileName (Results 1 – 2 of 2) sorted by relevance
110 std::string realFileName; in GetFileFd() local111 if (!FileUtil::PathToRealPath(file, realFileName) || realFileName.empty() || in GetFileFd()112 !FileUtil::FileExists(realFileName)) { in GetFileFd()113 HIVIEW_LOGE("the system file (%{public}s) is not found.", realFileName.c_str()); in GetFileFd()116 return open(realFileName.c_str(), O_RDONLY); in GetFileFd()
87 std::string realFileName = dlpFileName.substr(0, dlpFileName.size() - dlpSuffixLen); in GetDlpFileRealSuffix() local89 std::size_t escapeLocate = realFileName.find_last_of(escape); in GetDlpFileRealSuffix()90 if (escapeLocate >= realFileName.size()) { in GetDlpFileRealSuffix()95 return realFileName.substr(escapeLocate + 1); in GetDlpFileRealSuffix()