Lines Matching refs:empty
67 return !path.empty() && path[0] == '/'; in isAbsolute()
71 if (path.empty()) { in normalize()
95 if (part.empty() || part == "."sv) { in normalize()
99 if (result.empty()) { in normalize()
154 while (!path.empty() && path.front() == '/') { in preparePathComponent()
158 while (!path.empty() && path.back() == '/') { in preparePathComponent()
182 if (path.empty()) { in appendNextPath()
185 if (!res.empty() && !res.ends_with('/')) { in appendNextPath()
192 if (path.empty()) { in baseName()
199 while (!path.empty() && pos == path.size() - 1) { in baseName()
204 return path.empty() ? "/"sv : path; in baseName()
210 if (path.empty()) { in dirName()