/external/llvm/lib/Support/ |
D | raw_ostream.cpp | 513 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream 515 : raw_fd_ostream(getFD(Filename, EC, Flags), true) {} in raw_fd_ostream() 519 raw_fd_ostream::raw_fd_ostream(int fd, bool shouldClose, bool unbuffered) in raw_fd_ostream() function in raw_fd_ostream 543 raw_fd_ostream::~raw_fd_ostream() { in ~raw_fd_ostream() 567 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() 634 void raw_fd_ostream::pwrite_impl(const char *Ptr, size_t Size, in pwrite_impl() 642 size_t raw_fd_ostream::preferred_buffer_size() const { in preferred_buffer_size() 662 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/swiftshader/third_party/LLVM/lib/Support/ |
D | raw_ostream.cpp | 419 raw_fd_ostream::raw_fd_ostream(const char *Filename, std::string &ErrorInfo, in raw_fd_ostream() function in raw_fd_ostream 471 raw_fd_ostream::raw_fd_ostream(int fd, bool shouldClose, bool unbuffered) in raw_fd_ostream() function in raw_fd_ostream 489 raw_fd_ostream::~raw_fd_ostream() { in ~raw_fd_ostream() 517 void raw_fd_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl() 566 void raw_fd_ostream::close() { in close() 578 uint64_t raw_fd_ostream::seek(uint64_t off) { in seek() 586 size_t raw_fd_ostream::preferred_buffer_size() const { in preferred_buffer_size() 606 raw_ostream &raw_fd_ostream::changeColor(enum Colors colors, bool bold, in changeColor() 622 raw_ostream &raw_fd_ostream::resetColor() { in resetColor() 635 bool raw_fd_ostream::is_displayed() const { in is_displayed() [all …]
|
D | Timer.cpp | 60 return new raw_fd_ostream(2, false); // stderr. in CreateInfoOutputFile() 62 return new raw_fd_ostream(1, false); // stdout. in CreateInfoOutputFile() 69 raw_ostream *Result = new raw_fd_ostream(OutputFilename.c_str(), in CreateInfoOutputFile() 70 Error, raw_fd_ostream::F_Append); in CreateInfoOutputFile() 77 return new raw_fd_ostream(2, false); // stderr. in CreateInfoOutputFile()
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/ |
D | BitWriter.cpp | 20 raw_fd_ostream OS(Path, ErrorInfo, in LLVMWriteBitcodeToFile() 21 raw_fd_ostream::F_Binary); in LLVMWriteBitcodeToFile() 32 raw_fd_ostream OS(FD, ShouldClose, Unbuffered); in LLVMWriteBitcodeToFD()
|
/external/llvm/include/llvm/ProfileData/ |
D | InstrProfWriter.h | 51 void write(raw_fd_ostream &OS); 53 void writeText(raw_fd_ostream &OS); 56 InstrProfSymtab &Symtab, raw_fd_ostream &OS);
|
/external/llvm/lib/Object/ |
D | ArchiveWriter.cpp | 95 static void printWithSpacePadding(raw_fd_ostream &OS, T Data, unsigned Size, in printWithSpacePadding() 118 static void printRestOfMemberHeader(raw_fd_ostream &Out, in printRestOfMemberHeader() 130 static void printGNUSmallMemberHeader(raw_fd_ostream &Out, StringRef Name, in printGNUSmallMemberHeader() 138 static void printBSDMemberHeader(raw_fd_ostream &Out, StringRef Name, in printBSDMemberHeader() 159 printMemberHeader(raw_fd_ostream &Out, object::Archive::Kind Kind, bool Thin, in printMemberHeader() 196 static void writeStringTable(raw_fd_ostream &Out, StringRef ArcName, in writeStringTable() 240 writeSymbolTable(raw_fd_ostream &Out, object::Archive::Kind Kind, in writeSymbolTable() 337 raw_fd_ostream &Out = Output.os(); in writeArchive()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | ToolOutputFile.h | 44 raw_fd_ostream OS; 53 raw_fd_ostream &os() { return OS; } in os()
|
D | raw_ostream.h | 296 class raw_fd_ostream : public raw_ostream { 351 raw_fd_ostream(const char *Filename, std::string &ErrorInfo, 356 raw_fd_ostream(int fd, bool shouldClose, bool unbuffered=false); 358 ~raw_fd_ostream();
|
/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/gold/ |
D | gold-plugin.cpp | 122 std::unique_ptr<raw_fd_ostream> OS; 132 ThinLTOTaskInfo(std::unique_ptr<raw_fd_ostream> OS, std::string Filename, in ThinLTOTaskInfo() 691 StringRef Name, raw_fd_ostream *ApiFile, in getModuleForFile() 832 raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::F_None); in saveBCFile() 862 raw_fd_ostream *OS; 895 CodeGen(std::unique_ptr<llvm::Module> M, raw_fd_ostream *OS, int TaskID, in CodeGen() 1085 std::list<llvm::raw_fd_ostream> OSs; in runSplitCodeGen() 1095 std::list<llvm::raw_fd_ostream> BCOSs; in runSplitCodeGen() 1142 raw_fd_ostream *ApiFile, StringSet<> &Internalize, in linkInModule() 1181 StringRef Name, raw_fd_ostream *ApiFile, in thinLTOBackendTask() [all …]
|
/external/llvm/tools/dsymutil/ |
D | MachOUtils.h | 17 class raw_fd_ostream; variable 33 raw_fd_ostream &OutFile);
|
/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/ProfileData/ |
D | InstrProfWriter.cpp | 37 ProfOStream(llvm::raw_fd_ostream &FD) : IsFDOStream(true), OS(FD), LE(FD) {} in ProfOStream() 49 llvm::raw_fd_ostream &FDOStream = static_cast<llvm::raw_fd_ostream &>(OS); in patch() 276 void InstrProfWriter::write(raw_fd_ostream &OS) { in write() 299 raw_fd_ostream &OS) { in writeRecordInText() 336 void InstrProfWriter::writeText(raw_fd_ostream &OS) { in writeText()
|
/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 | 36 class raw_fd_ostream; variable 158 std::unique_ptr<raw_fd_ostream> CreateInfoOutputFile();
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | CFGPrinter.cpp | 84 raw_fd_ostream File(Filename.c_str(), ErrorInfo); in runOnFunction() 118 raw_fd_ostream File(Filename.c_str(), ErrorInfo); in runOnFunction()
|
/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/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 353 DenseMap<const MDNode *, raw_fd_ostream *> GcnoFiles; in emitGCNO() 362 raw_fd_ostream *&out = GcnoFiles[CU]; in emitGCNO() 364 out = new raw_fd_ostream(mangleName(CU, "gcno").c_str(), ErrorInfo, in emitGCNO() 365 raw_fd_ostream::F_Binary); in emitGCNO() 375 raw_fd_ostream *&os = GcnoFiles[CU]; in emitGCNO() 409 for (DenseMap<const MDNode *, raw_fd_ostream *>::iterator in emitGCNO() 411 raw_fd_ostream *&out = I->second; in emitGCNO()
|
/external/swiftshader/third_party/LLVM/examples/BrainF/ |
D | BrainFDriver.cpp | 111 out = new raw_fd_ostream(OutputFilename.c_str(), ErrInfo, in main() 112 raw_fd_ostream::F_Binary); in main()
|
/external/clang/lib/Frontend/ |
D | HeaderIncludeGen.cpp | 89 llvm::raw_fd_ostream *OS = new llvm::raw_fd_ostream( in AttachHeaderIncludeGen()
|
/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()
|