/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 | 791 const char *pkgname, in seapp_context_lookup() argument 821 __FUNCTION__, uid, seinfo, pkgname); in seapp_context_lookup() 886 if(!pkgname) in seapp_context_lookup() 890 if (strncasecmp(pkgname, cur->name.str, cur->name.len-1)) in seapp_context_lookup() 893 if (strcasecmp(pkgname, cur->name.str)) in seapp_context_lookup() 970 __FUNCTION__, uid, seinfo, pkgname); in seapp_context_lookup() 984 const char *pkgname, in selinux_android_setfilecon() argument 1005 rc = seapp_context_lookup(SEAPP_TYPE, uid, 0, seinfo, pkgname, NULL, ctx); in selinux_android_setfilecon() 1057 const char *pkgname) in selinux_android_setcontext() argument 1075 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/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/selinux/libselinux/include/selinux/ |
D | android.h | 38 const char *pkgname,
|
/external/python/cpython2/Mac/BuildScript/ |
D | build-installer.py | 1367 pkgname = '%s-%s'%(recipe['name'], getVersion()) 1374 print("- building package %s"%(pkgname,)) 1395 packageContents = os.path.join(targetDir, pkgname + '.pkg', 'Contents') 1421 CFBundleGetInfoString="Python.%s %s"%(pkgname, vers,), 1422 CFBundleIdentifier='org.python.Python.%s'%(pkgname,), 1423 CFBundleName='Python.%s'%(pkgname,), 1444 IFPkgDescriptionTitle=recipe.get('long_name', "Python.%s"%(pkgname,)),
|
/external/python/cpython2/Python/ |
D | import.c | 2339 PyObject *pkgname, *modname, *modpath, *modules, *parent; in get_parent() local 2363 pkgname = PyDict_GetItem(globals, pkgstr); in get_parent() 2365 if ((pkgname != NULL) && (pkgname != Py_None)) { in get_parent() 2368 if (!PyString_Check(pkgname)) { in get_parent() 2373 len = PyString_GET_SIZE(pkgname); in get_parent() 2387 strcpy(buf, PyString_AS_STRING(pkgname)); in get_parent() 2439 pkgname = PyString_FromString(buf); in get_parent() 2440 if (pkgname == NULL) { in get_parent() 2443 error = PyDict_SetItem(globals, pkgstr, pkgname); in get_parent() 2444 Py_DECREF(pkgname); in get_parent()
|
/external/ply/ply/ply/ |
D | lex.py | 1038 pkgname = '.'.join(parts[:-1]) 1039 exec('import %s' % pkgname) 1040 srcfile = getattr(sys.modules[pkgname], '__file__', '')
|
D | yacc.py | 3253 pkgname = '.'.join(parts[:-1]) 3254 exec('import %s' % pkgname) 3255 srcfile = getattr(sys.modules[pkgname], '__file__', '')
|
/external/python/cpython2/Lib/distutils/ |
D | dist.py | 810 for pkgname in self.get_command_packages(): 811 module_name = "%s.%s" % (pkgname, command)
|
/external/lisa/ipynb/examples/android/benchmarks/ |
D | Android_PCMark.ipynb | 292 "def check_packages(pkgname):\n", 294 " output = target.execute('pm list packages -f | grep -i {}'.format(pkgname))\n", 296 " raise RuntimeError('Package: [{}] not availabe on target'.format(pkgname))\n",
|
/external/ply/ply/ |
D | CHANGES | 93 lexer = lex.lex(lextab='pkgname.files.lextab') 94 parser = yacc.yacc(tabmodule='pkgname.files.parsetab') 96 For this to work, 'pkgname.files' must already exist as a valid
|