Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dpath.cpp20 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 …]
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.cpp62 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()