• Home
  • Raw
  • Download

Lines Matching refs:txnobj

740 static int checkTxnObj(PyObject* txnobj, DB_TXN** txn)  in checkTxnObj()  argument
742 if (txnobj == Py_None || txnobj == NULL) { in checkTxnObj()
746 if (DBTxnObject_Check(txnobj)) { in checkTxnObj()
747 *txn = ((DBTxnObject*)txnobj)->txn; in checkTxnObj()
751 makeTypeError("DBTxn", txnobj); in checkTxnObj()
1421 PyObject* txnobj = NULL; in DB_append() local
1429 &dataobj, &txnobj)) in DB_append()
1443 if (!checkTxnObj(txnobj, &txn)) return NULL; in DB_append()
1599 PyObject *txnobj = NULL; in DB_associate() local
1606 &txnobj)) { in DB_associate()
1610 if (!checkTxnObj(txnobj, &txn)) return NULL; in DB_associate()
1720 PyObject* txnobj = NULL; in _DB_consume() local
1727 &txnobj, &flags)) in _DB_consume()
1739 if (!checkTxnObj(txnobj, &txn)) in _DB_consume()
1789 PyObject* txnobj = NULL; in DB_cursor() local
1794 &txnobj, &flags)) in DB_cursor()
1797 if (!checkTxnObj(txnobj, &txn)) in DB_cursor()
1804 return (PyObject*) newDBCursorObject(dbc, (DBTxnObject *)txnobj, self); in DB_cursor()
1811 PyObject* txnobj = NULL; in DB_delete() local
1819 &keyobj, &txnobj, &flags)) in DB_delete()
1824 if (!checkTxnObj(txnobj, &txn)) { in DB_delete()
1848 PyObject* txnobj = NULL; in DB_compact() local
1862 &txnobj, &startobj, &stopobj, &flags, in DB_compact()
1869 if (!checkTxnObj(txnobj, &txn)) { in DB_compact()
1917 PyObject* txnobj = NULL; in DB_exists() local
1925 &keyobj, &txnobj, &flags)) in DB_exists()
1931 if (!checkTxnObj(txnobj, &txn)) { in DB_exists()
1965 PyObject* txnobj = NULL; in DB_get() local
1977 &keyobj, &dfltobj, &txnobj, &flags, &dlen, in DB_get()
1984 if (!checkTxnObj(txnobj, &txn)) { in DB_get()
2031 PyObject* txnobj = NULL; in DB_pget() local
2043 &keyobj, &dfltobj, &txnobj, &flags, &dlen, in DB_pget()
2050 if (!checkTxnObj(txnobj, &txn)) { in DB_pget()
2126 PyObject* txnobj = NULL; in DB_get_size() local
2134 &keyobj, &txnobj)) in DB_get_size()
2139 if (!checkTxnObj(txnobj, &txn)) { in DB_get_size()
2168 PyObject* txnobj = NULL; in DB_get_both() local
2178 &keyobj, &dataobj, &txnobj, &flags)) in DB_get_both()
2185 !checkTxnObj(txnobj, &txn) ) in DB_get_both()
2326 PyObject* txnobj = NULL; in DB_key_range() local
2334 &keyobj, &txnobj, &flags)) in DB_key_range()
2340 if (!checkTxnObj(txnobj, &txn)) in DB_key_range()
2358 PyObject *txnobj = NULL; in DB_open() local
2369 &txnobj)) in DB_open()
2377 &txnobj)) in DB_open()
2381 if (!checkTxnObj(txnobj, &txn)) return NULL; in DB_open()
2394 INSERT_IN_DOUBLE_LINKED_LIST_TXN(((DBTxnObject *)txnobj)->children_dbs,self); in DB_open()
2395 self->txn=(DBTxnObject *)txnobj; in DB_open()
2424 PyObject* txnobj = NULL; in DB_put() local
2434 &keyobj, &dataobj, &txnobj, &flags, &dlen, &doff)) in DB_put()
2442 !checkTxnObj(txnobj, &txn) ) in DB_put()
3265 PyObject* txnobj = NULL; in DB_stat() local
3270 &flags, &txnobj)) in DB_stat()
3272 if (!checkTxnObj(txnobj, &txn)) in DB_stat()
3416 PyObject* txnobj = NULL; in DB_truncate() local
3421 &txnobj, &flags)) in DB_truncate()
3424 if (!checkTxnObj(txnobj, &txn)) in DB_truncate()
3674 _DB_has_key(DBObject* self, PyObject* keyobj, PyObject* txnobj) in _DB_has_key() argument
3683 if (!checkTxnObj(txnobj, &txn)) { in _DB_has_key()
3731 PyObject* txnobj = NULL; in DB_has_key() local
3735 &keyobj, &txnobj)) in DB_has_key()
3738 return _DB_has_key(self, keyobj, txnobj); in DB_has_key()
3873 PyObject* txnobj = NULL; in DB_keys() local
3876 if (!PyArg_UnpackTuple(args, "keys", 0, 1, &txnobj)) in DB_keys()
3878 if (!checkTxnObj(txnobj, &txn)) in DB_keys()
3887 PyObject* txnobj = NULL; in DB_items() local
3890 if (!PyArg_UnpackTuple(args, "items", 0, 1, &txnobj)) in DB_items()
3892 if (!checkTxnObj(txnobj, &txn)) in DB_items()
3901 PyObject* txnobj = NULL; in DB_values() local
3904 if (!PyArg_UnpackTuple(args, "values", 0, 1, &txnobj)) in DB_values()
3906 if (!checkTxnObj(txnobj, &txn)) in DB_values()
5192 PyObject *txnobj = NULL; in DBEnv_dbremove() local
5198 &file, &database, &txnobj, &flags)) { in DBEnv_dbremove()
5201 if (!checkTxnObj(txnobj, &txn)) { in DBEnv_dbremove()
5220 PyObject *txnobj = NULL; in DBEnv_dbrename() local
5226 &file, &database, &newname, &txnobj, &flags)) { in DBEnv_dbrename()
5229 if (!checkTxnObj(txnobj, &txn)) { in DBEnv_dbrename()
6213 PyObject* txnobj = NULL; in DBEnv_txn_begin() local
6218 &txnobj, &flags)) in DBEnv_txn_begin()
6221 if (!checkTxnObj(txnobj, &txn)) in DBEnv_txn_begin()
6225 return (PyObject*)newDBTxnObject(self, (DBTxnObject *)txnobj, NULL, flags); in DBEnv_txn_begin()
6727 PyObject *txnobj = NULL; in DBEnv_log_printf() local
6732 &string, &txnobj)) in DBEnv_log_printf()
6737 if (!checkTxnObj(txnobj, &txn)) in DBEnv_log_printf()
8425 PyObject *txnobj = NULL; in DBSequence_get() local
8428 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|iOi:get", kwnames, &delta, &txnobj, &flags)) in DBSequence_get()
8432 if (!checkTxnObj(txnobj, &txn)) in DBSequence_get()
8498 PyObject *txnobj = NULL; in DBSequence_open() local
8503 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|Oi:open", kwnames, &keyobj, &txnobj, &flags)) in DBSequence_open()
8506 if (!checkTxnObj(txnobj, &txn)) in DBSequence_open()
8520 INSERT_IN_DOUBLE_LINKED_LIST_TXN(((DBTxnObject *)txnobj)->children_sequences,self); in DBSequence_open()
8521 self->txn=(DBTxnObject *)txnobj; in DBSequence_open()
8532 PyObject *txnobj = NULL; in DBSequence_remove() local
8536 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|Oi:remove", kwnames, &txnobj, &flags)) in DBSequence_remove()
8539 if (!checkTxnObj(txnobj, &txn)) in DBSequence_remove()