Lines Matching refs:next_row
53 Py_CLEAR(self->next_row); in pysqlite_cursor_init_impl()
94 Py_VISIT(self->next_row); in cursor_traverse()
111 Py_CLEAR(self->next_row); in cursor_clear()
439 Py_CLEAR(self->next_row); in _pysqlite_query_execute()
617 self->next_row = _pysqlite_fetch_one_row(self); in _pysqlite_query_execute()
618 if (self->next_row == NULL) in _pysqlite_query_execute()
775 PyObject* next_row; in pysqlite_cursor_iternext() local
787 if (!self->next_row) { in pysqlite_cursor_iternext()
795 next_row_tuple = self->next_row; in pysqlite_cursor_iternext()
797 self->next_row = NULL; in pysqlite_cursor_iternext()
800 next_row = PyObject_CallFunction(self->row_factory, "OO", self, next_row_tuple); in pysqlite_cursor_iternext()
801 if (next_row == NULL) { in pysqlite_cursor_iternext()
802 self->next_row = next_row_tuple; in pysqlite_cursor_iternext()
807 next_row = next_row_tuple; in pysqlite_cursor_iternext()
814 Py_DECREF(next_row); in pysqlite_cursor_iternext()
819 Py_DECREF(next_row); in pysqlite_cursor_iternext()
825 self->next_row = _pysqlite_fetch_one_row(self); in pysqlite_cursor_iternext()
826 if (self->next_row == NULL) { in pysqlite_cursor_iternext()
833 return next_row; in pysqlite_cursor_iternext()