Lines Matching refs:Uri
181 llvm::StringRef Uri = OrigUri; in parse() local
183 auto Pos = Uri.find(':'); in parse()
186 auto SchemeStr = Uri.substr(0, Pos); in parse()
190 Uri = Uri.substr(Pos + 1); in parse()
191 if (Uri.consume_front("//")) { in parse()
192 Pos = Uri.find('/'); in parse()
193 U.Authority = percentDecode(Uri.substr(0, Pos)); in parse()
194 Uri = Uri.substr(Pos); in parse()
196 U.Body = percentDecode(Uri); in parse()
202 auto Uri = URI::parse(FileURI); in resolve() local
203 if (!Uri) in resolve()
204 return Uri.takeError(); in resolve()
205 auto Path = URI::resolve(*Uri, HintPath); in resolve()
247 llvm::Expected<std::string> URI::resolve(const URI &Uri, in resolve() argument
249 auto S = findSchemeByName(Uri.Scheme); in resolve()
252 return S->get()->getAbsolutePath(Uri.Authority, Uri.Body, HintPath); in resolve()
275 llvm::Expected<std::string> URI::includeSpelling(const URI &Uri) { in includeSpelling() argument
276 auto S = findSchemeByName(Uri.Scheme); in includeSpelling()
279 return S->get()->getIncludeSpelling(Uri); in includeSpelling()