Lines Matching refs:wp

1023 wrapper_dealloc(wrapperobject *wp)  in wrapper_dealloc()  argument
1025 PyObject_GC_UnTrack(wp); in wrapper_dealloc()
1026 Py_TRASHCAN_SAFE_BEGIN(wp) in wrapper_dealloc()
1027 Py_XDECREF(wp->descr); in wrapper_dealloc()
1028 Py_XDECREF(wp->self); in wrapper_dealloc()
1029 PyObject_GC_Del(wp); in wrapper_dealloc()
1030 Py_TRASHCAN_SAFE_END(wp) in wrapper_dealloc()
1059 wrapper_hash(wrapperobject *wp) in wrapper_hash() argument
1062 x = _Py_HashPointer(wp->descr); in wrapper_hash()
1065 y = PyObject_Hash(wp->self); in wrapper_hash()
1075 wrapper_repr(wrapperobject *wp) in wrapper_repr() argument
1078 wp->descr->d_base->name, in wrapper_repr()
1079 wp->self->ob_type->tp_name, in wrapper_repr()
1080 wp->self); in wrapper_repr()
1084 wrapper_reduce(wrapperobject *wp) in wrapper_reduce() argument
1088 wp->self, PyDescr_NAME(wp->descr)); in wrapper_reduce()
1102 wrapper_objclass(wrapperobject *wp, void *Py_UNUSED(ignored)) in wrapper_objclass() argument
1104 PyObject *c = (PyObject *)PyDescr_TYPE(wp->descr); in wrapper_objclass()
1111 wrapper_name(wrapperobject *wp, void *Py_UNUSED(ignored)) in wrapper_name() argument
1113 const char *s = wp->descr->d_base->name; in wrapper_name()
1119 wrapper_doc(wrapperobject *wp, void *Py_UNUSED(ignored)) in wrapper_doc() argument
1121 return _PyType_GetDocFromInternalDoc(wp->descr->d_base->name, wp->descr->d_base->doc); in wrapper_doc()
1125 wrapper_text_signature(wrapperobject *wp, void *Py_UNUSED(ignored)) in wrapper_text_signature() argument
1127 return _PyType_GetTextSignatureFromInternalDoc(wp->descr->d_base->name, wp->descr->d_base->doc); in wrapper_text_signature()
1131 wrapper_qualname(wrapperobject *wp, void *Py_UNUSED(ignored)) in wrapper_qualname() argument
1133 return descr_get_qualname((PyDescrObject *)wp->descr, NULL); in wrapper_qualname()
1146 wrapper_call(wrapperobject *wp, PyObject *args, PyObject *kwds) in wrapper_call() argument
1148 return wrapperdescr_raw_call(wp->descr, wp->self, args, kwds); in wrapper_call()
1154 wrapperobject *wp = (wrapperobject *)self; in wrapper_traverse() local
1155 Py_VISIT(wp->descr); in wrapper_traverse()
1156 Py_VISIT(wp->self); in wrapper_traverse()
1201 wrapperobject *wp; in PyWrapper_New() local
1209 wp = PyObject_GC_New(wrapperobject, &_PyMethodWrapper_Type); in PyWrapper_New()
1210 if (wp != NULL) { in PyWrapper_New()
1212 wp->descr = descr; in PyWrapper_New()
1214 wp->self = self; in PyWrapper_New()
1215 _PyObject_GC_TRACK(wp); in PyWrapper_New()
1217 return (PyObject *)wp; in PyWrapper_New()