/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() 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 …]
|
D | Timer.cpp | 54 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/ |
D | InstrProfWriter.h | 43 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/ |
D | ToolOutputFile.h | 43 raw_fd_ostream OS; 54 raw_fd_ostream &os() { return OS; } in os()
|
D | raw_ostream.h | 344 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/ |
D | MachOUtils.h | 17 class raw_fd_ostream; variable 33 raw_fd_ostream &OutFile);
|
D | dsymutil.cpp | 104 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/ |
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/lib/Object/ |
D | ArchiveWriter.cpp | 79 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/ |
D | raw_pwrite_stream_test.cpp | 39 raw_fd_ostream OS(FD, true); in TEST() 57 raw_fd_ostream OS(FD, true); in TEST()
|
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() 185 raw_fd_ostream OF(FD, true, /*unbuffered=*/true); in TEST_F()
|
/external/clang/lib/Frontend/Rewrite/ |
D | FixItRewriter.cpp | 96 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/ |
D | Statistic.h | 35 class raw_fd_ostream; variable 176 std::unique_ptr<raw_fd_ostream> CreateInfoOutputFile();
|
/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/clang/lib/Frontend/ |
D | HeaderIncludeGen.cpp | 87 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/ProfileData/ |
D | InstrProfWriter.cpp | 171 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()
|
D | SampleProfWriter.cpp | 203 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/ |
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()
|
/external/llvm/tools/llvm-profdata/ |
D | llvm-profdata.cpp | 118 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/ |
D | DOTGraphTraitsPass.h | 103 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/ |
D | gold-plugin.cpp | 597 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/ |
D | MCContext.h | 116 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/ |
D | TestingSupport.cpp | 83 raw_fd_ostream OS(FD, true); in convertForTestingMain()
|
/external/clang/tools/driver/ |
D | cc1as_main.cpp | 259 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()
|