Lines Matching refs:Position
177 i.Position = 0;
184 i.Position = path.size();
189 assert(Position < Path.size() && "Tried to increment past end!");
191 // Increment Position to past the current component
192 Position += Component.size();
195 if (Position == Path.size()) {
208 if (is_separator(Path[Position])) {
216 Component = Path.substr(Position, 1);
221 while (Position != Path.size() &&
222 is_separator(Path[Position])) {
223 ++Position;
227 if (Position == Path.size()) {
228 --Position;
235 size_t end_pos = Path.find_first_of(separators, Position);
236 Component = Path.slice(Position, end_pos);
243 if (Position == Path.size() &&
245 is_separator(Path[Position - 1])
247 && Path[Position - 2] != ':'
250 --Position;
257 size_t end_pos = Position;
267 Position = start_pos;
273 Position == RHS.Position;
281 return Position - RHS.Position;