/external/python/cpython3/Lib/test/ |
D | test_module.py | 8 ModuleType = type(sys) variable 23 foo = ModuleType.__new__(ModuleType) 31 self.assertEqual(foo.__doc__, ModuleType.__doc__) 36 foo = ModuleType.__new__(ModuleType) 44 foo = ModuleType("foo") 51 foo = ModuleType("foo") 63 foo = ModuleType("foo", "foodoc") 73 foo = ModuleType("foo", "foodoc\u1234") 83 foo = ModuleType("foo", "foodoc\u1234") 98 foo = ModuleType("foo") [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_module.py | 6 ModuleType = type(sys) variable 12 foo = ModuleType.__new__(ModuleType) 20 self.assertEqual(foo.__doc__, ModuleType.__doc__) 24 foo = ModuleType("foo") 31 foo = ModuleType("foo", "foodoc") 39 foo = ModuleType("foo", u"foodoc\u1234") 47 foo = ModuleType("foo", u"foodoc\u1234") 62 foo = ModuleType("foo") 70 m = ModuleType("foo")
|
/external/tensorflow/tensorflow/tools/docs/ |
D | doc_generator_visitor_test.py | 80 tf = types.ModuleType('tf') 82 tf.submodule = types.ModuleType('submodule') 121 tf = types.ModuleType('tf') 122 tf.contrib = types.ModuleType('contrib') 123 tf.submodule = types.ModuleType('submodule') 157 tf = types.ModuleType('tf') 190 tf = types.ModuleType('tf') 191 tf.submodule = types.ModuleType('submodule') 192 tf.submodule.submodule2 = types.ModuleType('submodule2') 224 tf = types.ModuleType('tf') [all …]
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_loader.py | 87 m = types.ModuleType('m') 104 m = types.ModuleType('m') 115 m = types.ModuleType('m') 154 m = types.ModuleType('m') 177 m = types.ModuleType('m') 353 m = types.ModuleType('m') 367 m = types.ModuleType('m') 383 m = types.ModuleType('m') 398 m = types.ModuleType('m') 419 m = types.ModuleType('m') [all …]
|
/external/bcc/src/cc/ |
D | bcc_syms.cc | 128 if (module.type_ != ModuleType::EXEC) in load_exe() 165 if (module.type_ == ModuleType::SO) { in _add_module() 173 if (!bcc_is_perf_map(modname) || module.type_ != ModuleType::UNKNOWN) in _add_module() 184 if (it->type_ == ModuleType::PERF_MAP) in _add_module() 201 if (only_perf_map && (mod.type_ != ModuleType::PERF_MAP)) in resolve_addr() 213 } else if (mod.type_ != ModuleType::PERF_MAP) { in resolve_addr() 250 type_(ModuleType::UNKNOWN) { in Module() 256 type_ = ModuleType::EXEC; in Module() 258 type_ = ModuleType::SO; in Module() 263 type_ = ModuleType::PERF_MAP; in Module() [all …]
|
D | syms.h | 84 enum class ModuleType { enum 109 ModuleType type_;
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_loader.py | 113 m = types.ModuleType('m') 130 m = types.ModuleType('m') 141 m = types.ModuleType('m') 181 m = types.ModuleType('m') 208 m = types.ModuleType('m') 237 m = types.ModuleType('m') 265 m = types.ModuleType('m') 294 m = types.ModuleType('m') 320 m = types.ModuleType('m') 339 m = types.ModuleType('m') [all …]
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 60 self.assertIsInstance(module, types.ModuleType) 65 class CustomModule(types.ModuleType): 159 self.assertIsInstance(module, types.ModuleType) 171 module = types.ModuleType('a.b.c') 193 module = types.ModuleType(name) 208 class FalseModule(types.ModuleType): 271 module = types.ModuleType('module') 277 module = types.ModuleType('pkg') 284 module = types.ModuleType('pkg.mod') 290 module = types.ModuleType('mod') [all …]
|
D | test_api.py | 108 module = types.ModuleType(name) 121 module = types.ModuleType(name) 134 module = types.ModuleType(name) 369 module = sys.modules[name] = types.ModuleType(name) 435 if isinstance(module, types.ModuleType): 446 if isinstance(module, types.ModuleType):
|
D | test_lazy.py | 70 module = types.ModuleType(TestingImporter.module_name) 130 fresh_module = types.ModuleType(TestingImporter.module_name)
|
D | test_abc.py | 221 mod = types.ModuleType('blah') 464 module = types.ModuleType(name) 485 module = types.ModuleType('blah') 533 module = types.ModuleType('blah') 638 module = types.ModuleType('blah') 668 module = types.ModuleType('blah') 773 module = types.ModuleType(self.name)
|
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_api.py | 65 mod = types.ModuleType(PKG_NAME) 76 mod = types.ModuleType(PKG_NAME) 88 mod = types.ModuleType(PKG_NAME)
|
D | test___loader__.py | 48 module = types.ModuleType('blah') 60 module = types.ModuleType('blah')
|
/external/python/apitools/apitools/base/protorpclite/ |
D | descriptor_test.py | 297 module = types.ModuleType(module_name) 305 module = types.ModuleType('my.package.name') 316 module = types.ModuleType('') 326 module = types.ModuleType('my.module.name') 338 module = types.ModuleType('__main__') 401 modules = [types.ModuleType('package1'), types.ModuleType('package1')]
|
/external/python/cpython3/Lib/importlib/ |
D | resources.py | 10 from types import ModuleType 30 Package = Union[str, ModuleType] 34 def _get_package(package) -> ModuleType: 67 package: ModuleType) -> Optional[resources_abc.ResourceReader]: argument
|
D | util.py | 219 class _LazyModule(types.ModuleType): 228 self.__class__ = types.ModuleType
|
/external/python/cpython3/Lib/test/test_importlib/extension/ |
D | test_loader.py | 124 self.assertIsInstance(module, types.ModuleType) 176 self.assertIsInstance(module, types.ModuleType) 183 self.assertIsInstance(module, types.ModuleType) 228 self.assertIsInstance(module, types.ModuleType)
|
/external/python/cpython3/Lib/test/test_importlib/builtin/ |
D | test_loader.py | 21 self.assertIsInstance(module, types.ModuleType) 61 module = types.ModuleType(module_name)
|
/external/autotest/client/ |
D | setup_modules.py | 18 module = types.ModuleType(name) 33 module = types.ModuleType(child_name)
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 145 orig_module = types.ModuleType(name) 214 module = types.ModuleType('_temp') 232 module = types.ModuleType('bad name') 254 mod = types.ModuleType('_temp') 286 mod = types.ModuleType('_temp') 310 mod = types.ModuleType('_temp') 341 mod = types.ModuleType('_temp') 511 module = types.ModuleType(module_name)
|
D | test_source_encoding.py | 94 module = types.ModuleType(self.module_name) 150 module = types.ModuleType(module_name)
|
/external/bcc/src/cc/includes/ |
D | syms.h | 84 enum class ModuleType { enum 109 ModuleType type_;
|
/external/python/cpython2/Lib/ |
D | new.py | 15 from types import ModuleType as module
|
/external/python/cpython3/Lib/multiprocessing/ |
D | spawn.py | 246 main_module = types.ModuleType("__mp_main__") 275 main_module = types.ModuleType("__mp_main__")
|
/external/tensorflow/tensorflow/python/util/ |
D | lazy_loader.py | 26 class LazyLoader(types.ModuleType):
|