Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 55) sorted by relevance

123

/bionic/libc/bionic/
Dfcntl.cpp36 extern "C" int __fcntl(int fd, int cmd, ...);
38 int fcntl(int fd, int cmd, ...) { in fcntl() argument
40 va_start(args, cmd); in fcntl()
47 int rc = __fcntl(fd, cmd, arg); in fcntl()
48 if (cmd == F_DUPFD) { in fcntl()
50 } else if (cmd == F_DUPFD_CLOEXEC) { in fcntl()
61 int fcntl(int fd, int cmd, ...) { in fcntl() argument
64 va_start(ap, cmd); in fcntl()
68 if (cmd == F_DUPFD) { in fcntl()
69 return FDTRACK_CREATE_NAME("F_DUPFD", __fcntl64(fd, cmd, arg)); in fcntl()
[all …]
Dlockf.cpp35 int lockf64(int fd, int cmd, off64_t length) { in lockf64() argument
43 if (cmd == F_ULOCK) { in lockf64()
45 cmd = F_SETLK64; in lockf64()
49 if (cmd == F_LOCK) { in lockf64()
54 if (cmd == F_TLOCK) { in lockf64()
59 if (cmd == F_TEST) { in lockf64()
71 int lockf(int fd, int cmd, off_t length) { in lockf() argument
72 return lockf64(fd, cmd, length); in lockf()
Dsys_sem.cpp35 int semctl(int id, int num, int cmd, ...) { in semctl() argument
38 cmd |= IPC_64; in semctl()
41 va_start(ap, cmd); in semctl()
45 return syscall(SYS_semctl, id, num, cmd, arg); in semctl()
47 return syscall(SYS_ipc, SEMCTL, id, num, cmd, &arg, 0); in semctl()
Dsys_shm.cpp47 int shmctl(int id, int cmd, struct shmid_ds* buf) { in shmctl() argument
50 cmd |= IPC_64; in shmctl()
53 return syscall(SYS_shmctl, id, cmd, buf); in shmctl()
55 return syscall(SYS_ipc, SHMCTL, id, cmd, 0, buf, 0); in shmctl()
Dsys_msg.cpp34 int msgctl(int id, int cmd, msqid_ds* buf) { in msgctl() argument
37 cmd |= IPC_64; in msgctl()
40 return syscall(SYS_msgctl, id, cmd, buf); in msgctl()
42 return syscall(SYS_ipc, MSGCTL, id, cmd, 0, buf, 0); in msgctl()
/bionic/tools/versioner/src/
DDriver.cpp101 std::vector<std::string> cmd = { "versioner" }; in generateTargetCC1Flags() local
103 cmd.push_back("-std=gnu++11"); in generateTargetCC1Flags()
104 cmd.push_back("-x"); in generateTargetCC1Flags()
105 cmd.push_back("c++"); in generateTargetCC1Flags()
107 cmd.push_back("-std=gnu11"); in generateTargetCC1Flags()
108 cmd.push_back("-x"); in generateTargetCC1Flags()
109 cmd.push_back("c"); in generateTargetCC1Flags()
112 cmd.push_back("-fsyntax-only"); in generateTargetCC1Flags()
114 cmd.push_back("-Wall"); in generateTargetCC1Flags()
115 cmd.push_back("-Wextra"); in generateTargetCC1Flags()
[all …]
/bionic/libc/kernel/uapi/linux/
Dwireless.h81 #define IW_IOCTL_IDX(cmd) ((cmd) - SIOCIWFIRST) argument
83 #define IW_IS_SET(cmd) (! ((cmd) & 0x1)) argument
84 #define IW_IS_GET(cmd) ((cmd) & 0x1) argument
96 #define IW_EVENT_IDX(cmd) ((cmd) - IWEVFIRST) argument
253 #define IW_EVENT_CAPA_BASE(cmd) ((cmd >= SIOCIWFIRSTPRIV) ? (cmd - SIOCIWFIRSTPRIV + 0x60) : (cmd -… argument
254 #define IW_EVENT_CAPA_INDEX(cmd) (IW_EVENT_CAPA_BASE(cmd) >> 5) argument
255 #define IW_EVENT_CAPA_MASK(cmd) (1 << (IW_EVENT_CAPA_BASE(cmd) & 0x1F)) argument
258 #define IW_EVENT_CAPA_SET(event_capa,cmd) (event_capa[IW_EVENT_CAPA_INDEX(cmd)] |= IW_EVENT_CAPA_MA… argument
320 __u16 cmd; member
329 __u32 cmd; member
[all …]
Dethtool.h26 __u32 cmd; member
50 __u32 cmd; member
65 __u32 cmd; member
71 __u32 cmd; member
96 __u32 cmd; member
117 __u32 cmd; member
123 __u32 cmd; member
130 __u32 cmd; member
141 __u32 cmd; member
147 __u32 cmd; member
[all …]
Dipmi.h58 unsigned char cmd; member
64 unsigned char cmd; member
104 unsigned char cmd; member
110 unsigned int cmd; member
Dcapi.h53 unsigned long cmd; member
66 capi_manufacturer_cmd cmd; member
Dax25.h72 int cmd; member
79 unsigned int cmd; member
Dbaycom.h27 int cmd; member
Dbpqether.h31 int cmd; member
Dquota.h31 #define QCMD(cmd,type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) argument
Dif_vlan.h48 int cmd; member
Dqrtr.h44 __le32 cmd; member
Dultrasound.h38 …MD(chn,voice,cmd,p1,p2) { _SEQ_NEEDBUF(8); _seqbuf[_seqbufptr] = SEQ_PRIVATE; _seqbuf[_seqbufptr +… argument
/bionic/libc/kernel/uapi/drm/
Dsavage_drm.h116 unsigned char cmd; member
121 } cmd; member
123 unsigned char cmd; member
130 unsigned char cmd; member
137 unsigned char cmd; member
144 unsigned char cmd; member
/bionic/libc/include/bits/
Dtermios_inlines.h116 int cmd; in tcsetattr() local
118 case TCSANOW: cmd = TCSETS; break; in tcsetattr()
119 case TCSADRAIN: cmd = TCSETSW; break; in tcsetattr()
120 case TCSAFLUSH: cmd = TCSETSF; break; in tcsetattr()
123 return ioctl(fd, cmd, s); in tcsetattr()
/bionic/libc/kernel/uapi/linux/dvb/
Dosd.h47 OSD_Command cmd; member
78 int cmd; member
/bionic/libc/arch-arm/cortex-a15/bionic/
Dstring_copy.S96 .macro m_copy_byte reg, cmd, label
99 \cmd \reg, \label
110 m_copy_byte reg=r2, cmd=cbz, label=.Lstringcopy_finish
111 m_copy_byte reg=r3, cmd=cbz, label=.Lstringcopy_finish
112 m_copy_byte reg=r4, cmd=cbz, label=.Lstringcopy_finish
113 m_copy_byte reg=r5, cmd=cbz, label=.Lstringcopy_finish
114 m_copy_byte reg=r2, cmd=cbz, label=.Lstringcopy_finish
115 m_copy_byte reg=r3, cmd=cbz, label=.Lstringcopy_finish
116 m_copy_byte reg=r4, cmd=cbz, label=.Lstringcopy_finish
117 m_copy_byte reg=r5, cmd=cbnz, label=.Lstringcopy_continue
Dstrcat.S77 .macro m_copy_byte reg, cmd, label
80 \cmd \reg, \label
134 m_copy_byte reg=r2, cmd=cbz, label=.L_strcpy_finish
135 m_copy_byte reg=r3, cmd=cbz, label=.L_strcpy_finish
136 m_copy_byte reg=r4, cmd=cbz, label=.L_strcpy_finish
137 m_copy_byte reg=r5, cmd=cbz, label=.L_strcpy_finish
138 m_copy_byte reg=r2, cmd=cbz, label=.L_strcpy_finish
139 m_copy_byte reg=r3, cmd=cbz, label=.L_strcpy_finish
140 m_copy_byte reg=r4, cmd=cbz, label=.L_strcpy_finish
141 m_copy_byte reg=r5, cmd=cbnz, label=.L_strcpy_continue
/bionic/libc/arch-arm/cortex-a9/bionic/
Dstring_copy.S100 .macro m_copy_byte reg, cmd, label
103 \cmd \reg, \label
113 m_copy_byte reg=r2, cmd=cbz, label=.Lstringcopy_finish
114 m_copy_byte reg=r3, cmd=cbz, label=.Lstringcopy_finish
115 m_copy_byte reg=r4, cmd=cbz, label=.Lstringcopy_finish
116 m_copy_byte reg=r5, cmd=cbz, label=.Lstringcopy_finish
117 m_copy_byte reg=r2, cmd=cbz, label=.Lstringcopy_finish
118 m_copy_byte reg=r3, cmd=cbz, label=.Lstringcopy_finish
119 m_copy_byte reg=r4, cmd=cbz, label=.Lstringcopy_finish
120 m_copy_byte reg=r5, cmd=cbnz, label=.Lstringcopy_continue
Dstrcat.S81 .macro m_copy_byte reg, cmd, label
84 \cmd \reg, \label
146 m_copy_byte reg=r2, cmd=cbz, label=.Lstrcpy_finish
147 m_copy_byte reg=r3, cmd=cbz, label=.Lstrcpy_finish
148 m_copy_byte reg=r4, cmd=cbz, label=.Lstrcpy_finish
149 m_copy_byte reg=r5, cmd=cbz, label=.Lstrcpy_finish
150 m_copy_byte reg=r2, cmd=cbz, label=.Lstrcpy_finish
151 m_copy_byte reg=r3, cmd=cbz, label=.Lstrcpy_finish
152 m_copy_byte reg=r4, cmd=cbz, label=.Lstrcpy_finish
153 m_copy_byte reg=r5, cmd=cbnz, label=.Lstrcpy_continue
/bionic/libc/
DSECCOMP_ALLOWLIST_SYSTEM.TXT6 int bpf(int cmd, union bpf_attr *attr, unsigned int size) all

123