Searched defs:mode (Results 1 - 25 of 156) sorted by relevance

1234567

/bionic/libc/bionic/
H A Dreboot.cpp34 int reboot(int mode) { argument
35 return __reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, mode, NULL);
H A Daccess.cpp32 int access(const char* path, int mode) { argument
33 return faccessat(AT_FDCWD, path, mode, 0);
H A Dchmod.cpp33 int chmod(const char* path, mode_t mode) { argument
34 return fchmodat(AT_FDCWD, path, mode, 0);
H A Dmkdir.cpp33 int mkdir(const char* path, mode_t mode) { argument
34 return mkdirat(AT_FDCWD, path, mode);
H A Dmknod.cpp34 int mknod(const char* path, mode_t mode, dev_t dev) { argument
35 return mknodat(AT_FDCWD, path, mode, dev);
H A Dfaccessat.cpp35 int faccessat(int dirfd, const char* pathname, int mode, int flags) { argument
36 // "The mode specifies the accessibility check(s) to be performed,
39 if ((mode != F_OK) && ((mode & ~(R_OK | W_OK | X_OK)) != 0) &&
40 ((mode & (R_OK | W_OK | X_OK)) == 0)) {
59 return ___faccessat(dirfd, pathname, mode);
H A Dmkfifo.cpp33 int mkfifo(const char* path, mode_t mode) { argument
34 return mkfifoat(AT_FDCWD, path, mode);
37 int mkfifoat(int fd, const char* path, mode_t mode) { argument
38 return mknodat(fd, path, (mode & ~S_IFMT) | S_IFIFO, 0);
H A Dfchmod.cpp40 int fchmod(int fd, mode_t mode) { argument
42 int result = ___fchmod(fd, mode);
62 result = chmod(FdPath(fd).c_str(), mode);
64 // Linux does not support changing the mode of a symlink.
H A Dfchmodat.cpp39 int fchmodat(int dirfd, const char* pathname, mode_t mode, int flags) { argument
56 // doesn't support setting the mode of a symbolic link.
60 int result = fchmod(fd, mode);
66 return ___fchmodat(dirfd, pathname, mode);
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dfwide.c37 fwide(FILE *fp, int mode) argument
43 * for mode value.
47 if (mode > 0)
48 mode = 1;
49 else if (mode < 0)
50 mode = -1;
57 if (wcio->wcio_mode == 0 && mode != 0)
58 wcio->wcio_mode = mode;
60 mode = wcio->wcio_mode;
63 return mode;
[all...]
H A Dflags.c41 * Return the (stdio) flags for a given mode. Store the flags
46 __sflags(const char *mode, int *optr) argument
50 switch (*mode++) {
70 default: /* illegal mode */
75 while (*mode != '\0')
76 switch (*mode++) {
92 * Lots of software passes other extension mode
H A Dsetvbuf.c43 setvbuf(FILE *fp, char *buf, int mode, size_t size) argument
54 if (mode != _IONBF)
55 if ((mode != _IOFBF && mode != _IOLBF) || (int)size < 0)
76 /* If setting unbuffered mode, skip all the hard work. */
77 if (mode == _IONBF)
136 if (mode == _IOLBF)
/bionic/libc/include/bits/fortify/
H A Dstat.h36 #define __umask_invalid_mode_str "'umask' called with invalid mode"
43 mode_t umask(mode_t mode)
46 __clang_error_if(mode & ~0777, __umask_invalid_mode_str) {
47 return __umask_chk(mode);
57 mode_t umask(mode_t mode) { argument
58 if (__builtin_constant_p(mode)) {
59 if ((mode & 0777) != mode) {
62 return __umask_real(mode);
64 return __umask_chk(mode);
[all...]
/bionic/libc/kernel/uapi/linux/netfilter/
H A Dxt_CONNSECMARK.h27 __u8 mode; member in struct:xt_connsecmark_target_info
H A Dxt_SECMARK.h25 __u8 mode; member in struct:xt_secmark_target_info
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter/
H A Dxt_CONNSECMARK.h27 __u8 mode; member in struct:xt_connsecmark_target_info
H A Dxt_SECMARK.h25 __u8 mode; member in struct:xt_secmark_target_info
/bionic/tools/versioner/current/bits/fortify/
H A Dstat.h36 #define __umask_invalid_mode_str "'umask' called with invalid mode"
43 mode_t umask(mode_t mode)
46 __clang_error_if(mode & ~0777, __umask_invalid_mode_str) {
47 return __umask_chk(mode);
57 mode_t umask(mode_t mode) { argument
58 if (__builtin_constant_p(mode)) {
59 if ((mode & 0777) != mode) {
62 return __umask_real(mode);
64 return __umask_chk(mode);
[all...]
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/netfilter/
H A Dxt_CONNSECMARK.h27 __u8 mode; member in struct:xt_connsecmark_target_info
H A Dxt_SECMARK.h25 __u8 mode; member in struct:xt_secmark_target_info
/bionic/libc/kernel/uapi/linux/netfilter_ipv4/
H A Dipt_TTL.h29 __u8 mode; member in struct:ipt_TTL_info
H A Dipt_ttl.h29 __u8 mode; member in struct:ipt_ttl_info
/bionic/libc/kernel/uapi/linux/netfilter_ipv6/
H A Dip6t_HL.h29 __u8 mode; member in struct:ip6t_HL_info
H A Dip6t_hl.h29 __u8 mode; member in struct:ip6t_hl_info
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter_ipv4/
H A Dipt_TTL.h29 __u8 mode; member in struct:ipt_TTL_info

Completed in 437 milliseconds

1234567