Home
last modified time | relevance | path

Searched refs:OpenFlags (Results 1 – 25 of 46) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DFileSystem.h712 enum OpenFlags : unsigned { enum
847 inline OpenFlags operator|(OpenFlags A, OpenFlags B) {
848 return OpenFlags(unsigned(A) | unsigned(B));
851 inline OpenFlags &operator|=(OpenFlags &A, OpenFlags B) {
883 OpenFlags Flags, unsigned Mode = 0666);
900 FileAccess Access, OpenFlags Flags,
921 OpenFlags Flags = OF_None, unsigned Mode = 0666) {
940 OpenFlags Flags,
962 OpenFlags Flags,
982 OpenFlags Flags,
[all …]
Draw_ostream.h37 enum OpenFlags : unsigned;
408 sys::fs::OpenFlags Flags);
411 sys::fs::OpenFlags Flags);
DToolOutputFile.h49 sys::fs::OpenFlags Flags);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DCodeGenCoverage.cpp105 sys::fs::OpenFlags OpenFlags = sys::fs::F_Append; in emit() local
107 llvm::make_unique<ToolOutputFile>(CoverageFilename, EC, OpenFlags); in emit()
DToolOutputFile.cpp38 sys::fs::OpenFlags Flags) in ToolOutputFile()
/external/llvm/include/llvm/Support/
DFileSystem.h613 enum OpenFlags : unsigned { enum
633 inline OpenFlags operator|(OpenFlags A, OpenFlags B) {
634 return OpenFlags(unsigned(A) | unsigned(B));
637 inline OpenFlags &operator|=(OpenFlags &A, OpenFlags B) {
643 OpenFlags Flags, unsigned Mode = 0666);
DToolOutputFile.h49 sys::fs::OpenFlags Flags);
Draw_ostream.h30 enum OpenFlags : unsigned;
383 sys::fs::OpenFlags Flags);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFileSystem.h624 enum OpenFlags : unsigned { enum
644 inline OpenFlags operator|(OpenFlags A, OpenFlags B) {
645 return OpenFlags(unsigned(A) | unsigned(B));
648 inline OpenFlags &operator|=(OpenFlags &A, OpenFlags B) {
654 OpenFlags Flags, unsigned Mode = 0666);
Draw_ostream.h36 enum OpenFlags : unsigned;
396 sys::fs::OpenFlags Flags);
/external/swiftshader/third_party/LLVM/lib/Support/
Draw_ostream.cpp444 int OpenFlags = O_WRONLY|O_CREAT; in raw_fd_ostream() local
447 OpenFlags |= O_BINARY; in raw_fd_ostream()
451 OpenFlags |= O_APPEND; in raw_fd_ostream()
453 OpenFlags |= O_TRUNC; in raw_fd_ostream()
455 OpenFlags |= O_EXCL; in raw_fd_ostream()
457 while ((FD = open(Filename, OpenFlags, 0664)) < 0) { in raw_fd_ostream()
DMemoryBuffer.cpp219 int OpenFlags = O_RDONLY; in getFile() local
221 OpenFlags |= O_BINARY; // Open input file in binary mode on win32. in getFile()
223 int FD = ::open(Filename, OpenFlags); in getFile()
/external/llvm/tools/llc/
Dllc.cpp200 sys::fs::OpenFlags OpenFlags = sys::fs::F_None; in GetOutputStream() local
202 OpenFlags |= sys::fs::F_Text; in GetOutputStream()
204 OpenFlags); in GetOutputStream()
/external/swiftshader/third_party/LLVM/tools/llc/
Dllc.cpp208 unsigned OpenFlags = 0; in GetOutputStream() local
209 if (Binary) OpenFlags |= raw_fd_ostream::F_Binary; in GetOutputStream()
211 OpenFlags); in GetOutputStream()
/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp303 sys::fs::OpenFlags::F_None); in createCombinedModuleSummaryIndex()
386 raw_fd_ostream OS(Filename, EC, sys::fs::OpenFlags::F_None); in writeModuleToFile()
450 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::F_None); in thinLink()
484 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::F_None); in distributedIndexes()
648 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::F_None); in codegen()
685 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::F_None); in runAll()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llc/
Dllc.cpp230 sys::fs::OpenFlags OpenFlags = sys::fs::F_None; in GetOutputStream() local
232 OpenFlags |= sys::fs::F_Text; in GetOutputStream()
233 auto FDOut = llvm::make_unique<ToolOutputFile>(OutputFilename, EC, OpenFlags); in GetOutputStream()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto/
Dllvm-lto.cpp388 sys::fs::OpenFlags::F_None); in createCombinedModuleSummaryIndex()
469 raw_fd_ostream OS(Filename, EC, sys::fs::OpenFlags::F_None); in writeModuleToFile()
539 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::F_None); in thinLink()
572 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::F_None); in distributedIndexes()
742 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::F_None); in codegen()
788 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::F_None); in runAll()
/external/llvm/lib/Support/Unix/
DPath.inc596 sys::fs::OpenFlags Flags, unsigned Mode) {
601 int OpenFlags = O_CREAT;
604 OpenFlags |= O_RDWR;
606 OpenFlags |= O_WRONLY;
609 OpenFlags |= O_APPEND;
611 OpenFlags |= O_TRUNC;
614 OpenFlags |= O_EXCL;
618 while ((ResultFD = open(P.begin(), OpenFlags, Mode)) < 0) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOBackend.cpp61 OutputFileName + "resolution.txt", EC, sys::fs::OpenFlags::F_Text); in addSaveTemps()
86 raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::F_None); in addSaveTemps()
106 raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::F_None); in addSaveTemps()
114 raw_fd_ostream OSDot(Path, EC, sys::fs::OpenFlags::F_None); in addSaveTemps()
/external/llvm/lib/Support/
DToolOutputFile.cpp38 sys::fs::OpenFlags Flags) in tool_output_file()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DPath.inc612 sys::fs::OpenFlags Flags, unsigned Mode) {
617 int OpenFlags = O_CREAT;
620 OpenFlags |= O_RDWR;
622 OpenFlags |= O_WRONLY;
625 OpenFlags |= O_APPEND;
627 OpenFlags |= O_TRUNC;
630 OpenFlags |= O_EXCL;
634 while ((ResultFD = open(P.begin(), OpenFlags, Mode)) < 0) {
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
Draw_ostream_test.cpp343 { raw_fd_ostream("-", EC, sys::fs::OpenFlags::F_None); } in TEST()
344 { raw_fd_ostream("-", EC, sys::fs::OpenFlags::F_None); } in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cat/
Dllvm-cat.cpp83 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::F_None); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/
Dxray-extract.cpp84 raw_fd_ostream OS(ExtractOutput, EC, sys::fs::OpenFlags::F_Text); in __anone50ca2ab0202()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DPath.inc727 static int nativeOpenFlags(CreationDisposition Disp, OpenFlags Flags,
767 OpenFlags Flags, unsigned Mode) {
768 int OpenFlags = nativeOpenFlags(Disp, Flags, Access);
774 auto Open = [&]() { return ::open(P.begin(), OpenFlags, Mode); };
788 FileAccess Access, OpenFlags Flags,
799 OpenFlags Flags,
836 Expected<file_t> openNativeFileForRead(const Twine &Name, OpenFlags Flags,

12