Searched refs:modpath (Results 1 - 3 of 3) sorted by relevance

/gem5/src/python/
H A Dimporter.py39 def add_module(self, filename, abspath, modpath, code):
40 if modpath in self.modules:
41 raise AttributeError("%s already found in importer" % modpath)
43 self.modules[modpath] = (filename, abspath, code)
/gem5/src/sim/
H A Dinit.hh66 const char *modpath; member in struct:EmbeddedPython
72 const char *modpath, const uint8_t *code, int zlen, int len);
H A Dinit.cc79 const char *modpath, const unsigned char *code, int zlen, int len)
80 : filename(filename), abspath(abspath), modpath(modpath), code(code),
85 if (string(modpath) == string("importer"))
120 PyCC("sssO"), filename, abspath, modpath, code);
78 EmbeddedPython(const char *filename, const char *abspath, const char *modpath, const unsigned char *code, int zlen, int len) argument

Completed in 6 milliseconds