Lines Matching refs:res
123 std::string res; in fromFd() local
133 res.resize(bufSize + 1, '\0'); in fromFd()
134 auto size = ::readlink(fdNameBuffer, &res[0], res.size()); in fromFd()
144 res.resize(size); in fromFd()
145 if (res.ends_with(kDeletedSuffix)) { in fromFd()
146 res.resize(size - kDeletedSuffix.size()); in fromFd()
148 return res; in fromFd()
180 void details::appendNextPath(std::string& res, std::string_view path) { in appendNextPath() argument
185 if (!res.empty() && !res.ends_with('/')) { in appendNextPath()
186 res.push_back('/'); in appendNextPath()
188 res += path; in appendNextPath()
227 auto res = std::pair(dirName(full), baseName(full)); in splitDirBase() local
228 if (res.first.data() == full.data()) { in splitDirBase()
229 full[res.first.size()] = 0; in splitDirBase()
231 return res; in splitDirBase()