/external/selinux/libsemanage/tests/ |
D | test_semanage_store.c | 52 const char *modpath = "./test-policy/store/active/modules"; variable 74 err = mkdir(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init() 106 err = rmdir(modpath); in semanage_store_test_cleanup() 163 err = chmod(modpath, 0); in test_semanage_store_access_check() 178 err = chmod(modpath, S_IRUSR | S_IXUSR); in test_semanage_store_access_check() 189 err = chmod(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in test_semanage_store_access_check() 200 err = chmod(modpath, S_IRUSR | S_IXUSR); in test_semanage_store_access_check() 211 err = chmod(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in test_semanage_store_access_check() 222 err = chmod(modpath, 0); in test_semanage_store_access_check() 233 err = chmod(modpath, S_IRUSR | S_IXUSR); in test_semanage_store_access_check() [all …]
|
/external/python/cpython3/Python/ |
D | makeopcodetargets.py | 18 modpath = os.path.join( 20 return imp.load_module(modname, *imp.find_module(modname, [modpath])) 25 modpath = os.path.join( 27 return SourceFileLoader(modname, modpath).load_module()
|
/external/python/cpython3/Lib/ |
D | zipimport.py | 129 modpath = _get_module_path(self, fullname) 130 if _is_dir(self, modpath): 159 code, ispackage, modpath = _get_module_code(self, fullname) 191 code, ispackage, modpath = _get_module_code(self, fullname) 192 return modpath 241 code, ispackage, modpath = _get_module_code(self, fullname) 258 _bootstrap_external._fix_up_module(mod.__dict__, fullname, modpath) 268 _bootstrap._verbose_message('import {} # loaded from Zip {}', fullname, modpath) 708 modpath = toc_entry[0] 711 code = _unmarshal_code(self, modpath, fullpath, fullname, data) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test___all__.py | 50 def walk_modules(self, basedir, modpath): argument 56 yield pkg_init, modpath + fn 57 for p, m in self.walk_modules(path, modpath + fn + "."): 62 yield path, modpath + fn[:-3]
|
/external/python/cpython3/Lib/test/ |
D | test___all__.py | 56 def walk_modules(self, basedir, modpath): argument 62 yield pkg_init, modpath + fn 63 for p, m in self.walk_modules(path, modpath + fn + "."): 68 yield path, modpath + fn[:-3]
|
D | test_compileall.py | 253 modpath = mod[len(self.directory+os.sep):] 255 expected_in = os.path.join(ddir, modpath)
|
/external/python/cpython2/Python/ |
D | makeopcodetargets.py | 16 modpath = os.path.join( 18 return imp.load_module(modname, *imp.find_module(modname, [modpath]))
|
D | import.c | 2361 PyObject *pkgname, *modname, *modpath, *modules, *parent; in get_parent() local 2416 modpath = PyDict_GetItem(globals, pathstr); in get_parent() 2417 if (modpath != NULL) { in get_parent()
|
/external/python/cpython2/Modules/ |
D | zipimport.c | 313 char *fullname, *modpath; in zipimporter_load_module() local 320 code = get_module_code(self, fullname, &ispackage, &modpath); in zipimporter_load_module() 360 mod = PyImport_ExecCodeModuleEx(fullname, code, modpath); in zipimporter_load_module() 364 fullname, modpath); in zipimporter_load_module() 378 char *fullname, *modpath; in zipimporter_get_filename() local 387 code = get_module_code(self, fullname, &ispackage, &modpath); in zipimporter_get_filename() 392 return PyString_FromString(modpath); in zipimporter_get_filename() 1206 char *modpath; in get_code_from_data() local 1216 modpath = PyString_AsString(PyTuple_GetItem(toc_entry, 0)); in get_code_from_data() 1219 code = unmarshal_code(modpath, data, mtime); in get_code_from_data() [all …]
|
/external/python/cpython3/Lib/distutils/command/ |
D | build_ext.py | 647 modpath = fullname.split('.') 648 filename = self.get_ext_filename(modpath[-1]) 654 filename = os.path.join(*modpath[:-1]+[filename]) 659 package = '.'.join(modpath[0:-1])
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | util.py | 168 modpath = os.path.join(location, '__init__.py') 171 modpath = location + '.py' 177 with open(modpath, 'w') as modfile:
|
/external/bcc/src/cc/usdt/ |
D | usdt.cc | 236 int Context::_each_module(const char *modpath, uint64_t, uint64_t, uint64_t, in _each_module() argument 242 if (ctx->modules_.insert(modpath).second /*inserted new?*/) { in _each_module() 244 bcc_elf_foreach_usdt(modpath, _each_probe, p); in _each_module()
|
/external/python/cpython2/Lib/distutils/tests/ |
D | setuptools_build_ext.py | 58 modpath = fullname.split('.') 59 package = '.'.join(modpath[:-1])
|
/external/python/cpython2/Lib/distutils/command/ |
D | build_ext.py | 636 modpath = fullname.split('.') 644 filename = os.path.join(*modpath[:-1]+[filename]) 649 package = '.'.join(modpath[0:-1])
|
/external/python/setuptools/setuptools/command/ |
D | build_ext.py | 88 modpath = fullname.split('.') 89 package = '.'.join(modpath[:-1])
|
/external/bcc/src/cc/ |
D | usdt.h | 253 static int _each_module(const char *modpath, uint64_t, uint64_t, uint64_t,
|
/external/bcc/src/cc/includes/ |
D | usdt.h | 253 static int _each_module(const char *modpath, uint64_t, uint64_t, uint64_t,
|