Home
last modified time | relevance | path

Searched refs:open_options (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/lldb/source/API/
DSBStream.cpp93 auto open_options = File::eOpenOptionWrite | File::eOpenOptionCanCreate; in RedirectToFile() local
95 open_options |= File::eOpenOptionAppend; in RedirectToFile()
97 open_options |= File::eOpenOptionTruncate; in RedirectToFile()
100 FileSystem::Instance().Open(FileSpec(path), open_options); in RedirectToFile()
/external/llvm-project/lldb/source/Host/common/
DFile.cpp733 mode_t File::ConvertOpenOptionsForPOSIXOpen(OpenOptions open_options) { in ConvertOpenOptionsForPOSIXOpen() argument
735 if (open_options & eOpenOptionRead && open_options & eOpenOptionWrite) in ConvertOpenOptionsForPOSIXOpen()
737 else if (open_options & eOpenOptionWrite) in ConvertOpenOptionsForPOSIXOpen()
740 if (open_options & eOpenOptionAppend) in ConvertOpenOptionsForPOSIXOpen()
743 if (open_options & eOpenOptionTruncate) in ConvertOpenOptionsForPOSIXOpen()
746 if (open_options & eOpenOptionNonBlocking) in ConvertOpenOptionsForPOSIXOpen()
749 if (open_options & eOpenOptionCanCreateNewOnly) in ConvertOpenOptionsForPOSIXOpen()
751 else if (open_options & eOpenOptionCanCreate) in ConvertOpenOptionsForPOSIXOpen()
/external/rust/crates/tokio/src/fs/
Dmod.rs48 mod open_options; module
49 pub use self::open_options::OpenOptions;
/external/crosvm/disk/src/
Dcomposite.rs134 let mut open_options = OpenOptions::new(); in from_file() localVariable
135 open_options.read(true); in from_file()
140 open_options.write( in from_file()
143 let file = open_options in from_file()
/external/llvm-project/lldb/include/lldb/Host/
DFile.h62 static mode_t ConvertOpenOptionsForPOSIXOpen(OpenOptions open_options);
/external/llvm-project/lldb/source/Commands/
DCommandObjectMemory.cpp770 auto open_options = File::eOpenOptionWrite | File::eOpenOptionCanCreate; in DoExecute() local
773 open_options |= File::eOpenOptionAppend; in DoExecute()
775 auto outfile = FileSystem::Instance().Open(outfile_spec, open_options); in DoExecute()