Lines Matching refs:di_bsddb
34 DB *di_bsddb; member
45 #define check_bsddbobject_open(v, r) if ((v)->di_bsddb == NULL) \
74 dp->di_bsddb = dbopen(file, flags, mode, DB_HASH, &info); in newdbhashobject()
76 if (dp->di_bsddb == NULL) { in newdbhashobject()
124 dp->di_bsddb = dbopen(file, flags, mode, DB_BTREE, &info); in newdbbtobject()
126 if (dp->di_bsddb == NULL) { in newdbbtobject()
177 dp->di_bsddb = NULL; in newdbrnobject()
182 dp->di_bsddb = dbopen(file, flags, mode, DB_RECNO, &info); in newdbrnobject()
185 if (dp->di_bsddb == NULL) { in newdbrnobject()
220 if (dp->di_bsddb != NULL) { in bsddb_dealloc()
223 status = (dp->di_bsddb->close)(dp->di_bsddb); in bsddb_dealloc()
252 for (status = (dp->di_bsddb->seq)(dp->di_bsddb, in bsddb_length()
255 status = (dp->di_bsddb->seq)(dp->di_bsddb, in bsddb_length()
300 status = (dp->di_bsddb->get)(dp->di_bsddb, &krec, &drec, 0); in bsddb_subscript()
352 status = (dp->di_bsddb->del)(dp->di_bsddb, &krec, 0); in bsddb_ass_sub()
364 status = (dp->di_bsddb->put)(dp->di_bsddb, &krec, &drec, 0); in bsddb_ass_sub()
386 if (dp->di_bsddb != NULL) { in bsddb_close()
389 status = (dp->di_bsddb->close)(dp->di_bsddb); in bsddb_close()
392 dp->di_bsddb = NULL; in bsddb_close()
397 dp->di_bsddb = NULL; in bsddb_close()
416 status = (dp->di_bsddb->seq)(dp->di_bsddb, &krec, &drec, R_FIRST); in bsddb_keys()
442 status = (dp->di_bsddb->seq) in bsddb_keys()
443 (dp->di_bsddb, &krec, &drec, R_NEXT); in bsddb_keys()
492 status = (dp->di_bsddb->get)(dp->di_bsddb, &krec, &drec, 0); in bsddb_has_key()
532 status = (dp->di_bsddb->seq)(dp->di_bsddb, &krec, &drec, R_CURSOR); in bsddb_set_location()
572 status = (dp->di_bsddb->seq)(dp->di_bsddb, &krec, in bsddb_seq()
634 status = (dp->di_bsddb->sync)(dp->di_bsddb, 0); in bsddb_sync()