Home
last modified time | relevance | path

Searched refs:PathParser (Results 1 – 3 of 3) sorted by relevance

/llvm-project/libcxx/src/filesystem/
H A Dpath.cpp20 using parser::PathParser;
50 auto PP = PathParser::CreateBegin(__pn_); in __root_name()
51 if (PP.State_ == PathParser::PS_InRootName) in __root_name()
57 auto PP = PathParser::CreateBegin(__pn_); in __root_directory()
58 if (PP.State_ == PathParser::PS_InRootName) in __root_directory()
60 if (PP.State_ == PathParser::PS_InRootDir) in __root_directory()
66 auto PP = PathParser::CreateBegin(__pn_); in __root_path_raw()
67 if (PP.State_ == PathParser::PS_InRootName) { in __root_path_raw()
75 if (PP.State_ == PathParser::PS_InRootDir) in __root_path_raw()
80 static bool ConsumeRootName(PathParser* P in ConsumeRootName()
[all...]
H A Dpath_parser.h40 struct PathParser { struct
56 PathParser(string_view_t P, ParserState State) noexcept : Path(P), State_(State) {} in PathParser() argument
59 PathParser(string_view_t P, string_view_t E, unsigned char S) in PathParser() argument
64 static PathParser CreateBegin(string_view_t P) noexcept { in CreateBegin() argument
65 PathParser PP(P, PS_BeforeBegin); in CreateBegin()
70 static PathParser CreateEnd(string_view_t P) noexcept { in CreateEnd() argument
71 PathParser PP(P, PS_AtEnd); in CreateEnd()
192 PathParser& operator++() noexcept {
197 PathParser& operator--() noexcept {
H A Doperations.cpp84 using parser::PathParser; in __canonical()
1053 auto PP = PathParser::CreateEnd(p.native());
1058 while (PP.State_ != PathParser::PS_BeforeBegin) {
1073 if (PP.State_ == PathParser::PS_BeforeBegin) {