Searched refs:def_static (Results 1 - 12 of 12) sorted by relevance
/gem5/src/systemc/tlm_core/2/quantum/ |
H A D | global_quantum_python.cc | 43 .def_static("instance", &tlm::tlm_global_quantum::instance,
|
/gem5/ext/pybind11/tests/ |
H A D | pybind11_tests.cpp | 54 .def_static("get", (ConstructorStats &(*)(py::object)) &ConstructorStats::get, py::return_value_policy::reference_internal) 58 .def_static("detail_reg_inst", []() {
|
H A D | test_multiple_inheritance.cpp | 175 .def_static("static_func1", &WithStatic1::static_func1) 180 .def_static("static_func2", &WithStatic2::static_func2) 186 .def_static("static_func", &VanillaStaticMix1::static_func) 192 .def_static("static_func", &VanillaStaticMix2::static_func)
|
H A D | test_enum.cpp | 63 exenum_class.def_static("test_function", &ClassWithUnscopedEnum::test_function);
|
H A D | test_smart_ptr.cpp | 286 .def_static("get", []() { return sft.get(); }); 294 .def_static("make", []() { return custom_unique_ptr<C>(new C); }); 309 .def_static("make", []() { return HolderWithAddressOf(new TypeForHolderWithAddressOf); }) 327 .def_static("make", []() { return MoveOnlyHolderWithAddressOf(new TypeForMoveOnlyHolderWithAddressOf(0)); }) 335 .def_static("load_shared_ptr", [](std::shared_ptr<HeldByDefaultHolder>) {});
|
H A D | test_methods_and_attributes.cpp | 266 .def_static("add_mixed_overloads1", []() { 269 .def_static("overload_mixed1", static_cast<py::str ( *)(float )>(&ExampleMandA::overloaded)); 271 .def_static("add_mixed_overloads2", []() { 273 emna.def_static("overload_mixed2", static_cast<py::str ( *)(float )>(&ExampleMandA::overloaded)) 376 .def_static("h", &ArgInspector::h, py::arg().noconvert(), py::arg() = ArgAlwaysConverts())
|
H A D | test_factory_constructors.cpp | 222 .def_static("get_cstats", &ConstructorStats::get<TestFactory6>, py::return_value_policy::reference) 223 .def_static("get_alias_cstats", &ConstructorStats::get<PyTF6>, py::return_value_policy::reference) 257 .def_static("get_cstats", &ConstructorStats::get<TestFactory7>, py::return_value_policy::reference) 258 .def_static("get_alias_cstats", &ConstructorStats::get<PyTF7>, py::return_value_policy::reference)
|
H A D | test_class.cpp | 43 .def_static("new_instance", &NoConstructor::new_instance, "Return an instance"); 157 // #511: problem with inheritance + overwritten def_static 171 .def_static("make", &MyBase::make); 174 .def_static("make", &MyDerived::make) 175 .def_static("make2", &MyDerived::make);
|
H A D | test_copy_move.cpp | 106 .def_static("get_one", &lacking_copy_ctor::get_one, 110 .def_static("get_one", &lacking_move_ctor::get_one,
|
H A D | test_eigen.cpp | 197 .def_static("create", &ReturnTester::create) 198 .def_static("create_const", &ReturnTester::createConst)
|
/gem5/src/python/pybind11/ |
H A D | core.cc | 126 .def_static("instance", &DrainManager::instance, 219 .def_static("gmtime", [](std::time_t t) { return *std::gmtime(&t); })
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | pybind11.h | 1118 def_static(const char *name_, Func &&f, const Extra&... extra) { function in class:cpp_function::class_ 1120 "def_static(...) called with a non-static member function pointer");
|
Completed in 30 milliseconds