Home
last modified time | relevance | path

Searched refs:pkgdir (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_compileall.py293 self.pkgdir = os.path.join(self.directory, 'foo')
294 os.mkdir(self.pkgdir)
295 self.pkgdir_cachedir = os.path.join(self.pkgdir, '__pycache__')
297 self.initfn = script_helper.make_script(self.pkgdir, '__init__', '')
298 self.barfn = script_helper.make_script(self.pkgdir, 'bar', '')
344 ['-m', 'compileall', '-q', self.pkgdir]))
351 self.assertFalse([fn for fn in os.listdir(self.pkgdir)
358 self.assertRunOK('-b', '-q', self.pkgdir)
363 self.assertEqual(sorted(os.listdir(self.pkgdir)), expected)
368 self.assertRunOK('-q', self.pkgdir)
[all …]
Dtest_pydoc.py781 pkgdir = os.path.join(TESTFN, "syntaxerr")
782 os.mkdir(pkgdir)
783 badsyntax = os.path.join(pkgdir, "__init__") + os.extsep + "py"
816 pkgdir = os.path.join(TESTFN, 'walkpkg')
817 os.mkdir(pkgdir)
818 self.addCleanup(rmtree, pkgdir)
819 init_path = os.path.join(pkgdir, '__init__.py')
822 current_mode = stat.S_IMODE(os.stat(pkgdir).st_mode)
824 os.chmod(pkgdir, current_mode & ~stat.S_IEXEC)
829 os.chmod(pkgdir, current_mode)
[all …]
Dtest_pkgutil.py240 pkgdir = os.path.join(dirname, pkgname)
241 os.mkdir(pkgdir)
242 with open(os.path.join(pkgdir, '__init__.py'), 'w') as fl:
/external/grpc-grpc/tools/distrib/python/
Dsubmit.py64 pkgdir = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../../../') variable
67 shutil.rmtree(os.path.join(pkgdir, 'dist/'))
75 subprocess.call(cmd, cwd=pkgdir, env=build_env)
84 subprocess.call(cmd, cwd=pkgdir)
95 subprocess.call(cmd, cwd=pkgdir)
/external/syzkaller/vendor/google.golang.org/appengine/internal/
Dregen.sh21 pkgdir=$(go list -f '{{.Dir}}' $PKG)
22 echo 1>&2 $pkgdir
23 base=$(echo $pkgdir | sed "s,/$PKG\$,,")
/external/toolchain-utils/go/
Dpush_goroot22 pkgdir="pkg/$(go_${target} env GOOS)_$(go_${target} env GOARCH)"
23 target_cp "${pkgdir}" ${target}:${goroot}/pkg
/external/selinux/libselinux/include/selinux/
Dandroid.h37 extern int selinux_android_setfilecon(const char *pkgdir,
59 extern int selinux_android_restorecon_pkgdir(const char *pkgdir,
/external/python/httplib2/
Dsetup.py6 pkgdir = {"": "python%s" % sys.version_info[0]} variable
85 package_dir=pkgdir,
/external/google-fruit/extras/packaging/
DPKGBUILD27 make DESTDIR="${pkgdir}" install
/external/python/cpython2/Lib/test/
Dtest_pydoc.py461 pkgdir = os.path.join(TESTFN, "syntaxerr")
462 os.mkdir(pkgdir)
463 badsyntax = os.path.join(pkgdir, "__init__") + os.extsep + "py"
/external/selinux/libselinux/src/android/
Dandroid_platform.c1100 int selinux_android_setfilecon(const char *pkgdir, in selinux_android_setfilecon() argument
1113 rc = getfilecon(pkgdir, &ctx_str); in selinux_android_setfilecon()
1137 rc = setfilecon(pkgdir, ctx_str); in selinux_android_setfilecon()
1149 __FUNCTION__, pkgdir, uid, strerror(errno)); in selinux_android_setfilecon()
1792 int selinux_android_restorecon_pkgdir(const char *pkgdir, in selinux_android_restorecon_pkgdir() argument
1797 …return selinux_android_restorecon_common(pkgdir, seinfo, uid, flags | SELINUX_ANDROID_RESTORECON_D… in selinux_android_restorecon_pkgdir()
/external/autotest/client/common_lib/
Dbase_job.py771 pkgdir = _job_directory.property_factory('pkgdir') variable in base_job
Dbase_job_unittest.py181 self.assertEqual(self.cjob.pkgdir, self.sjob.pkgdir)
/external/autotest/client/bin/
Djob_unittest.py210 pkgdir = os.path.join(self.autodir, 'packages')
Djob.py420 self.pkgmgr.install_pkg(name, pkg_type, self.pkgdir, install_dir)