Lines Matching refs:im_self
155 return ((PyMethodObject *)im)->im_self; in PyMethod_Self()
2258 free_list = (PyMethodObject *)(im->im_self); in PyMethod_New()
2271 im->im_self = self; in PyMethod_New()
2291 {"im_self", T_OBJECT, OFF(im_self), READONLY|RESTRICTED,
2293 {"__self__", T_OBJECT, OFF(im_self), READONLY|RESTRICTED,
2388 Py_XDECREF(im->im_self); in instancemethod_dealloc()
2391 im->im_self = (PyObject *)free_list; in instancemethod_dealloc()
2408 if (a->im_self == b->im_self) in instancemethod_compare()
2410 if (a->im_self == NULL || b->im_self == NULL) in instancemethod_compare()
2411 return (a->im_self < b->im_self) ? -1 : 1; in instancemethod_compare()
2413 return PyObject_Compare(a->im_self, b->im_self); in instancemethod_compare()
2419 PyObject *self = a->im_self; in instancemethod_repr()
2480 if (a->im_self == NULL) in instancemethod_hash()
2483 x = PyObject_Hash(a->im_self); in instancemethod_hash()
2499 Py_VISIT(im->im_self); in instancemethod_traverse()
2684 free_list = (PyMethodObject *)(im->im_self); in PyMethod_ClearFreeList()