Searched refs:PathParser (Results 1 – 3 of 3) sorted by relevance
20 using parser::PathParser;47 auto PP = PathParser::CreateBegin(__pn_); in __root_name()48 if (PP.State_ == PathParser::PS_InRootName) in __root_name()54 auto PP = PathParser::CreateBegin(__pn_); in __root_directory()55 if (PP.State_ == PathParser::PS_InRootName) in __root_directory()57 if (PP.State_ == PathParser::PS_InRootDir) in __root_directory()63 auto PP = PathParser::CreateBegin(__pn_); in __root_path_raw()64 if (PP.State_ == PathParser::PS_InRootName) { in __root_path_raw()72 if (PP.State_ == PathParser::PS_InRootDir) in __root_path_raw()77 static bool ConsumeRootName(PathParser* PP) { in ConsumeRootName()[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() argument64 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;932 auto PP = PathParser::CreateEnd(p.native()); in __weakly_canonical()937 while (PP.State_ != PathParser::PS_BeforeBegin) { in __weakly_canonical()952 if (PP.State_ == PathParser::PS_BeforeBegin) { in __weakly_canonical()