Home
last modified time | relevance | path

Searched refs:ctl (Results 1 – 25 of 35) sorted by relevance

12

/external/tinyalsa/
Dmixer.c58 struct mixer_ctl *ctl; member
72 if (mixer->ctl) { in mixer_close()
74 if (mixer->ctl[n].ename) { in mixer_close()
75 unsigned int max = mixer->ctl[n].info->value.enumerated.items; in mixer_close()
77 free(mixer->ctl[n].ename[m]); in mixer_close()
78 free(mixer->ctl[n].ename); in mixer_close()
81 free(mixer->ctl); in mixer_close()
115 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl)); in mixer_open()
117 if (!mixer->ctl || !mixer->elem_info) in mixer_open()
139 mixer->ctl[n].info = ei; in mixer_open()
[all …]
Dtinymix.c41 static void tinymix_print_enum(struct mixer_ctl *ctl, int print_all);
84 struct mixer_ctl *ctl; in tinymix_list_controls() local
95 ctl = mixer_get_ctl(mixer, i); in tinymix_list_controls()
97 name = mixer_ctl_get_name(ctl); in tinymix_list_controls()
98 type = mixer_ctl_get_type_string(ctl); in tinymix_list_controls()
99 num_values = mixer_ctl_get_num_values(ctl); in tinymix_list_controls()
105 static void tinymix_print_enum(struct mixer_ctl *ctl, int print_all) in tinymix_print_enum() argument
111 num_enums = mixer_ctl_get_num_enums(ctl); in tinymix_print_enum()
114 string = mixer_ctl_get_enum_string(ctl, i); in tinymix_print_enum()
116 printf("\t%s%s", mixer_ctl_get_value(ctl, 0) == (int)i ? ">" : "", in tinymix_print_enum()
[all …]
/external/tinyalsa/include/tinyalsa/
Dasoundlib.h278 const char *mixer_ctl_get_name(struct mixer_ctl *ctl);
279 enum mixer_ctl_type mixer_ctl_get_type(struct mixer_ctl *ctl);
280 const char *mixer_ctl_get_type_string(struct mixer_ctl *ctl);
281 unsigned int mixer_ctl_get_num_values(struct mixer_ctl *ctl);
282 unsigned int mixer_ctl_get_num_enums(struct mixer_ctl *ctl);
283 const char *mixer_ctl_get_enum_string(struct mixer_ctl *ctl,
290 void mixer_ctl_update(struct mixer_ctl *ctl);
293 int mixer_ctl_get_percent(struct mixer_ctl *ctl, unsigned int id);
294 int mixer_ctl_set_percent(struct mixer_ctl *ctl, unsigned int id, int percent);
296 int mixer_ctl_get_value(struct mixer_ctl *ctl, unsigned int id);
[all …]
/external/valgrind/coregrind/
Dvgdb-invoker-solaris.c144 ctl_t ctl; in attach() local
145 ctl.cmd = PCSET; in attach()
146 ctl.arg.flags = PR_RLC; in attach()
147 size_t bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.flags); in attach()
148 ssize_t written = write(ctl_fd, (void *) &ctl, bytes); in attach()
157 ctl.cmd = PCSTOP; in attach()
158 bytes = sizeof(ctl.cmd); in attach()
159 written = write(ctl_fd, (void *) &ctl, bytes); in attach()
378 ctl_t ctl; in invoke_agent() local
379 ctl.cmd = PCAGENT; in invoke_agent()
[all …]
/external/libpcap/
Dpcap-enet.c150 struct eniocb ctl; in initdevice() local
170 if (ioctl(if_fd, EIOCGETP, (char *)&ctl) == -1) { in initdevice()
178 ctl.en_rtout = 1 * ctl.en_hz; in initdevice()
179 ctl.en_tr_etherhead = 1; in initdevice()
180 ctl.en_tap_network = 1; in initdevice()
181 ctl.en_multi_packet = 1; in initdevice()
182 ctl.en_maxlen = BUFSPACE; in initdevice()
184 ctl.en_rtout = 64; /* randomly picked value for HZ */ in initdevice()
186 if (ioctl(if_fd, EIOCSETP, &ctl) == -1) { in initdevice()
202 maxwaiting = ctl.en_maxwaiting; in initdevice()
Dpcap-dlpi.c171 static struct strbuf ctl = { variable
216 if (getmsg(p->fd, &ctl, &data, &flags) < 0) { in pcap_read_dlpi()
1009 struct strbuf ctl; local
1012 ctl.maxlen = 0;
1013 ctl.len = len;
1014 ctl.buf = ptr;
1017 if (putmsg(fd, &ctl, (struct strbuf *) NULL, flags) < 0) {
1030 struct strbuf ctl; local
1040 ctl.maxlen = MAXDLBUF;
1041 ctl.len = 0;
[all …]
Dpcap-snit.c213 struct strbuf ctl, data; in pcap_inject_snit() local
220 ctl.len = sizeof(*sa); /* XXX - what was this? */ in pcap_inject_snit()
221 ctl.buf = (char *)sa; in pcap_inject_snit()
224 ret = putmsg(p->fd, &ctl, &data); in pcap_inject_snit()
/external/autotest/server/
Dsource_kernel.py55 ctl = ("testkernel = job.kernel('%s')\n" % kernel)
59 ctl += "testkernel.patch(%s)\n" % patches
62 ctl += "testkernel.config('%s')\n" % config
64 ctl += "testkernel.config('', None, True)\n"
66 ctl += "testkernel.build()\n"
70 return ctl
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
Dhtml_module.py66 def AppendHTMLContentsToFile(self, f, ctl, minify=False): argument
67 super(HTMLModule, self).AppendHTMLContentsToFile(f, ctl)
69 ctl.current_module = self
71 for piece in self._parser_results.YieldHTMLInPieces(ctl, minify=minify):
74 ctl.current_module = None
Dhtml_module_unittest.py310 ctl = html_generation_controller.HTMLGenerationController()
311 my_component.AppendHTMLContentsToFile(f, ctl)
Dmodule.py164 def AppendHTMLContentsToFile(self, f, ctl, minify=False): argument
/external/vulkan-validation-layers/loader/
Dvk_loader_platform.h181 static inline void loader_platform_thread_once(pthread_once_t *ctl, in loader_platform_thread_once() argument
184 assert(ctl != NULL); in loader_platform_thread_once()
185 pthread_once(ctl, func); in loader_platform_thread_once()
387 static void loader_platform_thread_once(void *ctl, void (*func)(void)) { in loader_platform_thread_once() argument
389 assert(ctl != NULL); in loader_platform_thread_once()
390 InitOnceExecuteOnce((PINIT_ONCE)ctl, InitFuncWrapper, func, NULL); in loader_platform_thread_once()
/external/google-breakpad/src/client/solaris/handler/
Dsolaris_lwp.cc179 long ctl[2]; in ControlLwp() local
180 ctl[0] = suspend ? PCSTOP : PCRUN; in ControlLwp()
181 ctl[1] = 0; in ControlLwp()
182 if (write(ctlfd, ctl, sizeof (ctl)) != sizeof (ctl)) { in ControlLwp()
/external/libevent/
Devent.c738 struct common_timeout_list *ctl = in event_base_free() local
740 event_del(&ctl->timeout_event); /* Internal; doesn't count */ in event_base_free()
741 event_debug_unassign(&ctl->timeout_event); in event_base_free()
742 for (ev = TAILQ_FIRST(&ctl->events); ev; ) { in event_base_free()
751 mm_free(ctl); in event_base_free()
1145 common_timeout_schedule(struct common_timeout_list *ctl, in common_timeout_schedule() argument
1150 event_add_internal(&ctl->timeout_event, &timeout, 1); in common_timeout_schedule()
1160 struct common_timeout_list *ctl = arg; in common_timeout_callback() local
1161 struct event_base *base = ctl->base; in common_timeout_callback()
1166 ev = TAILQ_FIRST(&ctl->events); in common_timeout_callback()
[all …]
/external/curl/lib/
Dcurl_ntlm_core.c285 _CIPHER_Control_T ctl; in encrypt_des() local
288 ctl.Func_ID = ENCRYPT_ONLY; in encrypt_des()
289 ctl.Data_Len = sizeof(key); in encrypt_des()
292 extend_key_56_to_64(key_56, ctl.Crypto_Key); in encrypt_des()
295 Curl_des_set_odd_parity((unsigned char *) ctl.Crypto_Key, ctl.Data_Len); in encrypt_des()
298 _CIPHER((_SPCPTR *) &out, &ctl, (_SPCPTR *) &in); in encrypt_des()
/external/libvncserver/webclients/novnc/include/
Drfb.js1732 var ctl = this._sock.rQpeek8();
1735 resetStreams = ctl & 0xF;
1738 ctl = ctl >> 4;
1739 streamId = ctl & 0x3;
1741 if (ctl === 0x08) cmode = "fill";
1742 else if (ctl === 0x09) cmode = "jpeg";
1743 else if (ctl === 0x0A) cmode = "png";
1744 else if (ctl & 0x04) cmode = "filter";
1745 else if (ctl < 0x04) cmode = "copy";
1746 else return this._fail("Illegal tight compression received, ctl: " + ctl);
/external/jemalloc/include/jemalloc/internal/
Dctl.h24 int (*ctl)(const size_t *, size_t, void *, size_t *, member
Djemalloc_internal.h.in369 #include "jemalloc/internal/ctl.h"
400 #include "jemalloc/internal/ctl.h"
492 #include "jemalloc/internal/ctl.h"
523 #include "jemalloc/internal/ctl.h"
/external/libdrm/
Dxf86drm.c2160 drm_control_t ctl; in drmCtlInstHandler() local
2162 memclear(ctl); in drmCtlInstHandler()
2163 ctl.func = DRM_INST_HANDLER; in drmCtlInstHandler()
2164 ctl.irq = irq; in drmCtlInstHandler()
2165 if (drmIoctl(fd, DRM_IOCTL_CONTROL, &ctl)) in drmCtlInstHandler()
2184 drm_control_t ctl; in drmCtlUninstHandler() local
2186 memclear(ctl); in drmCtlUninstHandler()
2187 ctl.func = DRM_UNINST_HANDLER; in drmCtlUninstHandler()
2188 ctl.irq = 0; in drmCtlUninstHandler()
2189 if (drmIoctl(fd, DRM_IOCTL_CONTROL, &ctl)) in drmCtlUninstHandler()
/external/valgrind/VEX/priv/
Dhost_ppc_defs.h819 HReg ctl; member
825 HReg ctl; member
1053 extern PPCInstr* PPCInstr_AvPerm ( HReg dst, HReg srcL, HReg srcR, HReg ctl );
1054 extern PPCInstr* PPCInstr_AvSel ( HReg ctl, HReg dst, HReg srcL, HReg srcR );
Dhost_ppc_defs.c1330 PPCInstr* PPCInstr_AvPerm ( HReg dst, HReg srcL, HReg srcR, HReg ctl ) { in PPCInstr_AvPerm() argument
1336 i->Pin.AvPerm.ctl = ctl; in PPCInstr_AvPerm()
1340 PPCInstr* PPCInstr_AvSel ( HReg ctl, HReg dst, HReg srcL, HReg srcR ) { in PPCInstr_AvSel() argument
1343 i->Pin.AvSel.ctl = ctl; in PPCInstr_AvSel()
1931 ppHRegPPC(i->Pin.AvPerm.ctl); in ppPPCInstr()
1942 ppHRegPPC(i->Pin.AvSel.ctl); in ppPPCInstr()
2470 addHRegUse(u, HRmRead, i->Pin.AvPerm.ctl); in getRegUsage_PPCInstr()
2474 addHRegUse(u, HRmRead, i->Pin.AvSel.ctl); in getRegUsage_PPCInstr()
2805 mapReg(m, &i->Pin.AvPerm.ctl); in mapRegs_PPCInstr()
2811 mapReg(m, &i->Pin.AvSel.ctl); in mapRegs_PPCInstr()
[all …]
/external/jemalloc/
DAndroid.mk88 src/ctl.c \
DAndroid.bp106 "src/ctl.c",
/external/v8/src/compiler/
Dverifier.cc1254 Node* ctl = NodeProperties::GetControlInput(node); in CheckInputsDominate() local
1255 if (!Dominates(schedule, ctl, node)) { in CheckInputsDominate()
1259 ctl->id(), ctl->op()->mnemonic()); in CheckInputsDominate()
/external/jemalloc/src/
Dctl.c872 if (node->ctl != NULL) { in ctl_lookup()
925 if (node != NULL && node->ctl) in ctl_byname()
926 ret = node->ctl(mib, depth, oldp, oldlenp, newp, newlen); in ctl_byname()
990 if (node && node->ctl) in ctl_bymib()
991 ret = node->ctl(mib, miblen, oldp, oldlenp, newp, newlen); in ctl_bymib()

12