Lines Matching refs:Py_INCREF
28 Py_INCREF(code); in PyFunction_NewWithQualName()
30 Py_INCREF(globals); in PyFunction_NewWithQualName()
33 Py_INCREF(op->func_name); in PyFunction_NewWithQualName()
46 Py_INCREF(doc); in PyFunction_NewWithQualName()
57 Py_INCREF(module); in PyFunction_NewWithQualName()
64 Py_INCREF(op->func_qualname); in PyFunction_NewWithQualName()
126 Py_INCREF(defaults); in PyFunction_SetDefaults()
156 Py_INCREF(defaults); in PyFunction_SetKwDefaults()
187 Py_INCREF(closure); in PyFunction_SetClosure()
219 Py_INCREF(annotations); in PyFunction_SetAnnotations()
247 Py_INCREF(op->func_code); in func_get_code()
274 Py_INCREF(value); in func_set_code()
282 Py_INCREF(op->func_name); in func_get_name()
296 Py_INCREF(value); in func_set_name()
304 Py_INCREF(op->func_qualname); in func_get_qualname()
318 Py_INCREF(value); in func_set_qualname()
329 Py_INCREF(op->func_defaults); in func_get_defaults()
356 Py_INCREF(op->func_kwdefaults); in func_get_kwdefaults()
385 Py_INCREF(op->func_annotations); in func_get_annotations()
511 Py_INCREF(name); in func_new_impl()
515 Py_INCREF(defaults); in func_new_impl()
519 Py_INCREF(closure); in func_new_impl()
586 Py_INCREF(func); in func_descr_get()
711 Py_INCREF(callable); in cm_init()
813 Py_INCREF(callable); in PyClassMethod_New()
878 Py_INCREF(sm->sm_callable); in sm_descr_get()
892 Py_INCREF(callable); in sm_init()
991 Py_INCREF(callable); in PyStaticMethod_New()