/gem5/tests/test-progs/chdir-print/ |
H A D | chdir-print.c | 48 char *cwd = getcwd(NULL, PATH_MAX); local 49 printf("cwd: %s\n", cwd); 50 free(cwd); 54 cwd = getcwd(NULL, PATH_MAX); 55 printf("cwd: %s\n", cwd); 56 free(cwd);
|
/gem5/tests/long/se/70.twolf/ |
H A D | test.py | 37 cwd = root.system.cpu[0].workload[0].cwd variable 40 sav_file = os.path.join(cwd, workload.input_set + '.sav') 41 sv2_file = os.path.join(cwd, workload.input_set + '.sv2')
|
/gem5/tests/quick/se/70.twolf/ |
H A D | test.py | 38 cwd = root.system.cpu[0].workload[0].cwd variable 41 sav_file = os.path.join(cwd, workload.input_set + '.sav') 42 sv2_file = os.path.join(cwd, workload.input_set + '.sv2')
|
/gem5/util/ |
H A D | cscope-index.py | 49 cwd = os.getcwd() variable 51 for dirpath,subdirs,files in os.walk(os.path.join(cwd, 'src')):
|
H A D | qdo | 80 cwd = os.getcwd() 83 if cwd.startswith('/.automount/'): 84 cwd = cwd.replace('/.automount/', '/n/', 1) 86 if not cwd.startswith('/n/poolfs/'): 174 shell_cmd += ' -d %s' % cwd 179 # chdir to cwd 180 (output, status) = shell.do_command('cd ' + cwd) 183 raise OSError, "Can't chdir to %s" % cwd
|
H A D | gen_arm_fs_files.py | 48 return_code = call(cmd, cwd = working_dir, stdout = stdout,
|
/gem5/configs/splash2/ |
H A D | run.py | 84 cwd = options.rootdir + '/kernels/cholesky' variable in class:Cholesky 90 cwd = options.rootdir + '/kernels/fft' variable in class:FFT 97 cwd = options.rootdir + '/kernels/lu/contiguous_blocks' variable in class:LU_contig 102 cwd = options.rootdir + '/kernels/lu/non_contiguous_blocks' variable in class:LU_noncontig 107 cwd = options.rootdir + '/kernels/radix' variable in class:Radix 113 cwd = options.rootdir + '/apps/barnes' variable in class:Barnes 122 cwd = options.rootdir + '/apps/fmm' variable in class:FMM 127 cwd = options.rootdir + '/apps/ocean/contiguous_partitions' variable in class:Ocean_contig 132 cwd = options.rootdir + '/apps/ocean/non_contiguous_partitions' variable in class:Ocean_noncontig 138 cwd variable in class:Raytrace 147 cwd = options.rootdir + '/apps/water-nsquared' variable in class:Water_nsquared 156 cwd = options.rootdir + '/apps/water-spatial' variable in class:Water_spatial [all...] |
/gem5/ext/googletest/googletest/src/ |
H A D | gtest-filepath.cc | 105 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; 106 return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd); 108 char cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; 109 char* result = getcwd(cwd, sizeof(cwd)); 114 return FilePath(result == NULL ? kCurrentDirectoryString : cwd); 116 return FilePath(result == NULL ? "" : cwd);
|
/gem5/configs/example/arm/ |
H A D | starter_se.py | 144 cwd = os.getcwd() 149 process = Process(pid=100 + idx, cwd=cwd, cmd=argv, executable=argv[0])
|
/gem5/util/batch/ |
H A D | job.py | 150 cwd = os.getcwd() variable 151 rootdir = env.setdefault('ROOTDIR', os.path.dirname(cwd)) 153 oar_jobname = os.path.basename(cwd) 158 outdir = env.setdefault('OUTPUT_DIR', cwd)
|
/gem5/src/sim/ |
H A D | Process.py | 62 cwd = Param.String(getcwd(), "current working directory") variable in class:Process
|
H A D | syscall_emul.cc | 401 string cwd = p->tgtCwd; local 402 if (!cwd.empty()) { 403 if (cwd.length() >= size) { 407 strncpy((char *)buf.bufferPtr(), cwd.c_str(), size); 408 result = cwd.length(); 437 // Adjust path for cwd and redirection 586 // Adjust path for cwd and redirection 606 // Adjust path for cwd and redirection 644 // Adjust path for cwd and redirection 703 // Adjust path for cwd an [all...] |
H A D | process.cc | 98 tgtCwd(normalize(params->cwd)),
|
H A D | syscall_emul.hh | 999 // Adjust path for cwd and redirection 1047 // Adjust path for cwd and redirection 1251 // Adjust path for cwd and redirection 1280 // Adjust path for cwd and redirection 1317 // Adjust path for cwd and redirection 1384 // Adjust path for cwd and redirection 1413 // Adjust path for cwd and redirection 1476 // Adjust path for cwd and redirection 1542 pp->cwd.assign(p->tgtCwd); 2119 // Adjust path for cwd an [all...] |
/gem5/ext/pybind11/docs/ |
H A D | conf.py | 323 retcode = subprocess.call(['doxygen'], cwd=app.confdir)
|
/gem5/ext/testlib/ |
H A D | loader.py | 222 cwd = os.getcwd() 233 os.chdir(cwd)
|
/gem5/configs/common/ |
H A D | cpu2000.py | 157 # overridden by Process's cwd param 158 cwd = process_args.get('cwd') 160 if not cwd: 162 cwd = options.outdir 163 process_args['cwd'] = cwd 164 if not isdir(cwd): 165 os.makedirs(cwd) 168 copyfiles(d, cwd) [all...] |
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_test_utils.py | 247 cwd=working_dir, universal_newlines=True, env=env)
|
H A D | gtest-filepath_test.cc | 91 const FilePath cwd = FilePath::GetCurrentDir(); 97 const char* const cwd_without_drive = strchr(cwd.c_str(), ':'); 103 EXPECT_EQ(GTEST_PATH_SEP_, cwd.string());
|
/gem5/configs/example/ |
H A D | se.py | 94 process.cwd = os.getcwd()
|
/gem5/ext/googletest/googlemock/scripts/ |
H A D | upload.py | 1050 cwd = os.path.normpath(os.getcwd()) 1051 assert cwd.startswith(self.repo_dir) 1052 self.subdir = cwd[len(self.repo_dir):].lstrip(r"\/")
|
/gem5/ext/googletest/googletest/scripts/ |
H A D | upload.py | 1050 cwd = os.path.normpath(os.getcwd()) 1051 assert cwd.startswith(self.repo_dir) 1052 self.subdir = cwd[len(self.repo_dir):].lstrip(r"\/")
|
/gem5/src/systemc/tests/ |
H A D | verify.py | 176 subprocess.check_call(cmd, cwd=os.path.dirname(test.dir()))
|