Lines Matching defs:result
189 PyObject *tmp1 = NULL, *tmp2 = NULL, *result;
217 result = zero;
218 Py_INCREF(result);
219 return result;
231 if ((result = PyNumber_Add(tmp2, one)) == NULL)
238 return result;
257 PyObject *incr, *result;
262 result = PyNumber_Add(r->start, i);
269 result = PyNumber_Add(r->start, incr);
272 return result;
280 PyObject *i, *result;
323 result = compute_item(r, i);
325 return result;
344 rangeobject *result;
365 result = make_range_object(Py_TYPE(r), substart, substop, substep);
366 if (result != NULL) {
367 return (PyObject *) result;
387 int result = -1;
406 result = 0;
417 /* result = ((int(ob) - start) % step) == 0 */
418 result = PyObject_RichCompareBool(tmp2, zero, Py_EQ);
422 return result;
479 int result;
486 result = range_equals((rangeobject*)self, (rangeobject*)other);
487 if (result == -1)
490 result = !result;
491 if (result)
518 Py_hash_t result = -1;
550 result = PyObject_Hash(t);
553 return result;
560 int result = range_contains_long(r, ob);
561 if (result == -1)
563 return PyLong_FromLong(result);
654 PyObject *i, *result;
658 result = compute_range_item(self, i);
660 return result;
813 /* return the result */
885 * required. The result always fits in an unsigned long.
967 /* return the result */
1020 PyObject *product, *new_index, *result;
1034 result = PyNumber_Add(r->start, product);
1036 if (result) {
1043 return result;