Searched refs:abspath (Results 1 - 25 of 32) sorted by relevance

12

/gem5/site_scons/site_tools/
H A Dmercurial.py88 ui.readconfig(hgrc.abspath)
105 shutil.copyfile(hgrc.abspath, hgrc_old.abspath)
108 old, new = open(hgrc_old.abspath, 'r'), open(hgrc.abspath, 'w')
122 l = "hgstyle = %s/util/hgstyle.py\n" % env.root.abspath
133 hgrc_path = '%s/.hg/hgrc' % env.root.abspath
137 f.write(mercurial_style_hook_template % env.root.abspath)
/gem5/src/python/
H A Dimporter.py39 def add_module(self, filename, abspath, modpath, code):
43 self.modules[modpath] = (filename, abspath, code)
69 srcfile,abspath,code = self.modules[fullname]
72 if override in ('true', 'yes') and os.path.exists(abspath):
73 src = open(abspath, 'r').read()
74 code = compile(src, abspath, 'exec')
/gem5/site_scons/
H A Dgem5_python_paths.py50 extra_python_paths = [ node.abspath for node in extra_python_nodes ]
/gem5/src/sim/
H A Dinit.hh65 const char *abspath; member in struct:EmbeddedPython
71 EmbeddedPython(const char *filename, const char *abspath,
H A Dinit.cc78 EmbeddedPython::EmbeddedPython(const char *filename, const char *abspath, argument
80 : filename(filename), abspath(abspath), modpath(modpath), code(code),
120 PyCC("sssO"), filename, abspath, modpath, code);
/gem5/tests/
H A Dmain.py13 base_dir = os.path.dirname(os.path.abspath(__file__))
H A Drun.py183 src_root = os.path.abspath(os.path.join(os.path.dirname(__file__), "../"))
/gem5/tests/legacy-configs/
H A Drun.py41 from os.path import abspath, join as joinpath, dirname
48 sys.path.insert(0, abspath(joinpath(dirname(__file__), '../../configs')))
/gem5/ext/googletest/googlemock/scripts/
H A Dupload_gmock.py52 my_dir = os.path.dirname(os.path.abspath(__file__))
/gem5/ext/googletest/googletest/scripts/
H A Dupload_gtest.py52 my_dir = os.path.dirname(os.path.abspath(__file__))
/gem5/tests/gem5/fs/linux/arm/
H A Dtest.py87 path = os.path.dirname(os.path.abspath(__file__))
/gem5/tests/test-progs/asmtest/src/riscv/
H A Drun-tests.py79 test_dir = os.path.abspath('../../bin/riscv/')
85 gem5_dir = os.path.abspath('../../../../../')
/gem5/util/tlm/
H A DSConstruct43 gem5_root = Dir('#../..').srcnode().abspath
/gem5/ext/googletest/googletest/test/
H A Dgtest_test_utils.py129 return os.path.abspath(GetFlag('source_dir'))
135 return os.path.abspath(GetFlag('build_dir'))
171 path = os.path.abspath(os.path.join(build_dir or GetBuildDir(),
/gem5/configs/common/
H A DSysPaths.py35 config_path = os.path.dirname(os.path.abspath(__file__))
/gem5/tests/gem5/memory/
H A Dsimple-run.py54 config_file=os.path.join(os.path.dirname(os.path.abspath(__file__)),
/gem5/util/style/
H A Drepo.py64 fname = os.path.abspath(fname)
65 repo_path = os.path.abspath(self.repo_base())
271 parent_dir = os.path.abspath(os.path.join(path, ".."))
/gem5/configs/example/
H A Druby_direct_test.py46 config_path = os.path.dirname(os.path.abspath(__file__))
H A Druby_random_test.py46 config_path = os.path.dirname(os.path.abspath(__file__))
H A Druby_mem_test.py46 config_path = os.path.dirname(os.path.abspath(__file__))
H A Druby_gpu_random_test.py49 config_path = os.path.dirname(os.path.abspath(__file__))
/gem5/tests/testing/
H A Dtests.py263 self.gem5 = os.path.abspath(gem5)
277 ref_dir = os.path.abspath(self.ref_dir)
/gem5/ext/testlib/
H A Dloader.py108 return os.path.split(os.path.dirname(os.path.abspath((filepath))))[-1]
201 path = os.path.abspath(path)
/gem5/src/systemc/tests/
H A Dverify.py45 script_path = os.path.abspath(inspect.getfile(inspect.currentframe()))
166 os.path.abspath(test.full_path()),
167 '-rd', os.path.abspath(test.m5out_dir()),
170 os.path.abspath(config_path),
/gem5/util/
H A Dgen_arm_fs_files.py57 script_dir = os.path.dirname(os.path.abspath(sys.argv[0]))

Completed in 31 milliseconds

12