Home
last modified time | relevance | path

Searched refs:plugin (Results 1 – 25 of 1024) sorted by relevance

12345678910>>...41

/external/adhd/cras/src/server/
Dcras_dsp_ini.c97 struct plugin *plugin) in parse_ports() argument
123 p = ARRAY_APPEND_ZERO(&plugin->ports); in parse_ports()
134 p = ARRAY_APPEND_ZERO(&plugin->ports); in parse_ports()
146 struct plugin *p) in parse_plugin_section()
172 struct plugin *plugin; in fill_flow_info() local
175 struct plugin **pplugin; in fill_flow_info()
178 FOR_ARRAY_ELEMENT(&ini->plugins, i, plugin) { in fill_flow_info()
179 FOR_ARRAY_ELEMENT(&plugin->ports, j, port) { in fill_flow_info()
192 *pplugin = plugin; in fill_flow_info()
200 struct plugin *plugin, in add_audio_port() argument
[all …]
Dcras_dsp_pipeline.c49 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 struct plugin *plugin) in find_instance_by_plugin() argument
154 if (instance->plugin == plugin) in find_instance_by_plugin()
165 struct plugin *plugin, int index, in find_origin_port() argument
166 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 …]
Dcras_dsp_mod_ladspa.c126 static int verify_plugin_descriptor(struct plugin *plugin, in verify_plugin_descriptor() argument
132 if (desc->PortCount != ARRAY_COUNT(&plugin->ports)) { in verify_plugin_descriptor()
133 syslog(LOG_ERR, "port count mismatch: %s", plugin->title); in verify_plugin_descriptor()
137 FOR_ARRAY_ELEMENT(&plugin->ports, i, port) { in verify_plugin_descriptor()
142 plugin->title, i); in verify_plugin_descriptor()
149 plugin->title, i); in verify_plugin_descriptor()
157 struct dsp_module *cras_dsp_module_load_ladspa(struct plugin *plugin) in cras_dsp_module_load_ladspa() argument
166 plugin->library); in cras_dsp_module_load_ladspa()
188 plugin->label, path); in cras_dsp_module_load_ladspa()
191 if (strcmp(desc->Label, plugin->label) == 0) { in cras_dsp_module_load_ladspa()
[all …]
/external/clang/examples/PrintFunctionNames/
DREADME.txt2 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/docs/
DClangPlugins.rst15 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/swiftshader/third_party/llvm-7.0/llvm/test/tools/gold/X86/
Dcache.ll6 ; 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 …]
Dthinlto.ll1 ; 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 \
35 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \
[all …]
Drelocation-model-pic.ll10 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
12 ; RUN: --plugin-opt=save-temps %t.o -o %t-out
15 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
17 ; RUN: --plugin-opt=save-temps %t.o -o %t-out
20 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
22 ; RUN: --plugin-opt=save-temps %t.o -o %t-out
25 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
27 ; RUN: --plugin-opt=save-temps %t.o -o %t-out
32 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
34 ; RUN: --plugin-opt=save-temps %t.pic.o -o %t-out
[all …]
Dopt-level.ll2 ; 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
Dcommon.ll11 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
12 ; RUN: --plugin-opt=emit-llvm \
19 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
20 ; RUN: --plugin-opt=emit-llvm \
27 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
28 ; RUN: --plugin-opt=emit-llvm \
35 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
36 ; RUN: --plugin-opt=emit-llvm \
44 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
45 ; RUN: --plugin-opt=emit-llvm \
Dstats.ll4 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -shared \
6 ; RUN: -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s
9 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -shared \
11 ; RUN: -plugin-opt=thinlto \
12 ; RUN: -plugin-opt=thinlto-index-only \
13 ; RUN: -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s
Dnew-pm.ll1 ; Test plugin options new-pass-manager and debug-pass-manager
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 \
Dthinlto_funcimport.ll5 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
6 ; RUN: --plugin-opt=save-temps \
7 ; RUN: --plugin-opt=thinlto \
14 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
15 ; RUN: --plugin-opt=save-temps \
16 ; RUN: --plugin-opt=thinlto \
17 ; RUN: --plugin-opt=O0 \
/external/llvm/docs/
DGoldPlugin.rst2 The LLVM gold plugin
13 The LLVM gold plugin implements the gold plugin interface on top of
14 :ref:`libLTO`. The same plugin can also be used by other tools such as
19 .. _`gold plugin interface`: http://gcc.gnu.org/wiki/whopr/driver
26 You need to have gold with plugin support and build the LLVMgold plugin.
28 gold" or else "GNU ld" if not. If you have gold, check for plugin support
29 by running ``/usr/bin/ld -plugin``. If it complains "missing argument" then
30 you have plugin support. If not, such as an "unknown option" error then you
31 will either need to build gold or install a version with plugin support.
33 * Download, configure and build gold with plugin support:
[all …]
/external/llvm/test/tools/gold/X86/
Dthinlto.ll1 ; First ensure that the ThinLTO handling in the gold plugin handles
5 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
6 ; RUN: --plugin-opt=thinlto \
7 ; RUN: --plugin-opt=thinlto-index-only \
10 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
11 ; RUN: --plugin-opt=thinlto \
20 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
21 ; RUN: --plugin-opt=thinlto \
22 ; RUN: --plugin-opt=thinlto-index-only \
30 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
[all …]
Dcommon.ll8 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
9 ; RUN: --plugin-opt=emit-llvm \
16 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
17 ; RUN: --plugin-opt=emit-llvm \
24 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
25 ; RUN: --plugin-opt=emit-llvm \
32 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
33 ; RUN: --plugin-opt=emit-llvm \
41 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
42 ; RUN: --plugin-opt=emit-llvm \
Dopt-level.ll2 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=save-temps \
3 ; RUN: -plugin-opt=O0 -r -o %t.o %t.bc
5 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=save-temps \
6 ; RUN: -plugin-opt=O1 -r -o %t.o %t.bc
8 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=save-temps \
9 ; RUN: -plugin-opt=O2 -r -o %t.o %t.bc
/external/grpc-grpc/src/cpp/server/
Dserver_builder.cc183 for (auto plugin = plugins_.begin(); plugin != plugins_.end(); plugin++) { in BuildAndStart() local
184 (*plugin)->UpdateServerBuilder(this); in BuildAndStart()
185 (*plugin)->UpdateChannelArguments(&args); in BuildAndStart()
224 for (auto plugin = plugins_.begin(); plugin != plugins_.end(); plugin++) { in BuildAndStart() local
225 if ((*plugin)->has_sync_methods()) { in BuildAndStart()
314 for (auto plugin = plugins_.begin(); plugin != plugins_.end(); plugin++) { in BuildAndStart() local
315 (*plugin)->InitServer(initializer); in BuildAndStart()
347 for (auto plugin = plugins_.begin(); plugin != plugins_.end(); plugin++) { in BuildAndStart() local
348 (*plugin)->Finish(initializer); in BuildAndStart()
/external/antlr/antlr3-maven-plugin/src/site/apt/
Dindex.apt9 ANTLR v3 Maven plugin
11 The ANTLR v3 Maven plugin is completely re-written as of version 3.1.3; if you are familiar
15 The job of the plugin is essentially to tell the standard ANTLR parser generator where the
20 This version of the plugin allows full control over ANTLR and allows configuration of all
23 tool as of version 3.1.3 of ANTLR and this plugin.
27 The plugin version tracks the version of the ANTLR tool that it controls. Hence if you
28 use version 3.1.3 of the plugin, you will build your grammars using version 3.1.3 of the
29 ANTLR tool, version 3.2 of the plugin will use version 3.2 of the ANTLR tool and so on.
31 You may also find that there are patch versions of the plugin such as 3.1.3-1 3.1.3-2 and
32 so on. Use the latest patch release of the plugin.
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DGoldPlugin.rst2 The LLVM gold plugin
13 The LLVM gold plugin implements the gold plugin interface on top of
14 :ref:`libLTO`. The same plugin can also be used by other tools such as
17 gold plugin with ld.bfd is not tested and therefore not officially
22 .. _`gold plugin interface`: http://gcc.gnu.org/wiki/whopr/driver
29 You need to have gold with plugin support and build the LLVMgold plugin.
39 If you have gold installed, check for plugin support by running
40 ``/usr/bin/ld.gold -plugin``. If it complains "missing argument" then
41 you have plugin support. If not, and you get an error such as "unknown option",
42 then you will either need to build gold or install a version with plugin
[all …]
/external/adhd/cras/src/tests/
Ddsp_ini_unittest.cc66 struct plugin *plugin = ARRAY_ELEMENT(&ini->plugins, 0); in TEST_F() local
67 EXPECT_STREQ("test", plugin->title); in TEST_F()
68 EXPECT_STREQ("foo.so", plugin->library); in TEST_F()
69 EXPECT_STREQ("bar", plugin->label); in TEST_F()
70 EXPECT_TRUE(plugin->disable_expr); in TEST_F()
71 EXPECT_EQ(0, ARRAY_COUNT(&plugin->ports)); in TEST_F()
105 struct plugin *plugin = ARRAY_ELEMENT(&ini->plugins, 0); in TEST_F() local
106 EXPECT_EQ(1, ARRAY_COUNT(&plugin->ports)); in TEST_F()
107 struct port *port = ARRAY_ELEMENT(&plugin->ports, 0); in TEST_F()
131 struct plugin *foo = ARRAY_ELEMENT(&ini->plugins, 0); in TEST_F()
[all …]
/external/mockito/src/test/java/org/mockito/internal/configuration/plugins/
DPluginLoaderTest.java35 FooPlugin plugin = loader.loadPlugin(FooPlugin.class); in loads_plugin() local
38 assertNotNull(plugin); in loads_plugin()
48 Object plugin = loader.loadPlugin(FooPlugin.class, BarPlugin.class); in loads_alternative_plugin() local
51 assertSame(plugin, expected); in loads_alternative_plugin()
62 Object plugin = loader.loadPlugin(FooPlugin.class, BarPlugin.class); in loads_default_plugin() local
65 assertSame(plugin, expected); in loads_default_plugin()
74 final Foo plugin = loader.loadPlugin(Foo.class); in fails_to_load_plugin() local
80 plugin.toString(); //call any method on the plugin in fails_to_load_plugin()
/external/ppp/pppd/
DREADME.pppol2tp1 PPPoL2TP-Android plugin
4 This PPPoL2TP-Android plugin was written for AOSP project from scratch. It has
5 nothing to do with pppol2tp plugin from upstream ppp project [1].
7 This plugin adds support for upstream kernel L2TP implementation in pppd
18 5. mtpd runs pppd, passing arguments for pppol2tp-android plugin
19 6. pppd dlopen() pppol2tp-android plugin (because it receives corresponding\
22 Main task of this plugin is to obtain session_fd socket from mtpd and pass it
28 to the plugin with pppd parameters) via kernel L2TP implementation
29 3. pppol2tp-android plugin is actually loaded dynamically with dlopen(),
/external/grpc-grpc/test/cpp/end2end/
Dserver_builder_plugin_test.cc108 std::unique_ptr<TestServerBuilderPlugin> plugin( in UpdatePlugins() local
110 if (register_service_) plugin->SetRegisterService(); in UpdatePlugins()
111 plugins->emplace_back(std::move(plugin)); in UpdatePlugins()
163 auto plugin = CheckPresent(); in InsertPluginWithTestService() local
164 EXPECT_TRUE(plugin); in InsertPluginWithTestService()
165 plugin->SetRegisterService(); in InsertPluginWithTestService()
193 auto plugin = CheckPresent(); in TearDown() local
194 EXPECT_TRUE(plugin); in TearDown()
195 EXPECT_TRUE(plugin->init_server_is_called()); in TearDown()
196 EXPECT_TRUE(plugin->finish_is_called()); in TearDown()
/external/grpc-grpc/src/core/lib/security/credentials/plugin/
Dplugin_credentials.cc42 if (c->plugin.state != nullptr && c->plugin.destroy != nullptr) { in plugin_destruct()
43 c->plugin.destroy(c->plugin.state); in plugin_destruct()
156 if (c->plugin.get_metadata != nullptr) { in plugin_get_request_metadata()
182 if (!c->plugin.get_metadata(c->plugin.state, context, in plugin_get_request_metadata()
259 grpc_metadata_credentials_plugin plugin, void* reserved) { in grpc_metadata_credentials_create_from_plugin() argument
265 c->base.type = plugin.type; in grpc_metadata_credentials_create_from_plugin()
268 c->plugin = plugin; in grpc_metadata_credentials_create_from_plugin()

12345678910>>...41