Searched refs:internals (Results 1 - 6 of 6) sorted by relevance

/gem5/ext/pybind11/include/pybind11/detail/
H A Dinternals.h2 pybind11/detail/internals.h: Internal data structure and related functions
94 struct internals { struct
140 /// Tracks the `internals` and `type_info` ABI version independent of the main library version
196 /// Each module locally stores a pointer to the `internals` data. The data
198 inline internals **&get_internals_pp() {
199 static internals **internals_pp = nullptr;
231 /// Return a reference to the current `internals` data
232 PYBIND11_NOINLINE inline internals &get_internals() {
248 internals_pp = static_cast<internals **>(capsule(builtins[id]));
259 if (!internals_pp) internals_pp = new internals*();
310 auto &internals = detail::get_internals(); local
326 auto &internals = detail::get_internals(); local
[all...]
H A Dclass.h261 // Allocate the value/holder internals:
291 auto &internals = get_internals(); local
295 internals.patients[nurse].push_back(patient);
300 auto &internals = get_internals(); local
301 auto pos = internals.patients.find(self);
302 assert(pos != internals.patients.end());
307 internals.patients.erase(pos);
331 // Deallocate the value/holder layout internals:
356 // with `pybind11_object_dealloc`, but with the common one stashed in internals.
553 auto &internals local
[all...]
/gem5/ext/pybind11/tests/
H A Dconstructor_stats.h169 auto &internals = py::detail::get_internals(); local
172 auto *type_info = internals.registered_types_py.at((PyTypeObject *) class_.ptr()).at(0);
173 for (auto &p : internals.registered_types_cpp) {
/gem5/ext/pybind11/include/pybind11/
H A Dembed.h151 // Get the internals pointer (without creating it if it doesn't exist). It's possible for the
152 // internals to be created during Py_Finalize() (e.g. if a py::capsule calls `get_internals()`
154 detail::internals **internals_ptr_ptr = detail::get_internals_pp();
H A Dpybind11.h918 auto &internals = get_internals(); local
920 tinfo->direct_conversions = &internals.direct_conversions[tindex];
924 internals.registered_types_cpp[tindex] = tinfo;
925 internals.registered_types_py[(PyTypeObject *) m_ptr] = { tinfo };
1639 inline std::pair<decltype(internals::registered_types_py)::iterator, bool> all_type_info_get_cache(PyTypeObject *type) {
1896 auto const &internals = detail::get_internals(); local
1897 tstate = (PyThreadState *) PYBIND11_TLS_GET_VALUE(internals.tstate);
1903 below. Note we don't save this state with internals.tstate, since we don't
1909 tstate = PyThreadState_New(internals.istate);
1915 PYBIND11_TLS_REPLACE_VALUE(internals
1975 const auto &internals = detail::get_internals(); local
[all...]
H A Dcast.h16 #include "detail/internals.h"
88 inline std::pair<decltype(internals::registered_types_py)::iterator, bool> all_type_info_get_cache(PyTypeObject *type);

Completed in 27 milliseconds