/external/tinyalsa/ |
H A D | mixer.c | 65 struct mixer_ctl *ctl; member in struct:mixer 79 if (mixer->ctl) { 81 if (mixer->ctl[n].ename) { 82 unsigned int max = mixer->ctl[n].info->value.enumerated.items; 84 free(mixer->ctl[n].ename[m]); 85 free(mixer->ctl[n].ename); 88 free(mixer->ctl); 121 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl)); 123 if (!mixer->ctl || !mixer->elem_info) 141 struct mixer_ctl *ctl local 165 mixer_ctl_get_elem_info(struct mixer_ctl* ctl) argument 214 struct mixer_ctl *ctl; local 240 mixer_ctl_update(struct mixer_ctl *ctl) argument 245 mixer_ctl_get_name(struct mixer_ctl *ctl) argument 253 mixer_ctl_get_type(struct mixer_ctl *ctl) argument 269 mixer_ctl_get_type_string(struct mixer_ctl *ctl) argument 285 mixer_ctl_get_num_values(struct mixer_ctl *ctl) argument 317 mixer_ctl_get_percent(struct mixer_ctl *ctl, unsigned int id) argument 325 mixer_ctl_set_percent(struct mixer_ctl *ctl, unsigned int id, int percent) argument 333 mixer_ctl_get_value(struct mixer_ctl *ctl, unsigned int id) argument 367 mixer_ctl_is_access_tlv_rw(struct mixer_ctl *ctl) argument 372 mixer_ctl_get_array(struct mixer_ctl *ctl, void *array, size_t count) argument 451 mixer_ctl_set_value(struct mixer_ctl *ctl, unsigned int id, int value) argument 489 mixer_ctl_set_array(struct mixer_ctl *ctl, const void *array, size_t count) argument 558 mixer_ctl_get_range_min(struct mixer_ctl *ctl) argument 566 mixer_ctl_get_range_max(struct mixer_ctl *ctl) argument 574 mixer_ctl_get_num_enums(struct mixer_ctl *ctl) argument 582 mixer_ctl_get_enum_string(struct mixer_ctl *ctl, unsigned int enum_id) argument 592 mixer_ctl_set_enum_by_string(struct mixer_ctl *ctl, const char *string) argument [all...] |
H A D | tinymix.c | 43 static void tinymix_print_enum(struct mixer_ctl *ctl, const char *space, 130 struct mixer_ctl *ctl; local 140 printf("ctl\ttype\tnum\tname\tvalue"); 142 printf("ctl\ttype\tnum\t%-40s value\n", "name"); 148 ctl = mixer_get_ctl(mixer, i); 150 name = mixer_ctl_get_name(ctl); 151 type = mixer_ctl_get_type_string(ctl); 152 num_values = mixer_ctl_get_num_values(ctl); 161 static void tinymix_print_enum(struct mixer_ctl *ctl, const char *space, argument 167 int control_value = mixer_ctl_get_value(ctl, 187 struct mixer_ctl *ctl; local 272 tinymix_set_byte_ctl(struct mixer_ctl *ctl, char **values, unsigned int num_values) argument 337 struct mixer_ctl *ctl; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
H A D | 4-1.c | 52 pid_t child, ctl; local 56 ctl = getpid(); 67 if (ctl != getppid()) { 77 ctl = waitpid(child, &status, 0); 78 if (ctl != child) {
|
H A D | 21-1.c | 73 pid_t child, ctl; local 78 ctl = getpid(); 89 ret = pthread_create(&th, NULL, threaded, &ctl); 118 ctl = waitpid(child, &status, 0); 120 if (ctl != child)
|
H A D | 3-1.c | 54 pid_t child, ctl; local 72 ctl = waitpid(child, &status, 0); 73 if (ctl != child) {
|
H A D | 9-1.c | 55 pid_t child, ctl; local 88 ctl = waitpid(child, &status, 0); 90 if (ctl != child) {
|
H A D | 17-1.c | 59 pid_t child, ctl; local 116 ctl = waitpid(child, &status, 0); 118 if (ctl != child) {
|
H A D | 17-2.c | 89 pid_t child, ctl; local 147 ctl = waitpid(child, &status, 0); 149 if (ctl != child) {
|
H A D | 18-1.c | 67 pid_t child, ctl; local 130 ctl = waitpid(child, &status, 0); 132 if (ctl != child) {
|
H A D | 6-1.c | 78 pid_t child, ctl; local 131 ctl = waitpid(child, &status, 0); 133 if (ctl != child) {
|
H A D | 1-1.c | 58 pid_t child, ctl; local 125 ctl = waitpid(child, &status, 0); 126 if (ctl != child)
|
H A D | 13-1.c | 62 pid_t child, ctl; local 147 ctl = waitpid(child, &status, 0); 149 if (ctl != child) {
|
H A D | 14-1.c | 57 pid_t child, ctl; local 113 ctl = waitpid(child, &status, 0); 115 if (ctl != child) {
|
H A D | 16-1.c | 64 pid_t child, ctl; local 146 ctl = waitpid(child, &status, 0); 148 if (ctl != child) {
|
H A D | 22-1.c | 52 pid_t child, ctl; local 169 ctl = waitpid(child, &status, 0); 171 if (ctl != child) {
|
H A D | 7-1.c | 112 pid_t child, ctl; local 148 ctl = waitpid(child, &status, 0); 150 if (ctl != child)
|
/external/syslinux/core/fs/pxe/ |
H A D | ftp.c | 155 if (socket->ctl) { 156 core_tcp_close_file(socket->ctl); 157 free_socket(socket->ctl); 158 socket->ctl = NULL; 169 ctlsock = socket->ctl ? PVT(socket->ctl) : NULL; 171 resp = ftp_cmd_response(socket->ctl, "QUIT", NULL, NULL, NULL); 173 resp = ftp_cmd_response(socket->ctl, NULL, NULL, NULL, NULL); 207 socket->ctl = alloc_inode(inode->fs, 0, sizeof(struct pxe_pvt_inode)); 208 if (!socket->ctl) [all...] |
/external/libpcap/ |
H A D | pcap-enet.c | 150 struct eniocb ctl; local 170 if (ioctl(if_fd, EIOCGETP, (char *)&ctl) == -1) { 178 ctl.en_rtout = 1 * ctl.en_hz; 179 ctl.en_tr_etherhead = 1; 180 ctl.en_tap_network = 1; 181 ctl.en_multi_packet = 1; 182 ctl.en_maxlen = BUFSPACE; 184 ctl.en_rtout = 64; /* randomly picked value for HZ */ 186 if (ioctl(if_fd, EIOCSETP, &ctl) [all...] |
H A D | pcap-dlpi.c | 184 struct strbuf ctl = { local 216 ctl.buf = (char *)ctlbuf; 217 ctl.maxlen = MAXDLBUF; 218 ctl.len = 0; 219 if (getmsg(p->fd, &ctl, &data, &flags) < 0) { 1082 struct strbuf ctl; local 1085 ctl.maxlen = 0; 1086 ctl.len = len; 1087 ctl.buf = ptr; 1090 if (putmsg(fd, &ctl, (struc 1103 struct strbuf ctl; local 1458 struct strbuf ctl, data; local 1568 struct strbuf ctl; local [all...] |
/external/tinyalsa/include/tinyalsa/ |
H A D | asoundlib.h | 288 const char *mixer_ctl_get_name(struct mixer_ctl *ctl); 289 enum mixer_ctl_type mixer_ctl_get_type(struct mixer_ctl *ctl); 290 const char *mixer_ctl_get_type_string(struct mixer_ctl *ctl); 291 unsigned int mixer_ctl_get_num_values(struct mixer_ctl *ctl); 292 unsigned int mixer_ctl_get_num_enums(struct mixer_ctl *ctl); 293 const char *mixer_ctl_get_enum_string(struct mixer_ctl *ctl, 300 void mixer_ctl_update(struct mixer_ctl *ctl); 303 int mixer_ctl_get_percent(struct mixer_ctl *ctl, unsigned int id); 304 int mixer_ctl_set_percent(struct mixer_ctl *ctl, unsigned int id, int percent); 306 int mixer_ctl_get_value(struct mixer_ctl *ctl, unsigne [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
H A D | 2-2.c | 132 pid_t p1, p2, p3, ctl; local 217 ctl = waitpid(p1, &status, 0); 219 if (ctl != p1) { 227 ctl = waitpid(p2, &status, 0); 229 if (ctl != p2) { 237 ctl = waitpid(p3, &status, 0); 239 if (ctl != p3) {
|
/external/valgrind/coregrind/ |
H A D | vgdb-invoker-solaris.c | 80 /* Process control file /proc/<pid>/ctl. 130 snprintf(procname, sizeof(procname), "/proc/%d/ctl", pid); 144 ctl_t ctl; local 145 ctl.cmd = PCSET; 146 ctl.arg.flags = PR_RLC; 147 size_t bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.flags); 148 ssize_t written = write(ctl_fd, (void *) &ctl, bytes); 157 ctl.cmd = PCSTOP; 158 bytes = sizeof(ctl 378 ctl_t ctl; local 468 ctl_t ctl; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/ |
H A D | 5-1.c | 154 int ctl = 0; local 178 ctl = 0; 182 &ctl); 228 if (ctl != 3) {
|
H A D | 6-1.c | 107 int *ctl; variable 112 *ctl = 1; 124 *ctl = 0; 176 if (*ctl != 1) 248 ctl = (int *)mmaped; 263 ret = pthread_create(&child, &scenarii[sc].ta, threaded, &ctl);
|
/external/adhd/cras/src/server/ |
H A D | cras_bt_adapter.c | 39 int ctl, err; local 46 ctl = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI); 47 if (ctl < 0) { 48 syslog(LOG_ERR, "Error creating HCI ctl socket"); 55 err = ioctl(ctl, HCIGETDEVINFO, (void *)&dev_info); 58 close(ctl); 64 close(ctl);
|