/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/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 | 90 def __init__(self, returncode, cmd, cwd, stdout, stderr): 94 self.cwd = cwd 99 return ("Command '%s' returned non-zero exit status %d. cwd was '%s'.\n\n" 101 (self.cmd, self.returncode, self.cwd, self.stdout, self.stderr)) 108 def GetCommandStdout(args, cwd=REPOSITORY_ROOT, ignore_errors=False): 116 cwd: The working directory to use. Defaults to REPOSITORY_ROOT. 123 p = subprocess.Popen(args=args, cwd=cwd, stdout=subprocess.PIPE, 129 raise CommandError(p.returncode, ' '.join(args), cwd, stdout, stderr [all...] |
merge_to_master.py | 43 'goog', 'history'], cwd=dest_dir) 46 '-t', 'goog/' + target], cwd=dest_dir) 49 cwd=dest_dir) 52 cwd=dest_dir).strip() 54 cwd=dest_dir).strip() 61 'HEAD..' + merge_sha1], cwd=dest_dir): 66 cwd=dest_dir, ignore_errors=True) 70 dirs_to_prune, cwd=dest_dir) 73 (svn_revision, AUTOGEN_MESSAGE), cwd=dest_dir) 75 cwd=dest_dir).strip( [all...] |
/external/chromium_org/build/android/pylib/ |
cmd_helper.py | 16 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): 18 args=args, cwd=cwd, stdout=stdout, stderr=stderr, 23 def Call(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): 24 pipe = Popen(args, stdout=stdout, stderr=stderr, shell=shell, cwd=cwd, 30 def RunCmd(args, cwd=None): 36 cwd: If not None, the subprocess's current directory will be changed to 37 |cwd| before it's executed. 42 logging.info(str(args) + ' ' + (cwd or '') [all...] |
/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/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/build/android/pylib/utils/ |
repo_utils.py | 15 output = cmd_helper.GetCmdOutput(command_line, cwd=in_directory)
|
/external/llvm/projects/sample/autoconf/ |
AutoRegen.sh | 12 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/ |
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/gyp/buildbot/ |
buildbot_run.py | 66 cwd=CMAKE_DIR) 71 cwd=CMAKE_DIR) 73 CallSubProcess( ['make', 'cmake'], cwd=CMAKE_DIR) 98 cwd=ANDROID_DIR) 101 CallSubProcess(['repo', 'sync', '-j4'], cwd=ANDROID_DIR) 107 cwd=ANDROID_DIR) 142 cwd=ANDROID_DIR, env=env) 144 retcode = subprocess.call(command, cwd=ROOT_DIR, env=env, shell=True)
|
/external/llvm/unittests/Transforms/DebugIR/ |
DebugIR.cpp | 78 , cwd(current_dir()) {} 80 ~TestDebugIR() { free(cwd); } 92 char *cwd; member in class:__anon22496::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, Filename)) [all...] |
/external/chromium_org/build/android/gyp/util/ |
build_utils.py | 85 def __init__(self, cwd, args, output): 86 self.cwd = cwd 93 copyable_command = '( cd {}; {} )'.format(os.path.abspath(self.cwd), 101 def CheckOutput(args, cwd=None, print_stdout=False, print_stderr=True, 103 if not cwd: 104 cwd = os.getcwd() 107 stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=cwd) 111 raise CalledProcessError(cwd, args, stdout + stderr [all...] |
/external/chromium_org/tools/ |
bisect_utils.py | 136 cwd = os.getcwd() 147 def SubprocessCall(cmd, cwd=None): 152 cwd: Working directory to run from. 163 return subprocess.call(cmd, shell=shell, cwd=cwd) 166 def RunGClient(params, cwd=None): 171 cwd: Working directory to run from. 178 return SubprocessCall(cmd, cwd=cwd) 209 def RunGClientAndCreateConfig(opts, custom_deps=None, cwd=None) [all...] |
/external/srec/portable/include/ |
PANSIFileSystem.h | 82 * @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/ |
genhttpfs.py | 10 # For each file, the mode bits, size and path relative to the CWD are written 58 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/ |
build-crt.py | 9 cwd=sys.argv[1]) variable
|
/external/chromium_org/third_party/jemalloc/vendor/ |
build-crt.py | 9 cwd=sys.argv[1]) variable
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
buildbot_run.py | 35 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'], cwd=new_script_dir) 74 Run(cmd, cwd=SCRIPT_DIR)
|
/external/chromium_org/build/android/buildbot/ |
bb_utils.py | 39 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/ |
executive_mock.py | 79 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, 114 _log.info("MOCK run_command: %s, cwd=%s%s%s" % (args, cwd, env_string, input_string)) 133 def popen(self, args, cwd=None, env=None, **kwargs): 137 if cwd: 138 cwd_string = ", cwd=%s" % cwd [all...] |