/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
runpy.py | 26 def __init__(self, mod_name): 27 self.mod_name = mod_name 28 self.module = imp.new_module(mod_name) 32 mod_name = self.mod_name 34 self._saved_module.append(sys.modules[mod_name]) 37 sys.modules[mod_name] = self.module 42 sys.modules[self.mod_name] = self._saved_module[0] 44 del sys.modules[self.mod_name] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
runpy.py | 26 def __init__(self, mod_name): 27 self.mod_name = mod_name 28 self.module = imp.new_module(mod_name) 32 mod_name = self.mod_name 34 self._saved_module.append(sys.modules[mod_name]) 37 sys.modules[mod_name] = self.module 42 sys.modules[self.mod_name] = self._saved_module[0] 44 del sys.modules[self.mod_name] [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_runpy.py | 39 "nested = runpy._run_module_code('x=1\\n', mod_name='<run>')\n" 86 def expect_import_error(self, mod_name): 88 run_module(mod_name) 92 self.fail("Expected import error for " + mod_name) 133 mod_name = (pkg_name+".")*depth + mod_base 134 return pkg_dir, mod_fname, mod_name 136 def _del_pkg(self, top, depth, mod_name): 162 pkg_dir, mod_fname, mod_name = ( 164 forget(mod_name) 166 if verbose: print "Running from source:", mod_name [all...] |
test_zipimport_support.py | 111 mod_name = mod.__name__.split(".")[-1] 112 mod_name = mod_name.replace("sample_", "sample_zipped_") 113 sample_sources[mod_name] = src 121 for mod_name, src in sample_sources.items(): 122 z.writestr(mod_name + ".py", src)
|
test_zipimport.py | 227 mod_name = module_path_to_dotted_name(mod_path) 228 __import__(mod_name) 229 mod = sys.modules[mod_name] 235 self.assertEqual(loader.get_source(mod_name), None) 236 self.assertEqual(loader.get_filename(mod_name), mod.__file__) 271 mod_name = module_path_to_dotted_name(mod_path) 272 __import__(mod_name) 273 mod = sys.modules[mod_name] 279 self.assertEqual(loader.get_source(mod_name), None) 280 self.assertEqual(loader.get_filename(mod_name), mod.__file__ [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_runpy.py | 39 "nested = runpy._run_module_code('x=1\\n', mod_name='<run>')\n" 86 def expect_import_error(self, mod_name): 88 run_module(mod_name) 92 self.fail("Expected import error for " + mod_name) 133 mod_name = (pkg_name+".")*depth + mod_base 134 return pkg_dir, mod_fname, mod_name 136 def _del_pkg(self, top, depth, mod_name): 162 pkg_dir, mod_fname, mod_name = ( 164 forget(mod_name) 166 if verbose: print "Running from source:", mod_name [all...] |
test_zipimport_support.py | 111 mod_name = mod.__name__.split(".")[-1] 112 mod_name = mod_name.replace("sample_", "sample_zipped_") 113 sample_sources[mod_name] = src 121 for mod_name, src in sample_sources.items(): 122 z.writestr(mod_name + ".py", src)
|
test_zipimport.py | 227 mod_name = module_path_to_dotted_name(mod_path) 228 __import__(mod_name) 229 mod = sys.modules[mod_name] 235 self.assertEqual(loader.get_source(mod_name), None) 236 self.assertEqual(loader.get_filename(mod_name), mod.__file__) 271 mod_name = module_path_to_dotted_name(mod_path) 272 __import__(mod_name) 273 mod = sys.modules[mod_name] 279 self.assertEqual(loader.get_source(mod_name), None) 280 self.assertEqual(loader.get_filename(mod_name), mod.__file__ [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_renames.py | 63 mod_name = results.get("module_name") 68 if mod_name and attr_name: 69 new_attr = unicode(LOOKUP[(mod_name.value, attr_name.value)])
|
fix_imports.py | 125 mod_name = import_mod.value 126 new_name = unicode(self.mapping[mod_name]) 131 self.replace[mod_name] = new_name
|
fix_import.py | 69 for mod_name in traverse_imports(imp): 70 if self.probably_a_local_import(mod_name):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_renames.py | 63 mod_name = results.get("module_name") 68 if mod_name and attr_name: 69 new_attr = unicode(LOOKUP[(mod_name.value, attr_name.value)])
|
fix_imports.py | 125 mod_name = import_mod.value 126 new_name = unicode(self.mapping[mod_name]) 131 self.replace[mod_name] = new_name
|
fix_import.py | 69 for mod_name in traverse_imports(imp): 70 if self.probably_a_local_import(mod_name):
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer.h | 48 void FillAddressAndModuleInfo(uptr addr, const char *mod_name, 51 module = internal_strdup(mod_name);
|
/external/chromium_org/sandbox/win/src/ |
filesystem_policy.cc | 64 base::string16 mod_name(name); 65 if (mod_name.empty()) { 71 if (0 != _wcsnicmp(mod_name.c_str(), kNTObjManPrefix, kNTObjManPrefixLen)) { 75 if (!PreProcessName(mod_name, &mod_name)) { 80 if (0 != mod_name.compare(0, kNTPrefixLen, kNTPrefix)) { 83 mod_name.insert(0, L"\\/?/?\\"); 84 name = mod_name.c_str();
|
sync_policy.cc | 136 base::string16 mod_name(name); 137 if (mod_name.empty()) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
PathBrowser.py | 80 mod_name = name[:i] 81 if mod_name not in modules: 82 modules[mod_name] = None
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
PathBrowser.py | 80 mod_name = name[:i] 81 if mod_name not in modules: 82 modules[mod_name] = None
|
/external/srtp/crypto/include/ |
crypto_kernel.h | 224 * crypto_kernel_set_debug_module(mod_name, v) 227 * debug module with the name mod_name 233 crypto_kernel_set_debug_module(char *mod_name, int v);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/ |
loader.py | 269 mod_name = os.path.splitext(os.path.basename(full_path))[0] 273 raise ImportError(msg % (mod_name, module_dir, expected_dir))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
loader.py | 261 mod_name = os.path.splitext(os.path.basename(full_path))[0] 265 raise ImportError(msg % (mod_name, module_dir, expected_dir))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
loader.py | 261 mod_name = os.path.splitext(os.path.basename(full_path))[0] 265 raise ImportError(msg % (mod_name, module_dir, expected_dir))
|
/external/libsepol/src/ |
link.c | 2086 char *mod_name = cur->branch_list->module_name ? local 2145 char *mod_name = cur->branch_list->module_name ? local 2217 char *mod_name = decl->module_name ? local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/loadso/macosx/ |
SDL_dlcompat.c | 338 const char *mod_name = NSNameOfModule(mod); local 342 debug("Module name: %s", mod_name); 345 if (!SDL_strcmp(mod_name, _dyld_get_image_name(i))) [all...] |