Searched refs:m_self (Results 1 – 8 of 8) sorted by relevance
22 free_list = (PyCFunctionObject *)(op->m_self); in PyCFunction_NewEx()33 op->m_self = self; in PyCFunction_NewEx()57 return ((PyCFunctionObject *)op) -> m_self; in PyCFunction_GetSelf()134 Py_XDECREF(m->m_self); in meth_dealloc()137 m->m_self = (PyObject *)free_list; in meth_dealloc()166 Py_VISIT(m->m_self); in meth_traverse()180 self = m->m_self; in meth_get__self__()204 if (m->m_self == NULL) in meth_repr()209 m->m_self->ob_type->tp_name, in meth_repr()210 m->m_self); in meth_repr()[all …]
110 op->m_self = self; in PyCMethod_New()170 Py_XDECREF(m->m_self); in meth_dealloc()180 if (m->m_self == NULL || PyModule_Check(m->m_self)) in meth_reduce()184 m->m_self, m->m_ml->ml_name); in meth_reduce()224 if (m->m_self == NULL || PyModule_Check(m->m_self)) in meth_get__qualname__()227 type = PyType_Check(m->m_self) ? m->m_self : (PyObject*)Py_TYPE(m->m_self); in meth_get__qualname__()249 Py_VISIT(m->m_self); in meth_traverse()285 if (m->m_self == NULL || PyModule_Check(m->m_self)) in meth_repr()290 Py_TYPE(m->m_self)->tp_name, in meth_repr()291 m->m_self); in meth_repr()[all …]
300 m_self = getattr(m, '__self__', None)301 if m_self is not None:302 if inspect.isclass(m_self):303 return m_self304 return m_self.__class__
16 NULL : ((PyCFunctionObject *)func) -> m_self)26 PyObject *m_self; /* Passed as 'self' arg to the C func, can be NULL */ member
32 (((PyCFunctionObject *)func) -> m_self)84 PyObject *m_self; /* Passed as 'self' arg to the C func, can be NULL */ member
178 if (fn->m_self == NULL) { in normalizeUserObj()207 PyObject *self = fn->m_self; in normalizeUserObj()
116 if (fn->m_self == NULL) { in normalizeUserObj()147 PyObject *self = fn->m_self; in normalizeUserObj()
437 … auto rec_capsule = reinterpret_borrow<capsule>(((PyCFunctionObject *) m_ptr)->m_self); in PYBIND11_NAMESPACE_BEGIN()