Searched refs:mode (Results 1 - 25 of 63) sorted by relevance

123

/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 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)
130 if (mode == _IOLBF)
/bionic/libc/bionic/
H A D__umask_chk.cpp40 * 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 Daccess.cpp32 int access(const char* path, int mode) { argument
33 return faccessat(AT_FDCWD, path, mode, 0);
H A Dmkfifo.cpp31 int mkfifo(const char* path, mode_t mode) { argument
32 return mknod(path, (mode & ~S_IFMT) | S_IFIFO, 0);
H A Dreboot.cpp34 int reboot(int mode) { argument
35 return __reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, mode, NULL);
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 Dmntent.cpp39 FILE* setmntent(const char* path, const char* mode) { argument
40 return fopen(path, mode);
H A Dopen.cpp46 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 Dflags.c47 * 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 Dxt_CONNSECMARK.h29 __u8 mode; member in struct:xt_connsecmark_target_info
H A Dxt_SECMARK.h26 __u8 mode; member in struct:xt_secmark_target_info
H A Dxt_connmark.h31 __u8 mode; member in struct:xt_connmark_tginfo1
H A Dxt_hashlimit.h37 __u32 mode; member in struct:hashlimit_cfg
60 __u32 mode; member in struct:hashlimit_cfg1
H A Dxt_policy.h41 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 Dipt_ttl.h31 __u8 mode; member in struct:ipt_ttl_info
H A Dipt_TTL.h31 __u8 mode; member in struct:ipt_TTL_info
/bionic/libc/kernel/uapi/linux/netfilter_ipv6/
H A Dip6t_hl.h31 __u8 mode; member in struct:ip6t_hl_info
H A Dip6t_HL.h31 __u8 mode; member in struct:ip6t_HL_info
/bionic/libc/kernel/uapi/asm-generic/
H A Dipcbuf.h29 __kernel_mode_t mode; member in struct:ipc64_perm
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
H A Dldtoa.c49 __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 Dstat.h164 __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 Dhsi_char.h46 uint32_t mode; member in struct:hsc_rx_config
52 uint32_t mode; member in struct:hsc_tx_config

Completed in 207 milliseconds

123