Home
last modified time | relevance | path

Searched refs:modpath (Results 1 – 16 of 16) sorted by relevance

/external/selinux/libsemanage/tests/
Dtest_semanage_store.c52 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/
Dmakeopcodetargets.py18 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/cpython2/Lib/test/
Dtest___all__.py50 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/
Dtest___all__.py49 def walk_modules(self, basedir, modpath): argument
55 yield pkg_init, modpath + fn
56 for p, m in self.walk_modules(path, modpath + fn + "."):
61 yield path, modpath + fn[:-3]
/external/python/cpython3/Modules/
Dzipimport.c526 PyObject *modpath = NULL; in zipimport_zipimporter_load_module_impl() local
532 code = get_module_code(self, fullname, &ispackage, &modpath); in zipimport_zipimporter_load_module_impl()
570 mod = PyImport_ExecCodeModuleObject(fullname, code, modpath, NULL); in zipimport_zipimporter_load_module_impl()
577 fullname, modpath); in zipimport_zipimporter_load_module_impl()
578 Py_DECREF(modpath); in zipimport_zipimporter_load_module_impl()
582 Py_XDECREF(modpath); in zipimport_zipimporter_load_module_impl()
600 PyObject *code, *modpath; in zipimport_zipimporter_get_filename_impl() local
605 code = get_module_code(self, fullname, &ispackage, &modpath); in zipimport_zipimporter_get_filename_impl()
610 return modpath; in zipimport_zipimporter_get_filename_impl()
1506 PyObject *data, *modpath, *code; in get_code_from_data() local
[all …]
/external/python/cpython2/Python/
Dmakeopcodetargets.py16 modpath = os.path.join(
18 return imp.load_module(modname, *imp.find_module(modname, [modpath]))
Dimport.c2361 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/
Dzipimport.c313 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/
Dbuild_ext.py646 modpath = fullname.split('.')
647 filename = self.get_ext_filename(modpath[-1])
653 filename = os.path.join(*modpath[:-1]+[filename])
658 package = '.'.join(modpath[0:-1])
/external/python/cpython3/Lib/test/test_importlib/
Dutil.py157 modpath = os.path.join(location, '__init__.py')
160 modpath = location + '.py'
166 with open(modpath, 'w') as modfile:
/external/bcc/src/cc/usdt/
Dusdt.cc236 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/
Dsetuptools_build_ext.py58 modpath = fullname.split('.')
59 package = '.'.join(modpath[:-1])
/external/python/cpython2/Lib/distutils/command/
Dbuild_ext.py636 modpath = fullname.split('.')
644 filename = os.path.join(*modpath[:-1]+[filename])
649 package = '.'.join(modpath[0:-1])
/external/python/setuptools/setuptools/command/
Dbuild_ext.py88 modpath = fullname.split('.')
89 package = '.'.join(modpath[:-1])
/external/bcc/src/cc/
Dusdt.h253 static int _each_module(const char *modpath, uint64_t, uint64_t, uint64_t,
/external/bcc/src/cc/includes/
Dusdt.h253 static int _each_module(const char *modpath, uint64_t, uint64_t, uint64_t,