Home
last modified time | relevance | path

Searched refs:realFileName (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/
Dlog_util.cpp110 std::string realFileName; in GetFileFd() local
111 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()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_file_kits.cpp87 std::string realFileName = dlpFileName.substr(0, dlpFileName.size() - dlpSuffixLen); in GetDlpFileRealSuffix() local
89 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()