Home
last modified time | relevance | path

Searched refs:authorizer_cb (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/sqlite3/test/
Duserfunctions.py385 def authorizer_cb(action, arg1, arg2, dbname, source): member in AuthorizerTests
404 self.con.set_authorizer(self.authorizer_cb)
429 def authorizer_cb(action, arg1, arg2, dbname, source): member in AuthorizerRaiseExceptionTests
438 def authorizer_cb(action, arg1, arg2, dbname, source): member in AuthorizerIllegalTypeTests
447 def authorizer_cb(action, arg1, arg2, dbname, source): member in AuthorizerLargeIntegerTests
/external/python/cpython3/Lib/sqlite3/test/
Duserfunctions.py416 def authorizer_cb(action, arg1, arg2, dbname, source): member in AuthorizerTests
435 self.con.set_authorizer(self.authorizer_cb)
452 def authorizer_cb(action, arg1, arg2, dbname, source): member in AuthorizerRaiseExceptionTests
461 def authorizer_cb(action, arg1, arg2, dbname, source): member in AuthorizerIllegalTypeTests
470 def authorizer_cb(action, arg1, arg2, dbname, source): member in AuthorizerLargeIntegerTests
/external/python/cpython3/Modules/_sqlite/
Dconnection.c997 PyObject* authorizer_cb; in pysqlite_connection_set_authorizer() local
1007 kwlist, &authorizer_cb)) { in pysqlite_connection_set_authorizer()
1011 rc = sqlite3_set_authorizer(self->db, _authorizer_callback, (void*)authorizer_cb); in pysqlite_connection_set_authorizer()
1017 Py_INCREF(authorizer_cb); in pysqlite_connection_set_authorizer()
1018 Py_XSETREF(self->function_pinboard_authorizer_cb, authorizer_cb); in pysqlite_connection_set_authorizer()
/external/python/cpython2/Modules/_sqlite/
Dconnection.c996 PyObject* authorizer_cb; in pysqlite_connection_set_authorizer() local
1006 kwlist, &authorizer_cb)) { in pysqlite_connection_set_authorizer()
1010 rc = sqlite3_set_authorizer(self->db, _authorizer_callback, (void*)authorizer_cb); in pysqlite_connection_set_authorizer()
1016 if (PyDict_SetItem(self->function_pinboard, authorizer_cb, Py_None) == -1) in pysqlite_connection_set_authorizer()