/external/tinycompress/ |
D | compress_plugin.c | 69 struct compress_plugin *plugin; member 76 struct compress_plugin *plugin = plug_data->plugin; in compress_plug_get_caps() local 78 return plugin->ops->get_caps(plugin, caps); in compress_plug_get_caps() 84 struct compress_plugin *plugin = plug_data->plugin; in compress_plug_set_params() local 87 if (plugin->state != COMPRESS_PLUG_STATE_OPEN) in compress_plug_set_params() 95 rc = plugin->ops->set_params(plugin, params); in compress_plug_set_params() 97 plugin->state = COMPRESS_PLUG_STATE_SETUP; in compress_plug_set_params() 105 struct compress_plugin *plugin = plug_data->plugin; in compress_plug_avail() local 107 return plugin->ops->avail(plugin, avail); in compress_plug_avail() 113 struct compress_plugin *plugin = plug_data->plugin; in compress_plug_tstamp() local [all …]
|
/external/adhd/cras/src/server/ |
D | cras_alsa_plugin_io.c | 53 struct alsa_plugin *plugin; in hctl_event_pending() local 55 plugin = (struct alsa_plugin *)arg; in hctl_event_pending() 56 if (plugin->hctl == NULL) in hctl_event_pending() 61 snd_hctl_handle_events(plugin->hctl); in hctl_event_pending() 65 static void collect_poll_descriptors(struct alsa_plugin *plugin) in collect_poll_descriptors() argument 71 n = snd_hctl_poll_descriptors_count(plugin->hctl); in collect_poll_descriptors() 81 n = snd_hctl_poll_descriptors(plugin->hctl, pollfds, n); in collect_poll_descriptors() 89 DL_APPEND(plugin->hctl_poll_fds, registered_fd); in collect_poll_descriptors() 91 registered_fd->fd, hctl_event_pending, plugin, POLLIN); in collect_poll_descriptors() 93 DL_DELETE(plugin->hctl_poll_fds, registered_fd); in collect_poll_descriptors() [all …]
|
D | cras_dsp_ini.c | 96 struct plugin *plugin) in parse_ports() argument 122 p = ARRAY_APPEND_ZERO(&plugin->ports); in parse_ports() 133 p = ARRAY_APPEND_ZERO(&plugin->ports); in parse_ports() 145 struct plugin *p) in parse_plugin_section() 171 struct plugin *plugin; in fill_flow_info() local 174 struct plugin **pplugin; in fill_flow_info() 177 ARRAY_ELEMENT_FOREACH (&ini->plugins, i, plugin) { in fill_flow_info() 178 ARRAY_ELEMENT_FOREACH (&plugin->ports, j, port) { in fill_flow_info() 191 *pplugin = plugin; in fill_flow_info() 198 static void add_audio_port(struct ini *ini, struct plugin *plugin, int flow_id, in add_audio_port() argument [all …]
|
D | cras_dsp_pipeline.c | 49 struct plugin *plugin; /* the plugin corresponds to the instance */ member 57 struct plugin *plugin; /* the plugin corresponds to the instance */ member 71 struct plugin *plugin; member 148 const struct plugin *plugin) in find_instance_by_plugin() argument 154 if (instance->plugin == plugin) in find_instance_by_plugin() 165 const struct plugin *plugin, int index, in find_origin_port() argument 166 const struct plugin **origin, int *origin_index) in find_origin_port() 175 port = ARRAY_ELEMENT(&plugin->ports, index); in find_origin_port() 183 plugin = flow->from; in find_origin_port() 187 if (find_instance_by_plugin(instances, plugin)) { in find_origin_port() [all …]
|
/external/tinyalsa/ |
D | mixer_plugin.c | 59 struct mixer_plugin *plugin; member 67 struct mixer_plugin *plugin = plug_data->plugin; in mixer_plug_get_elem_id() local 70 if (offset >= plugin->num_controls) { in mixer_plug_get_elem_id() 75 ctl = plugin->controls + offset; in mixer_plug_get_elem_id() 133 void mixer_plug_notifier_cb(struct mixer_plugin *plugin) in mixer_plug_notifier_cb() argument 135 plugin->event_cnt++; in mixer_plug_notifier_cb() 136 eventfd_write(plugin->eventfd, 1); in mixer_plug_notifier_cb() 144 struct mixer_plugin *plugin = plug_data->plugin; in mixer_plug_read_event() local 148 result = plugin->ops->read_event(plugin, (struct ctl_event *)ev, size); in mixer_plug_read_event() 151 plugin->event_cnt -= result / sizeof(struct snd_ctl_event); in mixer_plug_read_event() [all …]
|
D | pcm_plugin.c | 81 struct pcm_plugin *plugin; member 96 struct pcm_plugin *plugin = plug_data->plugin; in pcm_plug_close() local 98 plugin->ops->close(plugin); in pcm_plug_close() 188 static int pcm_plug_get_params(struct pcm_plugin *plugin, in pcm_plug_get_params() argument 203 plugin->constraints->access); in pcm_plug_get_params() 205 plugin->constraints->format); in pcm_plug_get_params() 211 &plugin->constraints->bit_width, 1); in pcm_plug_get_params() 213 &plugin->constraints->channels, 1); in pcm_plug_get_params() 215 &plugin->constraints->rate, 1); in pcm_plug_get_params() 217 &plugin->constraints->period_bytes, 0); in pcm_plug_get_params() [all …]
|
/external/tinyalsa_new/src/ |
D | mixer_plugin.c | 63 struct mixer_plugin *plugin; member 71 struct mixer_plugin *plugin = plug_data->plugin; in mixer_plug_get_elem_id() local 74 if (offset >= plugin->num_controls) { in mixer_plug_get_elem_id() 80 ctl = plugin->controls + offset; in mixer_plug_get_elem_id() 138 void mixer_plug_notifier_cb(struct mixer_plugin *plugin) in mixer_plug_notifier_cb() argument 140 plugin->event_cnt++; in mixer_plug_notifier_cb() 141 eventfd_write(plugin->eventfd, 1); in mixer_plug_notifier_cb() 149 struct mixer_plugin *plugin = plug_data->plugin; in mixer_plug_read_event() local 153 result = plug_data->ops->read_event(plugin, ev, size); in mixer_plug_read_event() 156 plugin->event_cnt -= result / sizeof(struct snd_ctl_event); in mixer_plug_read_event() [all …]
|
D | pcm_plugin.c | 80 struct pcm_plugin *plugin; member 113 struct pcm_plugin *plugin = plug_data->plugin; in pcm_plug_close() local 115 plug_data->ops->close(plugin); in pcm_plug_close() 205 static int pcm_plug_get_params(struct pcm_plugin *plugin, in pcm_plug_get_params() argument 220 plugin->constraints->access); in pcm_plug_get_params() 222 plugin->constraints->format); in pcm_plug_get_params() 228 &plugin->constraints->bit_width, 1); in pcm_plug_get_params() 230 &plugin->constraints->channels, 1); in pcm_plug_get_params() 232 &plugin->constraints->rate, 1); in pcm_plug_get_params() 234 &plugin->constraints->period_bytes, 0); in pcm_plug_get_params() [all …]
|
/external/tinycompress/include/tinycompress/ |
D | compress_plugin.h | 38 int name##_open(struct compress_plugin **plugin, \ 44 int (*plugin_open_fn) (struct compress_plugin **plugin, \ 52 void (*close) (struct compress_plugin *plugin); 53 int (*get_caps) (struct compress_plugin *plugin, 55 int (*set_params) (struct compress_plugin *plugin, 57 int (*avail) (struct compress_plugin *plugin, 59 int (*tstamp) (struct compress_plugin *plugin, 61 int (*write) (struct compress_plugin *plugin, 63 int (*read) (struct compress_plugin *plugin, 65 int (*start) (struct compress_plugin *plugin); [all …]
|
/external/tinyalsa/include/tinyalsa/ |
D | pcm_plugin.h | 36 int name##_open(struct pcm_plugin **plugin, \ 42 int (*plugin_open_fn) (struct pcm_plugin **plugin, \ 50 int (*close) (struct pcm_plugin *plugin); 51 int (*hw_params) (struct pcm_plugin *plugin, 53 int (*sw_params) (struct pcm_plugin *plugin, 55 int (*sync_ptr) (struct pcm_plugin *plugin, 57 int (*writei_frames) (struct pcm_plugin *plugin, 59 int (*readi_frames) (struct pcm_plugin *plugin, 61 int (*ttstamp) (struct pcm_plugin *plugin, 63 int (*prepare) (struct pcm_plugin *plugin); [all …]
|
/external/llvm-project/llvm/test/tools/gold/X86/ |
D | slp-vectorize-pm.ll | 4 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 5 ; RUN: --plugin-opt=thinlto \ 6 ; RUN: --plugin-opt=new-pass-manager \ 7 ; RUN: --plugin-opt=debug-pass-manager \ 8 ; RUN: --plugin-opt=cache-dir=%t.cache \ 9 ; RUN: --plugin-opt=O0 \ 10 ; RUN: --plugin-opt=save-temps \ 15 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 16 ; RUN: --plugin-opt=thinlto \ 17 ; RUN: --plugin-opt=new-pass-manager \ [all …]
|
D | opt-level.ll | 2 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \ 4 ; RUN: -plugin-opt=O0 -r -o %t.o %t.bc 6 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \ 8 ; RUN: -plugin-opt=O1 -r -o %t.o %t.bc 10 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \ 12 ; RUN: -plugin-opt=O2 -r -o %t.o %t.bc 15 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \ 16 ; RUN: -m elf_x86_64 --plugin-opt=new-pass-manager \ 17 ; RUN: -plugin-opt=O0 -r -o %t.o %t.bc 19 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \ [all …]
|
D | opt-remarks.ll | 1 ; Test plugin options for opt-remarks. 3 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext -shared \ 4 ; RUN: -plugin-opt=save-temps \ 5 ; RUN: -plugin-opt=opt-remarks-passes=inline \ 6 ; RUN: -plugin-opt=opt-remarks-format=yaml \ 7 ; RUN: -plugin-opt=opt-remarks-filename=%t.yaml %t.o -o %t2.o 2>&1 9 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext -shared \ 10 ; RUN: -plugin-opt=opt-remarks-passes=inline \ 11 ; RUN: -plugin-opt=opt-remarks-format=yaml \ 12 ; RUN: -plugin-opt=opt-remarks-with-hotness \ [all …]
|
D | cache.ll | 6 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 7 ; RUN: --plugin-opt=thinlto \ 8 ; RUN: --plugin-opt=cache-dir=%t.cache \ 21 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 22 ; RUN: --plugin-opt=thinlto \ 23 ; RUN: --plugin-opt=cache-dir=%t.cache \ 34 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 35 ; RUN: --plugin-opt=thinlto \ 36 ; RUN: --plugin-opt=cache-dir=%t.cache \ 37 ; RUN: --plugin-opt=cache-policy=prune_after=1h:prune_interval=0s \ [all …]
|
D | thinlto.ll | 1 ; First ensure that the ThinLTO handling in the gold plugin handles 5 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ 7 ; RUN: --plugin-opt=thinlto \ 8 ; RUN: --plugin-opt=thinlto-index-only \ 11 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ 13 ; RUN: --plugin-opt=thinlto \ 22 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ 24 ; RUN: --plugin-opt=thinlto \ 25 ; RUN: --plugin-opt=thinlto-index-only \ 36 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ [all …]
|
/external/libwebsockets/lib/plat/unix/ |
D | unix-plugins.c | 50 struct lws_plugin *plugin; in lws_plat_plugins_init() local 104 plugin = lws_malloc(sizeof(*plugin), "plugin"); in lws_plat_plugins_init() 105 if (!plugin) { in lws_plat_plugins_init() 110 plugin->list = context->plugin_list; in lws_plat_plugins_init() 111 context->plugin_list = plugin; in lws_plat_plugins_init() 112 lws_strncpy(plugin->name, namelist[i]->d_name, in lws_plat_plugins_init() 113 sizeof(plugin->name)); in lws_plat_plugins_init() 114 plugin->l = l; in lws_plat_plugins_init() 115 plugin->caps = lcaps; in lws_plat_plugins_init() 142 struct lws_plugin *plugin = context->plugin_list, *p; in lws_plat_plugins_destroy() local [all …]
|
/external/llvm-project/clang/examples/PrintFunctionNames/ |
D | README.txt | 2 providing AST consumers using a plugin. 4 Build the plugin by running `make` in this directory. 6 Once the plugin is built, you can run it using: 9 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns some-input-fi… 10 … ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-print-fns help -pl… 11 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-p… 14 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns some-input… 15 …/../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-arg-print-fns help -pl… 16 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-ar…
|
/external/clang/examples/PrintFunctionNames/ |
D | README.txt | 2 providing AST consumers using a plugin. 4 Build the plugin by running `make` in this directory. 6 Once the plugin is built, you can run it using: 9 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns some-input-fi… 10 … ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-print-fns help -pl… 11 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-p… 14 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns some-input… 15 …/../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-arg-print-fns help -pl… 16 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-ar…
|
/external/llvm-project/lld/test/ELF/ |
D | lto-plugin-ignore.s | 9 # RUN: -plugin path/to/liblto_plugin.so \ 10 # RUN: -plugin-opt=/path/to/lto-wrapper \ 11 # RUN: -plugin-opt=relative/path/to/lto-wrapper \ 12 # RUN: -plugin-opt=-fresolution=zed \ 13 # RUN: -plugin-opt=-pass-through=-lgcc \ 14 # RUN: -plugin-opt=-pass-through=-lgcc_eh \ 15 # RUN: -plugin-opt=-pass-through=-lc 19 # RUN: ld.lld %t.o -o /dev/null -plugin /path/to/LLVMgold.so -plugin-opt=thinlto 21 ## Other -plugin-opt=- prefixed options are passed through to cl::ParseCommandLineOptions. 22 # RUN: not ld.lld %t.o -o /dev/null -plugin-opt=-abc -plugin-opt=-xyz 2>&1 | FileCheck %s [all …]
|
/external/tinyalsa_new/include/tinyalsa/ |
D | plugin.h | 101 int (*open) (struct pcm_plugin **plugin, unsigned int card, 104 int (*close) (struct pcm_plugin *plugin); 106 int (*hw_params) (struct pcm_plugin *plugin, 109 int (*sw_params) (struct pcm_plugin *plugin, 112 int (*sync_ptr) (struct pcm_plugin *plugin, 115 int (*writei_frames) (struct pcm_plugin *plugin, 118 int (*readi_frames) (struct pcm_plugin *plugin, 121 int (*ttstamp) (struct pcm_plugin *plugin, 124 int (*prepare) (struct pcm_plugin *plugin); 126 int (*start) (struct pcm_plugin *plugin); [all …]
|
/external/pigweed/pw_cli/py/pw_cli/ |
D | plugins.py | 145 def callable_with_no_args(plugin: Plugin) -> None: 151 params = inspect.signature(plugin.target).parameters 211 def _should_register(self, plugin: Plugin) -> bool: 217 if plugin.name in self._registry and plugin.source is None: 225 self._validate_plugin(plugin) 227 existing = self._registry.get(plugin.name) 234 plugin.source_name, plugin.name, plugin.target_name) 237 if plugin.source != existing.source: 240 'ignoring registration as %s', plugin.source_name, plugin.name, 241 self._registry[plugin.name].source, plugin.target_name) [all …]
|
/external/clang/docs/ |
D | ClangPlugins.rst | 15 simple clang plugin. 21 handle plugin command line options. The ``PluginASTAction`` base class declares 22 a ``ParseArgs`` method which you have to implement in your plugin. 36 Registering a plugin 39 A plugin is loaded from a dynamic library at runtime by the compiler. To 40 register a plugin in a library, use ``FrontendPluginRegistry::Add<>``: 44 static FrontendPluginRegistry::Add<MyPlugin> X("my-plugin-name", "my plugin description"); 69 Let's look at an example plugin that prints top-level function names. This 74 Running the plugin 81 To run a plugin, the dynamic library containing the plugin registry must be [all …]
|
/external/llvm-project/lld/test/ELF/lto/ |
D | slp-vectorize-pm.ll | 5 ; RUN: ld.lld --plugin-opt=new-pass-manager --plugin-opt=debug-pass-manager --plugin-opt=O0 --plugi… 8 ; RUN: ld.lld --plugin-opt=new-pass-manager --plugin-opt=debug-pass-manager --plugin-opt=O1 --plugi… 11 ; RUN: ld.lld --plugin-opt=new-pass-manager --plugin-opt=debug-pass-manager --plugin-opt=O2 --plugi… 14 ; RUN: ld.lld --plugin-opt=new-pass-manager --plugin-opt=debug-pass-manager --plugin-opt=O3 --plugi…
|
/external/dokka/runners/maven-plugin/ |
D | build.gradle | 8 apply plugin: 'kotlin' 9 apply plugin: 'com.github.johnrengelman.shadow' 26 shadow "org.apache.maven:maven-plugin-api:$maven_version" 30 shadow "org.apache.maven.plugin-tools:maven-plugin-annotations:$maven_plugin_tools_version" 45 ….replace("<version>maven-plugin-plugin</version>", "<version>$maven_plugin_tools_version</version>… 66 commandLine mvn, '-e', '-B', 'org.apache.maven.plugins:maven-plugin-plugin:descriptor' 73 commandLine mvn, '-e', '-B', 'org.apache.maven.plugins:maven-plugin-plugin:helpmojo' 79 sourceSets.main.java.srcDir("$buildDir/generated-sources/plugin") 85 baseName = 'dokka-maven-plugin' 96 apply plugin: 'maven-publish' [all …]
|
/external/llvm-project/clang/docs/ |
D | ClangPlugins.rst | 15 simple clang plugin. 21 handle plugin command line options. The ``PluginASTAction`` base class declares 22 a ``ParseArgs`` method which you have to implement in your plugin. 36 Registering a plugin 39 A plugin is loaded from a dynamic library at runtime by the compiler. To 40 register a plugin in a library, use ``FrontendPluginRegistry::Add<>``: 44 static FrontendPluginRegistry::Add<MyPlugin> X("my-plugin-name", "my plugin description"); 88 The members of ``ParsedAttrInfo`` that a plugin attribute must define are: 113 To see a working example of an attribute plugin, see `the Attribute.cpp example 119 Let's look at an example plugin that prints top-level function names. This [all …]
|