/external/valgrind/none/tests/ |
D | procfs-cmdline-exe.c | 20 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/push-to-trunk/ |
D | releases.py | 269 cwd = self._options.chromium 271 if not self.GitIsWorkdirClean(cwd=cwd): # pragma: no cover 274 if not os.path.exists(os.path.join(cwd, "DEPS")): # pragma: no cover 282 cwd = self._options.chromium 283 self.GitCheckout("master", cwd=cwd) 284 self.GitPull(cwd=cwd) 285 self.GitCreateBranch(self.Config("BRANCHNAME"), cwd=cwd) 293 revision, cwd=os.path.join(step._options.chromium, "v8")) 300 cwd = self._options.chromium 308 self.GitFetchOrigin(cwd=os.path.join(cwd, "v8")) [all …]
|
D | chromium_roll.py | 37 cwd = self._options.chromium 38 os.chdir(cwd) 39 self.InitialEnvironmentChecks(cwd) 41 if not self.GitIsWorkdirClean(cwd=cwd): # pragma: no cover 44 if not os.path.exists(os.path.join(cwd, "DEPS")): # pragma: no cover 52 self.GitCheckout("master", cwd=self._options.chromium) 53 self.Command("gclient", "sync --nohooks", cwd=self._options.chromium) 54 self.GitPull(cwd=self._options.chromium) 60 cwd=self._options.chromium) 70 cwd=self._options.chromium) is None: [all …]
|
D | common_includes.py | 185 def Command(cmd, args="", prefix="", pipe=True, cwd=None): argument 186 cwd = cwd or os.getcwd() 190 print "in %s" % cwd 194 return subprocess.check_output(cmd_line, shell=True, cwd=cwd) 196 return subprocess.check_call(cmd_line, shell=True, cwd=cwd) 209 def Command(self, cmd, args="", prefix="", pipe=True, cwd=None): argument 210 return Command(cmd, args, prefix, pipe, cwd=cwd) 344 def Command(self, name, args, cwd=None): argument 346 name, args, "", True, cwd=cwd or self.default_cwd) 349 def Git(self, args="", prefix="", pipe=True, retry_on=None, cwd=None): argument [all …]
|
D | test_scripts.py | 388 def Command(self, cmd, args="", prefix="", pipe=True, cwd=None): argument 390 print "in %s" % cwd 391 return self._mock.Call("command", cmd + " " + args, cwd=cwd) 876 Cmd("git status -s -uno", "", cwd=chrome_dir), 877 Cmd("git checkout -f master", "", cwd=chrome_dir), 878 Cmd("gclient sync --nohooks", "syncing...", cwd=chrome_dir), 879 Cmd("git pull", "", cwd=chrome_dir), 881 Cmd("git checkout -b v8-roll-22624", "", cwd=chrome_dir), 882 Cmd("roll-dep v8 22624", "rolled", cb=WriteDeps, cwd=chrome_dir), 888 "", cwd=chrome_dir), [all …]
|
/external/libcxx/test/libcxx/ |
D | compiler.py | 78 def preprocess(self, source_files, out=None, flags=[], env=None, cwd=None): argument 80 out, err, rc = lit.util.executeCommand(cmd, env=env, cwd=cwd) 83 def compile(self, source_files, out=None, flags=[], env=None, cwd=None): argument 85 out, err, rc = lit.util.executeCommand(cmd, env=env, cwd=cwd) 88 def link(self, source_files, out=None, flags=[], env=None, cwd=None): argument 90 out, err, rc = lit.util.executeCommand(cmd, env=env, cwd=cwd) 94 cwd=None): argument 96 out, err, rc = lit.util.executeCommand(cmd, env=env, cwd=cwd) 100 flags=[], env=None, cwd=None): argument 111 flags=flags, env=env, cwd=cwd) [all …]
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | abspath.c | 5 static char cwd[PATH_MAX + 1]; in get_pwd_cwd() local 8 if (getcwd(cwd, PATH_MAX) == NULL) in get_pwd_cwd() 11 if (pwd && strcmp(pwd, cwd)) { in get_pwd_cwd() 12 stat(cwd, &cwd_stat); in get_pwd_cwd() 16 strlcpy(cwd, pwd, PATH_MAX); in get_pwd_cwd() 19 return cwd; in get_pwd_cwd() 30 const char *cwd = get_pwd_cwd(); in make_nonrelative_path() local 31 if (!cwd) in make_nonrelative_path() 33 if (snprintf(buf, PATH_MAX, "%s/%s", cwd, path) >= PATH_MAX) in make_nonrelative_path()
|
/external/e2fsprogs/util/ |
D | symlinks.c | 322 char* cwd = get_current_dir_name(); local 324 static char path[PATH_MAX+2], cwd[PATH_MAX+2]; 335 if (NULL == cwd) { 338 if (NULL == getcwd(cwd,PATH_MAX)) { 344 cwd = realloc(cwd, strlen(cwd)+2); 345 if (cwd == NULL) { 350 if (!*cwd || cwd[strlen(cwd)-1] != '/') 351 strcat(cwd,"/"); 373 strcpy(path,cwd);
|
/external/protobuf/gtest/src/ |
D | gtest-filepath.cc | 106 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir() 107 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir() 109 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir() 110 return FilePath(getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir()
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-filepath.cc | 106 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir() 107 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir() 109 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir() 110 return FilePath(getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-filepath.cc | 106 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir() 107 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir() 109 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir() 110 return FilePath(getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir()
|
/external/gtest/src/ |
D | gtest-filepath.cc | 107 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir() 108 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir() 110 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; in GetCurrentDir() 111 return FilePath(getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); in GetCurrentDir()
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-filepath.cc | 104 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()
|
/external/llvm/utils/lit/lit/ |
D | TestRunner.py | 32 def __init__(self, cwd, env): argument 33 self.cwd = cwd 70 shenv.cwd = newdir 72 shenv.cwd = os.path.join(shenv.cwd, newdir) 129 redir_filename = os.path.join(shenv.cwd, r[0]) 174 procs.append(subprocess.Popen(args, cwd=shenv.cwd, 270 def executeScriptInternal(test, litConfig, tmpBase, commands, cwd): argument 285 shenv = ShellEnvironment(cwd, test.config.environment) 301 def executeScript(test, litConfig, tmpBase, commands, cwd): argument 334 return lit.util.executeCommand(command, cwd=cwd,
|
/external/vboot_reference/cgpt/ |
D | cgpt_nor.c | 49 int ForkExecV(const char *cwd, const char *const argv[]) { in ForkExecV() argument 56 if (cwd && chdir(cwd) != 0) { in ForkExecV() 61 err(-1, "Cannot exec %s in %s.", argv[0], cwd); in ForkExecV() 69 int ForkExecL(const char *cwd, const char *cmd, ...) { in ForkExecL() argument 89 int ret = ForkExecV(cwd, argv); in ForkExecL()
|
D | cgpt_nor.h | 18 int ForkExecV(const char *cwd, const char *const argv[]); 21 int ForkExecL(const char *cwd, const char *cmd, ...);
|
/external/lldb/scripts/ |
D | finish-swig-wrapper-classes.sh | 58 cwd=${SRC_ROOT}/scripts 67 if [ ! -d "$cwd/$curlang" ] 78 cd $cwd/$curlang
|
D | build-swig-wrapper-classes.sh | 111 cwd=${SRC_ROOT}/scripts 120 if [ ! -d "$cwd/$curlang" ] 131 cd $cwd/$curlang
|
/external/e2fsprogs/lib/ext2fs/ |
D | namei.c | 157 errcode_t ext2fs_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei() argument 169 retval = open_namei(fs, root, cwd, name, strlen(name), 0, 0, in ext2fs_namei() 176 errcode_t ext2fs_namei_follow(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei_follow() argument 188 retval = open_namei(fs, root, cwd, name, strlen(name), 1, 0, in ext2fs_namei_follow() 195 errcode_t ext2fs_follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_follow_link() argument 207 retval = follow_link(fs, root, cwd, inode, 0, buf, res_inode); in ext2fs_follow_link()
|
/external/skia/tools/ |
D | git-sync-deps | 79 [git, 'config', 'sync-deps.disable'], cwd=directory) 96 [git, 'rev-parse', '--show-toplevel'], cwd=directory).strip() 136 subprocess.check_call([git, 'fetch', '--quiet'], cwd=directory) 139 [git, 'checkout', '--quiet', checkoutable], cwd=directory)
|
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/ |
D | Test.pm | 75 my $cwd = cwd; 89 …my $g_result = run_program([ File::Spec->catfile($cwd, 'tools', $antlr), '-o', $tmpdir, $grammar_f…
|
/external/libunwind/scripts/ |
D | make-L-files | 2 cwd=`pwd` 3 dir=`basename ${cwd}`
|
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/_setup/py3/ |
D | shell.py | 35 cwd = _os.path.dirname(_os.path.abspath(_sys.argv[0])) variable 63 return _os.path.normpath(_os.path.join(cwd, path)) 285 if dest.startswith(cwd): 286 dest = dest.replace(cwd, '', 1) 311 if dest.startswith(cwd): 312 dest = dest.replace(cwd, '', 1)
|
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/_setup/py3/ |
D | shell.py | 35 cwd = _os.path.dirname(_os.path.abspath(_sys.argv[0])) variable 63 return _os.path.normpath(_os.path.join(cwd, path)) 285 if dest.startswith(cwd): 286 dest = dest.replace(cwd, '', 1) 311 if dest.startswith(cwd): 312 dest = dest.replace(cwd, '', 1)
|
/external/valgrind/coregrind/ |
D | launcher-darwin.c | 218 char* cwd; in main() local 355 cwd = getcwd(NULL, 0); in main() 356 if (!cwd) barf("Current directory no longer exists."); in main() 366 strcpy(launcher_name, cwd); in main() 378 asprintf(&set_cwd, "VALGRIND_STARTUP_PWD_%u_XYZZY=%s", getppid(), cwd); in main()
|