| /external/rootdev/ |
| D | rootdev_test.sh | 3 # Use of this source code is governed by a BSD-style license that can be 9 set -u 34 WORKDIR= 36 if [ -n "$WORKDIR" ]; then 37 rm -rf "$WORKDIR" 39 trap - EXIT 43 WORKDIR=$(mktemp -d rootdev_test.XXXXXXX) 44 if [ ! -d "$WORKDIR" ]; then 56 if [ $ret -eq 0 ]; then 66 if [ $? -ne 0 ]; then [all …]
|
| /external/bazelbuild-rules_go/go/tools/builders/ |
| D | cgo2.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 49 // might miss dependencies like -lstdc++ if they aren't referenced in 56 workDir, cleanup, err := goenv.workDir() 66 workDir = filepath.Join(workDir, "cgo", packagePath) 67 if err := os.MkdirAll(workDir, 0700); err != nil { 71 // Filter out -lstdc++ and -lc++ from ldflags if we don't have C++ sources, 90 if f != "-lc++" && f != "-lstdc++" { 99 // directory so we can use -srcdir. 114 srcDir = filepath.Join(workDir, "cgosrcs") 132 hdrIncludes = append(hdrIncludes, "-iquote", hdrDir) [all …]
|
| /external/cronet/components/cronet/tools/ |
| D | link_dependencies.py | 4 # Use of this source code is governed by a BSD-style license that can be 12 $ link_dependencies.py out/Release-iphoneos \ 14 out/Release-iphoneos/crnet_standalone.a 31 Given 'ninja -t query' output for a target, extracts all the inputs of that 55 query_result: output from 'ninja -t query' 73 def query_ninja(target, workdir, prefix=''): argument 81 workdir: workdir for ninja 87 proc = subprocess.Popen(['ninja', '-C', workdir, '-t', 'query', target], 98 def library_deps(targets, workdir, query=query_ninja): argument 109 workdir: working directory to run ninja queries in [all …]
|
| /external/google-cloud-java/generation/new_client/ |
| D | new-client.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 34 "--api_shortname", 41 "--name-pretty", 45 help="The human-friendly name that appears in README.md" 48 "--product-docs", 55 "--api-description", 63 "--release-level", 67 help="A label that appears in repo-metadata.json. The first library " 71 "--transport", 75 help="A label that appears in repo-metadata.json" [all …]
|
| /external/crosvm/e2e_tests/benches/ |
| D | gimp.rs | 2 // Use of this source code is governed by a BSD-style license that can be 11 fn gimp() -> anyhow::Result<()> { in gimp() 13 … .with_kernel("https://storage.googleapis.com/crosvm/integration_tests/guest-bzimage-x86_64-r0009") in gimp() 14 …https://storage.googleapis.com/crosvm/integration_tests/benchmarks/custom-initramfs.cpio.gz-r0005") in gimp() 16 …ps://storage.googleapis.com/crosvm/integration_tests/benchmarks/gimp-rootfs.img.zst-r0001").rootfs… in gimp() 17 .with_stdout_hardware("serial").extra_args(vec!["--mem".to_owned(), "1024".to_owned()]); in gimp() 27 vm.exec_in_guest("cd /workdir")?; in gimp() 30 …-i -b '(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE "/workdir/test1.png" "/workdir/test1.… in gimp() 34 …-i -b '(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE "/workdir/test2.png" "/workdir/test2.… in gimp()
|
| /external/ltp/testcases/kernel/syscalls/creat/ |
| D | creat09.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * CVE-2018-13405 17 * Author: Linus Torvalds <torvalds@linux-foundation.org> 18 * Date: Tue Jul 3 17:10:19 2018 -0700 20 * Fix up non-directory creation in SGID directories 28 * Date: Fri Jan 22 16:48:18 2021 -0800 30 * xfs: fix up non-directory creation in SGID directories 53 #define WORKDIR MNTPOINT "/testdir" macro 54 #define CREAT_FILE WORKDIR "/creat.tmp" 55 #define OPEN_FILE WORKDIR "/open.tmp" [all …]
|
| /external/cldr/tools/scripts/ansible/templates/ |
| D | deploy-sh.j2 | 2 # Note: this is managed by Ansible, as deploy-sh.j2 3 # Don't modify this file unless its name is deploy-sh.j2 4 if [[ ${1} = "--repo" ]]; 7 GITHUB_REPO=$(echo -n "${1}" | tr -c 'A-Za-z0-9_.-/' '-') 11 GITHUB_REPO=unicode-org/cldr 17 WORKDIR=${TMPDIR-/tmp} # keep all random files here 22 git config --global advice.detachedHead false 23 rm -f ${WORKDIR}/git-list.txt 34 git fetch -p "${GIT_PREFETCH}" "${GITHUB_SHA}" || exit 1 35 git clean -f -d || echo 'warning: err on cleanup' [all …]
|
| /external/toolchain-utils/llvm_tools/patch_sync/src/ |
| D | patch_parsing.rs | 2 // Use of this source code is governed by a BSD-style license that can be 32 pub fn get_from_version(&self) -> Option<u64> { in get_from_version() 38 pub fn get_until_version(&self) -> Option<u64> { in get_until_version() 47 pub workdir: PathBuf, field 53 pub fn parse_from_file(json_file: &Path) -> Result<Self> { in parse_from_file() 66 /// Create a `PatchCollection` from a string literal and a workdir. 67 pub fn parse_from_str(workdir: PathBuf, contents: &str) -> Result<Self> { in parse_from_str() 70 workdir, in parse_from_str() 76 pub fn filter_patches<F>(&self, mut f: F) -> Self in filter_patches() 78 F: FnMut(&PatchDictSchema) -> bool, in filter_patches() [all …]
|
| /external/ltp/testcases/kernel/syscalls/openat/ |
| D | openat04.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 #define WORKDIR MNTPOINT "/testdir" macro 44 static int tmpfile_fd = -1, dir_fd = -1, mount_flag; 53 if (TST_RET == -1 && TST_ERR == EINVAL) in do_mount() 56 if (TST_RET == -1) { in do_mount() 71 if (TST_RET == -1) { in open_tmpfile_supported() 90 do_mount(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, "noacl"); in setup() 92 tst_res(TINFO, "User nobody: uid = %d, gid = %d", (int)ltpuser->pw_uid, in setup() 93 (int)ltpuser->pw_gid); in setup() 94 free_gid = tst_get_free_gid(ltpuser->pw_gid); in setup() [all …]
|
| /external/toolchain-utils/llvm_tools/ |
| D | patch_utils_unittest.py | 3 # Use of this source code is governed by a BSD-style license that can be 24 def make_tempdir(self) -> Path: 81 workdir = TestPatchUtils._mock_dir() 82 e1 = pu.PatchEntry.from_dict(workdir, base_dict) 88 e2 = pu.PatchEntry.from_dict(workdir, base_dict) 93 e3 = pu.PatchEntry.from_dict(workdir, base_dict) 98 e4 = pu.PatchEntry.from_dict(workdir, base_dict) 103 e5 = pu.PatchEntry.from_dict(workdir, base_dict) 161 """Test that we error out when we try to apply a non-existent patch.""" 162 src_dir = TestPatchUtils._mock_dir("somewhere/llvm-project") [all …]
|
| D | get_patch.py | 3 # Use of this source code is governed by a BSD-style license that can be 10 $ get_patch.py -s HEAD p:74791 12 $ get_patch.py -s 82e851a407c5 p:74791 47413bb27 13 # Use another llvm-project dir. 14 $ get_patch.py -s HEAD -l ~/llvm-project 47413bb27 35 CHROMIUMOS_OVERLAY_PATH = Path("src/third_party/chromiumos-overlay") 36 LLVM_PKG_PATH = CHROMIUMOS_OVERLAY_PATH / "sys-devel/llvm" 37 COMPILER_RT_PKG_PATH = CHROMIUMOS_OVERLAY_PATH / "sys-libs/compiler-rt" 38 LIBCXX_PKG_PATH = CHROMIUMOS_OVERLAY_PATH / "sys-libs/libcxx" 39 LIBUNWIND_PKG_PATH = CHROMIUMOS_OVERLAY_PATH / "sys-libs/llvm-libunwind" [all …]
|
| /external/harfbuzz_ng/perf/ |
| D | meson.build | 1 google_benchmark = subproject('google-benchmark') 4 benchmark('benchmark-font', executable('benchmark-font', 'benchmark-font.cc', 12 ), workdir: meson.current_source_dir() / '..', timeout: 100) 14 benchmark('benchmark-map', executable('benchmark-map', 'benchmark-map.cc', 22 ), workdir: meson.current_source_dir() / '..', timeout: 100) 24 benchmark('benchmark-ot', executable('benchmark-ot', 'benchmark-ot.cc', 32 ), workdir: meson.current_source_dir() / '..', timeout: 100) 34 benchmark('benchmark-set', executable('benchmark-set', 'benchmark-set.cc', 42 ), workdir: meson.current_source_dir() / '..', timeout: 100) 44 benchmark('benchmark-shape', executable('benchmark-shape', 'benchmark-shape.cc', [all …]
|
| /external/perfetto/tools/ |
| D | run_test_like_ci | 8 # http://www.apache.org/licenses/LICENSE-2.0 77 '--runner', 82 '--build', 87 '--confirm', 92 '--no-confirm', 99 git_cmd = ['git', '-C', REPO_ROOT, 'status', '--porcelain'] 105 print('I suggest you stop, commit and then re-run this script') 113 check_call(('make', '-C', os.path.join(REPO_ROOT, 'infra', 'ci'), 114 'BUILDER=%s' % args.runner, 'build-sandbox')) 116 bundle_path = '/tmp/perfetto-ci.bundle' [all …]
|
| /external/python/cpython2/Mac/BuildScript/ |
| D | build-installer.py | 6 - support Intel 64-bit-only () and 32-bit-only installer builds 7 - build and link with private Tcl/Tk 8.6 for 10.9+ builds 8 - deprecate use of explicit SDK (--sdk-path=) since all but the oldest 13 supported with build-installer. 14 - use generic "gcc" as compiler (CC env var) rather than "gcc-4.2" 21 Sphinx, build-installer.py should also be converted to use python3! 23 For 10.9 or greater deployment targets, build-installer builds and links 25 apply. Otherwise, build-installer requires an installed third-party version 73 QUOTED_VALUE='quotes' -> str('quotes') 74 UNQUOTED_VALUE=noquotes -> str('noquotes') [all …]
|
| /external/angle/build/android/ |
| D | list_class_verification_failures.py | 3 # Use of this source code is governed by a BSD-style license that can be 9 and accommodating API-level-specific details, such as file paths. 15 import dataclasses # pylint: disable=wrong-import-order 44 --device flag. 48 device_errors.NoDevicesError: Raised when no non-denylisted devices exist. 90 # Of the form "com.example.foo-\d", where \d is a digit (usually 1 or 2). 93 dalvik_prefix = '/data/dalvik-cache/{arch}'.format(arch=arch) 121 ['oatdump', '--oat-file=' + odex_file, '--output=' + device_file.name], 139 pattern = re.compile(r'^(\S+) -> (\S+):') 200 def RealMain(mapping, device_arg, package, status, hide_summary, workdir): argument [all …]
|
| /external/cronet/build/android/ |
| D | list_class_verification_failures.py | 3 # Use of this source code is governed by a BSD-style license that can be 9 and accommodating API-level-specific details, such as file paths. 15 import dataclasses # pylint: disable=wrong-import-order 44 --device flag. 48 device_errors.NoDevicesError: Raised when no non-denylisted devices exist. 90 # Of the form "com.example.foo-\d", where \d is a digit (usually 1 or 2). 93 dalvik_prefix = '/data/dalvik-cache/{arch}'.format(arch=arch) 121 ['oatdump', '--oat-file=' + odex_file, '--output=' + device_file.name], 139 pattern = re.compile(r'^(\S+) -> (\S+):') 200 def RealMain(mapping, device_arg, package, status, hide_summary, workdir): argument [all …]
|
| /external/apache-commons-bcel/src/test/java/org/apache/bcel/util/ |
| D | BCELifierTestCase.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 50 testClassOnPath("target/test-classes/Java8Example.class"); in testJavapCompare() 55 final String initial = exec(null, "javap", "-p", "-c", javaClass); in testClassOnPath() 57 final File workDir = new File("target"); in testClassOnPath() local 61 final File outfile = new File(workDir, infile.getName().replace(".class", "Creator.java")); in testClassOnPath() 66 exec(workDir, "javac", "-cp", "classes", outfile.getName()); in testClassOnPath() 67 …exec(workDir, "java", "-cp", "." + File.pathSeparator + "classes", outfile.getName().replace(".jav… in testClassOnPath() 68 final String output = exec(workDir, "javap", "-p", "-c", infile.getName()); in testClassOnPath() 80 private String exec(final File workDir, final String... args) throws Exception { in exec() argument 83 pb.directory(workDir); in exec() [all …]
|
| /external/python/cpython3/Mac/BuildScript/ |
| D | build-installer.py | 6 - support universal2 variant with arm64 and x86_64 archs 7 - enable clang optimizations when building on 10.15+ 10 - 2.7 end-of-life issues: 11 - Python 3 installs now update the Current version link 13 - fully support running under Python 3 as well as 2.7 14 - support building on newer macOS systems with SIP 15 - fully support building on macOS 10.9+ 16 - support 10.6+ on best effort 17 - support bypassing docs build by supplying a prebuilt 18 docs html tarball in the third-party source library, [all …]
|
| /external/skia/infra/bots/task_drivers/canvaskit_gold/ |
| D | canvaskit_gold.go | 3 // Use of this source code is governed by a BSD-style license that can be 35 …workdir = flag.String("workdir", ".", "Working directory, the root directory of a full Skia chec… var 39 changelistID = flag.String("changelist_id", "", "Should be non-empty only when run on the CQ.") 40 patchsetOrderStr = flag.String("patchset_order", "", "Should be non-zero only when run on the CQ.") 41 tryjobID = flag.String("tryjob_id", "", "Should be non-zero only when run on the CQ.") 50 … "If provided, dump a JSON blob of step data to the given file. Prints to stdout if '-' is given.") 65 wd := td.MustGetAbsolutePathOfFlag(ctx, *workdir, "workdir") 72 fmt.Println("Non-integer value passed in to --patchset_order") 87 "--config=linux_rbe", "--test_output=streamed", "--jobs="+strconv.Itoa(rbeJobs)); err != nil { 125 "--config=" + config, // Should be defined in //bazel/buildrc [all …]
|
| /external/libdrm/intel/ |
| D | meson.build | 1 # Copyright © 2017-2018 Intel Corporation 71 'gen4-3d.batch', 72 find_program('tests/gen4-3d.batch.sh'), 73 workdir : meson.current_build_dir(), 76 'gen45-3d.batch', 77 find_program('tests/gm45-3d.batch.sh'), 78 workdir : meson.current_build_dir(), 81 'gen5-3d.batch', 82 find_program('tests/gen5-3d.batch.sh'), 83 workdir : meson.current_build_dir(), [all …]
|
| /external/skia/infra/bots/recipe_modules/flavor/ |
| D | default.py | 2 # Use of this source code is governed by a BSD-style license that can be 33 # FlavorUtils objects can do recipe module-like things, like run steps or 34 # access module-level resources. 48 lotties_dir=self.m.path.start_dir.join('lottie-samples'), 108 """Run device-specific installation steps.""" 112 """Run any device-specific cleanup steps.""" 130 workdir = self.m.vars.workdir 131 clang_linux = workdir.join('clang_linux') 137 dri_path = workdir.join('mesa_intel_driver_linux') 139 dri_path = workdir.join('mesa_intel_driver_linux_22') [all …]
|
| /external/bazelbuild-rules_python/tools/bazel_integration_test/ |
| D | test_runner.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 52 startup --max_idle_secs=1 53 common --announce_rc 59 workdir = os.path.join(tmpdir, "wksp") 60 print("copying workspace under test %s to %s" % (workspacePath, workdir)) 61 shutil.copytree(workspacePath, workdir) 66 "--override_repository=rules_python=%s/rules_python" 70 … "--override_repository=rules_python_gazelle_plugin=%s/rules_python_gazelle_plugin" 74 # TODO: --override_module isn't supported in the current BAZEL_VERSION (5.2.0) 79 "--override_module=rules_python=%s/rules_python" [all …]
|
| /external/ltp/testcases/kernel/syscalls/chdir/ |
| D | chdir01.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 static char *workdir; variable 47 {&file_name, -1, ENOTDIR, -1, ENOTDIR}, 48 {&blocked_name, 0, 0, -1, EACCES}, 53 {&missing_name, -1, ENOENT, -1, ENOENT}, 54 {&link_name, -1, ELOOP, -1, ELOOP}, 66 workdir = SAFE_MALLOC(strlen(cwd) + strlen(MNTPOINT) + 2); in setup() 67 sprintf(workdir, "%s/%s", cwd, MNTPOINT); in setup() 69 SAFE_CHDIR(workdir); in setup() 82 else if (TST_RET == -1 && (TST_ERR == EPERM || TST_ERR == ENOSYS)) in setup() [all …]
|
| /external/conscrypt/release/ |
| D | Dockerfile | 3 RUN yum install -y git \ 10 curl-devel \ 14 glibc-static.i686 \ 15 glibc-devel \ 16 glibc-devel.i686 18 RUN yum update -y nss 21 RUN wget -q --no-cookies --no-check-certificate \ 22 …--header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie… 23 …"http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-… 24 -O - | tar xz -C /var/local [all …]
|
| /external/igt-gpu-tools/ |
| D | Dockerfile.fedora | 3 RUN dnf install -y \ 4 gcc flex bison libatomic meson ninja-build xdotool \ 11 'pkgconfig(pixman-1)' \ 15 'pkgconfig(glib-2.0)' \ 21 'pkgconfig(json-c)' \ 22 'pkgconfig(gtk-doc)' \ 25 python3-docutils 28 RUN dnf install -y make 30 WORKDIR /tmp/peg 32 RUN curl -O https://intel-gfx-ci.01.org/mirror/peg/peg-0.1.18.tar.gz [all …]
|