Lines Matching defs:self
32 PyCFunction_New(PyMethodDef *ml, PyObject *self)
34 return PyCFunction_NewEx(ml, self, NULL);
38 PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module)
40 return PyCMethod_New(ml, self, module, NULL);
44 PyCMethod_New(PyMethodDef *ml, PyObject *self, PyObject *module, PyTypeObject *cls)
109 Py_XINCREF(self);
110 op->m_self = self;
258 PyObject *self;
260 self = PyCFunction_GET_SELF(m);
261 if (self == NULL)
262 self = Py_None;
263 Py_INCREF(self);
264 return self;
296 meth_richcompare(PyObject *self, PyObject *other, int op)
303 !PyCFunction_Check(self) ||
308 a = (PyCFunctionObject *)self;
538 PyObject *self = PyCFunction_GET_SELF(func);
544 self, args, kwargs);
553 result = _PyCFunction_TrampolineCall(meth, self, args);
561 EM_JS(PyObject*, _PyCFunctionWithKeywords_TrampolineCall, (PyCFunctionWithKeywords func, PyObject *self, PyObject *args, PyObject *kw), {
562 return wasmTable.get(func)(self, args, kw);