Home
last modified time | relevance | path

Searched refs:raw_fd_ostream (Results 1 – 25 of 62) sorted by relevance

123

/external/llvm/lib/Support/
Draw_ostream.cpp512 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 …]
DTimer.cpp59 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/
DToolOutputFile.h43 raw_fd_ostream OS;
54 raw_fd_ostream &os() { return OS; } in os()
Draw_ostream.h332 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/
DBitWriter.cpp22 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/
DMemoryBufferTest.cpp74 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/
DFixItRewriter.cpp89 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/
Dllvm-profdata.cpp48 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/
DHeaderIncludeGen.cpp58 llvm::raw_fd_ostream *OS = new llvm::raw_fd_ostream( in AttachHeaderIncludeGen()
DModuleDependencyCollector.cpp52 llvm::raw_fd_ostream OS(Dest, EC, llvm::sys::fs::F_Text); in writeFileMap()
/external/llvm/lib/Analysis/
DCFGPrinter.cpp84 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/
Dllvm-ar.cpp342 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/
DFileRemapper.cpp125 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()
DPlistReporter.cpp60 llvm::raw_fd_ostream o(outPath, EC, llvm::sys::fs::F_Text); in writeARCDiagsToPlist()
/external/llvm/include/llvm/Analysis/
DDOTGraphTraitsPass.h73 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/
DInstrProfWriter.h46 void write(raw_fd_ostream &OS);
DSampleProfWriter.h80 raw_fd_ostream OS;
/external/llvm/tools/llvm-cov/
DTestingSupport.cpp83 raw_fd_ostream OS(FD, true); in convertForTestingMain()
/external/llvm/tools/gold/
Dgold-plugin.cpp583 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/
Dcc1as_main.cpp258 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/
DCompilerInstance.h30 class raw_fd_ostream; variable
167 std::unique_ptr<llvm::raw_fd_ostream> NonSeekStream;
/external/clang/lib/AST/
DInheritViz.cpp150 llvm::raw_fd_ostream O(FD, true); in viewInheritance()
/external/llvm/examples/BrainF/
DBrainFDriver.cpp111 out = new raw_fd_ostream(OutputFilename, EC, sys::fs::F_None); in main()
/external/llvm/tools/lli/
DOrcLazyJIT.cpp96 raw_fd_ostream Out(M->getModuleIdentifier() + ".ll", EC, in createDebugDumper()
/external/clang/unittests/Tooling/
DRewriterTestContext.h69 llvm::raw_fd_ostream OutStream(FD, true); in createOnDiskFile()

123