/external/ltp/include/old/ |
old_module.h | 40 * @mod_name: module's file name. 47 void tst_module_exist(void (cleanup_fn)(void), const char *mod_name, 53 * @mod_name: module's file name. 62 const char *mod_name, char *const argv[]); 68 * @mod_name: can be module name or module's file name. 70 void tst_module_unload(void (cleanup_fn)(void), const char *mod_name);
|
/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);
|
/external/ltp/lib/ |
tst_module.c | 32 const char *mod_name, char **mod_path) 35 if (access(mod_name, F_OK) == 0) { 37 *mod_path = strdup(mod_name); 46 ltproot, mod_name) == -1) { 57 mod_name) == -1) { 68 mod_name); 78 const char *mod_name, char *const argv[]) 81 tst_module_exists(cleanup_fn, mod_name, &mod_path); 101 void tst_module_unload(void (cleanup_fn)(void), const char *mod_name) 105 const char *const argv[] = { "rmmod", mod_name, NULL } [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
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/gdb/darwin-x86/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/gdb/linux-x86/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/ |
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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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...] |
/prebuilts/gdb/darwin-x86/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...] |
/prebuilts/gdb/linux-x86/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...] |
/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...] |
/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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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
|
/prebuilts/gdb/darwin-x86/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
|
/prebuilts/gdb/linux-x86/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
|
/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
|
/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
|
/external/selinux/policycoreutils/hll/pp/ |
pp.c | 132 char *mod_name = mod_pkg->policy->p.name; local 144 if (mod_name && strcmp(mod_name, cil_name) != 0) { 145 fprintf(stderr, "Warning: SELinux userspace will refer to the module from %s as %s rather than %s\n", ifile, mod_name, cil_name);
|