/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_relative_imports.py | 81 self.__import__('pkg') # For __import__(). 82 module = self.__import__('', global_, fromlist=['mod2'], level=1) 93 self.__import__('pkg') # For __import__(). 94 module = self.__import__('mod2', global_, fromlist=['attr'], 106 self.__import__('pkg') # For __import__(). 107 module = self.__import__('', global_, fromlist=['module'], 119 self.__import__('pkg') # For __import__(). 120 module = self.__import__('', global_, fromlist=['attr'], level=1) 131 module = self.__import__('', global_, fromlist=['subpkg2'], 148 self.__import__(globals_[0]['__package__']) [all …]
|
D | test_fromlist.py | 22 module = self.__import__('pkg.module') 29 module = self.__import__('pkg.module', fromlist=['attr']) 35 ) = util.test_both(ReturnValue, __import__=util.__import__) 57 module = self.__import__('module', fromlist=['attr']) 64 module = self.__import__('module', fromlist=['non_existent']) 72 module = self.__import__('pkg', fromlist=['module']) 80 module = self.__import__('pkg', fromlist=['non_existent']) 94 self.__import__('pkg', fromlist=['mod']) 100 module = self.__import__('pkg.mod', fromlist=['']) 108 module = self.__import__('pkg', fromlist=fromlist) [all …]
|
D | test___package__.py | 40 self.__import__('pkg.fake') 41 module = self.__import__('', 85 self.__import__('', globals, {}, ['relimport'], 1) 90 self.__import__('', globals, {}, ['relimport'], 1) 104 ) = util.test_both(Using__package__PEP302, __import__=util.__import__) 113 ) = util.test_both(Using__package__PEP451, __import__=util.__import__) 128 __import__ = util.__import__['Source'] variable in Setting__package__ 135 module = self.__import__('top_level') 143 module = self.__import__('pkg') 151 pkg = self.__import__('pkg.mod')
|
D | test_packages.py | 14 module = self.__import__('pkg.module') 21 self.__import__('pkg.module') 33 self.__import__('pkg') 37 self.__import__('pkg.module') 52 self.__import__('pkg') 55 self.__import__('pkg.module') 72 self.__import__('pkg.subpkg') 75 self.__import__('pkg.subpkg.module') 84 self.__import__('sys.no_submodules_here') 99 submodule = self.__import__(subname) [all …]
|
D | test_caching.py | 29 module = self.__import__('some_module') 38 self.__import__(name) 44 ) = util.test_both(UseCache, __import__=util.__import__) 51 __import__ = util.__import__['Source'] variable in ImportlibUseCache 68 module = self.__import__('module') 76 module = self.__import__('pkg.module') 86 module = self.__import__('pkg', fromlist=['module'])
|
D | test_api.py | 53 self.__import__(42) 60 self.__import__('os', globals(), level=-1) 70 self.__import__(PKG_NAME, fromlist=['not here']) 82 self.__import__(PKG_NAME, 95 self.__import__(PKG_NAME, 106 ) = util.test_both(OldAPITests, __import__=util.__import__) 115 ) = util.test_both(SpecAPITests, __import__=util.__import__)
|
D | test_meta_path.py | 22 self.assertIs(self.__import__(mod), first.modules[mod]) 31 self.assertIs(self.__import__(mod_name), second.modules[mod_name]) 51 ) = util.test_both(CallingOrder, __import__=util.__import__) 76 self.__import__(mod_name) 94 self.__import__(mod_name) 111 ) = util.test_both(CallSignaturePEP302, __import__=util.__import__) 121 ) = util.test_both(CallSignaturePEP451, __import__=util.__import__)
|
D | test___loader__.py | 26 module = self.__import__('blah') 32 ) = util.test_both(SpecLoaderAttributeTests, __import__=util.__import__) 56 module = self.__import__('blah') 65 returned_module = self.__import__('blah') 71 ) = util.test_both(LoaderAttributeTests, __import__=util.__import__)
|
/external/llvm-project/lldb/examples/test/ |
D | .lldb-pre-post-flight | 2 __import__("lldb") 3 __import__("lldbtest") 8 __import__("lldb") 9 __import__("lldbtest")
|
D | .lldb-pre-post-flight.bad | 4 __import__("lldb") 5 __import__("lldbtest")
|
D | usage-pre-post-flight | 25 __import__("lldb") 26 __import__("lldbtest") 31 __import__("lldb") 32 __import__("lldbtest")
|
/external/python/cpython2/Lib/test/ |
D | test_import.py | 79 mod = __import__(TESTFN) 123 __import__(TESTFN) 155 m1 = __import__(TESTFN) 162 m2 = __import__(TESTFN) 167 m3 = __import__(TESTFN) 231 self.assertRaises(ZeroDivisionError, __import__, TESTFN) 247 mod = __import__(TESTFN) 304 self.assertRaises(ImportError, __import__, "site-packages") 309 __import__(path) 353 __import__(TESTFN) [all …]
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 170 mod = __import__(TESTFN) 245 self.assertRaises(ZeroDivisionError, __import__, TESTFN) 288 mod = __import__(TESTFN) 327 mod = __import__(TESTFN) 333 mod = __import__(TESTFN) 350 __import__(path) 382 __import__(TESTFN) 391 __import__('http', fromlist=['blah']) 528 module = __import__(name) 547 __import__(name) [all …]
|
/external/curl/tests/data/ |
D | test1451 | 32 …__import__('pkgutil').find_loader('impacket') or (__import__('sys').stdout.write('Test only works …
|
/external/protobuf/python/compatibility_tests/v2.5.0/tests/ |
D | __init__.py | 2 __import__('pkg_resources').declare_namespace(__name__) 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/external/protobuf/python/google/ |
D | __init__.py | 2 __import__('pkg_resources').declare_namespace(__name__) 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/ |
D | __init__.py | 2 __import__('pkg_resources').declare_namespace(__name__) 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/ |
D | __init__.py | 2 __import__('pkg_resources').declare_namespace(__name__) 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/external/perfetto/src/trace_processor/python/perfetto/ |
D | __init__.py | 17 __import__('pkg_resources').declare_namespace(__name__) 19 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/external/protobuf/python/google/protobuf/pyext/ |
D | __init__.py | 2 __import__('pkg_resources').declare_namespace(__name__) 4 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | __init__.py | 35 __import__('pkg_resources').declare_namespace(__name__) 37 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/external/nanopb-c/generator/google/protobuf/ |
D | __init__.py | 37 __import__('pkg_resources').declare_namespace(__name__) 39 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/external/protobuf/python/google/protobuf/ |
D | __init__.py | 37 __import__('pkg_resources').declare_namespace(__name__) 39 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_pkg_import.py | 54 try: __import__(self.module_name) 68 try: __import__(self.module_name) 75 module = __import__(self.module_name).foo
|
/external/python/cpython2/Lib/ |
D | anydbm.py | 45 _mod = __import__(_name) 84 mod = __import__(result)
|