Searched refs:PathParser (Results 1 – 3 of 3) sorted by relevance
20 using parser::PathParser;47 auto PP = PathParser::CreateBegin(__pn_); in __root_name()54 auto PP = PathParser::CreateBegin(__pn_); in __root_directory()57 if (PP.State == PathParser::PS_InRootDir) in __root_directory()63 auto PP = PathParser::CreateBegin(__pn_); in __root_path_raw()85 …static_assert(PathParser::PS_BeforeBegin == 1 && PathParser::PS_InRootName == 2 && PathParser::PS_… in ConsumeRootDir()125 PathParser PP = PathParser::CreateBegin(__pn_); in __filename()302 static int CompareRootName(PathParser* LHS, PathParser* RHS) { in CompareRootName()313 static int CompareRootDir(PathParser* LHS, PathParser* RHS) { in CompareRootDir()325 static int CompareRelative(PathParser* LHSPtr, PathParser* RHSPtr) { in CompareRelative()[all …]
40 struct PathParser { struct56 PathParser(string_view_t P, ParserState State) noexcept : Path(P), State(State) {} in PathParser() argument59 PathParser(string_view_t P, string_view_t E, unsigned char S) in PathParser() function64 static PathParser CreateBegin(string_view_t P) noexcept { in CreateBegin() argument65 PathParser PP(P, PS_BeforeBegin); in CreateBegin()70 static PathParser CreateEnd(string_view_t P) noexcept { in CreateEnd() argument71 PathParser PP(P, PS_AtEnd); in CreateEnd()192 PathParser& operator++() noexcept {197 PathParser& operator--() noexcept {
62 using parser::PathParser;935 auto PP = PathParser::CreateEnd(p.native()); in __weakly_canonical()939 while (PP.State != PathParser::PS_BeforeBegin) { in __weakly_canonical()952 if (PP.State == PathParser::PS_BeforeBegin) in __weakly_canonical()