Lines Matching refs:PyFunctionObject
12 PyFunctionObject *op = PyObject_GC_New(PyFunctionObject,
70 return ((PyFunctionObject *) op) -> func_code;
80 return ((PyFunctionObject *) op) -> func_globals;
90 return ((PyFunctionObject *) op) -> func_module;
100 return ((PyFunctionObject *) op) -> func_defaults;
119 Py_XSETREF(((PyFunctionObject *)op)->func_defaults, defaults);
130 return ((PyFunctionObject *) op) -> func_closure;
151 Py_XSETREF(((PyFunctionObject *)op)->func_closure, closure);
157 #define OFF(x) offsetof(PyFunctionObject, x)
185 func_get_dict(PyFunctionObject *op)
199 func_set_dict(PyFunctionObject *op, PyObject *value)
225 func_get_code(PyFunctionObject *op)
234 func_set_code(PyFunctionObject *op, PyObject *value)
267 func_get_name(PyFunctionObject *op)
274 func_set_name(PyFunctionObject *op, PyObject *value)
295 func_get_defaults(PyFunctionObject *op)
308 func_set_defaults(PyFunctionObject *op, PyObject *value)
370 PyFunctionObject *newfunc;
424 newfunc = (PyFunctionObject *)PyFunction_New((PyObject *)code,
446 func_dealloc(PyFunctionObject *op)
463 func_repr(PyFunctionObject *op)
471 func_traverse(PyFunctionObject *f, visitproc visit, void *arg)
547 sizeof(PyFunctionObject),
569 offsetof(PyFunctionObject, func_weakreflist), /* tp_weaklistoffset */
579 offsetof(PyFunctionObject, func_dict), /* tp_dictoffset */