/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | fwide.c | 37 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 D | flags.c | 41 * 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 D | setvbuf.c | 43 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/bionic/ |
H A D | __umask_chk.cpp | 40 * Validate that umask is called with sane mode. 45 extern "C" mode_t __umask_chk(mode_t mode) { argument 46 if (__predict_false((mode & 0777) != mode)) { 50 return umask(mode);
|
H A D | faccessat.cpp | 35 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)) { 58 return ___faccessat(dirfd, pathname, mode);
|
H A D | access.cpp | 32 int access(const char* path, int mode) { argument 33 return faccessat(AT_FDCWD, path, mode, 0);
|
H A D | reboot.cpp | 34 int reboot(int mode) { argument 35 return __reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, mode, NULL);
|
H A D | mkfifo.cpp | 33 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 D | chmod.cpp | 33 int chmod(const char* path, mode_t mode) { argument 34 return fchmodat(AT_FDCWD, path, mode, 0);
|
H A D | mkdir.cpp | 33 int mkdir(const char* path, mode_t mode) { argument 34 return mkdirat(AT_FDCWD, path, mode);
|
H A D | mknod.cpp | 34 int mknod(const char* path, mode_t mode, dev_t dev) { argument 35 return mknodat(AT_FDCWD, path, mode, dev);
|
H A D | open.cpp | 46 int creat(const char* pathname, mode_t mode) { argument 47 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); 52 mode_t mode = 0; local 57 mode = static_cast<mode_t>(va_arg(args, int)); 61 return __openat(AT_FDCWD, pathname, force_O_LARGEFILE(flags), mode); 67 __fortify_chk_fail("open(O_CREAT): called without specifying a mode", 0); 74 mode_t mode = 0; local 79 mode = static_cast<mode_t>(va_arg(args, int)); 83 return __openat(fd, pathname, force_O_LARGEFILE(flags), mode); 89 __fortify_chk_fail("openat(O_CREAT): called without specifying a mode", [all...] |
H A D | fchmod.cpp | 38 int fchmod(int fd, mode_t mode) { argument 40 int result = ___fchmod(fd, mode); 63 result = chmod(buf, mode); 65 // Linux does not support changing the mode of a symlink.
|
H A D | fchmodat.cpp | 39 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/kernel/uapi/linux/netfilter/ |
H A D | xt_CONNSECMARK.h | 29 __u8 mode; member in struct:xt_connsecmark_target_info
|
H A D | xt_SECMARK.h | 26 __u8 mode; member in struct:xt_secmark_target_info
|
H A D | xt_connmark.h | 31 __u8 mode; member in struct:xt_connmark_tginfo1
|
H A D | xt_hashlimit.h | 37 __u32 mode; member in struct:hashlimit_cfg 60 __u32 mode; member in struct:hashlimit_cfg1
|
/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ |
H A D | ipt_ttl.h | 31 __u8 mode; member in struct:ipt_ttl_info
|
H A D | ipt_TTL.h | 31 __u8 mode; member in struct:ipt_TTL_info
|
/bionic/libc/kernel/uapi/linux/netfilter_ipv6/ |
H A D | ip6t_hl.h | 31 __u8 mode; member in struct:ip6t_hl_info
|
H A D | ip6t_HL.h | 31 __u8 mode; member in struct:ip6t_HL_info
|
/bionic/libc/kernel/uapi/asm-generic/ |
H A D | ipcbuf.h | 29 __kernel_mode_t mode; member in struct:ipc64_perm
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
H A D | ldtoa.c | 49 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, argument 104 ret = gdtoa(&fpi, be, vbits, &kind, mode, ndigits, decpt, rve); 113 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, argument 118 ret = dtoa((double)*ld, mode, ndigits, decpt, sign, rve);
|
/bionic/libc/kernel/uapi/linux/hsi/ |
H A D | hsi_char.h | 46 uint32_t mode; member in struct:hsc_rx_config 52 uint32_t mode; member in struct:hsc_tx_config
|