Home | History | Annotate | Download | only in Support

Lines Matching refs:Sep

257 static StringRef getDirnameCharSep(StringRef path, const char *Sep) {
258 assert(Sep[0] != '\0' && Sep[1] == '\0' &&
259 "Sep must be a 1-character string literal.");
268 while (pos >= 0 && path[pos] == Sep[0])
272 return path[0] == Sep[0] ? Sep : ".";
277 while (i < pos && path[i] != Sep[0])
284 while (pos >= 0 && path[pos] != Sep[0])
288 while (pos >= 0 && path[pos] == Sep[0])
292 return path[0] == Sep[0] ? Sep : ".";