Searched refs:OpenMode (Results 1 – 10 of 10) sorted by relevance
| /freebsd/contrib/llvm-project/libc/src/__support/File/linux/ |
| H A D | file.cpp | 73 if (modeflags & ModeFlags(File::OpenMode::APPEND)) { in openfile() 75 if (modeflags & ModeFlags(File::OpenMode::PLUS)) in openfile() 79 } else if (modeflags & ModeFlags(File::OpenMode::WRITE)) { in openfile() 81 if (modeflags & ModeFlags(File::OpenMode::PLUS)) in openfile() 86 if (modeflags & ModeFlags(File::OpenMode::PLUS)) in openfile() 137 using OpenMode = File::OpenMode; in create_file_from_fd() typedef 139 !(modeflags & static_cast<ModeFlags>(OpenMode::READ))) || in create_file_from_fd() 141 !(modeflags & static_cast<ModeFlags>(OpenMode::WRITE)))) { in create_file_from_fd() 146 if ((modeflags & static_cast<ModeFlags>(OpenMode::APPEND)) && in create_file_from_fd()
|
| H A D | stderr.cpp | 18 File::ModeFlags(File::OpenMode::APPEND));
|
| H A D | stdout.cpp | 19 File::ModeFlags(File::OpenMode::APPEND));
|
| H A D | stdin.cpp | 19 File::ModeFlags(File::OpenMode::READ));
|
| /freebsd/contrib/llvm-project/libc/src/__support/File/ |
| H A D | file.h | 61 enum class OpenMode : ModeFlags { enum 138 return mode & (static_cast<ModeFlags>(OpenMode::WRITE) | in write_allowed() 139 static_cast<ModeFlags>(OpenMode::APPEND) | in write_allowed() 140 static_cast<ModeFlags>(OpenMode::PLUS)); in write_allowed() 144 return mode & (static_cast<ModeFlags>(OpenMode::READ) | in read_allowed() 145 static_cast<ModeFlags>(OpenMode::PLUS)); in read_allowed()
|
| H A D | file.cpp | 446 flags |= static_cast<ModeFlags>(OpenMode::READ); in mode_flags() 450 flags |= static_cast<ModeFlags>(OpenMode::WRITE); in mode_flags() 454 flags |= static_cast<ModeFlags>(OpenMode::PLUS); in mode_flags() 460 flags |= static_cast<ModeFlags>(OpenMode::APPEND); in mode_flags()
|
| /freebsd/sys/contrib/dev/acpica/compiler/ |
| H A D | prutils.c | 610 char *OpenMode, in PrOpenIncludeFile() argument 629 "", Filename, OpenMode, FullPathname); in PrOpenIncludeFile() 646 AslGbl_DirectoryPath, Filename, OpenMode, FullPathname); in PrOpenIncludeFile() 660 NextDir->Dir, Filename, OpenMode, FullPathname); in PrOpenIncludeFile() 696 char *OpenMode, in PrOpenIncludeWithPrefix() argument 713 IncludeFile = fopen (Pathname, OpenMode); in PrOpenIncludeWithPrefix()
|
| H A D | preprocess.h | 391 char *OpenMode, 398 char *OpenMode,
|
| /freebsd/sys/contrib/edk2/Include/Protocol/ |
| H A D | SimpleFileSystem.h | 119 IN UINT64 OpenMode, 432 IN UINT64 OpenMode,
|
| /freebsd/contrib/sqlite3/ |
| H A D | sqlite3.c | 185803 struct OpenMode { 185812 static struct OpenMode aCacheMode[] = { 185824 static struct OpenMode aOpenMode[] = {
|