Searched refs:open_options (Results 1 – 4 of 4) sorted by relevance
93 auto open_options = File::eOpenOptionWrite | File::eOpenOptionCanCreate; in RedirectToFile() local95 open_options |= File::eOpenOptionAppend; in RedirectToFile()97 open_options |= File::eOpenOptionTruncate; in RedirectToFile()100 FileSystem::Instance().Open(FileSpec(path), open_options); in RedirectToFile()
733 mode_t File::ConvertOpenOptionsForPOSIXOpen(OpenOptions open_options) { in ConvertOpenOptionsForPOSIXOpen() argument735 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()
62 static mode_t ConvertOpenOptionsForPOSIXOpen(OpenOptions open_options);
756 File::OpenOptions open_options = in DoExecute() local759 open_options |= in DoExecute()762 auto outfile = FileSystem::Instance().Open(outfile_spec, open_options); in DoExecute()