Searched refs:OpenMode (Results 1 – 4 of 4) sorted by relevance
123 if (modeflags & ModeFlags(File::OpenMode::APPEND)) { in openfile()125 if (modeflags & ModeFlags(File::OpenMode::PLUS)) in openfile()129 } else if (modeflags & ModeFlags(File::OpenMode::WRITE)) { in openfile()131 if (modeflags & ModeFlags(File::OpenMode::PLUS)) in openfile()136 if (modeflags & ModeFlags(File::OpenMode::PLUS)) in openfile()170 File::ModeFlags(File::OpenMode::APPEND));175 File::ModeFlags(File::OpenMode::APPEND));
42 enum class OpenMode : ModeFlags { enum115 return mode & (static_cast<ModeFlags>(OpenMode::WRITE) | in write_allowed()116 static_cast<ModeFlags>(OpenMode::APPEND) | in write_allowed()117 static_cast<ModeFlags>(OpenMode::PLUS)); in write_allowed()121 return mode & (static_cast<ModeFlags>(OpenMode::READ) | in read_allowed()122 static_cast<ModeFlags>(OpenMode::PLUS)); in read_allowed()
312 flags |= static_cast<ModeFlags>(OpenMode::READ); in mode_flags()316 flags |= static_cast<ModeFlags>(OpenMode::WRITE); in mode_flags()320 flags |= static_cast<ModeFlags>(OpenMode::PLUS); in mode_flags()326 flags |= static_cast<ModeFlags>(OpenMode::APPEND); in mode_flags()
40 if (modeflags & static_cast<ModeFlags>(__llvm_libc::File::OpenMode::APPEND)) in StringFile()49 if (modeflags & static_cast<ModeFlags>(__llvm_libc::File::OpenMode::APPEND)) in init()