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

/gem5/tests/test-progs/chdir-print/
H A Dchdir-print.c48 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 Dtest.py37 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 Dtest.py38 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 Dcscope-index.py49 cwd = os.getcwd() variable
51 for dirpath,subdirs,files in os.walk(os.path.join(cwd, 'src')):
H A Dqdo80 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 Dgen_arm_fs_files.py48 return_code = call(cmd, cwd = working_dir, stdout = stdout,
/gem5/configs/splash2/
H A Drun.py84 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 Dgtest-filepath.cc105 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 Dstarter_se.py144 cwd = os.getcwd()
149 process = Process(pid=100 + idx, cwd=cwd, cmd=argv, executable=argv[0])
/gem5/util/batch/
H A Djob.py150 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 DProcess.py62 cwd = Param.String(getcwd(), "current working directory") variable in class:Process
H A Dsyscall_emul.cc401 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 Dprocess.cc98 tgtCwd(normalize(params->cwd)),
H A Dsyscall_emul.hh999 // 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 Dconf.py323 retcode = subprocess.call(['doxygen'], cwd=app.confdir)
/gem5/ext/testlib/
H A Dloader.py222 cwd = os.getcwd()
233 os.chdir(cwd)
/gem5/configs/common/
H A Dcpu2000.py157 # 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 Dgtest_test_utils.py247 cwd=working_dir, universal_newlines=True, env=env)
H A Dgtest-filepath_test.cc91 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 Dse.py94 process.cwd = os.getcwd()
/gem5/ext/googletest/googlemock/scripts/
H A Dupload.py1050 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 Dupload.py1050 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 Dverify.py176 subprocess.check_call(cmd, cwd=os.path.dirname(test.dir()))

Completed in 53 milliseconds