Lines Matching refs:empty
49 while (!path.empty() && path.front() == '/' && in preparePathComponent()
60 preparePathComponent(path, !target.empty()); in append_next_path()
61 if (path.empty()) { in append_next_path()
64 if (!target.empty() && !target.ends_with('/')) { in append_next_path()
88 return !path.empty() && path[0] == '/'; in isAbsolute()
92 if (path.empty()) { in normalize()
116 if (part.empty() || part == "."sv) { in normalize()
120 if (result.empty()) { in normalize()
139 if (path.empty()) { in basename()
146 while (!path.empty() && pos == path.size() - 1) { in basename()
151 return path.empty() ? "/"sv : path; in basename()
157 if (path.empty()) { in dirname()