Searched refs:clearto (Results 1 – 2 of 2) sorted by relevance
196 Pdata_clear(Pdata *self, Py_ssize_t clearto) in Pdata_clear() argument201 if (clearto < 0) return stackUnderflow(); in Pdata_clear()202 if (clearto >= self->length) return 0; in Pdata_clear()204 for (i = self->length, p = self->data + clearto; in Pdata_clear()205 --i >= clearto; in Pdata_clear()209 self->length = clearto; in Pdata_clear()
196 Pdata_clear(Pdata *self, int clearto) in Pdata_clear() argument201 if (clearto < 0) return stackUnderflow(); in Pdata_clear()202 if (clearto >= self->length) return 0; in Pdata_clear()204 for (i = self->length, p = self->data + clearto; in Pdata_clear()205 --i >= clearto; in Pdata_clear()209 self->length = clearto; in Pdata_clear()