Lines Matching refs:ilow
427 list_slice(PyListObject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in list_slice() argument
432 if (ilow < 0) in list_slice()
433 ilow = 0; in list_slice()
434 else if (ilow > Py_SIZE(a)) in list_slice()
435 ilow = Py_SIZE(a); in list_slice()
436 if (ihigh < ilow) in list_slice()
437 ihigh = ilow; in list_slice()
440 len = ihigh - ilow; in list_slice()
445 src = a->ob_item + ilow; in list_slice()
456 PyList_GetSlice(PyObject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in PyList_GetSlice() argument
462 return list_slice((PyListObject *)a, ilow, ihigh); in PyList_GetSlice()
574 list_ass_slice(PyListObject *a, Py_ssize_t ilow, Py_ssize_t ihigh, PyObject *v) in list_ass_slice() argument
602 result = list_ass_slice(a, ilow, ihigh, v); in list_ass_slice()
612 if (ilow < 0) in list_ass_slice()
613 ilow = 0; in list_ass_slice()
614 else if (ilow > Py_SIZE(a)) in list_ass_slice()
615 ilow = Py_SIZE(a); in list_ass_slice()
617 if (ihigh < ilow) in list_ass_slice()
618 ihigh = ilow; in list_ass_slice()
622 norig = ihigh - ilow; in list_ass_slice()
641 memcpy(recycle, &item[ilow], s); in list_ass_slice()
650 memcpy(&item[ilow], recycle, s); in list_ass_slice()
663 for (k = 0; k < n; k++, ilow++) { in list_ass_slice()
666 item[ilow] = w; in list_ass_slice()
680 PyList_SetSlice(PyObject *a, Py_ssize_t ilow, Py_ssize_t ihigh, PyObject *v) in PyList_SetSlice() argument
686 return list_ass_slice((PyListObject *)a, ilow, ihigh, v); in PyList_SetSlice()