/bionic/tests/ |
getcwd_test.cpp | 26 char* cwd = getcwd(NULL, 0); local 27 ASSERT_TRUE(cwd != NULL); 29 ASSERT_GE(strlen(cwd), 1U); 30 free(cwd); 36 char* cwd = getcwd(NULL, PATH_MAX); local 37 ASSERT_TRUE(cwd != NULL); 39 ASSERT_GE(strlen(cwd), 1U); 40 free(cwd); 46 char* cwd = getcwd(NULL, 1); local 47 ASSERT_TRUE(cwd == NULL) 54 char* cwd = getcwd(NULL, static_cast<size_t>(-1)); local 63 char* cwd = getcwd(tiny_buf, sizeof(tiny_buf)); local 72 char* cwd = getcwd(tiny_buf, 0); local 80 char* cwd = getcwd(buf, PATH_MAX); local [all...] |
/external/valgrind/main/none/tests/ |
procfs-cmdline-exe.c | 20 static void test_cmdline(const char* const cwd, const char* const label, 48 static void test_readlink(const char* const cwd, const char* const label, 59 if (strncmp(buf, cwd, strlen(cwd)) == 0) 60 p += strlen(cwd); 67 static void test_readlinkat(const char* const cwd, const char* const label, 79 if (strncmp(buf, cwd, strlen(cwd)) == 0) 80 p += strlen(cwd); 93 char cwd[512] local [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
abspath.c | 5 static char cwd[PATH_MAX + 1]; local 8 if (getcwd(cwd, PATH_MAX) == NULL) 11 if (pwd && strcmp(pwd, cwd)) { 12 stat(cwd, &cwd_stat); 16 strlcpy(cwd, pwd, PATH_MAX); 19 return cwd; 30 const char *cwd = get_pwd_cwd(); local 31 if (!cwd) 33 if (snprintf(buf, PATH_MAX, "%s/%s", cwd, path) >= PATH_MAX)
|
/frameworks/webview/chromium/tools/ |
merge_common.py | 98 def __init__(self, returncode, cmd, cwd, stdout, stderr): 102 self.cwd = cwd 107 return ("Command '%s' returned non-zero exit status %d. cwd was '%s'.\n\n" 109 (self.cmd, self.returncode, self.cwd, self.stdout, self.stderr)) 121 def GetCommandStdout(args, cwd=REPOSITORY_ROOT, ignore_errors=False): 129 cwd: The working directory to use. Defaults to REPOSITORY_ROOT. 136 p = subprocess.Popen(args=args, cwd=cwd, stdout=subprocess.PIPE, 143 raise CommandError(p.returncode, ' '.join(args), cwd, stdout, stderr [all...] |
merge_to_android.py | 56 cwd=dest_dir) 59 '-t', tracking_branch], cwd=dest_dir) 76 cwd=dest_dir) 78 cwd=dest_dir).strip() 95 cwd=dest_dir).strip() 103 'HEAD..' + merge_sha], cwd=dest_dir): 112 merge_common.GetCommandStdout(merge_cmd, cwd=dest_dir, ignore_errors=True) 118 dirs_to_prune, cwd=dest_dir) 126 merge_common.CheckNoConflictsAndCommitMerge(commit_msg, cwd=dest_dir) 131 cwd=dest_dir).strip( [all...] |
/external/chromium_org/third_party/angle/src/ |
commit_id.py | 8 def grab_output(command, cwd): 9 return sp.Popen(command, stdout=sp.PIPE, shell=True, cwd=cwd).communicate()[0].strip() 12 cwd = sys.argv[2] variable 15 index_path = os.path.join(cwd, '.git', 'index') 26 commit_id = grab_output('git rev-parse --short=%d HEAD' % commit_id_size, cwd) 27 commit_date = grab_output('git show -s --format=%ci HEAD', cwd)
|
/external/clang/test/CodeGen/ |
2003-11-27-ConstructorCast.c | 4 long cwd; member in struct:i387_soft_struct
|
2003-11-27-UnionCtorInitialization.c | 4 long cwd; member in struct:i387_soft_struct
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/gas64/ |
gas-cbw.asm | 4 cwd label
|
/external/chromium_org/build/android/pylib/ |
cmd_helper.py | 23 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): 25 args=args, cwd=cwd, stdout=stdout, stderr=stderr, 30 def Call(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): 31 pipe = Popen(args, stdout=stdout, stderr=stderr, shell=shell, cwd=cwd, 37 def RunCmd(args, cwd=None): 43 cwd: If not None, the subprocess's current directory will be changed to 44 |cwd| before it's executed. 49 logging.info(str(args) + ' ' + (cwd or '') [all...] |
/external/chromium_org/tools/metrics/histograms/ |
PRESUBMIT.py | 17 cwd = input_api.os_path.dirname(p) 19 ['python', 'pretty_print.py', '--presubmit'], cwd=cwd) 26 ['python', 'validate_format.py'], cwd=cwd)
|
/external/chromium_org/chrome/browser/ |
PRESUBMIT.py | 29 cwd = input_api.PresubmitLocalPath() 30 resources = path.join(cwd, 'resources') 31 webui = path.join(cwd, 'ui', 'webui') 35 path.join(cwd, 'PRESUBMIT.py'), 36 path.join(cwd, 'test_presubmit.py'), 37 path.join(cwd, 'web_dev_style', 'css_checker.py'), 38 path.join(cwd, 'web_dev_style', 'html_checker.py'), 39 path.join(cwd, 'web_dev_style', 'js_checker.py'), 42 tests = [path.join(cwd, 'test_presubmit.py')] 50 sys.path = [cwd] + old_pat [all...] |
/external/chromium_org/tools/auto_bisect/ |
source_control.py | 76 def GetRevisionList(self, revision_range_end, revision_range_start, cwd=None): 90 log_output = bisect_utils.CheckRunGit(cmd, cwd=cwd) 119 search, cwd=None): 161 (log_output, return_code) = bisect_utils.RunGit(cmd, cwd=cwd) 179 cwd = os.getcwd() 187 log_output = bisect_utils.CheckRunGit(cmd, cwd=cwd) 191 os.chdir(cwd) [all...] |
bisect_utils.py | 162 cwd = os.getcwd() 168 os.chdir(cwd) 174 def _SubprocessCall(cmd, cwd=None): 179 cwd: Working directory to run from. 190 return subprocess.call(cmd, shell=shell, cwd=cwd) 193 def RunGClient(params, cwd=None): 198 cwd: Working directory to run from. 204 return _SubprocessCall(cmd, cwd=cwd) [all...] |
/external/chromium_org/tools/metrics/actions/ |
PRESUBMIT.py | 18 cwd = input_api.os_path.dirname(p) 20 ['python', 'extract_actions.py', '--presubmit'], cwd=cwd)
|
/external/chromium_org/build/android/pylib/utils/ |
repo_utils.py | 15 output = cmd_helper.GetCmdOutput(command_line, cwd=in_directory)
|
/external/libunwind/scripts/ |
make-L-files | 2 cwd=`pwd` 3 dir=`basename ${cwd}`
|
/external/lldb/scripts/ |
finish-swig-wrapper-classes.sh | 58 cwd=${SRC_ROOT}/scripts 67 if [ ! -d "$cwd/$curlang" ] 78 cd $cwd/$curlang
|
build-swig-wrapper-classes.sh | 111 cwd=${SRC_ROOT}/scripts 120 if [ ! -d "$cwd/$curlang" ] 131 cd $cwd/$curlang
|
/external/chromium_org/v8/tools/push-to-trunk/ |
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 [all...] |
/external/chromium_org/tools/gyp/buildbot/ |
buildbot_run.py | 64 cwd=CMAKE_DIR) 69 cwd=CMAKE_DIR) 71 CallSubProcess( ['make', 'cmake'], cwd=CMAKE_DIR) 106 cwd=ANDROID_DIR) 111 cwd=ANDROID_DIR) 125 cwd=ANDROID_DIR) 134 cwd=ANDROID_DIR) 144 cwd=ANDROID_DIR) 149 cwd=ANDROID_DIR) 153 cwd=ANDROID_DIR [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/ |
detection.py | 47 """Return the default SCM object as determined by the CWD and running code. 50 CWD is not in a checkout, then we attempt to figure out if the SCM module 54 cwd = self._filesystem.getcwd() 55 scm_system = self.detect_scm_system(cwd, patch_directories) 60 _log.info("The current directory (%s) is not a WebKit checkout, using %s" % (cwd, scm_system.checkout_root)) 62 raise Exception("FATAL: Failed to determine the SCM system for either %s or %s" % (cwd, script_directory)) 72 return SVN(cwd=absolute_path, patch_directories=patch_directories, filesystem=self._filesystem, executive=self._executive) 75 return Git(cwd=absolute_path, filesystem=self._filesystem, executive=self._executive)
|
scm.py | 44 def __init__(self, cwd, executive=None, filesystem=None): 45 self.cwd = cwd 48 self.checkout_root = self.find_checkout_root(self.cwd) 51 def _run(self, args, cwd=None, input=None, error_handler=None, return_exit_code=False, return_stderr=True, decode_output=True): 52 # FIXME: We should set cwd appropriately. 54 cwd=cwd, 68 # We run with cwd=self.checkout_root so that returned-paths are root-relative. 69 for line in self._run(status_command, cwd=self.checkout_root).splitlines() [all...] |
/external/chromium_org/tools/ |
roll_swarming_client.py | 26 subprocess.check_output(cmd, cwd=root).strip() or 27 subprocess.check_output(cmd + ['--cached'], cwd=root).strip()) 37 ['git', 'rev-parse', 'HEAD'], cwd=full_dir).strip() 59 subprocess.check_call(['git', 'fetch', 'origin'], cwd=full_dir) 61 ['git', 'rev-parse', 'origin/master'], cwd=full_dir).strip() 71 cwd=full_dir).strip() 96 subprocess.check_call(['git', 'add', 'DEPS'], cwd=SRC_ROOT) 97 subprocess.check_call(['git', 'commit', '-m', msg], cwd=SRC_ROOT)
|
/external/llvm/unittests/Transforms/DebugIR/ |
DebugIR.cpp | 79 , cwd(current_dir()) {} 81 ~TestDebugIR() { free(cwd); } 93 char *cwd; member in class:__anon10255::TestDebugIR 146 string ExpectedPath(getPath(cwd, Filename)); 168 false, false, StringRef(cwd), StringRef(Filename)))); 172 string ExpectedPath(getPath(cwd, Filename)); 184 string UnexpectedPath(getPath(cwd, "UnexpectedFilename")); 188 false, false, StringRef(cwd), StringRef(Filename)))); 192 string ExpectedPath(getPath(cwd, Filename)); 206 string ExpectedPath(getPath(cwd, Filename)) [all...] |