/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/cpython3/Lib/test/ |
D | test_pkgutil.py | 327 def create_init(self, pkgname): argument 331 pkgdir = os.path.join(dirname, pkgname) 338 def create_submodule(self, dirname, pkgname, submodule_name, value): argument 339 module_name = os.path.join(dirname, pkgname, submodule_name + '.py') 344 pkgname = 'foo' 345 dirname_0 = self.create_init(pkgname) 346 dirname_1 = self.create_init(pkgname) 347 self.create_submodule(dirname_0, pkgname, 'bar', 0) 348 self.create_submodule(dirname_1, pkgname, 'baz', 1) 357 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/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/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/selinux/libselinux/src/android/ |
D | android_platform.c | 800 const char *pkgname, in seapp_context_lookup() argument 829 __FUNCTION__, uid, seinfo, pkgname); in seapp_context_lookup() 891 if(!pkgname) in seapp_context_lookup() 895 if (strncasecmp(pkgname, cur->name.str, cur->name.len-1)) in seapp_context_lookup() 898 if (strcasecmp(pkgname, cur->name.str)) in seapp_context_lookup() 958 __FUNCTION__, uid, seinfo, pkgname); in seapp_context_lookup() 1030 const char *pkgname) in selinux_android_setcontext() argument 1048 rc = seapp_context_lookup(SEAPP_DOMAIN, uid, isSystemServer, seinfo, pkgname, NULL, ctx); in selinux_android_setcontext() 1105 static unsigned int pkghash(const char *pkgname) in pkghash() argument 1108 for (; *pkgname; pkgname++) { in pkghash() [all …]
|
/external/selinux/libselinux/fuzzers/ |
D | AndroidSetcontextFuzzer.cpp | 28 std::string pkgname = fdp.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() local 31 selinux_android_setcontext(uid, isSystemServer, seinfo.c_str(), pkgname.c_str()); in LLVMFuzzerTestOneInput()
|
/external/e2fsprogs/contrib/ |
D | build-rpm | 12 pkgname=`grep Name: e2fsprogs.spec | awk '{print $2;}'` 14 builddir=${pkgname}-${pkgvers}
|
/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/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/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/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/elfutils/tests/debuginfod-tars/pacman-sources/ |
D | PKGBUILD | 1 pkgname=hello
|
/external/google-fruit/extras/packaging/ |
D | PKGBUILD | 2 pkgname=libfruit
|
/external/oss-fuzz/infra/base-images/base-sanitizer-libs-builder/ |
D | msan_build.py | 154 if deb.pkgname == package_name: 159 pkg = cache[deb.pkgname] 164 if deb.pkgname.endswith('-dbg'):
|
/external/python/cpython3/Mac/BuildScript/ |
D | build-installer.py | 1442 pkgname = '%s-%s'%(recipe['name'], getVersion()) 1449 print("- building package %s"%(pkgname,)) 1470 packageContents = os.path.join(targetDir, pkgname + '.pkg', 'Contents') 1496 CFBundleGetInfoString="Python.%s %s"%(pkgname, vers,), 1497 CFBundleIdentifier='org.python.Python.%s'%(pkgname,), 1498 CFBundleName='Python.%s'%(pkgname,), 1519 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 | 571 pkgname = name[:i] 572 pkg = self.modules.get(pkgname) 574 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
|