Lines Matching refs:result
525 int result = PyObject_IsSubclass(subclass, self);
526 if (result > 0) {
530 if (result < 0) {
535 result = PyObject_IsSubclass(self, subclass);
536 if (result > 0) {
541 if (result < 0) {
584 PyObject *subtype, *result = NULL, *subclass = NULL;
601 result = Py_True;
602 Py_INCREF(result);
613 result = Py_False;
614 Py_INCREF(result);
619 result = PyObject_CallMethodOneArg(self, &_Py_ID(__subclasscheck__),
623 result = PyObject_CallMethodOneArg(self, &_Py_ID(__subclasscheck__),
625 if (result == NULL) {
629 switch (PyObject_IsTrue(result)) {
631 Py_DECREF(result);
632 result = NULL;
635 Py_DECREF(result);
636 result = PyObject_CallMethodOneArg(self, &_Py_ID(__subclasscheck__),
648 return result;
653 // Return 1 when result is set.
656 PyObject **result);
678 PyObject *ok, *subclasses = NULL, *result = NULL;
693 result = Py_True;
714 result = Py_False;
730 result = Py_True;
738 result = Py_False;
759 result = Py_True;
765 if (subclasscheck_check_registry(impl, subclass, &result)) {
766 // Exception occurred or result is set.
788 result = Py_True;
800 result = Py_False;
805 Py_XINCREF(result);
806 return result;
812 PyObject **result)
817 *result = NULL;
821 *result = Py_True;
872 *result = Py_True;