Searched refs:cursors (Results 1 – 2 of 2) sorted by relevance
89 self->cursors = NULL; in pysqlite_connection_init()168 self->cursors = PyList_New(0); in pysqlite_connection_init()169 if (!self->statements || !self->cursors) { in pysqlite_connection_init()255 for (i = 0; i < PyList_Size(self->cursors); i++) { in pysqlite_do_all_statements()256 weakref = PyList_GetItem(self->cursors, i); in pysqlite_do_all_statements()291 Py_XDECREF(self->cursors); in pysqlite_connection_dealloc()310 if (PyList_Append(connection->cursors, weakref) != 0) { in pysqlite_connection_register_cursor()834 for (i = 0; i < PyList_Size(self->cursors); i++) { in _pysqlite_drop_unused_cursor_references()835 weakref = PyList_GetItem(self->cursors, i); in _pysqlite_drop_unused_cursor_references()844 Py_DECREF(self->cursors); in _pysqlite_drop_unused_cursor_references()[all …]
75 PyObject* cursors; member