Home
last modified time | relevance | path

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

/bionic/libc/include/sys/
Dstat.h43 mode_t st_mode; \
64 mode_t st_mode; \
83 mode_t st_mode; \
138 extern int chmod(const char*, mode_t);
139 extern int fchmod(int, mode_t);
140 extern int mkdir(const char*, mode_t);
151 extern int mknod(const char*, mode_t, dev_t);
152 extern mode_t umask(mode_t);
154 extern mode_t __umask_chk(mode_t);
155 extern mode_t __umask_real(mode_t) __RENAME(umask);
[all …]
Dtypes.h61 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()
D__umask_chk.cpp45 extern "C" mode_t __umask_chk(mode_t mode) { in __umask_chk()
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()
/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/android/
Dlegacy_sys_stat_inlines.h36 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.cpp602 mode_t mask = atoi("1023"); // 01777 in octal in TEST_F()
/bionic/libc/include/
Dfcntl.h60 extern int creat(const char*, mode_t);
61 extern int creat64(const char*, mode_t);
/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.TXT116 int ___fchmod:fchmod(int, mode_t) all
132 int __openat:openat(int, const char*, int, mode_t) all
134 int ___fchmodat:fchmodat(int, const char*, mode_t) all
139 int mkdirat(int, const char*, mode_t) all
140 int mknodat(int, const char*, mode_t, dev_t) all
283 mode_t umask(mode_t) all