Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 7386) sorted by relevance

12345678910>>...296

/external/adhd/cras/src/server/
Dcras_dsp_mod_builtin.c17 static int empty_instantiate(struct dsp_module *module, in empty_instantiate() argument
23 static void empty_connect_port(struct dsp_module *module, unsigned long port, in empty_connect_port() argument
28 static int empty_get_delay(struct dsp_module *module) in empty_get_delay() argument
33 static void empty_run(struct dsp_module *module, unsigned long sample_count) in empty_run() argument
37 static void empty_deinstantiate(struct dsp_module *module) in empty_deinstantiate() argument
41 static void empty_free_module(struct dsp_module *module) in empty_free_module() argument
43 free(module); in empty_free_module()
46 static int empty_get_properties(struct dsp_module *module) in empty_get_properties() argument
51 static void empty_dump(struct dsp_module *module, struct dumper *d) in empty_dump() argument
56 static void empty_init_module(struct dsp_module *module) in empty_init_module() argument
[all …]
/external/clang/test/Modules/Inputs/
Dmodule.map1 module c_library [extern_c] { module inner { header "c-header.h" } }
2 module cxx_library { header "cxx-header.h" requires cplusplus }
3 module c_library_bad [extern_c] { header "c-header-bad.h" }
4 module diamond_top { header "diamond_top.h" }
5 module diamond_left {
9 module diamond_right {
13 module diamond_bottom {
17 module irgen { header "irgen.h" }
18 module cxx_irgen_top { header "cxx-irgen-top.h" }
19 module cxx_irgen_left { header "cxx-irgen-left.h" }
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_liveness_analysis_test.cc38 const HloLivenessAnalysis& RunLiveness(HloModule* module) { in RunLiveness() argument
39 liveness_ = HloLivenessAnalysis::Run(*module).ConsumeValueOrDie(); in RunLiveness()
43 HloInstruction* GetInstruction(HloModule* module, const string& name) { in GetInstruction() argument
45 for (auto* comp : module->computations()) { in GetInstruction()
61 auto module = ParseAndReturnVerifiedModule(R"( in TEST_F() local
69 const HloLivenessAnalysis& liveness = RunLiveness(module.get()); in TEST_F()
70 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "add"), {})); in TEST_F()
71 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.1"), {})); in TEST_F()
72 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.2"), {})); in TEST_F()
77 auto module = ParseAndReturnVerifiedModule(R"( in TEST_F() local
[all …]
Dhlo_replication_analysis_test.cc72 TF_ASSERT_OK_AND_ASSIGN(auto module, in TEST_F()
74 auto param = module->entry_computation()->parameter_instruction(0); in TEST_F()
79 module.get(), /*cross_partition_spmd=*/false)); in TEST_F()
81 FindInstruction(module.get(), "get-tuple-element.2"), {})); in TEST_F()
83 FindInstruction(module.get(), "get-tuple-element.3"), {})); in TEST_F()
85 FindInstruction(module.get(), "get-tuple-element.5"), {})); in TEST_F()
87 FindInstruction(module.get(), "dot"), {})); in TEST_F()
89 FindInstruction(module.get(), "all-reduce"), {})); in TEST_F()
91 FindInstruction(module.get(), "subtract"), {})); in TEST_F()
93 FindInstruction(module.get(), "add"), {})); in TEST_F()
[all …]
Dinstruction_fusion_test.cc32 explicit InstructionFusionForTesting(HloModule* module) in InstructionFusionForTesting() argument
34 module_ = module; in InstructionFusionForTesting()
35 computation_ = module->entry_computation(); in InstructionFusionForTesting()
50 auto module = ParseAndReturnVerifiedModule(R"( in TEST_F() local
58 HloInstruction* sub = module->entry_computation()->root_instruction(); in TEST_F()
61 InstructionFusionForTesting(module.get()).Fuse(add, sub); in TEST_F()
63 ASSERT_THAT(fusion, op::Fusion()) << module->ToString(); in TEST_F()
66 << module->ToString(); in TEST_F()
70 auto module = ParseAndReturnVerifiedModule(R"( in TEST_F() local
82 HloInstruction* root = module->entry_computation()->root_instruction(); in TEST_F()
[all …]
Dhlo_module_dce_test.cc73 auto module = ParseAndReturnVerifiedModule(R"( in TEST_F() local
100 EXPECT_FALSE(dce.Run(module.get()).ValueOrDie()); in TEST_F()
101 EXPECT_FALSE(WhileBodyHasPassThroughTupleElement(module->entry_computation(), in TEST_F()
103 EXPECT_FALSE(WhileBodyHasPassThroughTupleElement(module->entry_computation(), in TEST_F()
110 auto module = ParseAndReturnVerifiedModule(R"( in TEST_F() local
140 EXPECT_FALSE(dce.Run(module.get()).ValueOrDie()); in TEST_F()
141 EXPECT_FALSE(WhileBodyHasPassThroughTupleElement(module->entry_computation(), in TEST_F()
143 EXPECT_FALSE(WhileBodyHasPassThroughTupleElement(module->entry_computation(), in TEST_F()
150 auto module = ParseAndReturnVerifiedModule(R"( in TEST_F() local
179 EXPECT_FALSE(WhileBodyHasPassThroughTupleElement(module->entry_computation(), in TEST_F()
[all …]
Dhlo_domain_test.cc48 bool HasDomainEdge(HloModule* module, absl::string_view instruction_name, in HasDomainEdge() argument
50 HloInstruction* instruction = FindInstruction(module, instruction_name); in HasDomainEdge()
51 HloInstruction* operand = FindInstruction(module, operand_name); in HasDomainEdge()
62 << module->ToString(); in HasDomainEdge()
139 TF_ASSERT_OK_AND_ASSIGN(auto module, in TEST_F()
141 LOG(INFO) << "Original module:\n" << module->ToString(); in TEST_F()
144 TF_ASSERT_OK_AND_ASSIGN(bool isolator_changed, isolator.Run(module.get())); in TEST_F()
147 EXPECT_TRUE(HasDomainEdge(module.get(), "c", "a")); in TEST_F()
148 EXPECT_TRUE(HasDomainEdge(module.get(), "c", "b")); in TEST_F()
149 EXPECT_TRUE(HasDomainEdge(module.get(), "d", "a")); in TEST_F()
[all …]
Dhlo_verifier_test.cc76 auto module = CreateUnverifiedModule(); in TEST_F() local
77 module->AddEntryComputation(builder.Build()); in TEST_F()
79 TF_ASSERT_OK(verifier().Run(module.get()).status()); in TEST_F()
83 auto status = verifier().Run(module.get()).status(); in TEST_F()
95 auto module = CreateUnverifiedModule(); in TEST_F() local
96 HloComputation* computation = module->AddEntryComputation(builder.Build()); in TEST_F()
98 TF_ASSERT_OK(verifier().Run(module.get()).status()); in TEST_F()
102 auto status = verifier().Run(module.get()).status(); in TEST_F()
114 auto module = CreateUnverifiedModule(); in TEST_F() local
115 module->AddEntryComputation(builder.Build()); in TEST_F()
[all …]
/external/clang/test/ARCMT/Inputs/
Dmodule.map1 module c_library [extern_c] { module inner { header "c-header.h" } }
2 module cxx_library { header "cxx-header.h" requires cplusplus }
3 module c_library_bad [extern_c] { header "c-header-bad.h" }
4 module diamond_top { header "diamond_top.h" }
5 module diamond_left {
9 module diamond_right {
13 module diamond_bottom {
17 module irgen { header "irgen.h" }
18 module cxx_irgen_top { header "cxx-irgen-top.h" }
19 module cxx_irgen_left { header "cxx-irgen-left.h" }
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
DPR3488.ll3 module asm "\09.section \22___kcrctab+numa_node\22, \22a\22\09"
4 module asm "\09.weak\09__crc_numa_node\09"
5 module asm "\09.long\09__crc_numa_node\09"
6 module asm "\09.previous\09\09\09\09\09"
7 module asm "\09.section \22___kcrctab+_numa_mem_\22, \22a\22\09"
8 module asm "\09.weak\09__crc__numa_mem_\09"
9 module asm "\09.long\09__crc__numa_mem_\09"
10 module asm "\09.previous\09\09\09\09\09"
11 module asm "\09.section \22___kcrctab+node_states\22, \22a\22\09"
12 module asm "\09.weak\09__crc_node_states\09"
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/
Dmodule-directive-bad.s5 .module fp=64
6 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
9 .module fp=32
10 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
13 .module fp=64
14 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
17 .module fp=32
18 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
21 .module fp=64
22 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
[all …]
/external/libcxx/include/
Dmodule.modulemap1 // define the module for __config outside of the top level 'std' module
4 module std_config [system] [extern_c] {
8 module std [system] {
17 module depr [extern_c] {
19 module ctype_h {
23 module errno_h {
29 module inttypes_h {
36 module locale_h {
40 module math_h {
44 module setjmp_h {
[all …]
/external/python/cpython3/Lib/test/
Dtest_bisect.py34 (self.module.bisect_right, [], 1, 0),
35 (self.module.bisect_right, [1], 0, 0),
36 (self.module.bisect_right, [1], 1, 1),
37 (self.module.bisect_right, [1], 2, 1),
38 (self.module.bisect_right, [1, 1], 0, 0),
39 (self.module.bisect_right, [1, 1], 1, 2),
40 (self.module.bisect_right, [1, 1], 2, 2),
41 (self.module.bisect_right, [1, 1, 1], 0, 0),
42 (self.module.bisect_right, [1, 1, 1], 1, 3),
43 (self.module.bisect_right, [1, 1, 1], 2, 3),
[all …]
/external/python/cpython2/Lib/test/
Dtest_bisect.py50 module = None variable in TestBisect
54 (self.module.bisect_right, [], 1, 0),
55 (self.module.bisect_right, [1], 0, 0),
56 (self.module.bisect_right, [1], 1, 1),
57 (self.module.bisect_right, [1], 2, 1),
58 (self.module.bisect_right, [1, 1], 0, 0),
59 (self.module.bisect_right, [1, 1], 1, 2),
60 (self.module.bisect_right, [1, 1], 2, 2),
61 (self.module.bisect_right, [1, 1, 1], 0, 0),
62 (self.module.bisect_right, [1, 1, 1], 1, 3),
[all …]
Dtest_warnings.py19 def warnings_state(module): argument
32 original_filters = module.filters
34 module.filters = original_filters[:]
35 module.simplefilter("once")
36 warning_tests.warnings = module
40 module.filters = original_filters
58 sys.modules['warnings'] = self.module
72 self.assertTrue(hasattr(self.module, '__all__'))
76 self.assertSetEqual(set(self.module.__all__),
80 module = c_warnings variable in CPublicAPITests
[all …]
/external/llvm/test/MC/Mips/
Dmodule-directive-bad.s5 .module fp=64
6 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
9 .module fp=32
10 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
13 .module fp=64
14 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
17 .module fp=32
18 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
21 .module fp=64
22 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
[all …]
/external/python/cpython3/Lib/test/test_warnings/
D__init__.py22 def warnings_state(module): argument
35 original_filters = module.filters
37 module.filters = original_filters[:]
38 module.simplefilter("once")
39 warning_tests.warnings = module
43 module.filters = original_filters
62 sys.modules['warnings'] = self.module
66 unittest.case.warnings = self.module
81 self.assertTrue(hasattr(self.module, '__all__'))
85 self.assertSetEqual(set(self.module.__all__),
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dparse_html_deps_unittest.py17 module = parser.Parse('')
18 self.assertEquals([], module.scripts_external)
19 self.assertEquals([], module.inline_scripts)
20 self.assertEquals([], module.stylesheets)
21 self.assertEquals([], module.imports)
25 module = parser.Parse(None)
26 self.assertEquals([], module.scripts_external)
27 self.assertEquals([], module.inline_scripts)
28 self.assertEquals([], module.stylesheets)
29 self.assertEquals([], module.imports)
[all …]
/external/python/cpython3/Python/clinic/
Dsysmodule.c.h15 sys_addaudithook_impl(PyObject *module, PyObject *hook);
18 sys_addaudithook(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in sys_addaudithook() argument
31 return_value = sys_addaudithook_impl(module, hook); in sys_addaudithook()
56 sys_excepthook_impl(PyObject *module, PyObject *exctype, PyObject *value,
60 sys_excepthook(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in sys_excepthook() argument
73 return_value = sys_excepthook_impl(module, exctype, value, traceback); in sys_excepthook()
92 sys_exc_info_impl(PyObject *module);
95 sys_exc_info(PyObject *module, PyObject *Py_UNUSED(ignored)) in sys_exc_info() argument
97 return sys_exc_info_impl(module); in sys_exc_info()
132 sys_exit_impl(PyObject *module, PyObject *status);
[all …]
/external/v8/src/objects/
Dmodule.cc27 void PrintModuleName(Module module, std::ostream& os) { in PrintModuleName() argument
28 if (module.IsSourceTextModule()) { in PrintModuleName()
29 SourceTextModule::cast(module).script().GetNameOrSourceURL().Print(os); in PrintModuleName()
31 SyntheticModule::cast(module).name().Print(os); in PrintModuleName()
38 void PrintStatusTransition(Module module, Module::Status new_status) { in PrintStatusTransition() argument
41 os << "Changing module status from " << module.status() << " to " in PrintStatusTransition()
43 PrintModuleName(module, os); in PrintStatusTransition()
46 void PrintStatusMessage(Module module, const char* message) { in PrintStatusMessage() argument
50 PrintModuleName(module, os); in PrintStatusMessage()
54 void SetStatusInternal(Module module, Module::Status new_status) { in SetStatusInternal() argument
[all …]
Dsource-text-module.cc114 Isolate* isolate, Handle<SourceTextModule> module, Handle<String> name, in CreateIndirectExport() argument
116 Handle<ObjectHashTable> exports(module->exports(), isolate); in CreateIndirectExport()
119 module->set_exports(*exports); in CreateIndirectExport()
123 Handle<SourceTextModule> module, in CreateExport() argument
128 module->regular_exports().set(ExportIndex(cell_index), *cell); in CreateExport()
130 Handle<ObjectHashTable> exports(module->exports(), isolate); in CreateExport()
136 module->set_exports(*exports); in CreateExport()
157 Handle<SourceTextModule> module, in LoadVariable() argument
159 return handle(module->GetCell(cell_index).value(), isolate); in LoadVariable()
162 void SourceTextModule::StoreVariable(Handle<SourceTextModule> module, in StoreVariable() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/
Dmodule.modulemap1 module LLVM_Analysis {
4 module * { export * }
10 module LLVM_AsmParser { requires cplusplus umbrella "AsmParser" module * { export * } }
12 // A module covering CodeGen/ and Target/. These are intertwined
13 // and codependent, and thus notionally form a single module.
14 module LLVM_Backend {
17 module CodeGen {
19 module * { export * }
22 // translation unit (or none) and aren't part of this module.
31 module Target {
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_fusible_test.cc38 auto module = ParseAndReturnVerifiedModule(absl::StrCat(kModulePrefix, R"( in TEST_F() local
46 SCOPED_TRACE(module->ToString()); in TEST_F()
48 module->entry_computation()->root_instruction(); in TEST_F()
51 module->entry_computation()->root_instruction()->operand(0); in TEST_F()
58 auto module = ParseAndReturnVerifiedModule(absl::StrCat(kModulePrefix, R"( in TEST_F() local
82 SCOPED_TRACE(module->ToString()); in TEST_F()
84 module->entry_computation()->root_instruction()->operand(0); in TEST_F()
88 module->entry_computation()->root_instruction()->operand(1); in TEST_F()
95 auto module = ParseAndReturnVerifiedModule(absl::StrCat(kModulePrefix, R"( in TEST_F() local
107 SCOPED_TRACE(module->ToString()); in TEST_F()
[all …]
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/generate/
Ddata_unittest.py25 from mojom.generate import module as mojom
32 module = mojom.Module('test_module', 'test_namespace')
42 struct = data.StructFromData(module, struct_data)
44 data.StructFieldFromData(module, field, struct), struct.fields_data)
49 module = mojom.Module('test_module', 'test_namespace')
56 union = data.UnionFromData(module, union_data)
58 data.UnionFieldFromData(module, field, union), union.fields_data)
63 module = mojom.Module('test_module', 'test_namespace')
71 struct = mojom.Struct('TestStruct', module=module)
74 union = mojom.Union('TestUnion', module=module)
[all …]
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dtranslate.py16 import module as mojom
155 def _FixupExpression(module, value, scope, kind): argument
160 result = _LookupValue(module.values, value[1], scope, kind)
225 def _Import(module, import_module): argument
230 kind.module.path == import_module.path):
231 module.kinds[kind.spec] = kind
234 if value.module.path == import_module.path:
235 module.values[value.GetSpec()] = value
239 def _Struct(module, parsed_struct): argument
248 struct = mojom.Struct(module=module)
[all …]

12345678910>>...296