Lines Matching refs:product
947 PyObject *product, *stop=NULL; in longrangeiter_reduce() local
951 product = PyNumber_Multiply(r->len, r->step); in longrangeiter_reduce()
952 if (product == NULL) in longrangeiter_reduce()
954 stop = PyNumber_Add(r->start, product); in longrangeiter_reduce()
955 Py_DECREF(product); in longrangeiter_reduce()
1022 PyObject *product, *new_index, *result; in longrangeiter_next() local
1030 product = PyNumber_Multiply(r->index, r->step); in longrangeiter_next()
1031 if (!product) { in longrangeiter_next()
1036 result = PyNumber_Add(r->start, product); in longrangeiter_next()
1037 Py_DECREF(product); in longrangeiter_next()
1146 PyObject *sum, *diff, *product; in range_reverse() local
1225 product = PyNumber_Multiply(diff, range->step); in range_reverse()
1227 if (!product) in range_reverse()
1230 sum = PyNumber_Add(range->start, product); in range_reverse()
1231 Py_DECREF(product); in range_reverse()