Home
last modified time | relevance | path

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

12345678910>>...14

/third_party/musl/libc-test/src/api/
Dsys_stat.c12 T(mode_t) in f()
27 F(mode_t, st_mode) in f()
86 {int(*p)(const char*,mode_t) = chmod;} in f()
87 {int(*p)(int,mode_t) = fchmod;} in f()
88 {int(*p)(int,const char*,mode_t,int) = fchmodat;} in f()
93 {int(*p)(const char*,mode_t) = mkdir;} in f()
94 {int(*p)(int,const char*,mode_t) = mkdirat;} in f()
95 {int(*p)(const char*,mode_t) = mkfifo;} in f()
96 {int(*p)(int,const char*,mode_t) = mkfifoat;} in f()
98 {int(*p)(const char*,mode_t,dev_t) = mknod;} in f()
[all …]
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dstat.h77 int chmod(const char *, mode_t);
78 int fchmod(int, mode_t);
79 int fchmodat(int, const char *, mode_t, int);
80 mode_t umask(mode_t);
81 int mkdir(const char *, mode_t);
82 int mkfifo(const char *, mode_t);
83 int mkdirat(int, const char *, mode_t);
84 int mkfifoat(int, const char *, mode_t);
87 int mknod(const char *, mode_t, dev_t);
88 int mknodat(int, const char *, mode_t, dev_t);
[all …]
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dstat.h77 int chmod(const char *, mode_t);
78 int fchmod(int, mode_t);
79 int fchmodat(int, const char *, mode_t, int);
80 mode_t umask(mode_t);
81 int mkdir(const char *, mode_t);
82 int mkfifo(const char *, mode_t);
83 int mkdirat(int, const char *, mode_t);
84 int mkfifoat(int, const char *, mode_t);
87 int mknod(const char *, mode_t, dev_t);
88 int mknodat(int, const char *, mode_t, dev_t);
[all …]
/third_party/musl/include/sys/
Dstat.h77 int chmod(const char *, mode_t);
78 int fchmod(int, mode_t);
79 int fchmodat(int, const char *, mode_t, int);
80 mode_t umask(mode_t);
81 int mkdir(const char *, mode_t);
82 int mkfifo(const char *, mode_t);
83 int mkdirat(int, const char *, mode_t);
84 int mkfifoat(int, const char *, mode_t);
87 int mknod(const char *, mode_t, dev_t);
88 int mknodat(int, const char *, mode_t, dev_t);
[all …]
/third_party/musl/porting/uniproton/kernel/include/sys/
Dstat.h77 int chmod(const char *, mode_t);
78 int fchmod(int, mode_t);
79 int fchmodat(int, const char *, mode_t, int);
80 mode_t umask(mode_t);
81 int mkdir(const char *, mode_t);
82 int mkfifo(const char *, mode_t);
83 int mkdirat(int, const char *, mode_t);
84 int mkfifoat(int, const char *, mode_t);
87 int mknod(const char *, mode_t, dev_t);
88 int mknodat(int, const char *, mode_t, dev_t);
[all …]
/third_party/musl/porting/linux/user/include/sys/
Dstat.h77 int chmod(const char *, mode_t);
78 int fchmod(int, mode_t);
79 int fchmodat(int, const char *, mode_t, int);
80 mode_t umask(mode_t);
81 int mkdir(const char *, mode_t);
82 int mkfifo(const char *, mode_t);
83 int mkdirat(int, const char *, mode_t);
84 int mkfifoat(int, const char *, mode_t);
87 int mknod(const char *, mode_t, dev_t);
88 int mknodat(int, const char *, mode_t, dev_t);
[all …]
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dstat.h77 int chmod(const char *, mode_t);
78 int fchmod(int, mode_t);
79 int fchmodat(int, const char *, mode_t, int);
80 mode_t umask(mode_t);
81 int mkdir(const char *, mode_t);
82 int mkfifo(const char *, mode_t);
83 int mkdirat(int, const char *, mode_t);
84 int mkfifoat(int, const char *, mode_t);
87 int mknod(const char *, mode_t, dev_t);
88 int mknodat(int, const char *, mode_t, dev_t);
[all …]
/third_party/musl/ndk_musl_include/sys/
Dstat.h77 int chmod(const char *, mode_t);
78 int fchmod(int, mode_t);
79 int fchmodat(int, const char *, mode_t, int);
80 mode_t umask(mode_t);
81 int mkdir(const char *, mode_t);
82 int mkfifo(const char *, mode_t);
83 int mkdirat(int, const char *, mode_t);
84 int mkfifoat(int, const char *, mode_t);
87 int mknod(const char *, mode_t, dev_t);
88 int mknodat(int, const char *, mode_t, dev_t);
/third_party/eudev/src/shared/
Dmkdir.h23 int mkdir_parents(const char *path, mode_t mode);
24 int udev_mkdir_p(const char *path, mode_t mode);
27 int mkdir_parents_label(const char *path, mode_t mode);
30 typedef int (*mkdir_func_t)(const char *pathname, mode_t mode);
31 int mkdir_safe_internal(const char *path, mode_t mode, uid_t uid, gid_t gid, mkdir_func_t _mkdir);
32 int mkdir_parents_internal(const char *prefix, const char *path, mode_t mode, mkdir_func_t _mkdir);
33 int mkdir_p_internal(const char *prefix, const char *path, mode_t mode, mkdir_func_t _mkdir);
Dmkdir.c32 int mkdir_safe_internal(const char *path, mode_t mode, uid_t uid, gid_t gid, mkdir_func_t _mkdir) { in mkdir_safe_internal()
53 int mkdir_parents_internal(const char *prefix, const char *path, mode_t mode, mkdir_func_t _mkdir) { in mkdir_parents_internal()
107 int mkdir_parents(const char *path, mode_t mode) { in mkdir_parents()
111 int mkdir_p_internal(const char *prefix, const char *path, mode_t mode, mkdir_func_t _mkdir) { in mkdir_p_internal()
127 int udev_mkdir_p(const char *path, mode_t mode) { in udev_mkdir_p()
/third_party/musl/porting/linux/user/include/fortify/
Dstat.h26 mode_t __umask_diagnose(mode_t);
27 mode_t __umask_real(mode_t mode) __DIAGNOSE_RENAME(umask);
32 mode_t umask(mode_t mode) in umask()
/third_party/python/Modules/
D_stat.c31 typedef unsigned short mode_t; typedef
251 static mode_t
255 mode_t mode; in _PyLong_AsMode_t()
259 return (mode_t)-1; in _PyLong_AsMode_t()
261 mode = (mode_t)value; in _PyLong_AsMode_t()
264 return (mode_t)-1; in _PyLong_AsMode_t()
274 mode_t mode = _PyLong_AsMode_t(omode); \
275 if ((mode == (mode_t)-1) && PyErr_Occurred()) \
328 mode_t mode = _PyLong_AsMode_t(omode); in stat_S_IMODE()
329 if ((mode == (mode_t)-1) && PyErr_Occurred()) in stat_S_IMODE()
[all …]
/third_party/boost/boost/interprocess/detail/
Dfile_wrapper.hpp47 …file_wrapper(create_only_t, const char *name, mode_t mode, const permissions &perm = permissions()) in file_wrapper()
53 …file_wrapper(open_or_create_t, const char *name, mode_t mode, const permissions &perm = permissio… in file_wrapper()
58 file_wrapper(open_only_t, const char *name, mode_t mode) in file_wrapper()
103 mode_t get_mode() const;
113 …bool priv_open_or_create(ipcdetail::create_enum_t type, const char *filename, mode_t mode, const p…
116 mode_t m_mode;
144 inline mode_t file_wrapper::get_mode() const in get_mode()
150 mode_t mode, in priv_open_or_create()
/third_party/boost/boost/process/detail/windows/
Dfile_descriptor.hpp20 enum mode_t enum
26 static ::boost::winapi::DWORD_ desired_access(mode_t mode) in desired_access()
43 file_descriptor(const boost::filesystem::path& p, mode_t mode = read_write) in file_descriptor()
48 file_descriptor(const std::string & path , mode_t mode = read_write) in file_descriptor()
55 file_descriptor(const std::wstring & path, mode_t mode = read_write) in file_descriptor()
58 file_descriptor(const char* path, mode_t mode = read_write) in file_descriptor()
77 file_descriptor(const wchar_t * path, mode_t mode = read_write) in file_descriptor()
/third_party/boost/boost/interprocess/
Dwindows_shared_memory.hpp75 …windows_shared_memory(create_only_t, const char *name, mode_t mode, std::size_t size, const permis… in windows_shared_memory()
81 …windows_shared_memory(open_or_create_t, const char *name, mode_t mode, std::size_t size, const per… in windows_shared_memory()
86 windows_shared_memory(open_only_t, const char *name, mode_t mode) in windows_shared_memory()
119 mode_t get_mode() const;
135 …bool priv_open_or_create(ipcdetail::create_enum_t type, const char *filename, mode_t mode, std::si…
138 mode_t m_mode;
165 inline mode_t windows_shared_memory::get_mode() const in get_mode()
175 …(ipcdetail::create_enum_t type, const char *filename, mode_t mode, std::size_t size, const permiss… in priv_open_or_create()
Dshared_memory_object.hpp71 …shared_memory_object(create_only_t, const char *name, mode_t mode, const permissions &perm = permi… in shared_memory_object()
77 …shared_memory_object(open_or_create_t, const char *name, mode_t mode, const permissions &perm = pe… in shared_memory_object()
82 shared_memory_object(open_only_t, const char *name, mode_t mode) in shared_memory_object()
130 mode_t get_mode() const;
142 …bool priv_open_or_create(ipcdetail::create_enum_t type, const char *filename, mode_t mode, const p…
145 mode_t m_mode;
179 inline mode_t shared_memory_object::get_mode() const in get_mode()
185 (ipcdetail::create_enum_t type, const char *filename, mode_t mode, const permissions &perm) in priv_open_or_create()
281 mode_t mode, const permissions &perm) in priv_open_or_create()
Dfile_mapping.hpp61 file_mapping(const char *filename, mode_t mode);
87 mode_t get_mode() const;
112 mode_t m_mode;
138 inline mode_t file_mapping::get_mode() const in get_mode()
142 (const char *filename, mode_t mode) in file_mapping()
/third_party/boost/boost/process/detail/posix/
Dfile_descriptor.hpp17 enum mode_t enum
26 explicit file_descriptor(const boost::filesystem::path& p, mode_t mode = read_write) in file_descriptor()
31 explicit file_descriptor(const std::string & path , mode_t mode = read_write) in file_descriptor()
35 explicit file_descriptor(const char* path, mode_t mode = read_write) in file_descriptor()
56 static int create_file(const char* name, mode_t mode ) in create_file()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
Dumask.c28 mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; in umask_0100()
29 mode_t result = umask(mode); in umask_0100()
44 mode_t mode = -1; in umask_0200()
45 mode_t result = umask(mode); in umask_0200()
/third_party/ntfs-3g/include/ntfs-3g/
Dsecurity.h148 mode_t umask; /* umask of requesting thread */
171 mode_t mode;
227 int ntfs_set_mode(struct SECURITY_CONTEXT *scx, ntfs_inode *ni, mode_t mode);
232 ntfs_inode *ni, gid_t *pgid, mode_t *pdsetgid);
239 mode_t mode, BOOL isdir);
242 uid_t uid, gid_t gid, mode_t mode, BOOL isdir);
247 ntfs_inode *ni, uid_t uid, gid_t gid, mode_t mode);
251 mode_t mode, struct POSIX_SECURITY *pxdesc);
254 ntfs_inode *ni, uid_t uid, gid_t gid, mode_t mode);
267 ntfs_inode *dir_ni, mode_t mode);
Dacls.h150 int ntfs_merge_mode_posix(struct POSIX_SECURITY *pxdesc, mode_t mode);
152 const struct POSIX_SECURITY *pxdesc, mode_t mode,
153 mode_t umask, BOOL isdir);
155 const struct POSIX_SECURITY *pxdesc, mode_t mode,
156 mode_t umask, BOOL isdir);
176 char *ntfs_build_descr(mode_t mode,
/third_party/ntfs-3g/include/fuse-lite/
Dfuse.h96 int (*mknod) (const char *, mode_t, dev_t);
104 int (*mkdir) (const char *, mode_t);
122 int (*chmod) (const char *, mode_t);
341 int (*create) (const char *, mode_t, struct fuse_file_info *);
475 mode_t umask;
596 int fuse_fs_create(struct fuse_fs *fs, const char *path, mode_t mode,
600 int fuse_fs_chmod(struct fuse_fs *fs, const char *path, mode_t mode);
610 int fuse_fs_mknod(struct fuse_fs *fs, const char *path, mode_t mode,
612 int fuse_fs_mkdir(struct fuse_fs *fs, const char *path, mode_t mode);
/third_party/ltp/testcases/kernel/syscalls/nftw/
Dtools64.c48 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()
Dtools.c49 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()
/third_party/ltp/testcases/kernel/syscalls/chmod/
Dchmod05.c42 #define MODE_RWX (mode_t)(S_IRWXU | S_IRWXG | S_IRWXO)
43 #define DIR_MODE (mode_t)(S_ISVTX | S_ISGID | S_IFDIR)
44 #define PERMS (mode_t)(MODE_RWX | DIR_MODE)
50 mode_t dir_mode; in test_chmod()

12345678910>>...14