Lines Matching refs:one
165 PyObject *one = NULL;
198 if ((one = PyLong_FromLong(1L)) == NULL)
204 if ((diff = PyNumber_Subtract(tmp1, one)) == NULL)
210 if ((result = PyNumber_Add(tmp2, one)) == NULL)
217 Py_DECREF(one);
225 Py_XDECREF(one);
440 PyObject *one;
456 one = PyLong_FromLong(1);
457 if (!one)
459 cmp_result = PyObject_RichCompareBool(r0->length, one, Py_EQ);
460 Py_DECREF(one);
527 PyObject *one;
530 one = PyLong_FromLong(1);
531 if (!one)
533 cmp_result = PyObject_RichCompareBool(r->length, one, Py_EQ);
534 Py_DECREF(one);
742 /* There are 2 types of iterators, one for C longs, the other for
884 Else for step > 0, if n values are in the range, the last one is
1053 PyObject *one, *product, *new_index, *result;
1057 one = PyLong_FromLong(1);
1058 if (!one)
1061 new_index = PyNumber_Add(r->index, one);
1062 Py_DECREF(one);
1180 PyObject *one, *sum, *diff, *product;
1254 one = PyLong_FromLong(1);
1255 if (!one)
1258 diff = PyNumber_Subtract(it->len, one);
1259 Py_DECREF(one);