Home
last modified time | relevance | path

Searched refs:raw_fd_ostream (Results 1 – 25 of 71) 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()
602 void raw_fd_ostream::close() { in close()
611 uint64_t raw_fd_ostream::seek(uint64_t off) { in seek()
619 void raw_fd_ostream::pwrite_impl(const char *Ptr, size_t Size, in pwrite_impl()
627 size_t raw_fd_ostream::preferred_buffer_size() const { in preferred_buffer_size()
647 raw_ostream &raw_fd_ostream::changeColor(enum Colors colors, bool bold, in changeColor()
[all …]
DTimer.cpp54 std::unique_ptr<raw_fd_ostream> llvm::CreateInfoOutputFile() { in CreateInfoOutputFile()
57 return llvm::make_unique<raw_fd_ostream>(2, false); // stderr. in CreateInfoOutputFile()
59 return llvm::make_unique<raw_fd_ostream>(1, false); // stdout. in CreateInfoOutputFile()
66 auto Result = llvm::make_unique<raw_fd_ostream>( in CreateInfoOutputFile()
73 return llvm::make_unique<raw_fd_ostream>(2, false); // stderr. in CreateInfoOutputFile()
/external/llvm/include/llvm/ProfileData/
DInstrProfWriter.h43 void write(raw_fd_ostream &OS);
45 void writeText(raw_fd_ostream &OS);
48 InstrProfSymtab &Symtab, raw_fd_ostream &OS);
/external/llvm/include/llvm/Support/
DToolOutputFile.h43 raw_fd_ostream OS;
54 raw_fd_ostream &os() { return OS; } in os()
Draw_ostream.h344 class raw_fd_ostream : public raw_pwrite_stream {
382 raw_fd_ostream(StringRef Filename, std::error_code &EC,
387 raw_fd_ostream(int fd, bool shouldClose, bool unbuffered=false);
389 ~raw_fd_ostream() override;
/external/llvm/tools/dsymutil/
DMachOUtils.h17 class raw_fd_ostream; variable
33 raw_fd_ostream &OutFile);
Ddsymutil.cpp104 llvm::raw_fd_ostream PL(InfoPlist, EC, llvm::sys::fs::F_Text); in createPlistFile()
193 llvm::raw_fd_ostream CloseImmediately(FD, true /* shouldClose */, true); in getOutputFileName()
/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/lib/Object/
DArchiveWriter.cpp79 static void printWithSpacePadding(raw_fd_ostream &OS, T Data, unsigned Size, in printWithSpacePadding()
102 static void printRestOfMemberHeader(raw_fd_ostream &Out, in printRestOfMemberHeader()
114 static void printGNUSmallMemberHeader(raw_fd_ostream &Out, StringRef Name, in printGNUSmallMemberHeader()
122 static void printBSDMemberHeader(raw_fd_ostream &Out, StringRef Name, in printBSDMemberHeader()
143 printMemberHeader(raw_fd_ostream &Out, object::Archive::Kind Kind, bool Thin, in printMemberHeader()
180 static void writeStringTable(raw_fd_ostream &Out, StringRef ArcName, in writeStringTable()
223 writeSymbolTable(raw_fd_ostream &Out, object::Archive::Kind Kind, in writeSymbolTable()
315 raw_fd_ostream &Out = Output.os(); in writeArchive()
/external/llvm/unittests/Support/
Draw_pwrite_stream_test.cpp39 raw_fd_ostream OS(FD, true); in TEST()
57 raw_fd_ostream OS(FD, true); in TEST()
DMemoryBufferTest.cpp74 raw_fd_ostream OF(TestFD, true, /*unbuffered=*/true); in TEST_F()
139 raw_fd_ostream OF(TestFD, true, !Reopen); in testGetOpenFileSlice()
185 raw_fd_ostream OF(FD, true, /*unbuffered=*/true); in TEST_F()
/external/clang/lib/Frontend/Rewrite/
DFixItRewriter.cpp96 std::unique_ptr<llvm::raw_fd_ostream> OS; in WriteFixedFiles()
98 OS.reset(new llvm::raw_fd_ostream(fd, /*shouldClose=*/true)); in WriteFixedFiles()
100 OS.reset(new llvm::raw_fd_ostream(Filename, EC, llvm::sys::fs::F_None)); in WriteFixedFiles()
/external/llvm/include/llvm/ADT/
DStatistic.h35 class raw_fd_ostream; variable
176 std::unique_ptr<raw_fd_ostream> CreateInfoOutputFile();
/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/clang/lib/Frontend/
DHeaderIncludeGen.cpp87 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/ProfileData/
DInstrProfWriter.cpp171 void InstrProfWriter::write(raw_fd_ostream &OS) { in write()
189 raw_fd_ostream &OS) { in writeRecordInText()
226 void InstrProfWriter::writeText(raw_fd_ostream &OS) { in writeText()
DSampleProfWriter.cpp203 OS.reset(new raw_fd_ostream(Filename, EC, sys::fs::F_None)); in create()
205 OS.reset(new raw_fd_ostream(Filename, EC, sys::fs::F_Text)); in create()
/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()
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp118 raw_fd_ostream Output(OutputFilename.data(), EC, sys::fs::F_None); in mergeInstrProfile()
254 raw_fd_ostream &OS) { in showInstrProfile()
343 raw_fd_ostream &OS) { in showSampleProfile()
393 raw_fd_ostream OS(OutputFilename.data(), EC, sys::fs::F_Text); in show_main()
/external/llvm/include/llvm/Analysis/
DDOTGraphTraitsPass.h103 raw_fd_ostream File(Filename, EC, sys::fs::F_Text); in runOnFunction()
166 raw_fd_ostream File(Filename, EC, sys::fs::F_Text); in runOnModule()
/external/llvm/tools/gold/
Dgold-plugin.cpp597 ld_plugin_input_file &Info, raw_fd_ostream *ApiFile, in getModuleForFile()
756 raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::F_None); in saveBCFile()
815 std::list<llvm::raw_fd_ostream> OSs; in codegen()
856 static ld_plugin_status allSymbolsReadHook(raw_fd_ostream *ApiFile) { in allSymbolsReadHook()
878 raw_fd_ostream OS(output_name + ".thinlto.bc", EC, in allSymbolsReadHook()
958 raw_fd_ostream ApiFile("apifile.txt", EC, sys::fs::F_None); in all_symbols_read_hook()
/external/llvm/include/llvm/MC/
DMCContext.h116 std::unique_ptr<raw_fd_ostream> SecureLog;
509 raw_fd_ostream *getSecureLog() { return SecureLog.get(); } in getSecureLog()
511 void setSecureLog(std::unique_ptr<raw_fd_ostream> Value) { in setSecureLog()
/external/llvm/tools/llvm-cov/
DTestingSupport.cpp83 raw_fd_ostream OS(FD, true); in convertForTestingMain()
/external/clang/tools/driver/
Dcc1as_main.cpp259 static std::unique_ptr<raw_fd_ostream>
271 auto Out = llvm::make_unique<raw_fd_ostream>( in getOutputStream()
319 std::unique_ptr<raw_fd_ostream> FDOS = getOutputStream(Opts, Diags, IsBinary); in ExecuteAssembler()

123