Searched refs:cwd (Results 1 - 25 of 208) 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/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/build/android/pylib/
H A Dcmd_helper.py17 def _Call(args, stdout=None, stderr=None, shell=None, cwd=None):
19 args=args, cwd=cwd, stdout=stdout, stderr=stderr,
24 def RunCmd(args, cwd=None):
30 cwd: If not None, the subprocess's current directory will be changed to
31 |cwd| before it's executed.
36 logging.info(str(args) + ' ' + (cwd or ''))
37 return _Call(args, cwd=cwd)
40 def GetCmdOutput(args, cwd
[all...]
/external/chromium_org/build/android/pylib/utils/
H A Drepo_utils.py15 output = cmd_helper.GetCmdOutput(command_line, cwd=in_directory)
/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/llvm/projects/sample/autoconf/
H A DAutoRegen.sh12 cwd=`pwd`
17 cd $cwd
22 cd $cwd
41 aclocal -I $cwd/m4 || die "aclocal failed"
/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.py43 def __init__(self, script_args, exit_code, output, cwd):
44 ScriptError.__init__(self, script_args=script_args, exit_code=exit_code, output=output, cwd=cwd)
50 raise CheckoutNeedsUpdate(script_args=error.script_args, exit_code=error.exit_code, output=error.output, cwd=error.cwd)
63 def __init__(self, cwd, executive=None, filesystem=None):
64 self.cwd = cwd
67 self.checkout_root = self.find_checkout_root(self.cwd)
70 def run(self, args, cwd
[all...]
H A Dsvn.py62 find_output = self.run(find_args, cwd=home_directory, error_handler=Executive.ignore_error).rstrip()
69 if self.run(["grep", "password", find_output], cwd=home_directory, return_exit_code=True) == 0:
71 return self.run(["grep", "passtype", find_output], cwd=home_directory, return_exit_code=True) == 0
80 def __init__(self, cwd, patch_directories, **kwargs):
81 SCM.__init__(self, cwd, **kwargs)
86 self._patch_directories = [self._filesystem.relpath(cwd, self.checkout_root)]
99 exit_code = executive.run_command(svn_info_args, cwd=path, return_exit_code=True)
111 info_output = Executive().run_command(svn_info_args, cwd=path).rstrip()
145 return self._run_svn(["diff"], cwd=self.checkout_root, decode_output=False) != ""
152 self._run_svn(["cleanup"], cwd
[all...]
/external/chromium_org/tools/
H A Dbisect_utils.py98 cwd = os.getcwd()
109 def SubprocessCall(cmd, cwd=None):
114 cwd: Working directory to run from.
125 return subprocess.call(cmd, shell=shell, cwd=cwd)
128 def RunGClient(params, cwd=None):
133 cwd: Working directory to run from.
140 return SubprocessCall(cmd, cwd=cwd)
171 def RunGClientAndCreateConfig(opts, custom_deps=None, cwd
[all...]
/external/llvm/unittests/Transforms/DebugIR/
H A DDebugIR.cpp78 , cwd(current_dir()) {}
80 ~TestDebugIR() { free(cwd); }
92 char *cwd; member in class:__anon21897::TestDebugIR
145 string ExpectedPath(getPath(cwd, Filename));
167 false, false, StringRef(cwd), StringRef(Filename))));
171 string ExpectedPath(getPath(cwd, Filename));
183 string UnexpectedPath(getPath(cwd, "UnexpectedFilename"));
187 false, false, StringRef(cwd), StringRef(Filename))));
191 string ExpectedPath(getPath(cwd, Filename));
205 string ExpectedPath(getPath(cwd, Filenam
[all...]
/external/chromium_org/tools/gyp/buildbot/
H A Dbuildbot_run.py59 cwd=ANDROID_DIR)
62 CallSubProcess(['repo', 'sync', '-j4'], cwd=ANDROID_DIR)
68 cwd=ANDROID_DIR)
102 cwd=ANDROID_DIR, env=env)
104 retcode = subprocess.call(command, cwd=ROOT_DIR, env=env, shell=True)
/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/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/third_party/jemalloc/chromium/
H A Dbuild-crt.py9 cwd=sys.argv[1]) variable
/external/chromium_org/third_party/jemalloc/vendor/
H A Dbuild-crt.py9 cwd=sys.argv[1]) variable
/external/chromium_org/native_client_sdk/src/build_tools/
H A Dbuildbot_run.py35 Run([sys.executable, 'test_all.py'], env=env, cwd=SDK_SRC_DIR)
41 # Windows has a path length limit of 255 characters, after joining cwd with a
54 Run([sys.executable, 'build_sdk.py'] + args, cwd=new_script_dir)
68 Run(cmd, cwd=SCRIPT_DIR)
H A Dnacl-mono-builder.py67 cwd=MONO_BUILD_DIR)
107 buildbot_common.Run(['git', 'fetch'], cwd=MONO_DIR)
109 buildbot_common.Run(['git', 'checkout', git_rev], cwd=MONO_DIR)
122 buildbot_common.Run(['./autogen.sh'], cwd=MONO_DIR)
123 buildbot_common.Run(['make', 'distclean'], cwd=MONO_DIR)
132 cwd=SDK_BUILD_DIR)
138 cwd=os.path.join(SDK_BUILD_DIR, arch_to_output_folder[options.arch]))
/external/chromium_org/build/android/buildbot/
H A Dbb_utils.py34 def SpawnCmd(command, stdout=None, cwd=CHROME_SRC):
44 return subprocess.Popen(command, cwd=cwd, stdout=stdout)
49 cwd=CHROME_SRC):
51 code = SpawnCmd(command, stdout, cwd).wait()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/steps/
H A Druntests.py62 self._tool.executive.run_and_throw_if_fail(python_unittests_command, cwd=self._tool.scm().checkout_root)
67 self._tool.executive.run_and_throw_if_fail(perl_unittests_command, cwd=self._tool.scm().checkout_root)
74 self._tool.executive.run_and_throw_if_fail(args, cwd=self._tool.scm().checkout_root)
83 self._tool.executive.run_and_throw_if_fail(args, cwd=self._tool.scm().checkout_root)
108 self._tool.executive.run_and_throw_if_fail(args, cwd=self._tool.scm().checkout_root)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dexecutive_mock.py79 def run_and_throw_if_fail(self, args, quiet=False, cwd=None, env=None):
84 _log.info("MOCK run_and_throw_if_fail: %s, cwd=%s%s" % (args, cwd, env_string))
95 cwd=None,
113 _log.info("MOCK run_command: %s, cwd=%s%s%s" % (args, cwd, env_string, input_string))
132 def popen(self, args, cwd=None, env=None, **kwargs):
136 if cwd:
137 cwd_string = ", cwd=%s" % cwd
[all...]
/external/chromium_org/build/android/gyp/util/
H A Dbuild_utils.py86 def CheckCallDie(args, suppress_output=False, cwd=None):
87 if not cwd:
88 cwd = os.getcwd()
91 stdout=subprocess.PIPE, stderr=subprocess.STDOUT, cwd=cwd)
101 copyable_command = ('( cd ' + os.path.abspath(cwd) + '; '

Completed in 464 milliseconds

123456789