Lines Matching refs:Position
231 i.Position = 0; in begin()
239 i.Position = path.size(); in end()
244 assert(Position < Path.size() && "Tried to increment past end!"); in operator ++()
247 Position += Component.size(); in operator ++()
250 if (Position == Path.size()) { in operator ++()
261 if (is_separator(Path[Position], S)) { in operator ++()
266 Component = Path.substr(Position, 1); in operator ++()
271 while (Position != Path.size() && is_separator(Path[Position], S)) { in operator ++()
272 ++Position; in operator ++()
276 if (Position == Path.size() && Component != "/") { in operator ++()
277 --Position; in operator ++()
284 size_t end_pos = Path.find_first_of(separators(S), Position); in operator ++()
285 Component = Path.slice(Position, end_pos); in operator ++()
291 return Path.begin() == RHS.Path.begin() && Position == RHS.Position; in operator ==()
295 return Position - RHS.Position; in operator -()
301 I.Position = Path.size(); in rbegin()
311 I.Position = 0; in rend()
319 size_t end_pos = Position; in operator ++()
325 if (Position == Path.size() && !Path.empty() && in operator ++()
328 --Position; in operator ++()
336 Position = start_pos; in operator ++()
342 Position == RHS.Position; in operator ==()
346 return Position - RHS.Position; in operator -()