Searched refs:open_options (Results 1 – 6 of 6) 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()
48 mod open_options; module49 pub use self::open_options::OpenOptions;
134 let mut open_options = OpenOptions::new(); in from_file() localVariable135 open_options.read(true); in from_file()140 open_options.write( in from_file()143 let file = open_options in from_file()
62 static mode_t ConvertOpenOptionsForPOSIXOpen(OpenOptions open_options);
770 auto open_options = File::eOpenOptionWrite | File::eOpenOptionCanCreate; in DoExecute() local773 open_options |= File::eOpenOptionAppend; in DoExecute()775 auto outfile = FileSystem::Instance().Open(outfile_spec, open_options); in DoExecute()