Home
last modified time | relevance | path

Searched refs:clinic_state (Results 1 - 9 of 9) sorted by relevance

/third_party/python/Modules/_sqlite/clinic/
H A Drow.c.h16 if ((type == clinic_state()->RowType || in pysqlite_row_new()
17 type->tp_init == clinic_state()->RowType->tp_init) && in pysqlite_row_new()
24 if (!PyObject_TypeCheck(PyTuple_GET_ITEM(args, 0), clinic_state()->CursorType)) { in pysqlite_row_new()
25 _PyArg_BadArgument("Row", "argument 1", (clinic_state()->CursorType)->tp_name, PyTuple_GET_ITEM(args, 0)); in pysqlite_row_new()
H A Dcursor.c.h15 if ((Py_IS_TYPE(self, clinic_state()->CursorType) || in pysqlite_cursor_init()
16 Py_TYPE(self)->tp_new == clinic_state()->CursorType->tp_new) && in pysqlite_cursor_init()
23 if (!PyObject_TypeCheck(PyTuple_GET_ITEM(args, 0), clinic_state()->ConnectionType)) { in pysqlite_cursor_init()
24 _PyArg_BadArgument("Cursor", "argument 1", (clinic_state()->ConnectionType)->tp_name, PyTuple_GET_ITEM(args, 0)); in pysqlite_cursor_init()
H A Dmodule.c.h204 PyObject *proto = (PyObject *)clinic_state()->PrepareProtocolType; in pysqlite_adapt()
H A Dconnection.c.h27 PyObject *factory = (PyObject*)clinic_state()->ConnectionType; in pysqlite_connection_init()
831 if (!PyObject_TypeCheck(args[0], clinic_state()->ConnectionType)) { in pysqlite_connection_backup()
832 _PyArg_BadArgument("backup", "argument 'target'", (clinic_state()->ConnectionType)->tp_name, args[0]); in pysqlite_connection_backup()
/third_party/python/Modules/_sqlite/
H A Drow.c27 #define clinic_state() (pysqlite_get_state_by_type(type)) macro
29 #undef clinic_state macro
33 class _sqlite3.Row "pysqlite_Row *" "clinic_state()->RowType"
68 cursor: object(type='pysqlite_Cursor *', subclass_of='clinic_state()->CursorType')
H A Dblob.c4 #define clinic_state() (pysqlite_get_state_by_type(Py_TYPE(self))) macro
6 #undef clinic_state macro
10 class _sqlite3.Blob "pysqlite_Blob *" "clinic_state()->BlobType"
H A Dmodule.c36 #define clinic_state() (pysqlite_get_state(module)) macro
38 #undef clinic_state macro
227 proto: object(c_default='(PyObject *)clinic_state()->PrepareProtocolType') = PrepareProtocolType
H A Dcursor.c37 #define clinic_state() (pysqlite_get_state_by_type(Py_TYPE(self))) macro
39 #undef clinic_state macro
54 class _sqlite3.Cursor "pysqlite_Cursor *" "clinic_state()->CursorType"
83 connection: object(type='pysqlite_Connection *', subclass_of='clinic_state()->ConnectionType')
H A Dconnection.c109 #define clinic_state() (pysqlite_get_state_by_type(Py_TYPE(self))) macro
111 #undef clinic_state macro
115 class _sqlite3.Connection "pysqlite_Connection *" "clinic_state()->ConnectionType"
170 factory: object(c_default='(PyObject*)clinic_state()->ConnectionType') = ConnectionType
1912 target: object(type='pysqlite_Connection *', subclass_of='clinic_state()->ConnectionType')

Completed in 11 milliseconds