Home
last modified time | relevance | path

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

12345678910>>...439

/external/cronet/stable/third_party/libc++/src/include/
Dmodule.modulemap1 // This module contains headers related to the configuration of the library. These headers
3 module std_config [system] {
13 module std_core [system] {
14 module cstddef {
15 module byte { header "__cstddef/byte.h" }
16 module max_align_t {
20 module nullptr_t { header "__cstddef/nullptr_t.h" }
21 module ptrdiff_t { header "__cstddef/ptrdiff_t.h" }
22 module size_t { header "__cstddef/size_t.h" }
25 module cstdint {
[all …]
/external/cronet/tot/third_party/libc++/src/include/
Dmodule.modulemap1 // This module contains headers related to the configuration of the library. These headers
3 module std_config [system] {
13 module std_core [system] {
14 module cstddef {
15 module byte { header "__cstddef/byte.h" }
16 module max_align_t {
20 module nullptr_t { header "__cstddef/nullptr_t.h" }
21 module ptrdiff_t { header "__cstddef/ptrdiff_t.h" }
22 module size_t { header "__cstddef/size_t.h" }
25 module cstdint {
[all …]
/external/cronet/stable/third_party/libc++/src/include/__cxx03/
Dmodule.modulemap2 module std_algorithm [system] {
6 module std_any [system] {
10 module std_array [system] {
14 module std_atomic [system] {
18 module std_barrier [system] {
22 module std_bit [system] {
26 module std_bitset [system] {
30 module std_charconv [system] {
34 module std_chrono [system] {
38 module std_codecvt [system] {
[all …]
/external/cronet/tot/third_party/libc++/src/include/__cxx03/
Dmodule.modulemap2 module std_algorithm [system] {
6 module std_any [system] {
10 module std_array [system] {
14 module std_atomic [system] {
18 module std_barrier [system] {
22 module std_bit [system] {
26 module std_bitset [system] {
30 module std_charconv [system] {
34 module std_chrono [system] {
38 module std_codecvt [system] {
[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/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/tensorflow/tensorflow/compiler/xla/service/
Dhlo_liveness_analysis_test.cc38 const HloLivenessAnalysis& RunLiveness(HloModule* module) { in RunLiveness() argument
39 liveness_ = HloLivenessAnalysis::Run(*module).value(); in RunLiveness()
43 HloInstruction* GetInstruction(HloModule* module, const std::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.cc71 TF_ASSERT_OK_AND_ASSIGN(auto module, ParseAndReturnVerifiedModule( in TEST_F()
73 auto param = module->entry_computation()->parameter_instruction(0); in TEST_F()
78 module.get(), /*cross_partition_spmd=*/false)); in TEST_F()
80 FindInstruction(module.get(), "get-tuple-element.2"), {})); in TEST_F()
82 FindInstruction(module.get(), "get-tuple-element.3"), {})); in TEST_F()
84 FindInstruction(module.get(), "get-tuple-element.5"), {})); in TEST_F()
86 FindInstruction(module.get(), "dot"), {})); in TEST_F()
88 FindInstruction(module.get(), "all-reduce"), {})); in TEST_F()
90 FindInstruction(module.get(), "subtract"), {})); in TEST_F()
92 FindInstruction(module.get(), "add"), {})); in TEST_F()
[all …]
Dinstruction_fusion_test.cc49 auto module = ParseAndReturnVerifiedModule(R"( in TEST_F() local
57 HloInstruction* sub = module->entry_computation()->root_instruction(); in TEST_F()
60 InstructionFusionForTesting().Fuse(add, sub, module->entry_computation()); in TEST_F()
62 ASSERT_THAT(fusion, op::Fusion()) << module->ToString(); in TEST_F()
65 << module->ToString(); in TEST_F()
69 auto module = ParseAndReturnVerifiedModule(R"( in TEST_F() local
81 HloInstruction* root = module->entry_computation()->root_instruction(); in TEST_F()
84 abs, root, module->entry_computation()); in TEST_F()
86 ASSERT_THAT(fusion, op::Fusion()) << module->ToString(); in TEST_F()
88 << module->ToString(); in TEST_F()
[all …]
Dhlo_domain_test.cc52 bool HasDomainEdge(HloModule* module, absl::string_view instruction_name, in HasDomainEdge() argument
54 HloInstruction* instruction = FindInstruction(module, instruction_name); in HasDomainEdge()
55 HloInstruction* operand = FindInstruction(module, operand_name); in HasDomainEdge()
66 << module->ToString(); in HasDomainEdge()
149 TF_ASSERT_OK_AND_ASSIGN(auto module, in TEST_F()
151 LOG(INFO) << "Original module:\n" << module->ToString(); in TEST_F()
154 TF_ASSERT_OK_AND_ASSIGN(bool isolator_changed, isolator.Run(module.get())); in TEST_F()
159 TF_ASSERT_OK_AND_ASSIGN(bool inlined, call_inliner.Run(module.get())); in TEST_F()
162 EXPECT_TRUE(HasDomainEdge(module.get(), "m.1", "a")); in TEST_F()
163 EXPECT_TRUE(HasDomainEdge(module.get(), "m.1", "b")); in TEST_F()
[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/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/coreboot/src/lib/
Drmodule.c17 static inline int rmodule_is_loaded(const struct rmodule *module) in rmodule_is_loaded() argument
19 return module->location != NULL; in rmodule_is_loaded()
23 static inline void *rmodule_load_addr(const struct rmodule *module, in rmodule_load_addr() argument
26 char *loc = module->location; in rmodule_load_addr()
27 return &loc[blob_addr - module->header->module_link_start_address]; in rmodule_load_addr()
31 int rmodule_parse(void *ptr, struct rmodule *module) in rmodule_parse() argument
49 module->location = NULL; in rmodule_parse()
52 module->header = rhdr; in rmodule_parse()
55 module->payload = &base[rhdr->payload_begin_offset]; in rmodule_parse()
56 module->payload_size = rhdr->payload_end_offset - in rmodule_parse()
[all …]
/external/pytorch/torch/csrc/api/include/torch/
Dpython.h52 py::module module, in bind_cpp_module_wrapper() argument
58 py::module::import("torch.nn.cpp").attr("ModuleWrapper"); in bind_cpp_module_wrapper()
93 module.attr(name) = wrapper_class; in bind_cpp_module_wrapper()
108 py::class_<ModuleType, Extra...> module) { in add_module_bindings() argument
110 return module in add_module_bindings()
112 [](ModuleType& module, bool mode) { module.train(mode); }, in add_module_bindings()
114 .def("eval", [](ModuleType& module) { module.eval(); }) in add_module_bindings()
115 .def("clone", [](ModuleType& module) { return module.clone(); }) in add_module_bindings()
117 "training", [](ModuleType& module) { return module.is_training(); }) in add_module_bindings()
118 .def("zero_grad", [](ModuleType& module) { module.zero_grad(); }) in add_module_bindings()
[all …]
/external/tensorflow/tensorflow/core/ir/tests/
Dtypes.mlir3 // CHECK: module attributes {tfg.type = !tf_type.qint8
4 module attributes {tfg.type = !tf_type.qint8} {}
5 // CHECK: module attributes {tfg.type = !tf_type.qint16
6 module attributes {tfg.type = !tf_type.qint16} {}
7 // CHECK: module attributes {tfg.type = !tf_type.qint32
8 module attributes {tfg.type = !tf_type.qint32} {}
9 // CHECK: module attributes {tfg.type = !tf_type.quint8
10 module attributes {tfg.type = !tf_type.quint8} {}
11 // CHECK: module attributes {tfg.type = !tf_type.quint16
12 module attributes {tfg.type = !tf_type.quint16} {}
[all …]
/external/pytorch/docs/source/
Dutils.rst16 .. This module needs to be documented. Adding here in the meantime
18 .. py:module:: torch.utils.backend_registration
19 .. py:module:: torch.utils.benchmark.examples.blas_compare_setup
20 .. py:module:: torch.utils.benchmark.examples.compare
21 .. py:module:: torch.utils.benchmark.examples.fuzzer
22 .. py:module:: torch.utils.benchmark.examples.op_benchmark
23 .. py:module:: torch.utils.benchmark.examples.simple_timeit
24 .. py:module:: torch.utils.benchmark.examples.spectral_ops_fuzz_test
25 .. py:module:: torch.utils.benchmark.op_fuzzers.binary
26 .. py:module:: torch.utils.benchmark.op_fuzzers.sparse_binary
[all …]
/external/python/cpython3/Lib/test/
Dtest_bisect.py35 (self.module.bisect_right, [], 1, 0),
36 (self.module.bisect_right, [1], 0, 0),
37 (self.module.bisect_right, [1], 1, 1),
38 (self.module.bisect_right, [1], 2, 1),
39 (self.module.bisect_right, [1, 1], 0, 0),
40 (self.module.bisect_right, [1, 1], 1, 2),
41 (self.module.bisect_right, [1, 1], 2, 2),
42 (self.module.bisect_right, [1, 1, 1], 0, 0),
43 (self.module.bisect_right, [1, 1, 1], 1, 3),
44 (self.module.bisect_right, [1, 1, 1], 2, 3),
[all …]
/external/pdfium/fxjs/xfa/
Dcfxjse_mapmodule_unittest.cpp16 CFXJSE_MapModule module; in TEST() local
17 EXPECT_FALSE(module.HasKey(1)); in TEST()
18 EXPECT_FALSE(module.HasKey(2)); in TEST()
19 EXPECT_FALSE(module.HasKey(3)); in TEST()
20 EXPECT_FALSE(module.GetValue(1).has_value()); in TEST()
21 EXPECT_FALSE(module.GetString(2).has_value()); in TEST()
22 EXPECT_FALSE(module.GetMeasurement(3).has_value()); in TEST()
29 CFXJSE_MapModule module; in TEST() local
31 module.SetValue(100, value); in TEST()
32 module.SetString(200, str); in TEST()
[all …]
/external/python/cpython3/Modules/_testcapi/
Dparts.h31 int _PyTestCapi_Init_Vectorcall(PyObject *module);
32 int _PyTestCapi_Init_Heaptype(PyObject *module);
33 int _PyTestCapi_Init_Abstract(PyObject *module);
34 int _PyTestCapi_Init_Bytes(PyObject *module);
35 int _PyTestCapi_Init_Unicode(PyObject *module);
36 int _PyTestCapi_Init_GetArgs(PyObject *module);
37 int _PyTestCapi_Init_DateTime(PyObject *module);
38 int _PyTestCapi_Init_Docstring(PyObject *module);
39 int _PyTestCapi_Init_Mem(PyObject *module);
40 int _PyTestCapi_Init_Watchers(PyObject *module);
[all …]
/external/executorch/backends/qualcomm/tests/
Dtest_qnn_delegate.py80 module = Arange(5) # noqa: F405
82 self.lower_module_and_test_output(module, sample_input)
85 module = AvgPoolModule() # noqa: F405
87 self.lower_module_and_test_output(module, sample_input)
90 module = BatchNorm(32) # noqa: F405
92 self.lower_module_and_test_output(module, sample_input)
95 module = Bmm() # noqa: F405
98 self.lower_module_and_test_output(module, sample_input)
101 module = Cast() # noqa: F405
103 self.lower_module_and_test_output(module, sample_input)
[all …]
/external/tensorflow/tensorflow/compiler/xla/tools/
Dhlo_control_flow_flattening_test.cc60 TF_ASSERT_OK_AND_ASSIGN(auto module, in TEST_F()
64 EXPECT_TRUE(flattening.Run(module.get()).ValueOrDie()); in TEST_F()
67 .Run(module.get()) in TEST_F()
70 auto root = module->entry_computation()->root_instruction(); in TEST_F()
71 auto while_op = module->entry_computation()->GetInstructionWithName("while"); in TEST_F()
120 TF_ASSERT_OK_AND_ASSIGN(auto module, in TEST_F()
124 EXPECT_TRUE(flattening.Run(module.get()).ValueOrDie()); in TEST_F()
125 XLA_VLOG_LINES(3, "Loaded HLO module: " + module->ToString()); in TEST_F()
128 .Run(module.get()) in TEST_F()
131 auto root = module->entry_computation()->root_instruction(); in TEST_F()
[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/Modules/
D_stat.c552 stat_exec(PyObject *module) in stat_exec() argument
554 #define ADD_INT_MACRO(module, macro) \ in stat_exec() argument
556 if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \ in stat_exec()
561 ADD_INT_MACRO(module, S_IFDIR); in stat_exec()
562 ADD_INT_MACRO(module, S_IFCHR); in stat_exec()
563 ADD_INT_MACRO(module, S_IFBLK); in stat_exec()
564 ADD_INT_MACRO(module, S_IFREG); in stat_exec()
565 ADD_INT_MACRO(module, S_IFIFO); in stat_exec()
566 ADD_INT_MACRO(module, S_IFLNK); in stat_exec()
567 ADD_INT_MACRO(module, S_IFSOCK); in stat_exec()
[all …]
Dsyslogmodule.c146 syslog_openlog_impl(PyObject *module, PyObject *ident, long logopt, in syslog_openlog_impl() argument
208 syslog_syslog_impl(PyObject *module, int group_left_1, int priority, in syslog_syslog_impl() argument
223 PyObject *openlog_ret = syslog_openlog_impl(module, NULL, 0, LOG_USER); in syslog_syslog_impl()
255 syslog_closelog_impl(PyObject *module) in syslog_closelog_impl() argument
286 syslog_setlogmask_impl(PyObject *module, long maskpri) in syslog_setlogmask_impl() argument
306 syslog_LOG_MASK_impl(PyObject *module, long pri) in syslog_LOG_MASK_impl() argument
322 syslog_LOG_UPTO_impl(PyObject *module, long pri) in syslog_LOG_UPTO_impl() argument
342 syslog_exec(PyObject *module) in syslog_exec() argument
344 #define ADD_INT_MACRO(module, macro) \ in syslog_exec() argument
346 if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \ in syslog_exec()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/
Dmodule.modulemap1 module LLVM_Analysis {
4 module * { export * }
12 module LLVM_AsmParser {
15 module * { export * }
18 // A module covering CodeGen/ and Target/. These are intertwined
19 // and codependent, and thus notionally form a single module.
20 module LLVM_Backend {
23 module CodeGen {
25 module * { export * }
28 // translation unit (or none) and aren't part of this module.
[all …]

12345678910>>...439