Searched refs:object (Results 26 - 50 of 159) sorted by relevance

1234567

/gem5/ext/pybind11/tests/
H A Dtest_enum.py54 # Compare with an object
55 assert (y != object())
56 assert not (y == object())
64 y < object()
67 y <= object()
70 y > object()
73 y >= object()
76 y | object()
79 y & object()
82 y ^ object()
[all...]
H A Dtest_gil_scoped.cpp37 [](py::object func) { func(); });
H A Dtest_methods_and_attributes.cpp297 [](py::object, int v) { TestProperties::static_value = v; })
299 [](py::object) { return TestProperties::static_get(); })
301 [](py::object, int v) { return TestProperties::static_set(v); })
303 [](py::object) { return TestProperties::static_get(); },
304 [](py::object, int v) { TestProperties::static_set(v); })
306 [](py::object cls) { return cls; },
307 [](py::object cls, py::function f) { f(cls); });
314 auto static_get1 = [](py::object) -> const UserType & { return TestPropRVP::sv1; };
315 auto static_get2 = [](py::object) -> const UserType & { return TestPropRVP::sv2; };
316 auto static_set1 = [](py::object, in
[all...]
H A Dtest_pickling.cpp44 /* Return a tuple that fully encodes the state of the object */
94 .def("__getstate__", [](py::object self) {
98 .def("__setstate__", [](py::object self, py::tuple t) {
115 [](py::object self) {
H A Dtest_exceptions.cpp122 // Assign to a py::object to force read access of nonexistent dict entry
123 py::object o = foo["bar"];
134 // Assign to a py::object to force read access of nonexistent dict entry
135 py::object o = foo["bar"];
186 m.def("try_catch", [m](py::object exc_type, py::function f, py::args args) {
/gem5/util/systemc/gem5_within_systemc/
H A Dsc_gem5_control.cc108 Gem5System::setParam(const std::string &object, argument
111 manager->setParam(systemName + (object != "" ? "." + object : ""),
116 Gem5System::setParamVector(const std::string &object, argument
121 (object != "" ? "." + object : ""), param_name, param_values);
257 /* Make the root object */
/gem5/src/systemc/tests/systemc/kernel/sc_module/test05/
H A Dtest05.cpp113 sc_object* object = child_objects_[i]; local
114 cout << object->kind() << " " << object->name() << endl;
/gem5/configs/topologies/
H A DBaseTopology.py34 class BaseTopology(object):
/gem5/src/sim/
H A Dcxx_config_ini.cc78 CxxIniFile::objectExists(const std::string &object) const
80 return iniFile.sectionExists(object);
H A Dcxx_manager.hh95 /** Name substitution when instantiating any object whose name starts
97 * in the code, `object' as part of a name usually refers to the
138 void bindMasterPort(SimObject *object,
176 /** Find the type field for a named object and return both the
177 * name of the type to object_type and the object's directory
183 * before trying to instantiate any object as the name mappings are
190 void bindObjectPorts(SimObject *object);
192 /** Walk the configuration starting with object object_name and fill
193 * in all the elements of this object on the way. This involves:
195 * <li>Calling findObjectParams to make the ...Params object
246 SimObjectType *object = dynamic_cast<SimObjectType *>( local
[all...]
H A Dcxx_manager.cc62 throw Exception(object_name, "Can't find sim object");
65 throw Exception(object_name, "Sim object has no 'type' field");
71 "No sim object type %s is available", object_type));
150 SimObject *object = NULL; local
155 DPRINTF(CxxConfig, "Configuring sim object references for: %s"
156 " (%s from object %s)\n", instance_name, object_type,
196 "Can't assign sim object element %s from \"%s\"",
200 DPRINTF(CxxConfig, "Setting sim object(s): %s.%s=%s\n",
221 "Can't assign sim object element %s from"
226 DPRINTF(CxxConfig, "Setting sim object(
426 SimObject *object = findObject(object_name); local
485 bindMasterPort(SimObject *object, const CxxConfigDirectoryEntry::PortDesc &port, const std::vector<std::string> &peers) argument
519 bindObjectPorts(SimObject *object) argument
[all...]
/gem5/src/mem/slicc/
H A Dutil.py33 class PairContainer(object):
51 class Location(object):
/gem5/src/systemc/ext/dt/fx/
H A Dsc_fxdefs.hh273 #define SC_OBSERVER_(object, observer_type, event) \
275 if ((object).observer() != 0) { \
276 observer_type observer = (object).lock_observer(); \
277 observer->event((object)); \
278 (object).unlock_observer(observer); \
/gem5/ext/pybind11/include/pybind11/
H A Diostream.h30 object pywrite;
31 object pyflush;
59 pythonbuf(object pyostream, size_t buffer_size = 1024)
92 You can explicitly pass the c++ stream and the python object,
111 object pyostream = module::import("sys").attr("stdout"))
142 object pyostream = module::import("sys").attr("stderr"))
H A Dcast.h319 * The returned object should be short-lived: in particular, it must not outlive the called-upon
515 auto inst = reinterpret_steal<object>(make_new_instance(tinfo->type));
538 "object is non-copyable!");
549 "object is neither movable nor copyable!");
697 auto temp = reinterpret_steal<object>(converter(src.ptr(), typeinfo->type));
792 // polymorphic_type_hook<itype>::get(src, tinfo) determines whether the object pointed
795 // type, and returns a pointer to the start of the most-derived object of that type
801 // types determines the runtime type of the passed object and adjusts the this-pointer
854 // with pybind11, we want to make the full derived object available.
1014 auto tmp = reinterpret_steal<object>(st
[all...]
/gem5/src/python/pybind11/
H A Devent.cc84 py::object obj = py::cast(this);
89 panic("Failed to get PyBind object to increase ref count\n");
94 py::object obj = py::cast(this);
99 panic("Failed to get PyBind object to decrease ref count\n");
146 return py::reinterpret_steal<py::object>(
/gem5/ext/ply/test/
H A Dlex_object.py50 lex.lex(object=calc)
/gem5/ext/
H A Dgit-commit-msg187 git hash-object -t commit --stdin
/gem5/src/systemc/ext/core/
H A Dsc_spawn.hh156 sc_spawn(T object, const char *name_p=nullptr, argument
159 auto func = new ::sc_gem5::ProcessObjFuncWrapper<T>(object);
166 sc_spawn(typename T::result_type *r_p, T object, const char *name_p=nullptr, argument
170 T, typename T::result_type>(object, r_p);
/gem5/ext/testlib/
H A Dsuite.py33 class TestSuite(object):
35 An object grouping a collection of tests. It provides tags which enable
H A Dlog.py30 This module supplies the global `test_log` object which all testing
58 class Record(object):
60 A generic object that is passed to the :class:`Log` and its handlers.
111 class Log(object):
147 class Handler(object):
168 class LogWrapper(object):
232 class TestLogWrapper(object):
/gem5/src/cpu/testers/traffic_gen/
H A Dpygen.cc54 PyTrafficGen::start(pybind11::object meta_generator)
/gem5/tests/configs/
H A Dalpha_generic.py47 class LinuxAlphaSystemBuilder(object):
/gem5/src/arch/
H A Dmicro_asm.py48 class Micro_Container(object):
68 class Rom_Macroop(object):
87 class Label(object):
92 class Block(object):
96 class Statement(object):
136 print_error("Error creating microop object with mnemonic %s." % \
335 print_error("Rom block found, but no Rom object specified.")
336 raise TypeError, "Rom block found, but no Rom object was specified."
357 print_error("Error creating macroop object.")
484 class MicroAssembler(object)
[all...]
/gem5/src/arch/arm/
H A DArmPMU.py47 class ProbeEvent(object):
60 class SoftwareIncrement(object):

Completed in 33 milliseconds

1234567