Searched refs:psyco_adapters (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Modules/_sqlite/ |
D | microprotocols.c | 36 PyObject *psyco_adapters; variable 44 if ((psyco_adapters = PyDict_New()) == NULL) { in pysqlite_microprotocols_init() 48 return PyDict_SetItemString(dict, "adapters", psyco_adapters); in pysqlite_microprotocols_init() 67 rc = PyDict_SetItem(psyco_adapters, key, cast); in pysqlite_microprotocols_add() 89 adapter = PyDict_GetItem(psyco_adapters, key); in pysqlite_microprotocols_adapt()
|
D | microprotocols.h | 33 extern PyObject *psyco_adapters;
|
/external/python/cpython3/Modules/_sqlite/ |
D | microprotocols.c | 35 static PyObject *psyco_adapters = NULL; variable 43 if ((psyco_adapters = PyDict_New()) == NULL) { in pysqlite_microprotocols_init() 47 return PyDict_SetItemString(dict, "adapters", psyco_adapters); in pysqlite_microprotocols_init() 66 rc = PyDict_SetItem(psyco_adapters, key, cast); in pysqlite_microprotocols_add() 90 adapter = PyDict_GetItemWithError(psyco_adapters, key); in pysqlite_microprotocols_adapt()
|