Lines Matching refs:itr
262 iterator itr(begin()); in root_name() local
264 return (itr.m_pos != m_pathname.size() in root_name()
266 (itr.m_element.m_pathname.size() > 1 in root_name()
267 && detail::is_directory_separator(itr.m_element.m_pathname[0]) in root_name()
268 && detail::is_directory_separator(itr.m_element.m_pathname[1])) in root_name()
270 || itr.m_element.m_pathname[itr.m_element.m_pathname.size()-1] == colon in root_name()
273 ? itr.m_element in root_name()
288 iterator itr(begin()); in relative_path() local
290 for (; itr.m_pos != m_pathname.size() in relative_path()
291 && (detail::is_directory_separator(itr.m_element.m_pathname[0]) in relative_path()
293 || itr.m_element.m_pathname[itr.m_element.m_pathname.size()-1] == colon in relative_path()
295 ); ++itr) {} in relative_path()
297 return path(m_pathname.c_str() + itr.m_pos); in relative_path()
421 for (iterator itr(start); itr != stop; ++itr) in lexically_normal() local
424 if (itr->native().size() == 1 in lexically_normal()
425 && (itr->native())[0] == dot in lexically_normal()
426 && itr != start in lexically_normal()
427 && itr != last) continue; in lexically_normal()
431 && itr->native().size() == 2 in lexically_normal()
432 && (itr->native())[0] == dot in lexically_normal()
433 && (itr->native())[1] == dot) // dot dot in lexically_normal()
466 iterator next(itr); in lexically_normal()
476 temp /= *itr; in lexically_normal()
723 iterator itr; in begin() local
724 itr.m_path_ptr = this; in begin()
726 first_element(m_pathname, itr.m_pos, element_size); in begin()
727 itr.m_element = m_pathname.substr(itr.m_pos, element_size); in begin()
728 if (itr.m_element.m_pathname == preferred_separator_string) in begin()
729 itr.m_element.m_pathname = separator_string; // needed for Windows, harmless on POSIX in begin()
730 return itr; in begin()
735 iterator itr; in end() local
736 itr.m_path_ptr = this; in end()
737 itr.m_pos = m_pathname.size(); in end()
738 return itr; in end()