Lines Matching defs:obj
83 _Py_CheckSlotResult(PyObject *obj, const char *slot_name, int success)
91 slot_name, Py_TYPE(obj)->tp_name);
99 slot_name, Py_TYPE(obj)->tp_name);
454 /* Call callable(obj, *args, **kwargs). */
457 PyObject *obj, PyObject *args, PyObject *kwargs)
477 stack[0] = obj;
612 PyObject_CallMethod(PyObject *obj, const char *name, const char *format, ...)
616 if (obj == NULL || name == NULL) {
620 PyObject *callable = PyObject_GetAttrString(obj, name);
639 PyEval_CallMethod(PyObject *obj, const char *name, const char *format, ...)
642 if (obj == NULL || name == NULL) {
646 PyObject *callable = PyObject_GetAttrString(obj, name);
662 _PyObject_CallMethod(PyObject *obj, PyObject *name,
666 if (obj == NULL || name == NULL) {
670 PyObject *callable = PyObject_GetAttr(obj, name);
686 _PyObject_CallMethodId(PyObject *obj, _Py_Identifier *name,
690 if (obj == NULL || name == NULL) {
694 PyObject *callable = _PyObject_GetAttrId(obj, name);
721 _PyObject_CallMethod_SizeT(PyObject *obj, const char *name,
725 if (obj == NULL || name == NULL) {
729 PyObject *callable = PyObject_GetAttrString(obj, name);
745 _PyObject_CallMethodId_SizeT(PyObject *obj, _Py_Identifier *name,
749 if (obj == NULL || name == NULL) {
753 PyObject *callable = _PyObject_GetAttrId(obj, name);
863 PyObject_CallMethodObjArgs(PyObject *obj, PyObject *name, ...)
866 if (obj == NULL || name == NULL) {
871 int is_method = _PyObject_GetMethod(obj, name, &callable);
875 obj = is_method ? obj : NULL;
879 PyObject *result = object_vacall(tstate, obj, callable, vargs);
888 _PyObject_CallMethodIdObjArgs(PyObject *obj, _Py_Identifier *name, ...)
891 if (obj == NULL || name == NULL) {
901 int is_method = _PyObject_GetMethod(obj, oname, &callable);
905 obj = is_method ? obj : NULL;
909 PyObject *result = object_vacall(tstate, obj, callable, vargs);