Lines Matching refs:ilow
815 array_slice(arrayobject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in array_slice() argument
820 if (ilow < 0) in array_slice()
821 ilow = 0; in array_slice()
822 else if (ilow > Py_SIZE(a)) in array_slice()
823 ilow = Py_SIZE(a); in array_slice()
826 if (ihigh < ilow) in array_slice()
827 ihigh = ilow; in array_slice()
830 np = (arrayobject *) newarrayobject(state->ArrayType, ihigh - ilow, a->ob_descr); in array_slice()
833 if (ihigh > ilow) { in array_slice()
834 memcpy(np->ob_item, a->ob_item + ilow * a->ob_descr->itemsize, in array_slice()
835 (ihigh-ilow) * a->ob_descr->itemsize); in array_slice()
942 array_del_slice(arrayobject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in array_del_slice() argument
946 if (ilow < 0) in array_del_slice()
947 ilow = 0; in array_del_slice()
948 else if (ilow > Py_SIZE(a)) in array_del_slice()
949 ilow = Py_SIZE(a); in array_del_slice()
952 if (ihigh < ilow) in array_del_slice()
953 ihigh = ilow; in array_del_slice()
957 d = ihigh-ilow; in array_del_slice()