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

123

/bionic/libc/unistd/
H A Dcreat.c31 int creat(const char* pathname, mode_t mode) argument
33 return open(pathname, O_WRONLY|O_TRUNC|O_CREAT, mode);
H A Dreboot.c31 int reboot (int mode) argument
33 return __reboot( LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, mode, NULL );
H A Dopen.c36 mode_t mode = 0; local
47 mode = (mode_t) va_arg(args, int);
51 return __open(pathname, flags, mode);
H A Dopenat.c36 mode_t mode = 0; local
47 mode = (mode_t) va_arg(args, int);
51 return __openat(fd, pathname, flags, mode);
/bionic/libc/kernel/common/linux/netfilter/
H A Dxt_CONNSECMARK.h21 u_int8_t mode; member in struct:xt_connsecmark_target_info
H A Dxt_CONNMARK.h24 u_int8_t mode; member in struct:xt_connmark_target_info
H A Dxt_MARK.h27 u_int8_t mode; member in struct:xt_mark_target_info_v1
H A Dxt_SECMARK.h24 u_int8_t mode; member in struct:xt_secmark_target_info
H A Dxt_statistic.h28 u_int16_t mode; member in struct:xt_statistic_info
/bionic/libc/stdio/
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 */
76 if (*mode == '+' || (*mode == 'b' && mode[1] == '+')) {
H A Dwcio.h46 #define _SET_ORIENTATION(fp, mode) ((void)0)
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)
75 /* If setting unbuffered mode, skip all the hard work. */
76 if (mode == _IONBF)
128 if (mode == _IOLBF)
H A Dfdopen.c42 fdopen(int fd, const char *mode) argument
47 if ((flags = __sflags(mode, &oflags)) == 0)
50 /* Make sure the mode the user wants is a subset of the actual mode. */
H A Dfopen.c43 fopen(const char *file, const char *mode) argument
49 if ((flags = __sflags(mode, &oflags)) == 0)
66 * When opening in append mode, even though we use O_APPEND,
/bionic/libc/include/
H A Dfcntl.h46 extern int open(const char* path, int mode, ...);
47 extern int openat(int fd, const char* path, int mode, ...);
50 extern int creat(const char* path, mode_t mode);
/bionic/libc/kernel/arch-sh/asm/
H A Dsh_keysc.h18 enum { SH_KEYSC_MODE_1, SH_KEYSC_MODE_2, SH_KEYSC_MODE_3 } mode; member in struct:sh_keysc_info
H A Dipcbuf.h22 __kernel_mode_t mode; member in struct:ipc64_perm
/bionic/libc/kernel/common/linux/netfilter_ipv4/
H A Dipt_TTL.h24 u_int8_t mode; member in struct:ipt_TTL_info
/bionic/libc/kernel/common/linux/netfilter_ipv6/
H A Dip6t_HL.h24 u_int8_t mode; member in struct:ip6t_HL_info
H A Dip6t_hl.h23 u_int8_t mode; member in struct:ip6t_hl_info
/bionic/libc/kernel/arch-arm/asm/
H A Dipcbuf.h22 __kernel_mode_t mode; member in struct:ipc64_perm
/bionic/libc/kernel/arch-x86/asm/
H A Dipcbuf.h22 __kernel_mode_t mode; member in struct:ipc64_perm
/bionic/libc/kernel/common/linux/
H A Dqic117.h65 unused, mode, motion, report enumerator in enum:__anon380
77 #define QIC117_COMMANDS { {NULL, 0x00, 0x00, mode, 0, discretional}, {"soft reset", 0x00, 0x00, motion, 1, required}, {"report next bit", 0x00, 0x00, report, 0, required}, {"pause", 0x36, 0x24, motion, 1, required}, {"micro step pause", 0x36, 0x24, motion, 1, required}, {"alternate command timeout", 0x00, 0x00, mode, 0, required}, {"report drive status", 0x00, 0x00, report, 0, required}, {"report error code", 0x01, 0x01, report, 0, required}, {"report drive configuration",0x00, 0x00, report, 0, required}, {"report rom version", 0x00, 0x00, report, 0, required}, {"logical forward", 0x37, 0x25, motion, 0, required}, {"physical reverse", 0x17, 0x05, motion, 0, required}, {"physical forward", 0x17, 0x05, motion, 0, required}, {"seek head to track", 0x37, 0x25, motion, 0, required}, {"seek load point", 0x17, 0x05, motion, 1, required}, {"enter format mode", 0x1f, 0x05, mode, 0, required}, {"write reference burst", 0x1f, 0x05, motion, 1, required}, {"enter verify mode", 0x37, 0x25, mode, 0, required}, {"stop tape", 0x00, 0x00, motion, 1, required}, {"reserved (19)", 0x00, 0x00, unused, 0, discretional}, {"reserved (20)", 0x00, 0x00, unused, 0, discretional}, {"micro step head up", 0x02, 0x00, motion, 0, required}, {"micro step head down", 0x02, 0x00, motion, 0, required}, {"soft select", 0x00, 0x00, mode, 0, discretional}, {"soft deselect", 0x00, 0x00, mode, 0, discretional}, {"skip segments reverse", 0x36, 0x24, motion, 1, required}, {"skip segments forward", 0x36, 0x24, motion, 1, required}, {"select rate or format", 0x03, 0x01, mode,
[all...]
H A Dproc_fs.h38 mode_t mode; member in struct:proc_dir_entry
73 #define proc_net_fops_create(name, mode, fops) ({ (void)(mode), NULL; })
74 #define proc_net_create(name, mode, info) ({ (void)(mode), NULL; })
H A Dipc.h26 __kernel_mode_t mode; member in struct:ipc_perm

Completed in 216 milliseconds

123