Searched refs:keep_alive (Results 1 - 5 of 5) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_call_policies.cpp | 2 tests/test_call_policies.cpp -- keep_alive and call_guard 56 .def(py::init([](Child *) { return new Parent(); }), py::keep_alive<1, 2>()) 58 .def("addChildKeepAlive", &Parent::addChild, py::keep_alive<1, 2>()) 60 .def("returnChildKeepAlive", &Parent::returnChild, py::keep_alive<1, 0>()) 61 .def("returnNullChildKeepAliveChild", &Parent::returnNullChild, py::keep_alive<1, 0>()) 62 .def("returnNullChildKeepAliveParent", &Parent::returnNullChild, py::keep_alive<0, 1>());
|
H A D | test_opaque_types.cpp | 34 }, py::keep_alive<0, 1>());
|
H A D | test_sequences_and_iterators.cpp | 193 py::keep_alive<0, 1>() /* Essential: keep object alive while iterator exists */) 253 py::keep_alive<0, 1>()) 255 py::keep_alive<0, 1>()) 270 }, py::keep_alive<0, 1>()) 273 }, py::keep_alive<0, 1>())
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | attr.h | 45 template <size_t Nurse, size_t Patient> struct keep_alive { }; struct 298 * runtime to deal with custom call policies (e.g. keep_alive). 442 * Process a keep_alive call policy -- invokes keep_alive_impl during the 446 template <size_t Nurse, size_t Patient> struct process_attribute<keep_alive<Nurse, Patient>> : public process_attribute_default<keep_alive<Nurse, Patient>> {
|
H A D | stl_bind.h | 313 keep_alive<0, 1>() /* Essential: keep list alive while iterator exists */ 340 keep_alive<0, 1>() /* Essential: keep list alive while iterator exists */ 605 keep_alive<0, 1>() /* Essential: keep list alive while iterator exists */ 610 keep_alive<0, 1>() /* Essential: keep list alive while iterator exists */
|
Completed in 11 milliseconds