/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_compileall.py | 2 import imp 31 compare = struct.pack('<4sl', imp.get_magic(), mtime) 52 self.recreation_check(struct.pack('<4sl', imp.get_magic(), 1))
|
test_importhooks.py | 2 import imp 70 mod = sys.modules.setdefault(fullname,imp.new_module(fullname)) 118 file, filename, stuff = imp.find_module(subname, path) 132 mod = imp.load_module(fullname, self.file, self.filename, self.stuff) 183 imp.reload(reloadmodule)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
pyclbr.py | 43 import imp
136 f, fname, (_s, _m, ty) = imp.find_module(module, path)
138 f, fname, (_s, _m, ty) = imp.find_module(module, path + sys.path)
139 if ty == imp.PKG_DIRECTORY:
142 f, fname, (_s, _m, ty) = imp.find_module('__init__', [fname])
144 if ty != imp.PY_SOURCE:
|
runpy.py | 13 import imp
16 from imp import get_loader
28 self.module = imp.new_module(mod_name)
184 # as imp.get_importer instead of reimplementing it in Python?
207 importer = imp.NullImporter(path_name)
236 if isinstance(importer, imp.NullImporter):
|
/external/antlr/antlr-3.4/runtime/Python/ |
setup.py | 91 import imp 110 = imp.find_module(testID, [testDir]) 112 testMod = imp.load_module( 179 import imp 244 = imp.find_module(testID, [testDir]) 246 testMod = imp.load_module(
|
/external/python/cpython2/Lib/ |
pyclbr.py | 43 import imp 138 f, fname, (_s, _m, ty) = imp.find_module(module, path) 140 f, fname, (_s, _m, ty) = imp.find_module(module, path + sys.path) 141 if ty == imp.PKG_DIRECTORY: 144 f, fname, (_s, _m, ty) = imp.find_module('__init__', [fname]) 146 if ty != imp.PY_SOURCE:
|
runpy.py | 13 import imp 16 from imp import get_loader 28 self.module = imp.new_module(mod_name) 196 # as imp.get_importer instead of reimplementing it in Python? 219 importer = imp.NullImporter(path_name) 248 if isinstance(importer, imp.NullImporter):
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
pyclbr.py | 43 import imp 138 f, fname, (_s, _m, ty) = imp.find_module(module, path) 140 f, fname, (_s, _m, ty) = imp.find_module(module, path + sys.path) 141 if ty == imp.PKG_DIRECTORY: 144 f, fname, (_s, _m, ty) = imp.find_module('__init__', [fname]) 146 if ty != imp.PY_SOURCE:
|
runpy.py | 13 import imp 16 from imp import get_loader 28 self.module = imp.new_module(mod_name) 184 # as imp.get_importer instead of reimplementing it in Python? 207 importer = imp.NullImporter(path_name) 236 if isinstance(importer, imp.NullImporter):
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
pyclbr.py | 43 import imp 138 f, fname, (_s, _m, ty) = imp.find_module(module, path) 140 f, fname, (_s, _m, ty) = imp.find_module(module, path + sys.path) 141 if ty == imp.PKG_DIRECTORY: 144 f, fname, (_s, _m, ty) = imp.find_module('__init__', [fname]) 146 if ty != imp.PY_SOURCE:
|
runpy.py | 13 import imp 16 from imp import get_loader 28 self.module = imp.new_module(mod_name) 184 # as imp.get_importer instead of reimplementing it in Python? 207 importer = imp.NullImporter(path_name) 236 if isinstance(importer, imp.NullImporter):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pyclbr.py | 43 import imp 138 f, fname, (_s, _m, ty) = imp.find_module(module, path) 140 f, fname, (_s, _m, ty) = imp.find_module(module, path + sys.path) 141 if ty == imp.PKG_DIRECTORY: 144 f, fname, (_s, _m, ty) = imp.find_module('__init__', [fname]) 146 if ty != imp.PY_SOURCE:
|
runpy.py | 13 import imp 16 from imp import get_loader 28 self.module = imp.new_module(mod_name) 184 # as imp.get_importer instead of reimplementing it in Python? 207 importer = imp.NullImporter(path_name) 236 if isinstance(importer, imp.NullImporter):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pyclbr.py | 43 import imp 138 f, fname, (_s, _m, ty) = imp.find_module(module, path) 140 f, fname, (_s, _m, ty) = imp.find_module(module, path + sys.path) 141 if ty == imp.PKG_DIRECTORY: 144 f, fname, (_s, _m, ty) = imp.find_module('__init__', [fname]) 146 if ty != imp.PY_SOURCE:
|
runpy.py | 13 import imp 16 from imp import get_loader 28 self.module = imp.new_module(mod_name) 184 # as imp.get_importer instead of reimplementing it in Python? 207 importer = imp.NullImporter(path_name) 236 if isinstance(importer, imp.NullImporter):
|
/external/autotest/venv/lucifer/ |
autotest.py | 24 import imp 149 mod = imp.new_module(fullname)
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/ |
ResetterValidator.java | 22 if (imp != null) {
|
/build/make/tools/ |
java-layers.py | 48 def matches(self, imp): 50 if imp.startswith(d): 229 for imp in imports: 230 if dep.matches(imp): 232 % (filename, pkg, imp))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
runpy.py | 13 import imp
16 from imp import get_loader
28 self.module = imp.new_module(mod_name)
184 # as imp.get_importer instead of reimplementing it in Python?
207 importer = imp.NullImporter(path_name)
236 if isinstance(importer, imp.NullImporter):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_importhooks.py | 2 import imp
70 mod = sys.modules.setdefault(fullname,imp.new_module(fullname))
118 file, filename, stuff = imp.find_module(subname, path)
132 mod = imp.load_module(fullname, self.file, self.filename, self.stuff)
183 imp.reload(reloadmodule)
|
/external/python/cpython2/Lib/test/ |
test_importhooks.py | 2 import imp 70 mod = sys.modules.setdefault(fullname,imp.new_module(fullname)) 118 file, filename, stuff = imp.find_module(subname, path) 132 mod = imp.load_module(fullname, self.file, self.filename, self.stuff) 183 imp.reload(reloadmodule)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_importhooks.py | 2 import imp 70 mod = sys.modules.setdefault(fullname,imp.new_module(fullname)) 118 file, filename, stuff = imp.find_module(subname, path) 132 mod = imp.load_module(fullname, self.file, self.filename, self.stuff) 183 imp.reload(reloadmodule)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_importhooks.py | 2 import imp 70 mod = sys.modules.setdefault(fullname,imp.new_module(fullname)) 118 file, filename, stuff = imp.find_module(subname, path) 132 mod = imp.load_module(fullname, self.file, self.filename, self.stuff) 183 imp.reload(reloadmodule)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_importhooks.py | 2 import imp 70 mod = sys.modules.setdefault(fullname,imp.new_module(fullname)) 118 file, filename, stuff = imp.find_module(subname, path) 132 mod = imp.load_module(fullname, self.file, self.filename, self.stuff) 183 imp.reload(reloadmodule)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/ |
fixer_util.py | 129 imp = Node(syms.import_from, children)
130 return imp
399 imp = node.children[1]
400 if imp.type == syms.dotted_as_names:
401 for child in imp.children:
407 elif imp.type == syms.dotted_as_name:
408 last = imp.children[-1]
411 elif imp.type == token.NAME and imp.value == name:
|