Home
last modified time | relevance | path

Searched refs:long_step (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Ditertoolsmodule.c3238 PyObject *long_step; member
3267 PyObject *long_step = NULL; in count_new() local
3271 kwlist, &long_cnt, &long_step)) in count_new()
3275 (long_step != NULL && !PyNumber_Check(long_step))) { in count_new()
3293 if (long_step == NULL) { in count_new()
3294 long_step = PyInt_FromLong(1); in count_new()
3295 if (long_step == NULL) { in count_new()
3300 Py_INCREF(long_step); in count_new()
3302 assert(long_cnt != NULL && long_step != NULL); in count_new()
3305 if (!PyInt_Check(long_step) || in count_new()
[all …]
/external/python/cpython3/Modules/
Ditertoolsmodule.c3936 PyObject *long_step; member
3965 PyObject *long_step = NULL; in count_new() local
3970 kwlist, &long_cnt, &long_step)) in count_new()
3974 (long_step != NULL && !PyNumber_Check(long_step))) { in count_new()
3980 (long_step == NULL || PyLong_Check(long_step)); in count_new()
3999 if (long_step == NULL) in count_new()
4000 long_step = _PyLong_One; in count_new()
4001 Py_INCREF(long_step); in count_new()
4003 assert(long_cnt != NULL && long_step != NULL); in count_new()
4007 assert(PyLong_Check(long_step)); in count_new()
[all …]