/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 | 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) 130 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 | access.cpp | 32 int access(const char* path, int mode) { argument 33 return faccessat(AT_FDCWD, path, mode, 0);
|
H A D | mkfifo.cpp | 31 int mkfifo(const char* path, mode_t mode) { argument 32 return mknod(path, (mode & ~S_IFMT) | S_IFIFO, 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 | 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 | mntent.cpp | 39 FILE* setmntent(const char* path, const char* mode) { argument 40 return fopen(path, mode);
|
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 = (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 = (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...] |
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
H A D | flags.c | 47 * Return the (stdio) flags for a given mode. Store the flags 52 __sflags(const char *mode, int *optr) argument 56 switch (*mode++) { 76 default: /* illegal mode */ 82 if (*mode == 'b') 83 mode++; 86 if (*mode == '+') { 87 mode++; 93 if (*mode == 'b') 94 mode [all...] |
/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
|
H A D | xt_policy.h | 41 mode:1, member in struct:xt_policy_spec 66 __u8 mode; member in struct:xt_policy_elem
|
/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/include/sys/ |
H A D | stat.h | 164 __errordecl(__umask_invalid_mode, "umask called with invalid mode"); 169 mode_t umask(mode_t mode) { argument 171 if (__builtin_constant_p(mode)) { 172 if ((mode & 0777) != mode) { 175 return __umask_real(mode); 178 return __umask_chk(mode);
|
/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
|