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.py393 def authorizer_cb(action, arg1, arg2, dbname, source): member in AuthorizerTests
412 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/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()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c969 PyObject* authorizer_cb; in pysqlite_connection_set_authorizer() local
979 kwlist, &authorizer_cb)) { in pysqlite_connection_set_authorizer()
983 if (PyDict_SetItem(self->function_pinboard, authorizer_cb, Py_None) == -1) { in pysqlite_connection_set_authorizer()
986 rc = sqlite3_set_authorizer(self->db, _authorizer_callback, (void*)authorizer_cb); in pysqlite_connection_set_authorizer()