Lines Matching refs:Result

71     const llvm::Twine &Name, std::unique_ptr<MemoryBuffer> &Result,
78 F->getBuffer(Name, Result, FileSize, RequiresNullTerminator, IsVolatile);
100 std::unique_ptr<MemoryBuffer> &Result,
124 std::unique_ptr<MemoryBuffer> &Result,
134 Result = std::move(BufferOrErr.get());
165 std::unique_ptr<File> &Result) override;
174 Status Result(RealStatus);
175 Result.setName(Path.str());
176 return Result;
180 std::unique_ptr<File> &Result) {
184 Result.reset(new RealFile(FD));
185 Result->setName(Name.str());
257 std::unique_ptr<File> &Result) {
260 std::error_code EC = (*I)->openFileForRead(Path, Result);
526 std::unique_ptr<File> &Result) override;
560 bool parseScalarString(yaml::Node *N, StringRef &Result,
567 Result = S->getValue(Storage);
572 bool parseScalarBool(yaml::Node *N, bool &Result) {
580 Result = true;
584 Result = false;
750 Entry *Result = nullptr;
753 Result = new FileEntry(LastComponent, std::move(ExternalContentsPath),
757 Result = new DirectoryEntry(LastComponent, std::move(EntryArrayContents),
765 return Result;
771 Result = new DirectoryEntry(*I, llvm::makeArrayRef(Result),
775 return Result;
908 ErrorOr<Entry *> Result = lookupPath(Start, End, *I);
909 if (Result || Result.getError() != llvm::errc::no_such_file_or_directory)
910 return Result;
941 ErrorOr<Entry *> Result = lookupPath(Start, End, *I);
942 if (Result || Result.getError() != llvm::errc::no_such_file_or_directory)
943 return Result;
968 ErrorOr<Entry *> Result = lookupPath(Path);
969 if (!Result)
970 return Result.getError();
971 return status(Path, *Result);
976 std::unique_ptr<vfs::File> &Result) {
986 ExternalFS->openFileForRead(F->getExternalContentsPath(), Result))
990 Result->setName(Path.str());