Searched refs:object (Results 76 - 100 of 159) sorted by relevance

1234567

/gem5/src/arch/arm/
H A Dpmu.hh349 void addMicroarchitectureProbe(SimObject* object, argument
352 panic_if(!object,"malformed probe-point"
355 microArchitectureEventSet.emplace(object, name);
/gem5/tests/testing/
H A Dresults.py50 class UnitResult(object):
107 class TestResult(object):
146 class ResultFormatter(object):
H A Dhelpers.py111 class FileIgnoreList(object):
/gem5/ext/pybind11/tests/
H A Dtest_pytypes.py78 class A(object):
140 d = {"operator[object]": 1, "operator[char *]": 2}
149 assert d["operator[object]"] == 1
151 assert d["attr(object)"] == 1
232 "argument of type 'UnregisteredType' to Python object"
234 "arguments to Python object (compile in debug mode for details)"
239 class Hashable(object):
246 class Unhashable(object):
H A Dconftest.py41 class Output(object):
73 class Capture(object):
116 class SanitizedString(object):
H A Dtest_builtin_casters.py293 class A(object):
303 class B(object):
307 cant_convert(object())
H A Dtest_callbacks.cpp20 m.def("test_callback1", [](py::object func) { return func(); });
21 m.def("test_callback2", [](py::object func) { return func("Hello", 'x', true, 5); });
141 f(x); // lvalue reference shouldn't move out object
/gem5/src/sim/
H A Deventq.hh379 * If the AutoDestroy flag is set, the object is deleted once it
711 * unserializing an object.
729 /** A pointer to this object's event queue */
791 T *object; member in class:EventWrapper
795 : Event(p), object(obj)
802 : Event(p), object(&obj)
808 void process() { (object->*F)(); }
813 return object->name() + ".wrapped_event";
/gem5/ext/pybind11/include/pybind11/detail/
H A Dclass.h46 methods are modified to always use the object type instead of a concrete instance.
50 auto name_obj = reinterpret_steal<object>(PYBIND11_FROM_STRING(name));
101 return (PyTypeObject *) d["pybind11_static_property"].cast<object>().release().ptr();
164 auto name_obj = reinterpret_steal<object>(PYBIND11_FROM_STRING(name));
253 // object is a a plain Python type (i.e. not derived from an extension type). Fix it.
270 /// C++ object, but doesn't call the constructor -- an `__init__` function must do that.
275 /// An `__init__` function constructs the C++ object. Users should provide at least one
346 /// to destroy the C++ object itself, while the rest is Python bookkeeping.
367 auto name_obj = reinterpret_steal<object>(PYBIND11_FROM_STRING(name));
518 auto name = reinterpret_steal<object>(PYBIND11_FROM_STRIN
[all...]
/gem5/ext/pybind11/include/pybind11/
H A Dpybind11.h55 /// Wraps an arbitrary C++ function/method/lambda function/.. into a callable Python object
90 object name() const { return attr("__name__"); }
104 /* Store the function including any extra state it might have (e.g. a lambda capture object) */
107 /* Store the capture object directly in the function record if there is enough space */
147 /* Get a pointer to the capture object */
305 pybind11_fail("Cannot overload existing non-function object \"" + std::string(rec->name) +
310 /* No existing overload was found, create a new function object */
321 object scope_module;
332 pybind11_fail("cpp_function::cpp_function(): Could not allocate function object");
395 pybind11_fail("cpp_function::cpp_function(): Could not allocate instance method object");
[all...]
H A Dfunctional.h74 object retval(hfunc.f(std::forward<Args>(args)...));
H A Deigen.h228 // Takes an lvalue ref to some Eigen type and a (python) base object, creating a numpy array that
229 // reference the Eigen object's data with `base` as the python-registered base class (if omitted,
367 // that this means you need to ensure you don't destroy the object in some other way (e.g. with
395 // We can return any map-like object (but can only load Refs, specialized next):
551 auto obj = reinterpret_borrow<object>(src);
552 object sparse_module = module::import("scipy.sparse");
553 object matrix_type = sparse_module.attr(
564 auto values = array_t<Scalar>((object) obj.attr("data"));
565 auto innerIndices = array_t<StorageIndex>((object) obj.attr("indices"));
566 auto outerIndices = array_t<StorageIndex>((object) ob
[all...]
H A Dstl.h91 auto value_ = reinterpret_steal<object>(key_conv::cast(forward_like<T>(value), policy, parent));
131 auto key = reinterpret_steal<object>(key_conv::cast(forward_like<T>(kv.first), policy_key, parent));
132 auto value = reinterpret_steal<object>(value_conv::cast(forward_like<T>(kv.second), policy_value, parent));
175 auto value_ = reinterpret_steal<object>(value_conv::cast(forward_like<T>(value), policy, parent));
232 auto value_ = reinterpret_steal<object>(value_conv::cast(forward_like<T>(value), policy, parent));
/gem5/ext/testlib/
H A Dhelper.py126 kwd_mark = (object(),),
161 sentinel = object() # unique object used to signal cache misses
266 '''Signals one tried to set a value in a 'frozen' object.'''
270 class AttrDict(object):
316 class InstanceCollector(object):
H A Duid.py34 class UID(object):
H A Dterminal.py83 class ColorStrings(object):
H A Drunner.py67 class TestParameters(object):
184 class FixtureBuilder(object):
/gem5/ext/ply/example/newclasscalc/
H A Dcalc.py24 class Parser(object):
/gem5/tests/configs/
H A Darm_generic.py69 class LinuxArmSystemBuilder(object):
/gem5/util/style/
H A Dstyle.py59 class UserInterface(object):
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbfriends.inc26 return the result object. The functions in
/gem5/src/systemc/core/
H A Dobject.cc30 #include "systemc/core/object.hh"
60 addObject(Objects *objects, sc_core::sc_object *object) argument
62 objects->emplace(objects->end(), object);
94 _basename = ::sc_core::sc_gen_unique_name("object");
/gem5/src/systemc/dt/int/
H A Dsc_nbfriends.inc26 return the result object. The functions in
/gem5/src/python/m5/
H A Dproxy.py44 # Proxy object support.
57 class BaseProxy(object):
75 "cannot set attribute '%s' on proxy object" % attr)
177 raise TypeError("Proxy object requires integer index")
196 # current, rather than the original object so that proxy
252 class ProxyFactory(object):
/gem5/src/systemc/tests/
H A Dverify.py65 class Test(object):
114 class TestPhaseBase(object):
195 class Checker(object):
295 class GoldenDir(object):
307 class Entry(object):

Completed in 50 milliseconds

1234567