Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A 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()
/freebsd-13.1/contrib/llvm-project/lldb/source/Host/common/
H A 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()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Host/
H A DFile.h62 static mode_t ConvertOpenOptionsForPOSIXOpen(OpenOptions open_options);
/freebsd-13.1/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectMemory.cpp756 File::OpenOptions open_options = in DoExecute() local
759 open_options |= in DoExecute()
762 auto outfile = FileSystem::Instance().Open(outfile_spec, open_options); in DoExecute()