/external/python/cpython3/Modules/ |
D | _stat.c | 31 typedef unsigned short mode_t; typedef 247 static mode_t 251 mode_t mode; in _PyLong_AsMode_t() 255 return (mode_t)-1; in _PyLong_AsMode_t() 257 mode = (mode_t)value; in _PyLong_AsMode_t() 260 return (mode_t)-1; in _PyLong_AsMode_t() 270 mode_t mode = _PyLong_AsMode_t(omode); \ 271 if ((mode == (mode_t)-1) && PyErr_Occurred()) \ 324 mode_t mode = _PyLong_AsMode_t(omode); in stat_S_IMODE() 325 if ((mode == (mode_t)-1) && PyErr_Occurred()) in stat_S_IMODE() [all …]
|
/external/libchrome/base/test/ |
D | test_file_util_posix.cc | 27 bool DenyFilePermission(const FilePath& path, mode_t permission) { in DenyFilePermission() 48 *length = sizeof(mode_t); in GetPermissionInfo() 49 mode_t* mode = new mode_t; in GetPermissionInfo() 64 DCHECK_EQ(sizeof(mode_t), length); in RestorePermissionInfo() 65 mode_t* mode = reinterpret_cast<mode_t*>(info); in RestorePermissionInfo()
|
/external/strace/linux/ |
D | asm_stat.h | 8 # undef mode_t 19 # define mode_t __kernel_mode_t macro 32 # undef mode_t 43 # define mode_t mode_t macro
|
/external/ltp/testcases/kernel/syscalls/nftw/ |
D | tools64.c | 48 chmod("./tmp/data/d333", (mode_t) S_IRWXU | S_IRWXG | S_IRWXO); in cleanup_function() 49 chmod("./tmp/data/d666", (mode_t) S_IRWXU | S_IRWXG | S_IRWXO); in cleanup_function() 50 chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IRWXU | S_IRWXG | in cleanup_function() 121 if (chmod("./tmp/data/d333", (mode_t) S_IWUSR | S_IXUSR | S_IWGRP | in setup_path() 129 if (chmod("./tmp/data/d666", (mode_t) S_IRUSR | S_IWUSR | S_IRGRP | in setup_path() 137 if (chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IWUSR | S_IXUSR | in setup_path()
|
D | tools.c | 49 chmod("./tmp/data/d333", (mode_t) S_IRWXU | S_IRWXG | S_IRWXO); in cleanup_function() 50 chmod("./tmp/data/d666", (mode_t) S_IRWXU | S_IRWXG | S_IRWXO); in cleanup_function() 51 chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IRWXU | S_IRWXG | in cleanup_function() 122 if (chmod("./tmp/data/d333", (mode_t) S_IWUSR | S_IXUSR | S_IWGRP | in setup_path() 130 if (chmod("./tmp/data/d666", (mode_t) S_IRUSR | S_IWUSR | S_IRGRP | in setup_path() 138 if (chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IWUSR | S_IXUSR | in setup_path()
|
/external/autotest/client/deps/fakegudev/src/ |
D | fakesyscalls.c | 196 mode_t mode = S_IRUSR; /* Make compiler happy. Remain restrictive. */ in open() 212 mode = va_arg (ap, mode_t); in open() 227 creat (const char *pathname, mode_t mode) in creat() 229 static int(*realfunc)(const char *, mode_t); in creat() 243 realfunc = (int(*)(const char *, mode_t))dlsym (RTLD_NEXT, k_func_creat); in creat()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod05.c | 104 #define MODE_RWX (mode_t)(S_IRWXU | S_IRWXG | S_IRWXO) 105 #define DIR_MODE (mode_t)(S_ISVTX | S_ISGID | S_IFDIR) 106 #define PERMS (mode_t)(MODE_RWX | DIR_MODE) 119 mode_t dir_mode; /* mode permissions set on test directory */ in main()
|
/external/ltp/include/ |
D | safe_macros_fn.h | 37 void (*cleanup_fn)(void), const char *pathname, mode_t mode); 55 void (*cleanup_fn)(void), const char *pathname, mode_t mode); 128 const char *path, mode_t mode); 131 int fd, mode_t mode); 152 void (*cleanup_fn)(void), const char *pathname, mode_t mode);
|
D | tst_safe_posix_ipc.h | 38 mode_t mode; in safe_mq_open() 47 mode = va_arg(ap, mode_t); in safe_mq_open()
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | stat.h | 23 mode_t st_mode; 58 mode_t st_mode; 99 mode_t st_mode;
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown03.c | 45 #define FILE_MODE (mode_t)(S_IFREG | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) 46 #define NEW_PERMS (mode_t)(S_IFREG | S_IRWXU | S_IRWXG | S_ISUID | S_ISGID) 47 #define FCHOWN_PERMS (mode_t)(NEW_PERMS & ~(S_ISUID | S_ISGID))
|
/external/strace/tests/ |
D | umask.c | 5 test_umask(const mode_t mode) in test_umask() 7 mode_t rc = umask(0xffff0000 | mode); in test_umask()
|
/external/strace/tests-m32/ |
D | umask.c | 5 test_umask(const mode_t mode) in test_umask() 7 mode_t rc = umask(0xffff0000 | mode); in test_umask()
|
/external/strace/tests-mx32/ |
D | umask.c | 5 test_umask(const mode_t mode) in test_umask() 7 mode_t rc = umask(0xffff0000 | mode); in test_umask()
|
/external/e2fsprogs/contrib/android/ |
D | basefs_allocator.h | 12 const char *name, ext2_ino_t parent_ino, ext2_ino_t root, mode_t mode); 14 const char *name, ext2_ino_t parent_ino, ext2_ino_t root, mode_t mode);
|
/external/python/cpython2/Modules/ |
D | sgimodule.c | 23 extern char *_getpty(int *, int, mode_t, int); 36 name = _getpty(&fildes, oflag, (mode_t)mode, nofork); in sgi__getpty()
|
/external/kmod/testsuite/ |
D | path.c | 150 mode_t mode; \ 154 mode = va_arg(ap, mode_t); \ 186 WRAP_2ARGS(int, -1, mkdir, mode_t);
|
/external/toybox/lib/ |
D | portability.h | 100 int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags); 116 int mkdirat(int fd, const char *path, mode_t mode); 118 int mknodat(int fd, const char *path, mode_t mode, dev_t dev);
|
D | lib.h | 192 int mkpathat(int atfd, char *dir, mode_t lastmode, int flags); 221 int wfchmodat(int rc, char *name, mode_t mode); 330 mode_t string_to_mode(char *mode_str, mode_t base); 331 void mode_to_string(mode_t mode, char *buf);
|
/external/selinux/libselinux/include/selinux/ |
D | selinux.h | 388 extern security_class_t mode_to_security_class(mode_t mode); 464 mode_t mode, char ** con); 469 mode_t mode, char ** con); 661 extern int selinux_file_context_verify(const char *path, mode_t mode);
|
/external/e2fsprogs/misc/ |
D | create_inode.h | 30 mode_t mode); 33 ext2_ino_t parent_ino, ext2_ino_t root, mode_t mode);
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_linux.cc | 36 #define mode_t __kernel_mode_t macro 44 #undef mode_t
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open14.c | 177 const mode_t test_perms[] = { 0, 07777, 001, 0755, 0644, 0440 }; in test03() 182 mode_t mask = umask(0), perm; in test03() 207 mode_t exp_mode = perm & ~mask; in test03()
|
/external/ltp/testcases/kernel/syscalls/openat/ |
D | openat03.c | 188 const mode_t test_perms[] = { 0, 07777, 001, 0755, 0644, 0440 }; in test03() 193 mode_t mask = umask(0), perm; in test03() 218 mode_t exp_mode = perm & ~mask; in test03()
|
/external/selinux/libselinux/src/ |
D | label_file.h | 49 mode_t mode; /* mode format value */ 96 static inline mode_t string_to_mode(char *mode) in string_to_mode() 492 mode_t mode = string_to_mode(type); in process_line() 494 if (mode == (mode_t)-1) { in process_line()
|