Lines Matching defs:separators
49 inline const char *separators(Style style) {
82 size_t end = path.find_first_of(separators(style), 2);
91 size_t end = path.find_first_of(separators(style));
101 size_t pos = str.find_last_of(separators(style), str.size() - 1);
126 return str.find_first_of(separators(style), 2);
145 // Skip separators until we reach root dir (or the start of the string).
254 // Both POSIX and Windows treat paths that begin with exactly two separators
259 // Handle separators.
269 // Skip extra separators.
283 size_t end_pos = Path.find_first_of(separators(S), Position);
317 // Skip separators unless it's the root directory.
435 // Strip separators from beginning of component.
436 size_t loc = component.find_first_not_of(separators(style));
729 // non-preferred slashes and double separators that must be canonicalized.
731 size_t next_slash = remaining.find_first_of(separators(style));
746 // Check for path traversal components or double separators.
847 assert(P.find_first_of(separators(Style::native)) == StringRef::npos &&