/third_party/node/test/parallel/ |
D | test-worker-process-cwd.js | 19 assert(!process.cwd.toString().includes('Atomics.load')); 25 assert.strictEqual(message, process.cwd()); 27 w.postMessage(process.cwd()); 34 const cwd = process.cwd(); constant 35 assert(process.cwd.toString().includes('Atomics.load')); 41 assert.strictEqual(process.cwd(), message); 42 assert.strictEqual(message, cwd); 43 parentPort.postMessage(cwd); 49 assert.strictEqual(process.cwd(), message); 50 assert.notStrictEqual(message, cwd); [all …]
|
D | test-child-process-cwd.js | 65 testCwd({ cwd: 'does-not-exist' }, 'undefined', -1) property 74 cwd: new URL('http://example.com/'), property 81 cwd: new URL('file://host/dev/null'), property 88 testCwd({ cwd: tmpdir.path }, 'number', 0, tmpdir.path); property 90 testCwd({ cwd: shouldExistDir }, 'number', 0, shouldExistDir); property 91 testCwd({ cwd: pathToFileURL(tmpdir.path) }, 'number', 0, tmpdir.path); property 94 testCwd({ cwd: '' }, 'number'); property 95 testCwd({ cwd: undefined }, 'number'); property 96 testCwd({ cwd: null }, 'number'); property
|
D | test-path-resolve.js | 19 [['.'], process.cwd()], 34 [['a/b/c/', '../../..'], process.cwd()], 35 [['.'], process.cwd()], 63 const currentDriveLetter = path.parse(process.cwd()).root.substring(0, 2); 68 assert.strictEqual(resolvedPath.toLowerCase(), process.cwd().toLowerCase()); 73 process.cwd = () => ''; function 74 assert.strictEqual(process.cwd(), '');
|
D | test-cluster-cwd.js | 10 assert.strictEqual(cluster.settings.cwd, undefined); 12 assert.strictEqual(msg, process.cwd()); 15 cluster.setupMaster({ cwd: tmpdir.path }); property 16 assert.strictEqual(cluster.settings.cwd, tmpdir.path); 21 process.send(process.cwd());
|
/third_party/typescript/src/testRunner/ |
D | externalCompileRunner.ts | 20 abstract report(result: ExecResult, cwd: string): string | null; 49 let cwd = path.join(IO.getWorkspaceRoot(), cls.testDir, directoryName); 50 const originalCwd = cwd; 53 if (fs.existsSync(path.join(cwd, "test.json"))) { 54 …const config = JSON.parse(fs.readFileSync(path.join(cwd, "test.json"), { encoding: "utf8" })) as U… 57 const submoduleDir = path.join(cwd, directoryName); 59 …["--work-tree", submoduleDir, "clone", config.cloneUrl, path.join(submoduleDir, ".git")], { cwd }); 62 …oduleDir, ".git"), "--work-tree", submoduleDir, "reset", "HEAD", "--hard"], { cwd: submoduleDir }); 63 …th.join(submoduleDir, ".git"), "--work-tree", submoduleDir, "clean", "-f"], { cwd: submoduleDir }); 64 …ath.join(submoduleDir, ".git"), "--work-tree", submoduleDir, "pull", "-f"], { cwd: submoduleDir }); [all …]
|
/third_party/skia/third_party/externals/angle2/src/ |
D | commit_id.py | 21 def grab_output(command, cwd): argument 23 command, stdout=sp.PIPE, shell=True, cwd=cwd).communicate()[0].strip().decode('utf-8') 26 def get_commit_position(cwd): argument 27 return grab_output('git rev-list HEAD --count', cwd) 54 cwd = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..') variable 57 cwd = aosp_angle_path variable 59 git_dir_exists = os.path.exists(os.path.join(cwd, '.git', 'HEAD')) 72 ref_file_full_path = os.path.join(cwd, '.git', ref_file) 76 packed_refs_full_path = os.path.join(cwd, '.git', 'packed-refs') 82 print(get_commit_position(cwd)) [all …]
|
/third_party/node/deps/npm/node_modules/tar/lib/ |
D | mkdir.js | 66 const cwd = normPath(opt.cwd) constant 85 if (dir === cwd) 91 const sub = normPath(path.relative(cwd, dir)) 93 mkdir_(cwd, parts, mode, cache, unlink, cwd, null, done) 96 const mkdir_ = (base, parts, mode, cache, unlink, cwd, created, cb) => { argument 102 return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb) 103 fs.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb)) 106 const onmkdir = (part, parts, mode, cache, unlink, cwd, created, cb) => er => { argument 113 mkdir_(part, parts, mode, cache, unlink, cwd, created, cb) 118 fs.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb)) [all …]
|
/third_party/node/deps/npm/test/tap/ |
D | access.js | 50 cwd: pkg property 71 cwd: missing property 92 cwd: invalid property 114 cwd: pkg property 138 { cwd: pkg }, property 156 { cwd: pkg }, property 184 { cwd: pkg }, property 211 { cwd: pkg }, property 238 { cwd: pkg }, property 256 { cwd: pkg }, property [all …]
|
D | test-run-ls.js | 4 var cwd = path.resolve(__dirname, '..', '..') variable 9 common.npm(['run'], { cwd: cwd }, function (er, code, so) { property 18 common.npm(['run', '-p'], { cwd: cwd }, function (er, code, so) { property 27 common.npm(['run', '--json'], { cwd: cwd }, function (er, code, so) { property
|
D | view.js | 67 ], { cwd: t1dir }, function (err, code, stdout, stderr) { property 80 ], { cwd: t1dir }, function (err, code, stdout, stderr) { property 93 ], { cwd: t1dir }, function (err, code, stdout, stderr) { property 106 ], { cwd: t3dir }, function (err, code, stdout, stderr) { property 119 ], { cwd: t2dir }, function (err, code, stdout) { property 133 ], { cwd: t2dir }, function (err, code, stdout) { property 147 ], { cwd: t2dir }, function (err, code, stdout) { property 162 ], { cwd: t2dir }, function (err, code, stdout) { property 179 ], { cwd: t2dir }, function (err, code, stdout) { property 201 ], { cwd: t2dir }, function (err, code, stdout) { property [all …]
|
D | 00-verify-no-scoped.js | 5 var cwd = path.resolve(__dirname, '..', '..') variable 16 t.ok(fs.existsSync(cwd), 'ensure that the path we are calling ls within exists') 18 var opt = { cwd: cwd, stdio: [ 'ignore', 'pipe', 2 ] } property 22 var matchScoped = new RegExp(path.join(cwd, 'node_modules', '.*@').replace(/\\/g, '\\\\'))
|
/third_party/flutter/skia/third_party/externals/angle2/src/ |
D | commit_id.py | 18 def grab_output(command, cwd): argument 19 return sp.Popen(command, stdout=sp.PIPE, shell=True, cwd=cwd).communicate()[0].strip() 26 cwd = sys.argv[2] variable 29 index_path = os.path.join(cwd, '.git', 'index') 43 commit_id = grab_output('git rev-parse --short=%d HEAD' % commit_id_size, cwd) 44 commit_date = grab_output('git show -s --format=%ci HEAD', cwd)
|
/third_party/flutter/engine/flutter/sky/tools/roll/ |
D | roll.py | 101 system(["git", "rm", "-r", d], cwd=dest_dir) 107 files = system(["git", "ls-files", d], cwd=source_dir).splitlines() 116 system(["mkdir", "-p", os.path.dirname(dest_path)], cwd=source_dir) 117 system(["cp", source_path, dest_path], cwd=source_dir) 118 system(["git", "add", d], cwd=dest_dir) 121 system(["git", "checkout", "HEAD", f], cwd=dest_dir) 123 src_commit = system(["git", "rev-parse", "HEAD"], cwd=source_dir).strip() 129 system(["git", "add", "."], cwd=dest_dir) 130 commit("Update to %s %s" % (name, src_commit), cwd=dest_dir)
|
D | utils.py | 10 def commit(message, cwd=None): argument 11 subprocess.call(['git', 'commit', '-a', '-m', message], cwd=cwd) 13 def system(command, cwd=None): argument 14 return subprocess.check_output(command, cwd=cwd)
|
/third_party/skia/third_party/externals/abseil-cpp/ |
D | roll_abseil.py | 18 cwd=abseil_dir) 22 subprocess.check_call(['git', 'checkout', 'main'], cwd=chromium_dir) 23 subprocess.check_call(['git', 'pull', '--rebase'], cwd=chromium_dir) 24 subprocess.check_call(['gclient', 'sync'], cwd=chromium_dir) 31 cwd=abseil_dir) 70 subprocess.check_call(params, cwd=chromium_dir) 92 subprocess.check_call(['git', 'add', 'third_party/abseil-cpp'], cwd=chromium_dir) 93 subprocess.check_call(['git', 'commit', '-m', desc], cwd=chromium_dir) 96 subprocess.check_call(['git', 'cl', 'upload', '-m', desc, '--bypass-hooks'], cwd=chromium_dir) 106 subprocess.check_call(['git', 'checkout', '-b', branch_name], cwd=chromium_dir)
|
/third_party/skia/third_party/externals/swiftshader/src/ |
D | commit_id.py | 28 def grab_output(command, cwd): argument 29 return sp.Popen(command, stdout=sp.PIPE, shell=True, cwd=cwd).communicate()[0].strip() 36 cwd = sys.path[0] variable 39 index_path = os.path.join(cwd, '.git', 'index') 56 commit_id = grab_output('git rev-parse --short=%d HEAD' % commit_id_size, cwd) 57 commit_date = grab_output('git show -s --format=%ci HEAD', cwd)
|
/third_party/node/deps/npm/node_modules/yargs/node_modules/locate-path/ |
D | index.js | 8 cwd: process.cwd() property 11 return pLocate(iterable, el => pathExists(path.resolve(options.cwd, el)), options); 16 cwd: process.cwd() property 20 if (pathExists.sync(path.resolve(options.cwd, el))) {
|
/third_party/node/deps/npm/node_modules/libnpmconfig/node_modules/locate-path/ |
D | index.js | 8 cwd: process.cwd() property 11 return pLocate(iterable, el => pathExists(path.resolve(options.cwd, el)), options); 16 cwd: process.cwd() property 20 if (pathExists.sync(path.resolve(options.cwd, el))) {
|
/third_party/freetype/src/tools/ |
D | make_distribution_archives.py | 18 def get_cmd_output(cmd, cwd=None): argument 20 if cwd is not None: 21 out = subprocess.check_output(cmd, cwd=cwd) 29 out = get_cmd_output(["git", "status", "--porcelain"], cwd=git_dir) 125 for f in get_cmd_output(["git", "ls-files"], cwd=git_dir).split("\n") 141 subprocess.check_call(["/bin/sh", "autogen.sh"], cwd=tmp_src_dir) 176 cwd=build_dir, 180 ["gzip", "-9", "--keep", freetype_tar], cwd=build_dir 183 subprocess.check_call(["xz", "--keep", freetype_tar], cwd=build_dir) 187 ["zip", "-qlr9", ftwinversion + ".zip", freetype_dir], cwd=build_dir
|
/third_party/skia/third_party/externals/freetype/src/tools/ |
D | make_distribution_archives.py | 18 def get_cmd_output(cmd, cwd=None): argument 20 if cwd is not None: 21 out = subprocess.check_output(cmd, cwd=cwd) 29 out = get_cmd_output(["git", "status", "--porcelain"], cwd=git_dir) 125 for f in get_cmd_output(["git", "ls-files"], cwd=git_dir).split("\n") 141 subprocess.check_call(["/bin/sh", "autogen.sh"], cwd=tmp_src_dir) 176 cwd=build_dir, 180 ["gzip", "-9", "--keep", freetype_tar], cwd=build_dir 183 subprocess.check_call(["xz", "--keep", freetype_tar], cwd=build_dir) 187 ["zip", "-qlr9", ftwinversion + ".zip", freetype_dir], cwd=build_dir
|
/third_party/python/Lib/test/ |
D | test_startfile.py | 35 startfile(empty, cwd=path.dirname(sys.executable)) 40 cwd, name = path.split(sys.executable) 41 startfile(name, arguments="-V", cwd=cwd) 42 startfile(name, arguments="-V", cwd=cwd, show_cmd=0)
|
/third_party/flutter/engine/flutter/testing/ |
D | run_tests.py | 57 def RunEngineExecutable(build_dir, executable_name, filter, flags=[], cwd=buildroot_dir): argument 64 print 'Running %s in %s' % (executable_name, cwd) 67 subprocess.check_call(test_command, cwd=cwd) 149 subprocess.check_call(snapshot_command, cwd=buildroot_dir) 152 subprocess.check_call(snapshot_command, cwd=buildroot_dir, stdout=out_file) 176 subprocess.check_call(pub_get_command, cwd=directory) 192 subprocess.check_call(ninja_command, cwd=buildroot_dir) 203 subprocess.check_call(gn_command, cwd=buildroot_dir) 204 subprocess.check_call(ninja_command, cwd=buildroot_dir) 217 subprocess.check_call(ninja_command, cwd=buildroot_dir) [all …]
|
/third_party/typescript/scripts/build/ |
D | utils.js | 84 …formatDiagnosticsWithColorAndContext(diagnostics, getFormatDiagnosticsHost(options && options.cwd)) 85 : ts.formatDiagnostics(diagnostics, getFormatDiagnosticsHost(options && options.cwd)); 94 …log(formatDiagnostics(diagnostics, { cwd: options && options.cwd, pretty: process.stdout.isTTY })); property 102 function getFormatDiagnosticsHost(cwd) { argument 105 getCurrentDirectory: () => cwd, 260 const cwd = normalizeSlashes(options.cwd ? path.resolve(options.cwd) : process.cwd()); 262 const resolvedOutputSpec = path.resolve(cwd, flattenedProjectSpec); 264 const resolvedProjectSpec = resolveProjectSpec(projectSpec, cwd, undefined); 267 …ions && options.exclude && options.exclude.map(file => normalizeSlashes(path.resolve(cwd, file)))); 289 const referencedSpec = resolveProjectSpec(ref.path, cwd, projectSpec);
|
/third_party/node/deps/npm/node_modules/glob/ |
D | common.js | 93 var cwd = process.cwd() 95 self.cwd = cwd 97 self.cwd = path.resolve(options.cwd) 98 self.changedCwd = self.cwd !== cwd 101 self.root = options.root || path.resolve(self.cwd, "/")
|
/third_party/boost/libs/metaparse/tools/ |
D | build_environment.py | 20 def __init__(self, cmd, cwd = os.getcwd()): argument 22 self.cwd = cwd 29 cwd = self.cwd, 43 def in_dir(self, cwd): argument 44 return ChildProcess(self.cmd, cwd) 47 return self.in_dir(os.path.join(self.cwd, subdir))
|