/external/toybox/toys/other/ |
rmmod.c | 28 char * mod_name; local 32 mod_name = basename(*toys.optargs); 35 len = strlen(mod_name); 36 if (len > 3 && !strcmp(&mod_name[len-3], ".ko" )) mod_name[len-3] = 0; 41 if (delete_module(mod_name, flags)) 42 perror_exit("failed to unload %s", mod_name);
|
/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.cc | 36 void AddressInfo::FillModuleInfo(const char *mod_name, uptr mod_offset) { 37 module = internal_strdup(mod_name);
|
sanitizer_symbolizer.h | 46 void FillModuleInfo(const char *mod_name, uptr mod_offset);
|
/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/selinux/policycoreutils/semodule_deps/ |
semodule_deps.c | 146 char *mod_name, *req_name, *id; local 163 mod_name = 192 mod_name); 203 mod_name,
|
/external/elfutils/src/tests/ |
dwflsyms.c | 109 void **user __attribute__ ((unused)), const char *mod_name, 116 printf ("%s: %s\n", mod_name, dwfl_errmsg (-1));
|
/external/lldb/test/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))
|