Lines Matching refs:__input
54 static void __skip_optional_whitespace(istream& __input) { in __skip_optional_whitespace() argument
55 while (chrono::__is_whitespace(__input.peek())) in __skip_optional_whitespace()
56 __input.get(); in __skip_optional_whitespace()
59 static void __skip_mandatory_whitespace(istream& __input) { in __skip_mandatory_whitespace() argument
60 if (!chrono::__is_whitespace(__input.get())) in __skip_mandatory_whitespace()
63 chrono::__skip_optional_whitespace(__input); in __skip_mandatory_whitespace()
66 static void __matches(istream& __input, char __expected) { in __matches() argument
67 if (std::tolower(__input.get()) != __expected) in __matches()
71 static void __matches(istream& __input, string_view __expected) { in __matches() argument
73 if (std::tolower(__input.get()) != __c) in __matches()
77 [[nodiscard]] static string __parse_string(istream& __input) { in __parse_string() argument
80 int __c = __input.get(); in __parse_string()
85 __input.unget(); in __parse_string()
99 static string __parse_version(istream& __input) { in __parse_version() argument
105 chrono::__matches(__input, '#'); in __parse_version()
106 chrono::__skip_optional_whitespace(__input); in __parse_version()
107 chrono::__matches(__input, "version"); in __parse_version()
108 chrono::__skip_mandatory_whitespace(__input); in __parse_version()
109 return chrono::__parse_string(__input); in __parse_version()