Lines Matching refs:DB
34 static int __xa_close __P((DB *, u_int32_t));
35 static int __xa_cursor __P((DB *, DB_TXN *, DBC **, u_int32_t));
36 static int __xa_del __P((DB *, DB_TXN *, DBT *, u_int32_t));
37 static int __xa_fd __P((DB *, int *));
38 static int __xa_get __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
39 static int __xa_put __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
40 static int __xa_stat __P((DB *, void *, void *(*)(size_t), u_int32_t));
41 static int __xa_sync __P((DB *, u_int32_t));
50 DB **dbpp;
52 DB *dbp, *real_dbp;
87 if ((ret = __os_calloc(1, sizeof(DB), &dbp)) != 0) {
113 DB *dbp; in __xa_close()
116 DB *real_dbp;
125 real_dbp = (DB *)dbp->internal;
128 __os_free(dbp, sizeof(DB));
134 DB *dbp; in __xa_cursor()
139 DB *real_dbp;
143 real_dbp = (DB *)dbp->internal;
172 DB *dbp; in __xa_fd()
175 DB *real_dbp;
179 real_dbp = (DB *)dbp->internal;
185 DB *dbp; in __xa_del()
190 DB *real_dbp;
192 real_dbp = (DB *)dbp->internal;
200 DB *dbp; in __xa_get()
206 DB *real_dbp;
208 real_dbp = (DB *)dbp->internal;
216 DB *dbp; in __xa_put()
222 DB *real_dbp;
224 real_dbp = (DB *)dbp->internal;
232 DB *dbp; in __xa_stat()
237 DB *real_dbp;
239 real_dbp = (DB *)dbp->internal;
245 DB *dbp; in __xa_sync()
248 DB *real_dbp;
250 real_dbp = (DB *)dbp->internal;