/external/llvm/lib/Support/ |
D | raw_ostream.cpp | 512 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream 514 : raw_fd_ostream(getFD(Filename, EC, Flags), true) {} in raw_fd_ostream() 518 raw_fd_ostream::raw_fd_ostream(int fd, bool shouldClose, bool unbuffered) in raw_fd_ostream() function in raw_fd_ostream 542 raw_fd_ostream::~raw_fd_ostream() { in ~raw_fd_ostream() 566 void raw_fd_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl() 616 void raw_fd_ostream::close() { in close() 625 uint64_t raw_fd_ostream::seek(uint64_t off) { in seek() 633 void raw_fd_ostream::pwrite(const char *Ptr, size_t Size, uint64_t Offset) { in pwrite() 640 size_t raw_fd_ostream::preferred_buffer_size() const { in preferred_buffer_size() 660 raw_ostream &raw_fd_ostream::changeColor(enum Colors colors, bool bold, in changeColor() [all …]
|
D | Timer.cpp | 59 return new raw_fd_ostream(2, false); // stderr. in CreateInfoOutputFile() 61 return new raw_fd_ostream(1, false); // stdout. in CreateInfoOutputFile() 68 raw_ostream *Result = new raw_fd_ostream(OutputFilename, EC, in CreateInfoOutputFile() 76 return new raw_fd_ostream(2, false); // stderr. in CreateInfoOutputFile()
|
/external/llvm/include/llvm/Support/ |
D | ToolOutputFile.h | 43 raw_fd_ostream OS; 54 raw_fd_ostream &os() { return OS; } in os()
|
D | raw_ostream.h | 332 class raw_fd_ostream : public raw_pwrite_stream { 372 raw_fd_ostream(StringRef Filename, std::error_code &EC, 377 raw_fd_ostream(int fd, bool shouldClose, bool unbuffered=false); 379 ~raw_fd_ostream() override;
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitWriter.cpp | 22 raw_fd_ostream OS(Path, EC, sys::fs::F_None); in LLVMWriteBitcodeToFile() 33 raw_fd_ostream OS(FD, ShouldClose, Unbuffered); in LLVMWriteBitcodeToFD()
|
/external/llvm/unittests/Support/ |
D | MemoryBufferTest.cpp | 74 raw_fd_ostream OF(TestFD, true, /*unbuffered=*/true); in TEST_F() 139 raw_fd_ostream OF(TestFD, true, !Reopen); in testGetOpenFileSlice() 178 raw_fd_ostream OF(FD, true, /*unbuffered=*/true); in TEST_F()
|
/external/clang/lib/Frontend/Rewrite/ |
D | FixItRewriter.cpp | 89 std::unique_ptr<llvm::raw_fd_ostream> OS; in WriteFixedFiles() 91 OS.reset(new llvm::raw_fd_ostream(fd, /*shouldClose=*/true)); in WriteFixedFiles() 93 OS.reset(new llvm::raw_fd_ostream(Filename, EC, llvm::sys::fs::F_None)); in WriteFixedFiles()
|
/external/llvm/tools/llvm-profdata/ |
D | llvm-profdata.cpp | 48 raw_fd_ostream Output(OutputFilename.data(), EC, sys::fs::F_None); in mergeInstrProfile() 136 raw_fd_ostream &OS) { in showInstrProfile() 189 raw_fd_ostream &OS) { in showSampleProfile() 231 raw_fd_ostream OS(OutputFilename.data(), EC, sys::fs::F_Text); in show_main()
|
/external/clang/lib/Frontend/ |
D | HeaderIncludeGen.cpp | 58 llvm::raw_fd_ostream *OS = new llvm::raw_fd_ostream( in AttachHeaderIncludeGen()
|
D | ModuleDependencyCollector.cpp | 52 llvm::raw_fd_ostream OS(Dest, EC, llvm::sys::fs::F_Text); in writeFileMap()
|
/external/llvm/lib/Analysis/ |
D | CFGPrinter.cpp | 84 raw_fd_ostream File(Filename, EC, sys::fs::F_Text); in runOnFunction() 118 raw_fd_ostream File(Filename, EC, sys::fs::F_Text); in runOnFunction()
|
/external/llvm/tools/llvm-ar/ |
D | llvm-ar.cpp | 342 raw_fd_ostream file(FD, false); in doExtract() 609 static void printWithSpacePadding(raw_fd_ostream &OS, T Data, unsigned Size, in printWithSpacePadding() 626 static void print32BE(raw_fd_ostream &Out, unsigned Val) { in print32BE() 633 static void printRestOfMemberHeader(raw_fd_ostream &Out, in printRestOfMemberHeader() 645 static void printMemberHeader(raw_fd_ostream &Out, StringRef Name, in printMemberHeader() 652 static void printMemberHeader(raw_fd_ostream &Out, unsigned NameOffset, in printMemberHeader() 660 static void writeStringTable(raw_fd_ostream &Out, in writeStringTable() 689 static unsigned writeSymbolTable(raw_fd_ostream &Out, in writeSymbolTable() 757 raw_fd_ostream &Out = Output.os(); in performWriteOperation()
|
/external/clang/lib/ARCMigrate/ |
D | FileRemapper.cpp | 125 llvm::raw_fd_ostream infoOut(infoFile, EC, llvm::sys::fs::F_None); in flushToFile() 151 llvm::raw_fd_ostream newOut(fd, /*shouldClose=*/true); in flushToFile() 179 llvm::raw_fd_ostream Out(origFE->getName(), EC, llvm::sys::fs::F_None); in overwriteOriginal()
|
D | PlistReporter.cpp | 60 llvm::raw_fd_ostream o(outPath, EC, llvm::sys::fs::F_Text); in writeARCDiagsToPlist()
|
/external/llvm/include/llvm/Analysis/ |
D | DOTGraphTraitsPass.h | 73 raw_fd_ostream File(Filename, EC, sys::fs::F_Text); in runOnFunction() 136 raw_fd_ostream File(Filename, EC, sys::fs::F_Text); in runOnModule()
|
/external/llvm/include/llvm/ProfileData/ |
D | InstrProfWriter.h | 46 void write(raw_fd_ostream &OS);
|
D | SampleProfWriter.h | 80 raw_fd_ostream OS;
|
/external/llvm/tools/llvm-cov/ |
D | TestingSupport.cpp | 83 raw_fd_ostream OS(FD, true); in convertForTestingMain()
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 583 ld_plugin_input_file &Info, raw_fd_ostream *ApiFile, in getModuleForFile() 739 raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::F_None); in saveBCFile() 806 raw_fd_ostream OS(FD, true); in codegen() 826 static ld_plugin_status allSymbolsReadHook(raw_fd_ostream *ApiFile) { in allSymbolsReadHook() 902 raw_fd_ostream ApiFile("apifile.txt", EC, sys::fs::F_None); in all_symbols_read_hook()
|
/external/clang/tools/driver/ |
D | cc1as_main.cpp | 258 static std::unique_ptr<raw_fd_ostream> 270 auto Out = llvm::make_unique<raw_fd_ostream>( in getOutputStream() 318 std::unique_ptr<raw_fd_ostream> FDOS = getOutputStream(Opts, Diags, IsBinary); in ExecuteAssembler()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInstance.h | 30 class raw_fd_ostream; variable 167 std::unique_ptr<llvm::raw_fd_ostream> NonSeekStream;
|
/external/clang/lib/AST/ |
D | InheritViz.cpp | 150 llvm::raw_fd_ostream O(FD, true); in viewInheritance()
|
/external/llvm/examples/BrainF/ |
D | BrainFDriver.cpp | 111 out = new raw_fd_ostream(OutputFilename, EC, sys::fs::F_None); in main()
|
/external/llvm/tools/lli/ |
D | OrcLazyJIT.cpp | 96 raw_fd_ostream Out(M->getModuleIdentifier() + ".ll", EC, in createDebugDumper()
|
/external/clang/unittests/Tooling/ |
D | RewriterTestContext.h | 69 llvm::raw_fd_ostream OutStream(FD, true); in createOnDiskFile()
|