Home
last modified time | relevance | path

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

/bionic/libc/include/sys/
Dstat.h43 mode_t st_mode; \
64 mode_t st_mode; \
83 mode_t st_mode; \
150 int chmod(const char*, mode_t);
151 int fchmod(int, mode_t);
152 int mkdir(const char*, mode_t);
163 int mknod(const char*, mode_t, dev_t);
164 mode_t umask(mode_t) __overloadable __RENAME_CLANG(umask);
166 mode_t __umask_chk(mode_t) __INTRODUCED_IN(18);
179 mode_t umask(mode_t mode) __overloadable
[all …]
Dtypes.h64 typedef __mode_t mode_t; typedef
/bionic/libc/bionic/
Dopen.cpp46 int creat(const char* pathname, mode_t mode) { in creat()
52 mode_t mode = 0; in open()
57 mode = static_cast<mode_t>(va_arg(args, int)); in open()
74 mode_t mode = 0; in openat()
79 mode = static_cast<mode_t>(va_arg(args, int)); in openat()
Dmkfifo.cpp33 int mkfifo(const char* path, mode_t mode) { in mkfifo()
37 int mkfifoat(int fd, const char* path, mode_t mode) { in mkfifoat()
Dfchmodat.cpp37 extern "C" int ___fchmodat(int, const char*, mode_t);
39 int fchmodat(int dirfd, const char* pathname, mode_t mode, int flags) { in fchmodat()
Dfchmod.cpp36 extern "C" int ___fchmod(int, mode_t);
38 int fchmod(int fd, mode_t mode) { in fchmod()
Dchmod.cpp33 int chmod(const char* path, mode_t mode) { in chmod()
Dmkdir.cpp33 int mkdir(const char* path, mode_t mode) { in mkdir()
Dmknod.cpp34 int mknod(const char* path, mode_t mode, dev_t dev) { in mknod()
Dfortify.cpp407 mode_t __umask_chk(mode_t mode) { in __umask_chk()
/bionic/libc/kernel/uapi/asm-mips/asm/
Dstat.h30 mode_t st_mode;
57 mode_t st_mode;
86 mode_t st_mode;
/bionic/libc/include/
Dfcntl.h68 int creat(const char*, mode_t);
69 int creat64(const char*, mode_t) __INTRODUCED_IN(21);
113 int open(const char* pathname, int flags, mode_t modes, ...) __overloadable
134 int open(const char* const __pass_object_size pathname, int flags, mode_t modes) in open()
145 int openat(int dirfd, const char* pathname, int flags, mode_t modes, ...)
157 mode_t modes) __overloadable { in openat()
/bionic/libc/include/android/
Dlegacy_sys_stat_inlines.h39 static __inline int mkfifo(const char *__p, mode_t __m) { in mkfifo()
/bionic/tests/
Dsys_stat_test.cpp141 static void AssertFileModeEquals(mode_t expected_mode, const char* filename) { in AssertFileModeEquals()
144 mode_t mask = S_IRWXU | S_IRWXG | S_IRWXO; in AssertFileModeEquals()
145 ASSERT_EQ(expected_mode & mask, static_cast<mode_t>(sb.st_mode) & mask); in AssertFileModeEquals()
198 static void AssertSymlinkModeEquals(mode_t expected_mode, const char* linkname) { in AssertSymlinkModeEquals()
201 mode_t mask = S_IRWXU | S_IRWXG | S_IRWXO; in AssertSymlinkModeEquals()
202 ASSERT_EQ(expected_mode & mask, static_cast<mode_t>(sb.st_mode) & mask); in AssertSymlinkModeEquals()
Dfortify_test.cpp616 mode_t mask = atoi("1023"); // 01777 in octal in TEST_F()
/bionic/libc/arch-mips64/bionic/
Dstat.cpp38 mode_t st_mode;
59 st->st_mode = static_cast<mode_t>(s->st_mode); in copy_stat()
/bionic/libc/
DSYSCALLS.TXT125 int ___fchmod:fchmod(int, mode_t) all
141 int __openat:openat(int, const char*, int, mode_t) all
143 int ___fchmodat:fchmodat(int, const char*, mode_t) all
148 int mkdirat(int, const char*, mode_t) all
149 int mknodat(int, const char*, mode_t, dev_t) all
294 mode_t umask(mode_t) all
DSECCOMP_WHITELIST.TXT84 int creat:creat(const char *pathname, mode_t mode) arm,x86,mips
126 int mkdir(const char *pathname, mode_t mode) arm,x86,mips