Home
last modified time | relevance | path

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

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