/gem5/ext/pybind11/tests/ |
H A D | test_multiple_inheritance.cpp | 213 .def("b", [](B *self) { return self; }); 215 .def("c0", [](C0 *self) { return self; }); 217 .def("c1", [](C1 *self) { return self; });
|
H A D | test_call_policies.py | 111 def __init__(self): 112 m.Parent.__init__(self) 113 m.Child.__init__(self)
|
H A D | test_callbacks.py | 33 def double(self, val): 114 def __init__(self, value): 115 self.value = value
|
H A D | test_builtin_casters.py | 294 def __init__(self, x): 295 self.x = x 297 def __nonzero__(self): 298 return self.x 300 def __bool__(self): 301 return self.x
|
H A D | test_numpy_array.cpp | 143 .def("__repr__", [](const DtypeCheck& self) { 145 self.numpy, self.pybind11); 153 .def("__repr__", [](const DtypeSizeCheck& self) { 155 self.name, self.size_cpp, self.size_numpy, self.dtype);
|
H A D | test_class.py | 34 get_value(self: m.UserType) -> int 54 __init__(self: m.class_.NestBase) -> None 57 g(self: m.class_.NestBase, arg0: m.class_.NestBase.Nested) -> None 60 __init__(self: m.class_.NestBase.Nested) -> None 63 fn(self: m.class_.NestBase.Nested, arg0: int, arg1: m.class_.NestBase, arg2: m.class_.NestBase.Nested) -> None 66 fa(self: m.class_.NestBase.Nested, a: int, b: m.class_.NestBase, c: m.class_.NestBase.Nested) -> None 215 def __init__(self): 216 m.ProtectedB.__init__(self) 218 def foo(self):
|
H A D | test_sequences_and_iterators.cpp | 218 .def(py::self == py::self) 219 .def(py::self != py::self) 220 // Could also define py::self + py::self for concatenation, etc.
|
H A D | test_methods_and_attributes.py | 178 def check_self(self): 179 assert self is m.TestProperties 218 "(self: pybind11_tests.methods_and_attributes.ExampleMandA, arg0: int, arg1: int)"
|
H A D | test_smart_ptr.cpp | 310 .def("get", [](const HolderWithAddressOf &self) { return self.get(); })
|
H A D | test_factory_constructors.cpp | 186 .def("__init__", [](TestFactory3 &self, std::string v) { new (&self) TestFactory3(v); }) // placement-new ctor
|
/gem5/configs/topologies/ |
H A D | MeshDirCorners_XY.py | 46 def __init__(self, controllers): 47 self.nodes = controllers 49 def makeTopology(self, options, network, IntLink, ExtLink, Router): 50 nodes = self.nodes 218 def registerTopology(self, options):
|
/gem5/src/base/ |
H A D | statistics.hh | 234 Derived &self() { return *static_cast<Derived *>(this); } function in class:Stats::DataWrap 258 auto info = new Info(self()); 284 return this->self(); 298 return this->self(); 315 return this->self(); 327 return this->self(); 339 return this->self(); 353 return this->self(); 381 Derived &self = this->self(); local 418 Derived &self = this->self(); local 429 Derived &self = this->self(); local 456 Derived &self = this->self(); local 468 Derived &self = this->self(); local [all...] |
/gem5/util/ |
H A D | checkpoint_aggregator.py | 38 def __init__(self): 39 ConfigParser.__init__(self) 41 def optionxform(self, optionstr):
|
/gem5/src/arch/x86/bios/ |
H A D | IntelMP.py | 73 def add_entry(self, entry): 75 self.base_entries.append(entry) 77 self.ext_entries.append(entry)
|
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ui/ |
H A D | fence_i.S | 7 # Test self-modifying code and the fence.i instruction.
|
/gem5/src/dev/pci/ |
H A D | PciHost.py | 67 def pciFdtAddr(self, bus=0, device=0, function=0, register=0, space=0,
|
/gem5/src/dev/net/ |
H A D | Ethernet.py | 51 def __init__(self, desc): 52 super(EtherInt, self).__init__(ETHERNET_ROLE, desc) 55 def __init__(self, desc): 56 super(VectorEtherInt, self).__init__(ETHERNET_ROLE, desc)
|
/gem5/src/sim/ |
H A D | Process.py | 39 def map(self, vaddr, paddr, size, cacheable=False):
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | operators.h | 15 # pragma clang diagnostic ignored "-Wunsequenced" // multiple unsequenced modifications to 'self' (when using def(py::self OP Type())) 41 static const self_t self = self_t(); variable 47 inline self_t __self() { return self; } 162 using detail::self;
|
H A D | stl_bind.h | 77 cl.def(self == self); 78 cl.def(self != self);
|
H A D | attr.h | 360 r->args.emplace_back("self", nullptr, handle(), true /*convert*/, false /*none not allowed*/); 369 r->args.emplace_back("self", nullptr /*descr*/, handle() /*parent*/, true /*convert*/, false /*none not allowed*/); 487 size_t self = constexpr_sum(std::is_same<is_method, Extra>::value...)> 489 return named == 0 || (self + named + has_args + has_kwargs) == nargs;
|
H A D | pybind11.h | 238 signature += "self"; 260 // A new-style `__init__` takes `self` as `value_and_holder`. 424 static PyObject *dispatcher(PyObject *self, PyObject *args_in, PyObject *kwargs_in) { argument 428 const function_record *overloads = (function_record *) PyCapsule_GetPointer(self, nullptr), 444 PyErr_SetString(PyExc_TypeError, "__init__(self, ...) called with invalid `self` argument"); 501 // 0. Inject new-style `self` argument 725 // For a constructor, rewrite `(self: Object, arg0, ...) -> NoneType` as `Object(arg0, ...)` 727 size_t start = sig.find('(') + 7; // skip "(self: " 2025 handle self local [all...] |
H A D | pytypes.h | 845 auto& self = const_cast<iterator &>(*this); local 846 self.advance();
|
/gem5/tests/ |
H A D | tests.py | 51 def _fill_text(self, text, width, indent): 53 super(ParagraphHelpFormatter, self)._fill_text(p, width, indent) \
|
/gem5/src/cpu/minor/ |
H A D | MinorCPU.py | 290 def addCheckerCpu(self):
|