Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Support/
Draw_ostream.cpp513 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 …]
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/swiftshader/third_party/llvm-subzero/lib/Support/
Draw_ostream.cpp487 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream
489 : raw_fd_ostream(getFD(Filename, EC, Flags), true) {} in raw_fd_ostream()
493 raw_fd_ostream::raw_fd_ostream(int fd, bool shouldClose, bool unbuffered) in raw_fd_ostream() function in raw_fd_ostream
517 raw_fd_ostream::~raw_fd_ostream() { in ~raw_fd_ostream()
540 void raw_fd_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl()
589 void raw_fd_ostream::close() { in close()
598 uint64_t raw_fd_ostream::seek(uint64_t off) { in seek()
613 void raw_fd_ostream::pwrite_impl(const char *Ptr, size_t Size, in pwrite_impl()
621 size_t raw_fd_ostream::preferred_buffer_size() const { in preferred_buffer_size()
641 raw_ostream &raw_fd_ostream::changeColor(enum Colors colors, bool bold, in changeColor()
[all …]
DTimer.cpp53 std::unique_ptr<raw_fd_ostream> llvm::CreateInfoOutputFile() { in CreateInfoOutputFile()
56 return llvm::make_unique<raw_fd_ostream>(2, false); // stderr. in CreateInfoOutputFile()
58 return llvm::make_unique<raw_fd_ostream>(1, false); // stdout. in CreateInfoOutputFile()
65 auto Result = llvm::make_unique<raw_fd_ostream>( in CreateInfoOutputFile()
72 return llvm::make_unique<raw_fd_ostream>(2, false); // stderr. in CreateInfoOutputFile()
/external/swiftshader/third_party/LLVM/lib/Support/
Draw_ostream.cpp419 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 …]
DTimer.cpp60 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/
DBitWriter.cpp20 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/
DInstrProfWriter.h51 void write(raw_fd_ostream &OS);
53 void writeText(raw_fd_ostream &OS);
56 InstrProfSymtab &Symtab, raw_fd_ostream &OS);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DToolOutputFile.h44 raw_fd_ostream OS;
53 raw_fd_ostream &os() { return OS; } in os()
Draw_ostream.h296 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/lib/Object/
DArchiveWriter.cpp95 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/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);
/external/llvm/tools/gold/
Dgold-plugin.cpp122 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/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/ProfileData/
DInstrProfWriter.cpp37 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/
Draw_pwrite_stream_test.cpp39 raw_fd_ostream OS(FD, true); in TEST()
57 raw_fd_ostream OS(FD, true); in TEST()
/external/swiftshader/third_party/subzero/src/
DIceBrowserCompileServer.h28 class raw_fd_ostream; variable
102 std::unique_ptr<llvm::raw_fd_ostream> EmitStream;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
DJitManager.cpp262 raw_fd_ostream fd(fName, EC, llvm::sys::fs::F_None); in DumpAsm()
265 raw_fd_ostream filestream(fName, EC, llvm::sys::fs::F_None); in DumpAsm()
302 raw_fd_ostream fd(fName, EC, llvm::sys::fs::F_None); in DumpToFile()
313 raw_fd_ostream fd_cfg(fName, EC, llvm::sys::fs::F_Text); in DumpToFile()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Draw_ostream.h357 class raw_fd_ostream : public raw_pwrite_stream {
395 raw_fd_ostream(StringRef Filename, std::error_code &EC,
400 raw_fd_ostream(int fd, bool shouldClose, bool unbuffered=false);
402 ~raw_fd_ostream() override;
/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/swiftshader/third_party/LLVM/lib/Analysis/
DCFGPrinter.cpp84 raw_fd_ostream File(Filename.c_str(), ErrorInfo); in runOnFunction()
118 raw_fd_ostream File(Filename.c_str(), ErrorInfo); in runOnFunction()
/external/llvm/include/llvm/ADT/
DStatistic.h36 class raw_fd_ostream; variable
158 std::unique_ptr<raw_fd_ostream> CreateInfoOutputFile();
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStatistic.h37 class raw_fd_ostream; variable
160 std::unique_ptr<raw_fd_ostream> CreateInfoOutputFile();

12345