Lines Matching refs:RelativePath
225 llvm::SmallString<256> RelativePath = llvm::StringRef(Path); in toProtobuf() local
226 if (replace_path_prefix(RelativePath, LocalIndexRoot, "")) in toProtobuf()
228 convert_to_slash(RelativePath, Style::windows)); in toProtobuf()
313 Marshaller::relativePathToURI(llvm::StringRef RelativePath) { in relativePathToURI() argument
315 assert(RelativePath == convert_to_slash(RelativePath)); in relativePathToURI()
316 if (RelativePath.empty()) in relativePathToURI()
318 if (is_absolute(RelativePath, Style::posix)) in relativePathToURI()
319 return error("RelativePath '{0}' is absolute.", RelativePath); in relativePathToURI()
321 append(FullPath, RelativePath); in relativePathToURI()
395 auto RelativePath = uriToRelativePath(Location.FileURI); in toProtobuf() local
396 if (!RelativePath) in toProtobuf()
397 return RelativePath.takeError(); in toProtobuf()
398 *Result.mutable_file_path() = *RelativePath; in toProtobuf()
413 auto RelativePath = uriToRelativePath(Header); in toProtobuf() local
414 if (!RelativePath) in toProtobuf()
415 return RelativePath.takeError(); in toProtobuf()
416 Result.set_header(*RelativePath); in toProtobuf()