/gem5/site_scons/site_tools/ |
H A D | mercurial.py | 88 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 D | importer.py | 39 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 D | gem5_python_paths.py | 50 extra_python_paths = [ node.abspath for node in extra_python_nodes ]
|
/gem5/src/sim/ |
H A D | init.hh | 65 const char *abspath; member in struct:EmbeddedPython 71 EmbeddedPython(const char *filename, const char *abspath,
|
H A D | init.cc | 78 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 D | main.py | 13 base_dir = os.path.dirname(os.path.abspath(__file__))
|
H A D | run.py | 183 src_root = os.path.abspath(os.path.join(os.path.dirname(__file__), "../"))
|
/gem5/tests/legacy-configs/ |
H A D | run.py | 41 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 D | upload_gmock.py | 52 my_dir = os.path.dirname(os.path.abspath(__file__))
|
/gem5/ext/googletest/googletest/scripts/ |
H A D | upload_gtest.py | 52 my_dir = os.path.dirname(os.path.abspath(__file__))
|
/gem5/tests/gem5/fs/linux/arm/ |
H A D | test.py | 87 path = os.path.dirname(os.path.abspath(__file__))
|
/gem5/tests/test-progs/asmtest/src/riscv/ |
H A D | run-tests.py | 79 test_dir = os.path.abspath('../../bin/riscv/') 85 gem5_dir = os.path.abspath('../../../../../')
|
/gem5/util/tlm/ |
H A D | SConstruct | 43 gem5_root = Dir('#../..').srcnode().abspath
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_test_utils.py | 129 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 D | SysPaths.py | 35 config_path = os.path.dirname(os.path.abspath(__file__))
|
/gem5/tests/gem5/memory/ |
H A D | simple-run.py | 54 config_file=os.path.join(os.path.dirname(os.path.abspath(__file__)),
|
/gem5/util/style/ |
H A D | repo.py | 64 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 D | ruby_direct_test.py | 46 config_path = os.path.dirname(os.path.abspath(__file__))
|
H A D | ruby_random_test.py | 46 config_path = os.path.dirname(os.path.abspath(__file__))
|
H A D | ruby_mem_test.py | 46 config_path = os.path.dirname(os.path.abspath(__file__))
|
H A D | ruby_gpu_random_test.py | 49 config_path = os.path.dirname(os.path.abspath(__file__))
|
/gem5/tests/testing/ |
H A D | tests.py | 263 self.gem5 = os.path.abspath(gem5) 277 ref_dir = os.path.abspath(self.ref_dir)
|
/gem5/ext/testlib/ |
H A D | loader.py | 108 return os.path.split(os.path.dirname(os.path.abspath((filepath))))[-1] 201 path = os.path.abspath(path)
|
/gem5/src/systemc/tests/ |
H A D | verify.py | 45 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 D | gen_arm_fs_files.py | 57 script_dir = os.path.dirname(os.path.abspath(sys.argv[0]))
|