Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFileSystem.h761 enum OpenFlags : unsigned { enum
917 inline OpenFlags operator|(OpenFlags A, OpenFlags B) {
918 return OpenFlags(unsigned(A) | unsigned(B));
921 inline OpenFlags &operator|=(OpenFlags &A, OpenFlags B) {
953 OpenFlags Flags, unsigned Mode = 0666);
970 FileAccess Access, OpenFlags Flags,
1034 OpenFlags Flags = OF_None, unsigned Mode = 0666) {
1053 OpenFlags Flags,
1075 OpenFlags Flags,
1095 OpenFlags Flags,
[all …]
DToolOutputFile.h48 sys::fs::OpenFlags Flags);
Draw_ostream.h37 enum OpenFlags : unsigned;
445 sys::fs::OpenFlags Flags);
448 sys::fs::OpenFlags Flags);
/external/llvm-project/llvm/include/llvm/Support/
DFileSystem.h741 enum OpenFlags : unsigned { enum
897 inline OpenFlags operator|(OpenFlags A, OpenFlags B) {
898 return OpenFlags(unsigned(A) | unsigned(B));
901 inline OpenFlags &operator|=(OpenFlags &A, OpenFlags B) {
933 OpenFlags Flags, unsigned Mode = 0666);
950 FileAccess Access, OpenFlags Flags,
1014 OpenFlags Flags = OF_None, unsigned Mode = 0666) {
1033 OpenFlags Flags,
1055 OpenFlags Flags,
1075 OpenFlags Flags,
[all …]
DToolOutputFile.h53 sys::fs::OpenFlags Flags);
Draw_ostream.h40 enum OpenFlags : unsigned;
480 sys::fs::OpenFlags Flags);
483 sys::fs::OpenFlags Flags);
/external/rust/crates/rusqlite/src/
Dlib.rs347 let flags = OpenFlags::default(); in open()
357 let flags = OpenFlags::default(); in open_in_memory()
370 pub fn open_with_flags<P: AsRef<Path>>(path: P, flags: OpenFlags) -> Result<Connection> { in open_with_flags()
391 flags: OpenFlags, in open_with_flags_and_vfs() argument
411 pub fn open_in_memory_with_flags(flags: OpenFlags) -> Result<Connection> { in open_in_memory_with_flags()
425 pub fn open_in_memory_with_flags_and_vfs(flags: OpenFlags, vfs: &str) -> Result<Connection> { in open_in_memory_with_flags_and_vfs() argument
817 pub struct OpenFlags: ::std::os::raw::c_int {
844 impl Default for OpenFlags { implementation
845 fn default() -> OpenFlags { in default()
846 OpenFlags::SQLITE_OPEN_READ_WRITE in default()
[all …]
Dinner_connection.rs12 use super::{Connection, InterruptHandle, OpenFlags, Result};
55 flags: OpenFlags, in open_with_flags() argument
64 debug_assert_eq!(1 << OpenFlags::SQLITE_OPEN_READ_ONLY.bits, 0x02); in open_with_flags()
65 debug_assert_eq!(1 << OpenFlags::SQLITE_OPEN_READ_WRITE.bits, 0x04); in open_with_flags()
67 1 << (OpenFlags::SQLITE_OPEN_READ_WRITE | OpenFlags::SQLITE_OPEN_CREATE).bits, in open_with_flags()
Dunlock_notify.rs103 use crate::{Connection, OpenFlags, Result, Transaction, TransactionBehavior, NO_PARAMS};
111 let flags = OpenFlags::SQLITE_OPEN_READ_WRITE | OpenFlags::SQLITE_OPEN_URI; in test_unlock_notify()
/external/llvm-project/llvm/lib/Support/
DCodeGenCoverage.cpp91 sys::fs::OpenFlags OpenFlags = sys::fs::OF_Append; in emit() local
93 std::make_unique<ToolOutputFile>(CoverageFilename, EC, OpenFlags); in emit()
DToolOutputFile.cpp41 sys::fs::OpenFlags Flags) in ToolOutputFile()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCodeGenCoverage.cpp104 sys::fs::OpenFlags OpenFlags = sys::fs::OF_Append; in emit() local
106 std::make_unique<ToolOutputFile>(CoverageFilename, EC, OpenFlags); in emit()
DToolOutputFile.cpp37 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);
/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);
/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/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/llvm/lib/Support/
DToolOutputFile.cpp38 sys::fs::OpenFlags Flags) in tool_output_file()
/external/llvm-project/llvm/tools/llc/
Dllc.cpp249 sys::fs::OpenFlags OpenFlags = sys::fs::OF_None; in GetOutputStream() local
251 OpenFlags |= sys::fs::OF_Text; in GetOutputStream()
252 auto FDOut = std::make_unique<ToolOutputFile>(OutputFilename, EC, OpenFlags); in GetOutputStream()
/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/llvm-project/lldb/source/API/
DSBReproducerPrivate.h44 m_ec, llvm::sys::fs::OpenFlags::OF_None), in SBProvider()
/external/llvm-project/llvm/tools/llvm-lto/
Dllvm-lto.cpp457 sys::fs::OpenFlags::OF_None); in createCombinedModuleSummaryIndex()
547 raw_fd_ostream OS(Filename, EC, sys::fs::OpenFlags::OF_None); in writeModuleToFile()
618 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::OF_None); in thinLink()
656 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in distributedIndexes()
839 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in codegen()
885 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in runAll()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOBackend.cpp63 OutputFileName + "resolution.txt", EC, sys::fs::OpenFlags::OF_Text); in addSaveTemps()
88 raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::OF_None); in addSaveTemps()
110 raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::OF_None); in addSaveTemps()
118 raw_fd_ostream OSDot(Path, EC, sys::fs::OpenFlags::OF_None); in addSaveTemps()
/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) {

123