Home
last modified time | relevance | path

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

12345678910>>...22

/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 …]
Dcommon_includes.py198 def Command(cmd, args="", prefix="", pipe=True, cwd=None): argument
199 cwd = cwd or os.getcwd()
203 print "in %s" % cwd
207 return subprocess.check_output(cmd_line, shell=True, cwd=cwd)
209 return subprocess.check_call(cmd_line, shell=True, cwd=cwd)
246 def Command(self, cmd, args="", prefix="", pipe=True, cwd=None): argument
247 return Command(cmd, args, prefix, pipe, cwd=cwd)
501 def Command(self, name, args, cwd=None): argument
503 name, args, "", True, cwd=cwd or self.default_cwd)
506 def Git(self, args="", prefix="", pipe=True, retry_on=None, cwd=None): argument
[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, env=None): argument
144 (_, output) = GetCmdStatusAndOutput(args, cwd, shell, env)
148 def _ValidateAndLogCommand(args, cwd, shell): argument
[all …]
/external/libcxx/utils/libcxx/
Dcompiler.py155 def preprocess(self, source_files, out=None, flags=[], cwd=None): argument
158 cwd=cwd)
161 def compile(self, source_files, out=None, flags=[], cwd=None): argument
164 cwd=cwd)
167 def link(self, source_files, out=None, flags=[], cwd=None): argument
170 cwd=cwd)
174 cwd=None): argument
177 cwd=cwd)
181 flags=[], cwd=None): argument
192 source_file, object_file, flags=flags, cwd=cwd)
[all …]
/external/v8/tools/node/
Dtest_backport_node.py21 subprocess.check_call(['git', 'init'], cwd=path)
22 subprocess.check_call(['git', 'add'] + files, cwd=path)
23 subprocess.check_call(['git', 'commit', '-m', 'Initial'], cwd=path)
47 subprocess.check_call(['git', 'add', 'v8_foo'], cwd=v8_cwd)
48 subprocess.check_call(['git', 'commit', '-m', "Title\n\nBody"], cwd=v8_cwd)
49 commit = subprocess.check_output(['git', 'rev-parse', 'HEAD'], cwd=v8_cwd).strip()
55 message = subprocess.check_output(['git', 'log', '-1', '--format=%B'], cwd=node_cwd)
61 cwd=node_cwd,
Dbackport_node.py46 cwd = os.path.join(options.node_path, TARGET_SUBDIR))
51 stdout=subprocess.PIPE, cwd=options.v8_path)
55 stdin=patch.stdout, cwd=options.node_path)
78 cwd=options.v8_path).strip()
84 cwd=options.v8_path).strip()
97 subprocess.check_call(command, cwd=options.node_path)
122 subprocess.check_output(["git", "reset", "--hard"], cwd=options.node_path)
Dtest_update_node.py67 subprocess.check_call(['git', 'init'], cwd=path)
68 subprocess.check_call(['git', 'add'] + files, cwd=path)
69 subprocess.check_call(['git', 'commit', '-m', 'Initial'], cwd=path)
96 subprocess.check_call(['git', 'add', 'v8_foo'], cwd=v8_cwd)
113 cwd=node_cwd,
120 cwd=node_cwd,
/external/toolchain-utils/binary_search_tool/
Drun_bisect_test.py123 cwd = os.getcwd()
124 if not os.path.exists(os.path.join(cwd, 'full_bisect_test')):
141 retv = populate_good_files(cwd, ce, bisect_dir)
145 retv = populate_bad_files(cwd, ce, bisect_dir)
151 (cwd, TEST_DIR, bisect_dir, cwd, TEST_DIR))
159 (cwd, TEST_DIR, bisect_dir, cwd, TEST_DIR))
166 retv = run_main_bisection_test(cwd, ce)
/external/perfetto/tools/
Dinstall-build-deps322 cwd = '/' if path.startswith('/') else ROOT_DIR
324 cwd = os.path.join(cwd, part)
325 if not os.path.exists(cwd):
326 os.makedirs(cwd)
328 assert(os.path.isdir(cwd))
356 subprocess.check_call(['git', 'init', path], cwd=path)
358 ['git', 'fetch', '--quiet', '--depth', '1', git_url, revision], cwd=path)
359 subprocess.check_call(['git', 'checkout', revision, '--quiet'], cwd=path)
368 cwd=os.path.join(ROOT_DIR, 'ui'))
421 subprocess.check_call(['tar', '-xf', local_path], cwd=zip_target_dir)
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/
Dproximate.pass.cpp56 const path cwd = fs::current_path(); in TEST_CASE() local
57 const path parent_cwd = cwd.parent_path(); in TEST_CASE()
58 const path curdir = cwd.filename(); in TEST_CASE()
59 TEST_REQUIRE(!cwd.native().empty()); in TEST_CASE()
60 int cwd_depth = count_path_elems(cwd); in TEST_CASE()
64 path relative_cwd = cwd.native().substr(1); in TEST_CASE()
72 {cwd, "a", ".."}, in TEST_CASE()
74 {"a", cwd, "a"}, in TEST_CASE()
/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/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/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/skqp/tools/calmbench/
Dcalmbench.py136 subprocess.check_call(command, cwd=args.skiadir)
142 ['ninja', '-C', args.ninjadir, 'nanobench'], cwd=args.skiadir)
145 cwd=args.skiadir)
148 stash_output = subprocess.check_output(['git', 'stash'], cwd=args.skiadir)
153 subprocess.check_call(['gclient', 'sync'], cwd=args.skiadir)
155 ['ninja', '-C', args.ninjadir, 'nanobench'], cwd=args.skiadir)
158 cwd=args.skiadir)
159 subprocess.check_call(['git', 'stash', 'pop'], cwd=args.skiadir)
205 p = subprocess.Popen(command, cwd=args.skiadir)
/external/skia/tools/calmbench/
Dcalmbench.py136 subprocess.check_call(command, cwd=args.skiadir)
142 ['ninja', '-C', args.ninjadir, 'nanobench'], cwd=args.skiadir)
145 cwd=args.skiadir)
148 stash_output = subprocess.check_output(['git', 'stash'], cwd=args.skiadir)
153 subprocess.check_call(['gclient', 'sync'], cwd=args.skiadir)
155 ['ninja', '-C', args.ninjadir, 'nanobench'], cwd=args.skiadir)
158 cwd=args.skiadir)
159 subprocess.check_call(['git', 'stash', 'pop'], cwd=args.skiadir)
205 p = subprocess.Popen(command, cwd=args.skiadir)
/external/skqp/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/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/grpc-grpc/tools/distrib/python/
Ddocgen.py115 cwd=repo_parent_dir)
118 cwd=repo_dir)
119 subprocess.check_call(['git', 'fetch', 'upstream'], cwd=repo_dir)
122 cwd=repo_dir)
128 subprocess.check_call(['git', 'add', '--all'], cwd=repo_dir)
131 cwd=repo_dir)
134 cwd=repo_dir)
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/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/googletest/googletest/src/
Dgtest-filepath.cc101 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir()
102 return FilePath(_getcwd(cwd, sizeof(cwd)) == nullptr ? "" : cwd); in GetCurrentDir()
104 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir()
105 char* result = getcwd(cwd, sizeof(cwd)); in GetCurrentDir()
110 return FilePath(result == nullptr ? kCurrentDirectoryString : cwd); in GetCurrentDir()
112 return FilePath(result == nullptr ? "" : cwd); in GetCurrentDir()
/external/mesa3d/src/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.cc103 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir()
104 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir()
106 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir()
107 char* result = getcwd(cwd, sizeof(cwd)); in GetCurrentDir()
112 return FilePath(result == NULL ? kCurrentDirectoryString : cwd); in GetCurrentDir()
114 return FilePath(result == NULL ? "" : cwd); in GetCurrentDir()
/external/libaom/libaom/third_party/googletest/src/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/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)
124 execute_command_verbose([ar_exe, 'x', arc], cwd=temp_directory_root,
131 execute_command_verbose(cmd, cwd=temp_directory_root, verbose=args.verbose)
/external/googletest/googletest/include/gtest/internal/custom/
Dgtest.h47 char* cwd = getcwd(NULL, 0); in GetAndroidTempDir() local
48 if (cwd != NULL) { in GetAndroidTempDir()
49 result = cwd; in GetAndroidTempDir()
51 free(cwd); in GetAndroidTempDir()

12345678910>>...22