/external/python/cpython3/Lib/test/ |
D | test_pkgutil.py | 236 def create_init(self, pkgname): argument 240 pkgdir = os.path.join(dirname, pkgname) 247 def create_submodule(self, dirname, pkgname, submodule_name, value): argument 248 module_name = os.path.join(dirname, pkgname, submodule_name + '.py') 253 pkgname = 'foo' 254 dirname_0 = self.create_init(pkgname) 255 dirname_1 = self.create_init(pkgname) 256 self.create_submodule(dirname_0, pkgname, 'bar', 0) 257 self.create_submodule(dirname_1, pkgname, 'baz', 1) 266 sorted([os.path.join(dirname_0, pkgname), [all …]
|
D | test_reprlib.py | 227 self.pkgname = os.path.join(self.longname) 230 shutil.rmtree(self.pkgname, ignore_errors=True) 231 os.mkdir(self.pkgname) 232 create_empty_file(os.path.join(self.pkgname, '__init__.py')) 245 for dirpath, dirnames, filenames in os.walk(self.pkgname): 248 actions.append(self.pkgname) 278 self._check_path_limitations(self.pkgname) 279 create_empty_file(os.path.join(self.subpkgname, self.pkgname + '.py'))
|
D | test_pkg.py | 50 self.pkgname = None 63 if self.pkgname: 65 if self.pkgname in name.split('.')] 92 self.pkgname = descr[0][0]
|
/external/objenesis/tck/src/main/java/org/objenesis/tck/search/ |
D | ClassEnumerator.java | 32 … private static void processDirectory(File directory, String pkgname, SortedSet<String> classes) { in processDirectory() argument 42 String className = pkgname + '.' + fileName.substring(0, fileName.length() - 6); in processDirectory() 49 processDirectory(subdir, pkgname + '.' + fileName, classes); in processDirectory() 54 private static void processJarfile(URL resource, String pkgname, SortedSet<String> classes) { in processJarfile() argument 55 String relPath = pkgname.replace('.', '/'); in processJarfile() 110 String pkgname = pkg.getName(); in getClassesForPackage() local 111 String relPath = pkgname.replace('.', '/'); in getClassesForPackage() 124 processJarfile(resource, pkgname, classes); in getClassesForPackage() 126 processDirectory(new File(resource.getPath()), pkgname, classes); in getClassesForPackage()
|
/external/python/cpython2/Lib/ |
D | ihooks.py | 418 pkgname = globals.get('__package__') 419 if pkgname is not None: 420 if not pkgname and level > 0: 429 pkgname = modname 438 pkgname = modname.rpartition('.')[0] 439 globals['__package__'] = pkgname 441 dot = len(pkgname) 444 dot = pkgname.rindex('.', 0, dot) 448 pkgname = pkgname[:dot] 450 return sys.modules[pkgname] [all …]
|
D | modulefinder.py | 561 pkgname = name[:i] 562 pkg = self.modules.get(pkgname) 564 if pkgname in self.badmodules[name]:
|
/external/selinux/libselinux/src/android/ |
D | android_platform.c | 904 const char *pkgname, in seapp_context_lookup() argument 935 __FUNCTION__, uid, seinfo, pkgname); in seapp_context_lookup() 1000 if(!pkgname) in seapp_context_lookup() 1004 if (strncasecmp(pkgname, cur->name.str, cur->name.len-1)) in seapp_context_lookup() 1007 if (strcasecmp(pkgname, cur->name.str)) in seapp_context_lookup() 1087 __FUNCTION__, uid, seinfo, pkgname); in seapp_context_lookup() 1101 const char *pkgname, in selinux_android_setfilecon() argument 1122 rc = seapp_context_lookup(SEAPP_TYPE, uid, 0, seinfo, pkgname, NULL, ctx); in selinux_android_setfilecon() 1174 const char *pkgname) in selinux_android_setcontext() argument 1192 rc = seapp_context_lookup(SEAPP_DOMAIN, uid, isSystemServer, seinfo, pkgname, NULL, ctx); in selinux_android_setcontext() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_repr.py | 225 self.pkgname = os.path.join(longname) 228 shutil.rmtree(self.pkgname, ignore_errors=True) 229 os.mkdir(self.pkgname) 230 touch(os.path.join(self.pkgname, '__init__'+os.extsep+'py')) 240 for dirpath, dirnames, filenames in os.walk(self.pkgname): 243 actions.append(self.pkgname) 255 touch(os.path.join(self.subpkgname, self.pkgname + os.extsep + 'py'))
|
D | test_pkg.py | 49 self.pkgname = None 58 if self.pkgname: 60 if self.pkgname in name.split('.')] 87 self.pkgname = descr[0][0]
|
/external/python/cpython2/Lib/plat-mac/ |
D | pimp.py | 1030 for pkgname in args: 1031 pkg = db.find(pkgname) 1034 pkgname = pkg.fullname() 1037 print "%-20.20s\t%s" % (pkgname, description) 1052 for pkgname in args: 1053 pkg = db.find(pkgname) 1056 pkgname = pkg.fullname() 1060 print "%-20.20s\t%-9.9s\t%s" % (pkgname, status, msg) 1074 for pkgname in args: 1075 pkg = db.find(pkgname) [all …]
|
/external/e2fsprogs/contrib/ |
D | build-rpm | 12 pkgname=`grep Name: e2fsprogs.spec | awk '{print $2;}'` 14 builddir=${pkgname}-${pkgvers}
|
/external/python/setuptools/setuptools/tests/ |
D | test_integration.py | 71 def _install_one(requirement, cmd, pkgname, modulename): argument 76 dest_path = glob.glob(os.path.join(target, pkgname + '*.egg')) 78 assert os.path.exists(os.path.join(dest_path[0], pkgname, modulename))
|
/external/nanopb-c/tests/fuzztest/ |
D | SConscript | 5 def set_pkgname(src, dst, pkgname): 9 data = data.replace(placeholder, 'package %s;' % pkgname)
|
/external/grpc-grpc/third_party/nanopb/tests/fuzztest/ |
D | SConscript | 5 def set_pkgname(src, dst, pkgname): 9 data = data.replace(placeholder, 'package %s;' % pkgname)
|
/external/nanopb-c/tests/package_name/ |
D | SConscript | 6 def set_pkgname(src, dst, pkgname): 10 data = data.replace(placeholder, 'package %s;' % pkgname)
|
/external/grpc-grpc/third_party/nanopb/tests/package_name/ |
D | SConscript | 6 def set_pkgname(src, dst, pkgname): 10 data = data.replace(placeholder, 'package %s;' % pkgname)
|
/external/selinux/libselinux/include/selinux/ |
D | android.h | 38 const char *pkgname,
|
/external/google-fruit/extras/packaging/ |
D | PKGBUILD | 2 pkgname=libfruit
|
/external/python/cpython3/Mac/BuildScript/ |
D | build-installer.py | 1338 pkgname = '%s-%s'%(recipe['name'], getVersion()) 1345 print("- building package %s"%(pkgname,)) 1366 packageContents = os.path.join(targetDir, pkgname + '.pkg', 'Contents') 1392 CFBundleGetInfoString="Python.%s %s"%(pkgname, vers,), 1393 CFBundleIdentifier='org.python.Python.%s'%(pkgname,), 1394 CFBundleName='Python.%s'%(pkgname,), 1415 IFPkgDescriptionTitle=recipe.get('long_name', "Python.%s"%(pkgname,)),
|
/external/python/cpython2/Mac/BuildScript/ |
D | build-installer.py | 1351 pkgname = '%s-%s'%(recipe['name'], getVersion()) 1358 print("- building package %s"%(pkgname,)) 1379 packageContents = os.path.join(targetDir, pkgname + '.pkg', 'Contents') 1405 CFBundleGetInfoString="Python.%s %s"%(pkgname, vers,), 1406 CFBundleIdentifier='org.python.Python.%s'%(pkgname,), 1407 CFBundleName='Python.%s'%(pkgname,), 1428 IFPkgDescriptionTitle=recipe.get('long_name', "Python.%s"%(pkgname,)),
|
/external/python/cpython2/Python/ |
D | import.c | 2361 PyObject *pkgname, *modname, *modpath, *modules, *parent; in get_parent() local 2385 pkgname = PyDict_GetItem(globals, pkgstr); in get_parent() 2387 if ((pkgname != NULL) && (pkgname != Py_None)) { in get_parent() 2390 if (!PyString_Check(pkgname)) { in get_parent() 2395 len = PyString_GET_SIZE(pkgname); in get_parent() 2409 strcpy(buf, PyString_AS_STRING(pkgname)); in get_parent() 2461 pkgname = PyString_FromString(buf); in get_parent() 2462 if (pkgname == NULL) { in get_parent() 2465 error = PyDict_SetItem(globals, pkgstr, pkgname); in get_parent() 2466 Py_DECREF(pkgname); in get_parent()
|
/external/python/cpython3/Lib/ |
D | modulefinder.py | 514 pkgname = name[:i] 515 pkg = self.modules.get(pkgname) 517 if pkgname in self.badmodules[name]:
|
/external/python/setuptools/setuptools/ |
D | dist.py | 252 for pkgname in value: 253 if not re.match(r'\w+(\.\w+)*', pkgname): 256 ".-separated package names in setup.py", pkgname
|
/external/python/cpython3/Python/ |
D | ceval.c | 4796 PyObject *fullmodname, *pkgname, *pkgpath, *pkgname_or_unknown, *errmsg; in import_from() local 4804 pkgname = _PyObject_GetAttrId(v, &PyId___name__); in import_from() 4805 if (pkgname == NULL) { in import_from() 4808 if (!PyUnicode_Check(pkgname)) { in import_from() 4809 Py_CLEAR(pkgname); in import_from() 4812 fullmodname = PyUnicode_FromFormat("%U.%U", pkgname, name); in import_from() 4814 Py_DECREF(pkgname); in import_from() 4822 Py_DECREF(pkgname); in import_from() 4826 if (pkgname == NULL) { in import_from() 4833 pkgname_or_unknown = pkgname; in import_from() [all …]
|
/external/ply/ply/ply/ |
D | lex.py | 1035 pkgname = '.'.join(parts[:-1]) 1036 exec('import %s' % pkgname) 1037 srcfile = getattr(sys.modules[pkgname], '__file__', '')
|