Searched refs:cwd (Results 1 - 25 of 221) sorted by relevance

123456789

/external/valgrind/main/none/tests/
H A Dprocfs-cmdline-exe.c20 static void test_cmdline(const char* const cwd, const char* const label, argument
48 static void test_readlink(const char* const cwd, const char* const label, argument
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, argument
79 if (strncmp(buf, cwd, strlen(cwd)) == 0)
80 p += strlen(cwd);
93 char cwd[51 local
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dabspath.c5 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)
/external/chromium_org/tools/metrics/histograms/
H A DPRESUBMIT.py17 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/third_party/angle/src/
H A Dcommit_id.py8 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/chromium_org/build/android/pylib/utils/
H A Drepo_utils.py15 output = cmd_helper.GetCmdOutput(command_line, cwd=in_directory)
/external/chromium_org/chrome/browser/
H A DPRESUBMIT.py29 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', 'js_checker.py'),
41 tests = [path.join(cwd, 'test_presubmit.py')]
49 sys.path = [cwd] + old_path
/external/clang/test/CodeGen/
H A D2003-11-27-ConstructorCast.c4 long cwd; member in struct:i387_soft_struct
H A D2003-11-27-UnionCtorInitialization.c4 long cwd; member in struct:i387_soft_struct
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/gas64/
H A Dgas-cbw.asm4 cwd label
/external/chromium_org/build/android/pylib/
H A Dcmd_helper.py23 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 o
[all...]
/external/chromium_org/tools/metrics/actions/
H A DPRESUBMIT.py18 cwd = input_api.os_path.dirname(p)
20 ['python', 'extract_actions.py', '--presubmit'], cwd=cwd)
/external/libunwind/scripts/
H A Dmake-L-files2 cwd=`pwd`
3 dir=`basename ${cwd}`
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/
H A Ddetection.py54 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)
H A Dscm.py44 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
[all...]
/external/lldb/scripts/
H A Dfinish-swig-wrapper-classes.sh58 cwd=${SRC_ROOT}/scripts
67 if [ ! -d "$cwd/$curlang" ]
78 cd $cwd/$curlang
H A Dbuild-swig-wrapper-classes.sh111 cwd=${SRC_ROOT}/scripts
120 if [ ! -d "$cwd/$curlang" ]
131 cd $cwd/$curlang
/external/chromium_org/tools/
H A Dbisect_utils.py142 cwd = os.getcwd()
153 def SubprocessCall(cmd, cwd=None):
158 cwd: Working directory to run from.
169 return subprocess.call(cmd, shell=shell, cwd=cwd)
172 def RunGClient(params, cwd=None):
177 cwd: Working directory to run from.
184 return SubprocessCall(cmd, cwd=cwd)
215 def RunGClientAndCreateConfig(opts, custom_deps=None, cwd
[all...]
H A Droll_swarming_client.py26 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/
H A DDebugIR.cpp79 , cwd(current_dir()) {}
81 ~TestDebugIR() { free(cwd); }
93 char *cwd; member in class:__anon25719::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, Filenam
[all...]
/external/chromium_org/tools/gyp/buildbot/
H A Dbuildbot_run.py66 cwd=CMAKE_DIR)
71 cwd=CMAKE_DIR)
73 CallSubProcess( ['make', 'cmake'], cwd=CMAKE_DIR)
101 cwd=ANDROID_DIR)
104 CallSubProcess(['repo', 'sync', '-j4'], cwd=ANDROID_DIR)
110 cwd=ANDROID_DIR)
120 cwd=ANDROID_DIR)
124 cwd=ANDROID_DIR)
165 cwd=ANDROID_DIR, env=env)
167 retcode = subprocess.call(command, cwd
[all...]
/external/srec/portable/include/
H A DPANSIFileSystem.h82 * @param cwd [out] Current working directory
85 * @return ESR_INVALID_ARGUMENT if self or cwd is null; ESR_BUFFER_OVERFLOW if cwd is not large enough to contain result;
88 ESR_ReturnCode(*getcwd)(PFileSystem* self, LCHAR* cwd, size_t* len);
136 * @param cwd [out] Current working directory
139 * @return ESR_INVALID_ARGUMENT if self or cwd is null; ESR_BUFFER_OVERFLOW if cwd is not large enough to contain result;
142 PORTABLE_API ESR_ReturnCode PANSIFileSystemGetcwd(LCHAR* cwd, size_t* len);
/external/chromium_org/native_client_sdk/src/build_tools/
H A Dbuildbot_run.py34 Run(['gclient', 'runhooks'], env=env, cwd=SDK_SRC_DIR)
47 Run([sys.executable, 'test_all.py'], env=env, cwd=SDK_SRC_DIR)
53 # Windows has a path length limit of 255 characters, after joining cwd with a
70 Run(args, cwd=new_script_dir)
90 Run(cmd, cwd=SCRIPT_DIR)
/external/chromium_org/native_client_sdk/src/tools/
H A Dgenhttpfs.py58 cwd = os.path.abspath(os.getcwd())
59 cwdlen = len(cwd)
62 if cwd not in relname:
63 raise RuntimeError('%s is not relative to CWD %s.\n' % filename, cwd)
/external/chromium_org/build/android/buildbot/
H A Dbb_utils.py39 def SpawnCmd(command, stdout=None, cwd=CHROME_SRC):
52 return subprocess.Popen(command, cwd=cwd, stdout=stdout)
57 cwd=CHROME_SRC):
59 code = SpawnCmd(command, stdout, cwd).wait()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dexecutive_mock.py85 def run_and_throw_if_fail(self, args, quiet=False, cwd=None, env=None):
91 _log.info("MOCK run_and_throw_if_fail: %s, cwd=%s%s" % (args, cwd, env_string))
102 cwd=None,
121 _log.info("MOCK run_command: %s, cwd=%s%s%s" % (args, cwd, env_string, input_string))
140 def popen(self, args, cwd=None, env=None, **kwargs):
144 if cwd:
145 cwd_string = ", cwd=%s" % cwd
[all...]

Completed in 1914 milliseconds

123456789