Lines Matching defs:separators
38 const char *separators = "\\/";
41 const char separators = '/';
68 size_t end = path.find_first_of(separators, 2);
77 size_t end = path.find_first_of(separators);
90 size_t pos = str.find_last_of(separators, str.size() - 1);
124 return str.find_first_of(separators, 2);
139 // Skip separators except for root dir.
259 // Both POSIX and Windows treat paths that begin with exactly two separators
266 // Handle separators.
279 // Skip extra separators.
294 size_t end_pos = Path.find_first_of(separators, Position);
335 // Skip separators unless it's the root directory.
464 // Strip separators from beginning of component.
465 size_t loc = component.find_first_not_of(separators);
739 assert(P.find_first_of(separators) == StringRef::npos &&