Lines Matching refs:separators
27 const char *separators = "\\/";
30 const char separators = '/';
58 size_t end = path.find_first_of(separators, 2);
73 size_t end = path.find_first_of(separators, 2);
86 size_t pos = str.find_last_of(separators, str.size() - 1);
120 return str.find_first_of(separators, 2);
135 // Skip separators except for root dir.
181 // Both POSIX and Windows treat paths that begin with exactly two separators
188 // Handle separators.
201 // Skip extra separators.
216 size_t end_pos = Path.find_first_of(separators, Position);
236 // Skip separators unless it's the root directory.
376 // Strip separators from beginning of component.
377 size_t loc = i->find_first_not_of(separators);