Lines Matching refs:PathParser

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()
78 …static_assert(PathParser::PS_BeforeBegin == 1 && PathParser::PS_InRootName == 2, "Values for enums… in ConsumeRootName()
79 while (PP->State_ <= PathParser::PS_InRootName) in ConsumeRootName()
81 return PP->State_ == PathParser::PS_AtEnd; in ConsumeRootName()
84 static bool ConsumeRootDir(PathParser* PP) { in ConsumeRootDir()
85 …static_assert(PathParser::PS_BeforeBegin == 1 && PathParser::PS_InRootName == 2 && PathParser::PS_… in ConsumeRootDir()
87 while (PP->State_ <= PathParser::PS_InRootDir) in ConsumeRootDir()
89 return PP->State_ == PathParser::PS_AtEnd; in ConsumeRootDir()
93 auto PP = PathParser::CreateBegin(__pn_); in __relative_path()
105 auto PP = PathParser::CreateBegin(__pn_); in __parent_path()
112 auto PP = PathParser::CreateEnd(__pn_); in __parent_path()
125 PathParser PP = PathParser::CreateBegin(__pn_); in __filename()
129 return *(--PathParser::CreateEnd(__pn_)); in __filename()
182 for (auto PP = PathParser::CreateBegin(__pn_); PP; ++PP) { in lexically_normal()
234 static int DetermineLexicalElementCount(PathParser PP) { in DetermineLexicalElementCount()
248 auto PP = PathParser::CreateBegin(__pn_); in lexically_relative()
249 auto PPBase = PathParser::CreateBegin(base.__pn_); in lexically_relative()
268 auto PP = PathParser::CreateBegin(__pn_); in lexically_relative()
269 auto PPBase = PathParser::CreateBegin(base.__pn_); in lexically_relative()
302 static int CompareRootName(PathParser* LHS, PathParser* RHS) { in CompareRootName()
306 …auto GetRootName = [](PathParser* Parser) -> string_view_t { return Parser->inRootName() ? **Parse… in CompareRootName()
313 static int CompareRootDir(PathParser* LHS, PathParser* RHS) { in CompareRootDir()
325 static int CompareRelative(PathParser* LHSPtr, PathParser* RHSPtr) { in CompareRelative()
339 static int CompareEndState(PathParser* LHS, PathParser* RHS) { in CompareEndState()
348 auto LHS = PathParser::CreateBegin(__pn_); in __compare()
349 auto RHS = PathParser::CreateBegin(__s); in __compare()
367 auto PP = PathParser::CreateBegin(__p.native()); in hash_value()
380 auto PP = PathParser::CreateBegin(__pn_); in begin()
397 PathParser PP(__path_ptr_->native(), __entry_, __state_); in __increment()
406 PathParser PP(__path_ptr_->native(), __entry_, __state_); in __decrement()