/third_party/alsa-utils/alsactl/init/ |
D | test | 5 PRINT=" CTL{numid}=\"$ctl{numid}\"\n" 6 PRINT=" CTL{iface}=\"$ctl{iface}\"\n" 7 PRINT=" CTL{device}=\"$ctl{device}\"\n" 8 PRINT=" CTL{subdevice}=\"$ctl{subdevice}\"\n" 9 PRINT=" CTL{name}=\"$ctl{name}\"\n" 10 PRINT=" CTL{index}=\"$ctl{index}\"\n" 15 PRINT=" CTL{numid}=\"$ctl{numid}\"\n" 16 PRINT=" CTL{iface}=\"$ctl{iface}\"\n" 17 PRINT=" CTL{device}=\"$ctl{device}\"\n" 18 PRINT=" CTL{subdevice}=\"$ctl{subdevice}\"\n" [all …]
|
/third_party/alsa-lib/src/control/ |
D | control_shm.c | 50 static int snd_ctl_shm_action(snd_ctl_t *ctl) in snd_ctl_shm_action() argument 52 snd_ctl_shm_t *shm = ctl->private_data; in snd_ctl_shm_action() 69 static int snd_ctl_shm_action_fd(snd_ctl_t *ctl, int *fd) in snd_ctl_shm_action_fd() argument 71 snd_ctl_shm_t *shm = ctl->private_data; in snd_ctl_shm_action_fd() 88 static int snd_ctl_shm_close(snd_ctl_t *ctl) in snd_ctl_shm_close() argument 90 snd_ctl_shm_t *shm = ctl->private_data; in snd_ctl_shm_close() 94 result = snd_ctl_shm_action(ctl); in snd_ctl_shm_close() 106 static int snd_ctl_shm_async(snd_ctl_t *ctl, int sig, pid_t pid) in snd_ctl_shm_async() argument 108 snd_ctl_shm_t *shm = ctl->private_data; in snd_ctl_shm_async() 115 return snd_ctl_shm_action(ctl); in snd_ctl_shm_async() [all …]
|
D | control.c | 209 const char *snd_ctl_name(snd_ctl_t *ctl) in snd_ctl_name() argument 211 assert(ctl); in snd_ctl_name() 212 return ctl->name; in snd_ctl_name() 222 snd_ctl_type_t snd_ctl_type(snd_ctl_t *ctl) in snd_ctl_type() argument 224 assert(ctl); in snd_ctl_type() 225 return ctl->type; in snd_ctl_type() 236 int snd_ctl_close(snd_ctl_t *ctl) in snd_ctl_close() argument 239 while (!list_empty(&ctl->async_handlers)) { in snd_ctl_close() 240 snd_async_handler_t *h = list_entry(&ctl->async_handlers.next, snd_async_handler_t, hlist); in snd_ctl_close() 243 err = ctl->ops->close(ctl); in snd_ctl_close() [all …]
|
D | hcontrol.c | 72 snd_ctl_t *ctl; in snd_hctl_open() local 75 if ((err = snd_ctl_open(&ctl, name, mode)) < 0) in snd_hctl_open() 77 err = snd_hctl_open_ctl(hctlp, ctl); in snd_hctl_open() 79 snd_ctl_close(ctl); in snd_hctl_open() 89 int snd_hctl_open_ctl(snd_hctl_t **hctlp, snd_ctl_t *ctl) in snd_hctl_open_ctl() argument 98 hctl->ctl = ctl; in snd_hctl_open_ctl() 116 err = snd_ctl_close(hctl->ctl); in snd_hctl_close() 133 return snd_ctl_name(hctl->ctl); in snd_hctl_name() 145 return snd_ctl_nonblock(hctl->ctl, nonblock); in snd_hctl_nonblock() 160 return snd_ctl_async(hctl->ctl, sig, pid); in snd_hctl_async() [all …]
|
D | control_remap.c | 309 static int snd_ctl_remap_close(snd_ctl_t *ctl) in snd_ctl_remap_close() argument 311 snd_ctl_remap_t *priv = ctl->private_data; in snd_ctl_remap_close() 317 static int snd_ctl_remap_nonblock(snd_ctl_t *ctl, int nonblock) in snd_ctl_remap_nonblock() argument 319 snd_ctl_remap_t *priv = ctl->private_data; in snd_ctl_remap_nonblock() 323 static int snd_ctl_remap_async(snd_ctl_t *ctl, int sig, pid_t pid) in snd_ctl_remap_async() argument 325 snd_ctl_remap_t *priv = ctl->private_data; in snd_ctl_remap_async() 329 static int snd_ctl_remap_subscribe_events(snd_ctl_t *ctl, int subscribe) in snd_ctl_remap_subscribe_events() argument 331 snd_ctl_remap_t *priv = ctl->private_data; in snd_ctl_remap_subscribe_events() 335 static int snd_ctl_remap_card_info(snd_ctl_t *ctl, snd_ctl_card_info_t *info) in snd_ctl_remap_card_info() argument 337 snd_ctl_remap_t *priv = ctl->private_data; in snd_ctl_remap_card_info() [all …]
|
D | setup.c | 54 snd_ctl_t *ctl; member 73 err = snd_ctl_close(h->ctl); in free_elems() 94 err = snd_ctl_elem_lock(h->ctl, elem->id); in snd_sctl_install() 100 err = snd_ctl_elem_read(h->ctl, elem->old); in snd_sctl_install() 167 err = snd_ctl_elem_write(h->ctl, elem->val); in snd_sctl_install() 189 err = snd_ctl_elem_unlock(h->ctl, elem->id); in snd_sctl_remove() 206 err = snd_ctl_elem_write(h->ctl, elem->old); in snd_sctl_remove() 216 static int snd_config_get_ctl_elem_enumerated(snd_config_t *n, snd_ctl_t *ctl, in snd_config_get_ctl_elem_enumerated() argument 236 err = snd_ctl_elem_info(ctl, info); in snd_config_get_ctl_elem_enumerated() 248 snd_ctl_t *ctl, in snd_config_get_ctl_elem_value() argument [all …]
|
/third_party/alsa-lib/src/mixer/ |
D | simple_none.c | 237 snd_ctl_elem_value_t ctl = {0}; in elem_read_volume() local 241 if ((err = snd_hctl_elem_read(c->elem, &ctl)) < 0) in elem_read_volume() 249 snd_ctl_elem_value_get_integer(&ctl, idx1)); in elem_read_volume() 256 snd_ctl_elem_value_t ctl = {0}; in elem_read_switch() local 260 if ((err = snd_hctl_elem_read(c->elem, &ctl)) < 0) in elem_read_switch() 266 if (!snd_ctl_elem_value_get_integer(&ctl, idx1)) in elem_read_switch() 274 snd_ctl_elem_value_t ctl = {0}; in elem_read_route() local 278 if ((err = snd_hctl_elem_read(c->elem, &ctl)) < 0) in elem_read_route() 284 if (!snd_ctl_elem_value_get_integer(&ctl, in elem_read_route() 293 snd_ctl_elem_value_t ctl = {0}; in elem_read_enum() local [all …]
|
/third_party/alsa-lib/include/ |
D | control.h | 378 int snd_ctl_open(snd_ctl_t **ctl, const char *name, int mode); 379 int snd_ctl_open_lconf(snd_ctl_t **ctl, const char *name, int mode, snd_config_t *lconf); 380 int snd_ctl_open_fallback(snd_ctl_t **ctl, snd_config_t *root, const char *name, const char *orig_n… 381 int snd_ctl_close(snd_ctl_t *ctl); 382 int snd_ctl_nonblock(snd_ctl_t *ctl, int nonblock); 383 static __inline__ int snd_ctl_abort(snd_ctl_t *ctl) { return snd_ctl_nonblock(ctl, 2); } in snd_ctl_abort() argument 384 int snd_async_add_ctl_handler(snd_async_handler_t **handler, snd_ctl_t *ctl, 387 int snd_ctl_poll_descriptors_count(snd_ctl_t *ctl); 388 int snd_ctl_poll_descriptors(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int space); 389 int snd_ctl_poll_descriptors_revents(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int nfds, unsign… [all …]
|
/third_party/mindspore/third_party/securec/src/ |
D | strtok_s.c | 27 const char *ctl = strDelimit; in SecFindBegin() local 28 while (*ctl != '\0' && *ctl != *token) { in SecFindBegin() 29 ++ctl; in SecFindBegin() 31 if (*ctl == '\0') { /* don't find any delimiter in string header, break the loop */ in SecFindBegin() 49 const char *ctl = strDelimit; in SecFindRest() local 50 while (*ctl != '\0' && *ctl != *token) { in SecFindRest() 51 ++ctl; in SecFindRest() 53 if (*ctl != '\0') { /* find a delimiter */ in SecFindRest()
|
D | wcstok_s.c | 29 const wchar_t *ctl = strDelimit; in SecFindBeginW() local 30 while (*ctl != L'\0' && *ctl != *token) { in SecFindBeginW() 31 ++ctl; in SecFindBeginW() 33 if (*ctl == L'\0') { in SecFindBeginW() 51 const wchar_t *ctl = strDelimit; in SecFindRestW() local 52 while (*ctl != L'\0' && *ctl != *token) { in SecFindRestW() 53 ++ctl; in SecFindRestW() 55 if (*ctl != L'\0') { in SecFindRestW()
|
/third_party/alsa-utils/alsaloop/ |
D | control.c | 161 struct loopback_control *ctl) in control_init1() argument 165 snd_ctl_elem_info_set_id(ctl->info, ctl->id); in control_init1() 166 snd_ctl_elem_value_set_id(ctl->value, ctl->id); in control_init1() 167 if (lhandle->ctl == NULL) { in control_init1() 168 logit(LOG_WARNING, "Unable to read control info for '%s'\n", id_str(ctl->id)); in control_init1() 171 err = snd_ctl_elem_info(lhandle->ctl, ctl->info); in control_init1() 173 logit(LOG_WARNING, "Unable to read control info '%s': %s\n", id_str(ctl->id), snd_strerror(err)); in control_init1() 176 err = snd_ctl_elem_read(lhandle->ctl, ctl->value); in control_init1() 178 …logit(LOG_WARNING, "Unable to read control value (init1) '%s': %s\n", id_str(ctl->id), snd_strerro… in control_init1() 253 snd_ctl_elem_remove(loop->capt->ctl, mix->dst.id); in control_init2() [all …]
|
/third_party/alsa-lib/alsalisp/ |
D | hctl.lisp | 35 (setq ctl (Acall 'ctl_open 'default nil)) 36 (if (= (Aerror ctl) 0) 38 (princ "ctl open success: " ctl "\n") 39 (setq ctl (Ahandle ctl)) 40 (setq info (Aresult (Acall 'ctl_card_info ctl))) 44 (setq hctl (Acall 'hctl_open_ctl ctl)) 79 (Acall 'ctl_close ctl) 85 (princ "ctl open failed: " ctl "\n") 88 (unsetq ctl)
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 4-1.c | 50 pid_t child, ctl; in main() local 54 ctl = getpid(); in main() 65 if (ctl != getppid()) { in main() 75 ctl = waitpid(child, &status, 0); in main() 76 if (ctl != child) { in main()
|
D | 21-1.c | 71 pid_t child, ctl; in main() local 76 ctl = getpid(); in main() 87 ret = pthread_create(&th, NULL, threaded, &ctl); in main() 116 ctl = waitpid(child, &status, 0); in main() 118 if (ctl != child) in main()
|
D | 9-1.c | 53 pid_t child, ctl; in main() local 86 ctl = waitpid(child, &status, 0); in main() 88 if (ctl != child) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | 2-2.c | 130 pid_t p1, p2, p3, ctl; in main() local 215 ctl = waitpid(p1, &status, 0); in main() 217 if (ctl != p1) { in main() 225 ctl = waitpid(p2, &status, 0); in main() 227 if (ctl != p2) { in main() 235 ctl = waitpid(p3, &status, 0); in main() 237 if (ctl != p3) { in main()
|
/third_party/alsa-lib/src/ |
D | confmisc.c | 626 static int open_ctl(long card, snd_ctl_t **ctl) in open_ctl() argument 631 return snd_ctl_open(ctl, name, 0); in open_ctl() 754 snd_ctl_t *ctl = NULL; in snd_determine_driver() local 760 err = open_ctl(card, &ctl); in snd_determine_driver() 765 err = snd_ctl_card_info(ctl, &info); in snd_determine_driver() 778 if (ctl) in snd_determine_driver() 779 snd_ctl_close(ctl); in snd_determine_driver() 952 snd_ctl_t *ctl = NULL; in snd_func_card_id() local 960 err = open_ctl(card, &ctl); in snd_func_card_id() 965 err = snd_ctl_card_info(ctl, &info); in snd_func_card_id() [all …]
|
/third_party/alsa-lib/aserver/ |
D | aserver.c | 183 } ctl; member 550 snd_ctl_t *ctl; in ctl_shm_open() local 553 err = snd_ctl_open(&ctl, client->name, SND_CTL_NONBLOCK); in ctl_shm_open() 556 client->device.ctl.handle = ctl; in ctl_shm_open() 557 client->device.ctl.fd = _snd_ctl_poll_descriptor(ctl); in ctl_shm_open() 574 add_waiter(client->device.ctl.fd, POLLIN, ctl_handler, client); in ctl_shm_open() 579 snd_ctl_close(ctl); in ctl_shm_open() 589 del_waiter(client->device.ctl.fd); in ctl_shm_close() 592 err = snd_ctl_close(client->device.ctl.handle); in ctl_shm_close() 615 snd_ctl_t *ctl; in ctl_shm_cmd() local [all …]
|
/third_party/bounds_checking_function/src/ |
D | strtok_s.c | 20 const char *ctl = strDelimit; in SecIsInDelimit() local 21 while (*ctl != '\0' && *ctl != ch) { in SecIsInDelimit() 22 ++ctl; in SecIsInDelimit() 24 return (int)(*ctl != '\0'); in SecIsInDelimit()
|
D | wcstok_s.c | 20 const wchar_t *ctl = strDelimit; in SecIsInDelimitW() local 21 while (*ctl != L'\0' && *ctl != ch) { in SecIsInDelimitW() 22 ++ctl; in SecIsInDelimitW() 24 return (int)(*ctl != L'\0'); in SecIsInDelimitW()
|
/third_party/ffmpeg/libavfilter/ |
D | af_ladspa.c | 98 for (int ctl = 0; ctl < s->nb_outputcontrols; ctl++) { in find_latency() local 99 if (av_strcasecmp("latency", s->desc->PortNames[s->ocmap[ctl]])) in find_latency() 102 latency = lrintf(s->octlv[ctl]); in find_latency() 110 LADSPAContext *s, int ctl, unsigned long *map, in print_ctl_info() argument 113 const LADSPA_PortRangeHint *h = s->desc->PortRangeHints + map[ctl]; in print_ctl_info() 115 av_log(ctx, level, "c%i: %s [", ctl, s->desc->PortNames[map[ctl]]); in print_ctl_info() 121 av_log(ctx, level, " (default %i)", (int)values[ctl]); in print_ctl_info() 133 av_log(ctx, level, " (value %d)", (int)values[ctl]); in print_ctl_info() 135 av_log(ctx, level, " (default %d)", (int)values[ctl]); in print_ctl_info() 146 av_log(ctx, level, " (value %f)", values[ctl]); in print_ctl_info() [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/ |
D | 6-1.c | 99 static int *ctl; variable 105 *ctl = 1; in clnp() 117 *ctl = 0; in threaded() 169 if (*ctl != 1) in threaded() 241 ctl = (int *)mmaped; in main() 256 ret = pthread_create(&child, &scenarii[sc].ta, threaded, &ctl); in main()
|
D | 5-1.c | 141 int ctl = 0; in main() local 166 ctl = 0; in main() 170 &ctl); in main() 216 if (ctl != 3) { in main()
|
/third_party/alsa-lib/modules/mixer/simple/python/ |
D | main.py | 13 ctl = Control(device) variable 14 info = ctl.cardInfo() 17 del ctl
|
/third_party/alsa-utils/alsactl/ |
D | state.c | 166 snd_ctl_elem_info_t *info, snd_ctl_elem_value_t *ctl, in add_tlv_comments() argument 213 snd_ctl_elem_value_get_integer(ctl, i), &dbgain); in add_tlv_comments() 230 snd_ctl_elem_value_t *ctl; in get_control() local 241 snd_ctl_elem_value_alloca(&ctl); in get_control() 252 snd_ctl_elem_value_set_id(ctl, id); in get_control() 253 err = snd_ctl_elem_read(handle, ctl); in get_control() 326 err = add_tlv_comments(handle, id, info, ctl, comment); in get_control() 418 (const unsigned char *)snd_ctl_elem_value_get_bytes(ctl); in get_control() 439 …err = snd_config_string_add(control, "value", snd_ctl_elem_value_get_boolean(ctl, 0) ? "true" : "f… in get_control() 446 err = snd_config_integer_add(control, "value", snd_ctl_elem_value_get_integer(ctl, 0)); in get_control() [all …]
|