Home
last modified time | relevance | path

Searched refs:db_env (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/
D_bsddb.c343 _CHECK_OBJECT_NOT_CLOSED(env->db_env, DBError, DBEnv)
549 static void _db_errorCallback(const DB_ENV *db_env, in _db_errorCallback() argument
899 DB_ENV* db_env = NULL; in newDBObject() local
924 db_env = arg->db_env; in newDBObject()
941 err = db_create(&self->db, db_env, flags); in newDBObject()
1106 self->db_env = NULL; in newDBEnvObject()
1125 err = db_env_create(&self->db_env, flags); in newDBEnvObject()
1132 self->db_env->set_errcall(self->db_env, _db_errorCallback); in newDBEnvObject()
1133 self->db_env->app_private = self; in newDBEnvObject()
1146 if (self->db_env) { in DBEnv_dealloc()
[all …]
Dbsddb.h139 DB_ENV* db_env; member
/external/python/cpython2/Lib/bsddb/test/
Dtest_fileid.py30 self.db_env = db.DBEnv()
31 self.db_env.open(self.db_env_path, db.DB_CREATE|db.DB_INIT_MPOOL)
34 self.db_env.fileid_reset(self.db_path_2)
36 self.db1 = db.DB(self.db_env)
40 self.db2 = db.DB(self.db_env)
47 self.db_env.close()