Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/API/
H A DSBStream.cpp93 auto open_options = File::eOpenOptionWriteOnly | 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()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DFile.cpp738 mode_t File::ConvertOpenOptionsForPOSIXOpen(OpenOptions open_options) { in ConvertOpenOptionsForPOSIXOpen() argument
741 open_options & (File::eOpenOptionReadOnly | File::eOpenOptionWriteOnly | in ConvertOpenOptionsForPOSIXOpen()
750 if (open_options & eOpenOptionAppend) in ConvertOpenOptionsForPOSIXOpen()
753 if (open_options & eOpenOptionTruncate) in ConvertOpenOptionsForPOSIXOpen()
756 if (open_options & eOpenOptionNonBlocking) in ConvertOpenOptionsForPOSIXOpen()
759 if (open_options & eOpenOptionCanCreateNewOnly) in ConvertOpenOptionsForPOSIXOpen()
761 else if (open_options & eOpenOptionCanCreate) in ConvertOpenOptionsForPOSIXOpen()
/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DFile.h68 static mode_t ConvertOpenOptionsForPOSIXOpen(OpenOptions open_options);
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectMemory.cpp770 File::OpenOptions open_options = in DoExecute() local
773 open_options |= in DoExecute()
776 auto outfile = FileSystem::Instance().Open(outfile_spec, open_options); in DoExecute()