Home
last modified time | relevance | path

Searched refs:mode_t (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/android/
H A Dcloexec-creat.cpp3 typedef int mode_t; typedef
5 extern "C" int creat(const char *path, mode_t, ...);
6 extern "C" int create(const char *path, mode_t, ...);
14 mode_t mode = 0755; in f()
21 int creat(const char *path, mode_t, ...);
30 int creat(const char *path, mode_t, ...);
/llvm-project-15.0.7/clang/test/Analysis/
H A Dstd-c-library-functions-POSIX.c138 typedef unsigned mode_t; typedef
139 int creat(const char *pathname, mode_t mode);
156 int mkdir(const char *pathname, mode_t mode);
157 int mkdirat(int dirfd, const char *pathname, mode_t mode);
159 int mknod(const char *pathname, mode_t mode, dev_t dev);
160 int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev);
161 int chmod(const char *path, mode_t mode);
162 int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags);
163 int fchmod(int fildes, mode_t mode);
/llvm-project-15.0.7/libc/src/fcntl/linux/
H A Dopenat.cpp22 mode_t mode_flags = 0;
28 mode_flags = va_arg(varargs, mode_t);
H A Dopen.cpp22 mode_t mode_flags = 0;
28 mode_flags = va_arg(varargs, mode_t);
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_linux.cpp35 # define mode_t __kernel_mode_t macro
44 # undef mode_t
H A Dsanitizer_platform_limits_netbsd.cpp378 mode_t ioc_mode;
379 mode_t ioc_rights;
397 mode_t ioc_mode;
398 mode_t ioc_rights;
/llvm-project-15.0.7/libc/include/llvm-libc-types/
H A DCMakeLists.txt22 add_header(mode_t HDR mode_t.h)
H A Dmode_t.h12 typedef unsigned mode_t; typedef
/llvm-project-15.0.7/libc/src/sys/stat/
H A Dmkdir.h16 int mkdir(const char *path, mode_t mode);
H A Dmkdirat.h16 int mkdirat(int dfd, const char *path, mode_t mode);
/llvm-project-15.0.7/libc/src/sys/stat/linux/
H A Dmkdirat.cpp20 LLVM_LIBC_FUNCTION(int, mkdirat, (int dfd, const char *path, mode_t mode)) {
H A Dmkdir.cpp21 LLVM_LIBC_FUNCTION(int, mkdir, (const char *path, mode_t mode)) {
/llvm-project-15.0.7/clang/test/Sema/
H A Denable_if.c5 typedef int mode_t; typedef
11 int open(const char *pathname, int flags, mode_t mode) __attribute__((overloadable)); // expected-…
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Ddevname_r.cpp14 mode_t type; in main()
/llvm-project-15.0.7/lldb/include/lldb/Host/windows/
H A DPosixApi.h74 typedef unsigned short mode_t; typedef
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_dispatch_defs.h70 typedef __sanitizer::u16 mode_t; typedef
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_dispatch_defs.h70 typedef __sanitizer::u16 mode_t; typedef
/llvm-project-15.0.7/libc/include/
H A DCMakeLists.txt36 .llvm-libc-types.mode_t
204 .llvm-libc-types.mode_t
/llvm-project-15.0.7/lldb/source/Host/common/
H A DFileSystem.cpp427 static mode_t GetOpenMode(uint32_t permissions) { in GetOpenMode()
428 mode_t mode = 0; in GetOpenMode()
454 const mode_t open_mode = in Open()
H A DFile.cpp738 mode_t File::ConvertOpenOptionsForPOSIXOpen(OpenOptions open_options) { in ConvertOpenOptionsForPOSIXOpen()
739 mode_t mode = 0; in ConvertOpenOptionsForPOSIXOpen()
/llvm-project-15.0.7/libc/config/linux/
H A Dapi.td64 let Types = ["mode_t"];
271 let Types = ["mode_t"];
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectPlatform.cpp31 static mode_t ParsePermissionString(const char *) = delete;
33 static mode_t ParsePermissionString(llvm::StringRef permissions) { in ParsePermissionString()
35 return (mode_t)(-1); in ParsePermissionString()
51 mode_t user, group, world; in ParsePermissionString()
83 mode_t perms = ParsePermissionString(option_arg); in SetOptionValue()
84 if (perms == (mode_t)-1) in SetOptionValue()
496 mode_t perms; in DoExecute()
/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DFile.h68 static mode_t ConvertOpenOptionsForPOSIXOpen(OpenOptions open_options);
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.h355 mode_t mode, Status &error);
/llvm-project-15.0.7/libcxx/src/filesystem/
H A Dposix_compat.h512 using ModeT = ::mode_t;

12