Lines Matching refs:PathParser

80 struct PathParser {  struct
96 PathParser(string_view_t P, ParserState State) noexcept : Path(P), in PathParser() argument
100 PathParser(string_view_t P, string_view_t E, unsigned char S) in PathParser() function
105 static PathParser CreateBegin(string_view_t P) noexcept { in CreateBegin() argument
106 PathParser PP(P, PS_BeforeBegin); in CreateBegin()
111 static PathParser CreateEnd(string_view_t P) noexcept { in CreateEnd() argument
112 PathParser PP(P, PS_AtEnd); in CreateEnd()
236 PathParser& operator++() noexcept { in operator ++() argument
241 PathParser& operator--() noexcept { in operator --() argument
642 using parser::PathParser;
1579 auto PP = PathParser::CreateEnd(p.native()); in __weakly_canonical()
1583 while (PP.State != PathParser::PS_BeforeBegin) { in __weakly_canonical()
1596 if (PP.State == PathParser::PS_BeforeBegin) in __weakly_canonical()
1631 auto PP = PathParser::CreateBegin(__pn_); in __root_name()
1632 if (PP.State == PathParser::PS_InRootName) in __root_name()
1638 auto PP = PathParser::CreateBegin(__pn_); in __root_directory()
1639 if (PP.State == PathParser::PS_InRootName) in __root_directory()
1641 if (PP.State == PathParser::PS_InRootDir) in __root_directory()
1647 auto PP = PathParser::CreateBegin(__pn_); in __root_path_raw()
1648 if (PP.State == PathParser::PS_InRootName) { in __root_path_raw()
1656 if (PP.State == PathParser::PS_InRootDir) in __root_path_raw()
1661 static bool ConsumeRootName(PathParser *PP) { in ConsumeRootName()
1662 static_assert(PathParser::PS_BeforeBegin == 1 && in ConsumeRootName()
1663 PathParser::PS_InRootName == 2, in ConsumeRootName()
1665 while (PP->State <= PathParser::PS_InRootName) in ConsumeRootName()
1667 return PP->State == PathParser::PS_AtEnd; in ConsumeRootName()
1670 static bool ConsumeRootDir(PathParser* PP) { in ConsumeRootDir()
1671 static_assert(PathParser::PS_BeforeBegin == 1 && in ConsumeRootDir()
1672 PathParser::PS_InRootName == 2 && in ConsumeRootDir()
1673 PathParser::PS_InRootDir == 3, "Values for enums are incorrect"); in ConsumeRootDir()
1674 while (PP->State <= PathParser::PS_InRootDir) in ConsumeRootDir()
1676 return PP->State == PathParser::PS_AtEnd; in ConsumeRootDir()
1680 auto PP = PathParser::CreateBegin(__pn_); in __relative_path()
1692 auto PP = PathParser::CreateBegin(__pn_); in __parent_path()
1699 auto PP = PathParser::CreateEnd(__pn_); in __parent_path()
1712 PathParser PP = PathParser::CreateBegin(__pn_); in __filename()
1716 return *(--PathParser::CreateEnd(__pn_)); in __filename()
1780 for (auto PP = PathParser::CreateBegin(__pn_); PP; ++PP) { in lexically_normal()
1832 static int DetermineLexicalElementCount(PathParser PP) { in DetermineLexicalElementCount()
1846 auto PP = PathParser::CreateBegin(__pn_); in lexically_relative()
1847 auto PPBase = PathParser::CreateBegin(base.__pn_); in lexically_relative()
1867 auto PP = PathParser::CreateBegin(__pn_); in lexically_relative()
1868 auto PPBase = PathParser::CreateBegin(base.__pn_); in lexically_relative()
1901 static int CompareRootName(PathParser *LHS, PathParser *RHS) { in CompareRootName()
1905 auto GetRootName = [](PathParser *Parser) -> string_view_t { in CompareRootName()
1914 static int CompareRootDir(PathParser *LHS, PathParser *RHS) { in CompareRootDir()
1926 static int CompareRelative(PathParser *LHSPtr, PathParser *RHSPtr) { in CompareRelative()
1940 static int CompareEndState(PathParser *LHS, PathParser *RHS) { in CompareEndState()
1949 auto LHS = PathParser::CreateBegin(__pn_); in __compare()
1950 auto RHS = PathParser::CreateBegin(__s); in __compare()
1968 auto PP = PathParser::CreateBegin(__p.native()); in hash_value()
1981 auto PP = PathParser::CreateBegin(__pn_); in begin()
1998 PathParser PP(__path_ptr_->native(), __entry_, __state_); in __increment()
2007 PathParser PP(__path_ptr_->native(), __entry_, __state_); in __decrement()