Searched refs:dbenv (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/bsddb/test/ |
D | test_early_close.py | 33 dbenv = db.DBEnv() 34 dbenv.open(self.homeDir, 38 d = db.DB(dbenv) 39 d2 = db.DB(dbenv) 47 dbenv.close() # This "close" should close the child db handle also 51 dbenv = db.DBEnv() 52 dbenv.open(self.homeDir, 56 d = db.DB(dbenv) 70 d = db.DB(dbenv) 75 dbenv.close() [all …]
|
D | test_distributed_transactions.py | 19 self.dbenv = db.DBEnv() 20 self.dbenv.set_tx_max(self.num_txns) 21 self.dbenv.set_lk_max_lockers(self.num_txns*2) 22 self.dbenv.set_lk_max_locks(self.num_txns*2) 23 self.dbenv.set_lk_max_objects(self.num_txns*2) 25 self.dbenv.set_flags(db.DB_TXN_NOSYNC,True) 26 self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_THREAD | 30 self.db = db.DB(self.dbenv) 33 txn=self.dbenv.txn_begin() 46 self.dbenv.log_flush() [all …]
|
D | test_sequence.py | 13 self.dbenv = db.DBEnv() 14 self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL, 0666) 15 self.d = db.DB(self.dbenv) 26 self.dbenv.close() 27 del self.dbenv
|
D | test_replication.py | 284 def m2c(dbenv, control, rec, lsnp, envid, flags) : argument 287 def c2m(dbenv, control, rec, lsnp, envid, flags) : argument 523 dbenv = db.DBEnv() 525 dbenv.repmgr_get_ack_policy() 529 dbenv.close() 530 del dbenv
|
D | test_associate.py | 383 dbenv=self.env,
|
/external/python/cpython2/Lib/bsddb/ |
D | dbshelve.py | 81 dbenv=None, dbname=None): argument 109 d = DBShelf(dbenv) 122 def __init__(self, dbenv=None): argument 123 self.db = db.DB(dbenv)
|
D | dbobj.py | 124 def __init__(self, dbenv, *args, **kwargs): argument 126 self._cobj = db.DB(*((dbenv._cobj,) + args), **kwargs)
|
/external/python/cpython2/Modules/ |
D | _bsddb.c | 7237 DBEnvObject *dbenv; in _dbenv_event_notifyCallback() local 7243 dbenv = (DBEnvObject *)db_env->app_private; in _dbenv_event_notifyCallback() 7244 callback = dbenv->event_notifyCallback; in _dbenv_event_notifyCallback() 7247 args = Py_BuildValue("(Oii)", dbenv, event, *((int *)event_info)); in _dbenv_event_notifyCallback() 7249 args = Py_BuildValue("(OiO)", dbenv, event, Py_None); in _dbenv_event_notifyCallback() 7372 DBEnvObject *dbenv; in _DBEnv_rep_transportCallback() local 7380 dbenv = (DBEnvObject *)db_env->app_private; in _DBEnv_rep_transportCallback() 7381 rep_transport = dbenv->rep_transport; in _DBEnv_rep_transportCallback() 7391 dbenv, in _DBEnv_rep_transportCallback()
|