Home
last modified time | relevance | path

Searched refs:OpenMode (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/libc/src/__support/File/linux/
H A Dfile.cpp73 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 Dstderr.cpp18 File::ModeFlags(File::OpenMode::APPEND));
H A Dstdout.cpp19 File::ModeFlags(File::OpenMode::APPEND));
H A Dstdin.cpp19 File::ModeFlags(File::OpenMode::READ));
/freebsd/contrib/llvm-project/libc/src/__support/File/
H A Dfile.h61 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 Dfile.cpp446 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 Dprutils.c610 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 Dpreprocess.h391 char *OpenMode,
398 char *OpenMode,
/freebsd/sys/contrib/edk2/Include/Protocol/
H A DSimpleFileSystem.h119 IN UINT64 OpenMode,
432 IN UINT64 OpenMode,
/freebsd/contrib/sqlite3/
H A Dsqlite3.c185803 struct OpenMode {
185812 static struct OpenMode aCacheMode[] = {
185824 static struct OpenMode aOpenMode[] = {