Home
last modified time | relevance | path

Searched refs:mode_flags (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/libc/src/fcntl/linux/
H A Dopen.cpp22 mode_t mode_flags = 0; variable
28 mode_flags = va_arg(varargs, mode_t);
33 int fd = __llvm_libc::syscall(SYS_open, path, flags, mode_flags);
35 int fd = __llvm_libc::syscall(SYS_openat, AT_FDCWD, path, flags, mode_flags);
H A Dcreat.cpp20 LLVM_LIBC_FUNCTION(int, creat, (const char *path, int mode_flags)) {
23 mode_flags);
26 O_CREAT | O_WRONLY | O_TRUNC, mode_flags);
H A Dopenat.cpp22 mode_t mode_flags = 0; variable
28 mode_flags = va_arg(varargs, mode_t);
32 int fd = __llvm_libc::syscall(SYS_openat, dfd, path, flags, mode_flags);
/llvm-project-15.0.7/libc/src/stdio/
H A Dfopencookie.cpp66 auto modeflags = File::mode_flags(mode);
/llvm-project-15.0.7/libc/src/__support/File/
H A Dlinux_file.cpp117 auto modeflags = File::mode_flags(mode); in openfile()
H A Dfile.h224 static ModeFlags mode_flags(const char *mode);
H A Dfile.cpp298 File::ModeFlags File::mode_flags(const char *mode) { in mode_flags() function in __llvm_libc::File
/llvm-project-15.0.7/libc/test/src/__support/File/
H A Dfile_test.cpp111 f->init(buffer, buflen, bufmode, owned, __llvm_libc::File::mode_flags(mode)); in new_string_file()