Searched refs:open_options (Results 1 – 5 of 5) sorted by relevance
69 uint32_t open_options = File::eOpenOptionWrite | File::eOpenOptionCanCreate; in RedirectToFile() local71 open_options |= File::eOpenOptionAppend; in RedirectToFile()73 open_options |= File::eOpenOptionTruncate; in RedirectToFile()76 open_options); in RedirectToFile()
655 mode_t File::ConvertOpenOptionsForPOSIXOpen(uint32_t open_options) { in ConvertOpenOptionsForPOSIXOpen() argument657 if (open_options & eOpenOptionRead && open_options & eOpenOptionWrite) in ConvertOpenOptionsForPOSIXOpen()659 else if (open_options & eOpenOptionWrite) in ConvertOpenOptionsForPOSIXOpen()662 if (open_options & eOpenOptionAppend) in ConvertOpenOptionsForPOSIXOpen()665 if (open_options & eOpenOptionTruncate) in ConvertOpenOptionsForPOSIXOpen()668 if (open_options & eOpenOptionNonBlocking) in ConvertOpenOptionsForPOSIXOpen()671 if (open_options & eOpenOptionCanCreateNewOnly) in ConvertOpenOptionsForPOSIXOpen()673 else if (open_options & eOpenOptionCanCreate) in ConvertOpenOptionsForPOSIXOpen()
72 uint32_t open_options = in DoExecute() local78 open_options |= File::eOpenOptionTruncate; in DoExecute()83 FileSystem::Instance().Open(file, outfile_spec, open_options); in DoExecute()
763 uint32_t open_options = in DoExecute() local767 open_options |= File::eOpenOptionAppend; in DoExecute()770 outfile_spec, open_options); in DoExecute()
53 static mode_t ConvertOpenOptionsForPOSIXOpen(uint32_t open_options);