/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fwide.c | 37 fwide(FILE *fp, int mode) in fwide() argument 47 if (mode > 0) in fwide() 48 mode = 1; in fwide() 49 else if (mode < 0) in fwide() 50 mode = -1; in fwide() 57 if (wcio->wcio_mode == 0 && mode != 0) in fwide() 58 wcio->wcio_mode = mode; in fwide() 60 mode = wcio->wcio_mode; in fwide() 63 return mode; in fwide()
|
D | flags.c | 46 __sflags(const char *mode, int *optr) in __sflags() argument 50 switch (*mode++) { in __sflags() 75 while (*mode != '\0') in __sflags() 76 switch (*mode++) { in __sflags()
|
D | setvbuf.c | 43 setvbuf(FILE *fp, char *buf, int mode, size_t size) in setvbuf() argument 54 if (mode != _IONBF) in setvbuf() 55 if ((mode != _IOFBF && mode != _IOLBF) || (int)size < 0) in setvbuf() 77 if (mode == _IONBF) in setvbuf() 136 if (mode == _IOLBF) in setvbuf()
|
/bionic/libc/bionic/ |
D | faccessat.cpp | 35 int faccessat(int dirfd, const char* pathname, int mode, int flags) { in faccessat() argument 39 if ((mode != F_OK) && ((mode & ~(R_OK | W_OK | X_OK)) != 0) && in faccessat() 40 ((mode & (R_OK | W_OK | X_OK)) == 0)) { in faccessat() 59 return ___faccessat(dirfd, pathname, mode); in faccessat()
|
D | mkfifo.cpp | 33 int mkfifo(const char* path, mode_t mode) { in mkfifo() argument 34 return mkfifoat(AT_FDCWD, path, mode); in mkfifo() 37 int mkfifoat(int fd, const char* path, mode_t mode) { in mkfifoat() argument 38 return mknodat(fd, path, (mode & ~S_IFMT) | S_IFIFO, 0); in mkfifoat()
|
D | open.cpp | 50 int creat(const char* pathname, mode_t mode) { in creat() argument 51 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat() 56 mode_t mode = 0; in open() local 61 mode = static_cast<mode_t>(va_arg(args, int)); in open() 65 return __openat(AT_FDCWD, pathname, force_O_LARGEFILE(flags), mode); in open() 75 mode_t mode = 0; in openat() local 80 mode = static_cast<mode_t>(va_arg(args, int)); in openat() 84 return __openat(fd, pathname, force_O_LARGEFILE(flags), mode); in openat()
|
D | fchmodat.cpp | 39 int fchmodat(int dirfd, const char* pathname, mode_t mode, int flags) { in fchmodat() argument 60 int result = fchmod(fd, mode); in fchmodat() 66 return ___fchmodat(dirfd, pathname, mode); in fchmodat()
|
D | access.cpp | 32 int access(const char* path, int mode) { in access() argument 33 return faccessat(AT_FDCWD, path, mode, 0); in access()
|
D | chmod.cpp | 33 int chmod(const char* path, mode_t mode) { in chmod() argument 34 return fchmodat(AT_FDCWD, path, mode, 0); in chmod()
|
D | mkdir.cpp | 33 int mkdir(const char* path, mode_t mode) { in mkdir() argument 34 return mkdirat(AT_FDCWD, path, mode); in mkdir()
|
D | reboot.cpp | 34 int reboot(int mode) { in reboot() argument 35 return __reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, mode, nullptr); in reboot()
|
D | fchmod.cpp | 40 int fchmod(int fd, mode_t mode) { in fchmod() argument 42 int result = ___fchmod(fd, mode); in fchmod() 62 result = chmod(FdPath(fd).c_str(), mode); in fchmod()
|
D | mknod.cpp | 34 int mknod(const char* path, mode_t mode, dev_t dev) { in mknod() argument 35 return mknodat(AT_FDCWD, path, mode, dev); in mknod()
|
D | iconv.cpp | 80 static bool __parse_encoding(const char* s, Encoding* encoding, Mode* mode) { in __parse_encoding() argument 83 if (!mode) return false; in __parse_encoding() 85 *mode = IGNORE; in __parse_encoding() 87 *mode = TRANSLIT; in __parse_encoding() 115 Mode mode; member 117 __iconv_t() : mode(ERROR) { in __iconv_t() 210 switch (mode) { in GetNext() 269 if (mode == IGNORE) { in Convert() 274 } else if (mode == TRANSLIT) { in Convert() 332 if (mode == TRANSLIT) return replacement_count; in Done() [all …]
|
/bionic/libc/include/bits/fortify/ |
D | stat.h | 41 mode_t umask(mode_t mode) in umask() argument 44 __clang_error_if(mode & ~0777, __umask_invalid_mode_str) { in umask() 45 return __umask_chk(mode); in umask()
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | ldtoa.c | 47 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, in __ldtoa() argument 102 ret = gdtoa(&fpi, be, vbits, &kind, mode, ndigits, decpt, rve); in __ldtoa() 112 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, in __ldtoa() argument 117 ret = dtoa((double)*ld, mode, ndigits, decpt, sign, rve); in __ldtoa()
|
D | dtoa.c | 78 (d0, mode, ndigits, decpt, sign, rve) in dtoa() argument 79 double d0; int mode, ndigits, *decpt, *sign; char **rve; in dtoa() 81 (double d0, int mode, int ndigits, int *decpt, int *sign, char **rve) 287 if (mode < 0 || mode > 9) 288 mode = 0; 298 if (mode > 5) { 299 mode -= 4; 305 switch(mode) { 334 if (mode > 1 && Rounding != 1) 470 if (mode > 1) [all …]
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_connmark.h | 33 __u8 mode; member 37 __u8 shift_dir, shift_bits, mode; member
|
D | xt_hashlimit.h | 38 __u32 mode; member 56 __u32 mode; member 68 __u32 mode; member 78 __u32 mode; member
|
D | xt_policy.h | 36 __u8 saddr : 1, daddr : 1, proto : 1, mode : 1, spi : 1, reqid : 1; member 54 __u8 mode; member
|
D | xt_CONNSECMARK.h | 27 __u8 mode; member
|
/bionic/tests/headers/posix/ |
D | sys_ipc_h.c | 40 STRUCT_MEMBER(struct ipc_perm, unsigned short, mode); in sys_ipc_h() 42 STRUCT_MEMBER(struct ipc_perm, mode_t, mode); in sys_ipc_h()
|
/bionic/libc/kernel/uapi/linux/ |
D | vt.h | 25 char mode; member 79 struct vt_mode mode; member
|
/bionic/libc/stdio/ |
D | fmemopen.cpp | 113 FILE* fmemopen(void* buf, size_t capacity, const char* mode) { in fmemopen() argument 115 if (__sflags(mode, &flags) == 0) { in fmemopen() 142 if (mode[0] == 'a') { in fmemopen() 146 } else if (mode[0] == 'r') { in fmemopen() 149 } else if (mode[0] == 'w') { in fmemopen()
|
/bionic/libc/kernel/uapi/linux/hsi/ |
D | hsi_char.h | 42 __u32 mode; member 47 __u32 mode; member
|