Searched refs:object (Results 51 - 75 of 159) sorted by relevance
1234567
/gem5/ext/pybind11/tests/ |
H A D | test_pytypes.cpp | 42 m.def("set_contains", [](py::set set, py::object key) { 60 m.def("dict_contains", [](py::dict dict, py::object val) { 70 m.def("str_from_object", [](const py::object& obj) { return py::str(obj); }); 71 m.def("repr_from_object", [](const py::object& obj) { return py::repr(obj); }); 113 m.def("accessor_api", [](py::object o) { 124 d["operator[object]"] = o.attr("d")["operator[object]"_s]; 127 d["attr(object)"] = o.attr("sub").attr("attr_obj"); 285 m.def("hash_function", [](py::object obj) { return py::hash(obj); }); 287 m.def("test_number_protocol", [](py::object [all...] |
H A D | test_sequences_and_iterators.cpp | 193 py::keep_alive<0, 1>() /* Essential: keep object alive while iterator exists */) 224 // Interface of a map-like object that isn't (directly) an unordered_map, but provides some basic 283 PySequenceIterator(const Sequence &seq, py::object ref) : seq(seq), ref(ref) { } 292 py::object ref; // keep a reference 300 On the actual Sequence object, the iterator would be constructed as follows: 301 .def("__iter__", [](py::object s) { return PySequenceIterator(s.cast<const Sequence &>(), s); }) 305 m.def("object_to_list", [](py::object o) { 323 m.def("count_none", [](py::object o) { 327 m.def("find_none", [](py::object o) {
|
H A D | test_numpy_array.cpp | 213 .def("numpy_view", [](py::object &obj) { 224 sm.def("isinstance_untyped", [](py::object yes, py::object no) { 227 sm.def("isinstance_typed", [](py::object o) { 239 sm.def("converting_constructors", [](py::object o) { 279 sm.def("issue685", [](py::object) { return "other"; }); 349 // Issue #785: Uninformative "Unknown internal error" exception when constructing array from empty object: 350 sm.def("array_fail_test", []() { return py::array(py::object()); }); 351 sm.def("array_t_fail_test", []() { return py::array_t<double>(py::object()); });
|
H A D | test_kwargs_and_defaults.cpp | 68 m.def("arg_refcount_o", [](py::object o) { GC_IF_NEEDED; return o.ref_count(); }); 77 m.def("mixed_args_refcount", [](py::object o, py::args a) {
|
H A D | pybind11_tests.cpp | 54 .def_static("get", (ConstructorStats &(*)(py::object)) &ConstructorStats::get, py::return_value_policy::reference_internal)
|
/gem5/util/minorview/ |
H A D | point.py | 38 class Point(object):
|
/gem5/util/stats/ |
H A D | chart.py | 30 class ChartOptions(object):
|
H A D | dbinit.py | 31 class MyDB(object):
|
/gem5/ext/testlib/ |
H A D | query.py | 34 class QueryRunner(object):
|
H A D | test.py | 49 class TestCase(object): 77 TestCase implementation which uses a callable object as a test.
|
H A D | fixture.py | 46 class Fixture(object):
|
H A D | result.py | 65 class InternalTestResult(object, _CommonMetadataMixin): 80 class InternalSuiteResult(object, _CommonMetadataMixin): 107 class InternalLibraryResults(object, _CommonMetadataMixin): 171 class XMLElement(object): 195 class XMLAttribute(object):
|
H A D | sandbox.py | 56 class IoManager(object): 140 class Status(object): 170 class Sandbox(object):
|
/gem5/util/systemc/gem5_within_systemc/ |
H A D | sc_gem5_control.hh | 69 * object (and its children). New Gem5Systems are created by 106 virtual void setParam(const std::string &object,
|
/gem5/configs/common/ |
H A D | SysPaths.py | 38 class PathSearchFunc(object):
|
/gem5/src/python/ |
H A D | importer.py | 35 class CodeImporter(object):
|
/gem5/src/python/m5/util/ |
H A D | terminal.py | 84 class ColorStrings(object):
|
H A D | pybind.py | 43 class PyBindExport(object):
|
/gem5/tests/configs/ |
H A D | x86_generic.py | 48 class LinuxX86SystemBuilder(object):
|
/gem5/src/python/m5/ |
H A D | options.py | 37 class nodefault(object): pass 39 class splitter(object):
|
/gem5/tests/gem5/ |
H A D | verifier.py | 38 class Verifier(object): 110 __ignore_regex_sentinel = object()
|
/gem5/site_scons/gem5_scons/ |
H A D | __init__.py | 60 class Transform(object):
|
/gem5/ext/googletest/googletest/scripts/ |
H A D | release_docs.py | 89 class WikiBrancher(object):
|
/gem5/ext/ply/ply/ |
H A D | lex.py | 69 class LexToken(object): 75 # This object is a stand-in for a logging object created by the 78 class PlyLogger(object): 94 class NullLogger(object): 141 def clone(self,object=None): 144 # If the object parameter has been supplied, it means we are attaching the 145 # lexer to a new object. In this case, we have to rebind all methods in 148 if object: 158 newfindex.append((getattr(object, [all...] |
/gem5/util/style/ |
H A D | region.py | 27 class _neg_inf(object): 28 '''This object always compares less than any other object''' 38 class _pos_inf(object): 39 '''This object always compares greater than any other object''' 141 class Regions(object):
|
Completed in 25 milliseconds
1234567