Home
last modified time | relevance | path

Searched refs:cwd (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/external/libmojo/third_party/catapult/devil/devil/utils/
Dcmd_helper.py93 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
95 args=args, cwd=cwd, stdout=stdout, stderr=stderr,
100 def Call(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
101 pipe = Popen(args, stdout=stdout, stderr=stderr, shell=shell, cwd=cwd,
107 def RunCmd(args, cwd=None): argument
119 logging.info(str(args) + ' ' + (cwd or ''))
120 return Call(args, cwd=cwd)
123 def GetCmdOutput(args, cwd=None, shell=False): argument
137 (_, output) = GetCmdStatusAndOutput(args, cwd, shell)
141 def _ValidateAndLogCommand(args, cwd, shell): argument
[all …]
/external/valgrind/none/tests/
Dprocfs-cmdline-exe.c20 static void test_cmdline(const char* const cwd, const char* const label, in test_cmdline() argument
48 static void test_readlink(const char* const cwd, const char* const label, in test_readlink() argument
59 if (strncmp(buf, cwd, strlen(cwd)) == 0) in test_readlink()
60 p += strlen(cwd); in test_readlink()
67 static void test_readlinkat(const char* const cwd, const char* const label, in test_readlinkat() argument
79 if (strncmp(buf, cwd, strlen(cwd)) == 0) in test_readlinkat()
80 p += strlen(cwd); in test_readlinkat()
93 char cwd[512]; in main() local
96 cwd[0] = 0; in main()
97 if (! getcwd(cwd, sizeof(cwd))) in main()
[all …]
/external/v8/tools/release/
Dauto_roll.py110 cwd = self._options.chromium
111 self.InitialEnvironmentChecks(cwd)
113 if not self.GitIsWorkdirClean(cwd=cwd): # pragma: no cover
116 if not os.path.exists(os.path.join(cwd, "DEPS")): # pragma: no cover
125 cwd = self._options.chromium
126 self.GitCheckout("master", cwd=cwd)
127 self.DeleteBranch("work-branch", cwd=cwd)
128 self.GitPull(cwd=cwd)
133 self.GitCreateBranch("work-branch", cwd=cwd)
141 cwd = self._options.chromium
[all …]
Dreleases.py322 cwd = self._options.chromium
325 cwd=cwd)
327 self.GitFetchOrigin(cwd=os.path.join(cwd, "v8"))
335 revision, cwd=os.path.join(step._options.chromium, "v8"))
342 cwd = self._options.chromium
352 path="DEPS", cwd=cwd).splitlines():
353 deps = self.GitShowFile(git_hash, "DEPS", cwd=cwd)
356 cr_rev = self.GetCommitPositionNumber(git_hash, cwd=cwd)
389 cwd = self._options.chromium
396 self.GitRemotes(cwd=cwd))
[all …]
Dtest_scripts.py422 def Command(self, cmd, args="", prefix="", pipe=True, cwd=None): argument
424 print "in %s" % cwd
425 return self._mock.Call("command", cmd + " " + args, cwd=cwd)
733 Cmd("fetch v8", "", cwd=work_dir),
1110 Cmd("git status -s -uno", "", cwd=chrome_dir),
1111 Cmd("git checkout -f master", "", cwd=chrome_dir),
1112 Cmd("git branch", "", cwd=chrome_dir),
1113 Cmd("git pull", "", cwd=chrome_dir),
1115 Cmd("git new-branch work-branch", "", cwd=chrome_dir),
1116 Cmd("roll-dep-svn v8 roll_hsh", "rolled", cb=WriteDeps, cwd=chrome_dir),
[all …]
Dcommon_includes.py190 def Command(cmd, args="", prefix="", pipe=True, cwd=None): argument
191 cwd = cwd or os.getcwd()
195 print "in %s" % cwd
199 return subprocess.check_output(cmd_line, shell=True, cwd=cwd)
201 return subprocess.check_call(cmd_line, shell=True, cwd=cwd)
238 def Command(self, cmd, args="", prefix="", pipe=True, cwd=None): argument
239 return Command(cmd, args, prefix, pipe, cwd=cwd)
493 def Command(self, name, args, cwd=None): argument
495 name, args, "", True, cwd=cwd or self.default_cwd)
498 def Git(self, args="", prefix="", pipe=True, retry_on=None, cwd=None): argument
[all …]
/external/valgrind/none/tests/solaris/
Dproc_aout.c9 static void test_readlink(const char *cwd, const char *label, in test_readlink() argument
17 size_t len = strlen(cwd); in test_readlink()
22 if (!strncmp(buf, cwd, len)) in test_readlink()
30 static void test_readlinkat(const char *cwd, const char *label, in test_readlinkat() argument
38 size_t len = strlen(cwd); in test_readlinkat()
43 if (!strncmp(buf, cwd, len)) in test_readlinkat()
53 char cwd[PATH_MAX]; in main() local
56 cwd[0] = '\0'; in main()
57 if (!getcwd(cwd, sizeof(cwd) - 1)) /* '-1' to make room for '/' */ in main()
59 strcat(cwd, "/"); in main()
[all …]
/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper.py91 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
101 args=args, cwd=cwd, stdout=stdout, stderr=stderr,
105 def Call(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
106 pipe = Popen(args, stdout=stdout, stderr=stderr, shell=shell, cwd=cwd,
112 def RunCmd(args, cwd=None): argument
124 logger.info(str(args) + ' ' + (cwd or ''))
125 return Call(args, cwd=cwd)
128 def GetCmdOutput(args, cwd=None, shell=False): argument
142 (_, output) = GetCmdStatusAndOutput(args, cwd, shell)
146 def _ValidateAndLogCommand(args, cwd, shell): argument
[all …]
/external/libcxx/utils/libcxx/
Dcompiler.py154 def preprocess(self, source_files, out=None, flags=[], cwd=None): argument
157 cwd=cwd)
160 def compile(self, source_files, out=None, flags=[], cwd=None): argument
163 cwd=cwd)
166 def link(self, source_files, out=None, flags=[], cwd=None): argument
169 cwd=cwd)
173 cwd=None): argument
176 cwd=cwd)
180 flags=[], cwd=None): argument
191 source_file, object_file, flags=flags, cwd=cwd)
[all …]
/external/fmtlib/support/
Dtravis-build.py68 check_call(['git', 'add', '--all'], cwd=repo)
69 if call(['git', 'diff-index', '--quiet', 'HEAD'], cwd=repo):
70 check_call(['git', 'commit', '-m', 'Update documentation'], cwd=repo)
74 p = Popen(cmd, shell=True, stdout=PIPE, stderr=STDOUT, cwd=repo)
97 common_cmake_flags + extra_cmake_flags, cwd=build_dir)
100 check_call(['make', '-j4'], cwd=build_dir)
105 if call(['make', 'test'], env=env, cwd=build_dir):
111 check_call(['make', 'install'], cwd=build_dir)
117 common_cmake_flags, cwd=test_build_dir)
118 check_call(['make', '-j4'], cwd=test_build_dir)
Dmanage.py26 return self.call('add', args, cwd=self.dir)
29 return self.call('checkout', args, cwd=self.dir)
32 return self.call('clean', args, cwd=self.dir)
38 return self.call('commit', args, cwd=self.dir)
41 return self.call('pull', args, cwd=self.dir)
44 return self.call('push', args, cwd=self.dir)
47 return self.call('reset', args, cwd=self.dir)
63 def __init__(self, cwd): argument
64 self.cwd = cwd
67 kwargs['cwd'] = kwargs.get('cwd', self.cwd)
/external/e2fsprogs/util/
Dsymlinks.c326 char* cwd = get_current_dir_name(); local
328 static char path[PATH_MAX+2], cwd[PATH_MAX+2];
339 if (NULL == cwd) {
342 if (NULL == getcwd(cwd,PATH_MAX)) {
348 cwd = realloc(cwd, strlen(cwd)+2);
349 if (cwd == NULL) {
354 if (!*cwd || cwd[strlen(cwd)-1] != '/')
355 strcat(cwd,"/");
377 strcpy(path,cwd);
/external/skia/infra/bots/assets/armhf_sysroot/
Dcreate_and_upload.py29 cwd = os.getcwd()
34 cwd = os.path.join(cwd, 'sysroot')
35 subprocess.check_call(['python', create_script, '-t', cwd])
36 cmd = ['python', upload_script, '-t', cwd]
/external/swiftshader/third_party/LLVM/utils/lit/lit/
DTestRunner.py26 def executeCommand(command, cwd=None, env=None): argument
27 p = subprocess.Popen(command, cwd=cwd,
41 def executeShCmd(cmd, cfg, cwd, results): argument
44 res = executeShCmd(cmd.lhs, cfg, cwd, results)
45 return executeShCmd(cmd.rhs, cfg, cwd, results)
51 res = executeShCmd(cmd.lhs, cfg, cwd, results)
53 res = executeShCmd(cmd.rhs, cfg, cwd, results)
56 res = executeShCmd(cmd.lhs, cfg, cwd, results)
61 res = executeShCmd(cmd.rhs, cfg, cwd, results)
163 procs.append(subprocess.Popen(args, cwd=cwd,
[all …]
/external/skia/infra/bots/assets/linux_vulkan_intel_driver_release/
Dcreate_and_upload.py30 cwd = os.getcwd()
35 cwd = os.path.join(cwd, 'lib')
37 '-t', cwd,
40 cmd = ['python', upload_script, '-t', cwd]
/external/skia/infra/bots/assets/linux_vulkan_intel_driver_debug/
Dcreate_and_upload.py30 cwd = os.getcwd()
35 cwd = os.path.join(cwd, 'lib')
37 '-t', cwd,
40 cmd = ['python', upload_script, '-t', cwd]
/external/clang/tools/scan-build-py/libscanbuild/
Drunner.py130 cwd = opts['directory']
132 opts['flags'] + [opts['file'], '-o', name], cwd)
133 logging.debug('exec command in %s: %s', cwd, ' '.join(cmd))
134 subprocess.call(cmd, cwd=cwd)
171 cwd = opts['directory']
174 cwd)
175 logging.debug('exec command in %s: %s', cwd, ' '.join(cmd))
177 cwd=cwd,
/external/skia/infra/bots/assets/linux_vulkan_sdk/
Dcreate_and_upload.py30 cwd = os.getcwd()
35 cwd = os.path.join(cwd, 'sdk')
37 '-t', cwd,
40 cmd = ['python', upload_script, '-t', cwd]
/external/skia/infra/bots/assets/win_vulkan_sdk/
Dcreate_and_upload.py33 cwd = os.getcwd()
38 cwd = os.path.join(cwd, 'sdk')
40 '-t', cwd,
44 cmd = ['python', upload_script, '-t', cwd]
/external/googletest/googletest/include/gtest/internal/custom/
Dgtest.h55 char* cwd = getcwd(NULL, 0); in GetAndroidTempDir() local
56 if (cwd != NULL) { in GetAndroidTempDir()
57 result = cwd; in GetAndroidTempDir()
59 free(cwd); in GetAndroidTempDir()
/external/libcxx/utils/
Dmerge_archives.py46 def execute_command(cmd, cwd=None): argument
54 'cwd': cwd
64 def execute_command_verbose(cmd, cwd=None, verbose=False): argument
68 out, err, exitCode = execute_command(cmd, cwd=cwd)
118 execute_command_verbose([ar_exe, '-x', arc], cwd=temp_directory_root,
125 execute_command_verbose(cmd, cwd=temp_directory_root, verbose=args.verbose)
/external/v8/testing/gtest/src/
Dgtest-filepath.cc105 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir()
106 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir()
108 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir()
109 char* result = getcwd(cwd, sizeof(cwd)); in GetCurrentDir()
114 return FilePath(result == NULL ? kCurrentDirectoryString : cwd); in GetCurrentDir()
116 return FilePath(result == NULL ? "" : cwd); in GetCurrentDir()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-filepath.cc105 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir()
106 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir()
108 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir()
109 char* result = getcwd(cwd, sizeof(cwd)); in GetCurrentDir()
114 return FilePath(result == NULL ? kCurrentDirectoryString : cwd); in GetCurrentDir()
116 return FilePath(result == NULL ? "" : cwd); in GetCurrentDir()
/external/googletest/googletest/src/
Dgtest-filepath.cc105 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir()
106 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir()
108 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir()
109 char* result = getcwd(cwd, sizeof(cwd)); in GetCurrentDir()
114 return FilePath(result == NULL ? kCurrentDirectoryString : cwd); in GetCurrentDir()
116 return FilePath(result == NULL ? "" : cwd); in GetCurrentDir()
/external/llvm/utils/unittest/googletest/src/
Dgtest-filepath.cc104 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir()
105 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir()
107 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir()
108 return FilePath(getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir()

12345678910>>...14