Lines Matching refs:dbm
97 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
99 dbm_close(dbm);
116 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
124 result = dbm_delete(dbm, dbkey);
129 if (dbm_error(dbm))
145 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
147 *fd = dbm_dirfno(dbm);
170 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
179 dbdata = dbm_fetch(dbm, dbkey);
184 if (dbm_error(dbm))
206 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
217 result = dbm_store(dbm, dbkey, dbdata,
230 if (dbm_error(dbm))
250 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
252 fd = dbm_dirfno(dbm);
260 fd = dbm_pagfno(dbm);
305 DBM *dbm = db->smndbm_dbm;
308 result = dbm_delete(dbm, dbm_cursor->smndbmc_current_key);
313 if (dbm_error(dbm))
333 DBM *dbm = db->smndbm_dbm;
344 dbm_cursor->smndbmc_current_key = dbm_firstkey(dbm);
347 if (dbm_error(dbm))
354 dbm_cursor->smndbmc_current_key = dbm_nextkey(dbm);
357 if (dbm_error(dbm))
364 dbdata = dbm_fetch(dbm, dbm_cursor->smndbmc_current_key);
369 if (dbm_error(dbm))
396 DBM *dbm = db->smndbm_dbm;
404 result = dbm_store(dbm, dbm_cursor->smndbmc_current_key, dbdata,
417 if (dbm_error(dbm))
502 DBM *dbm = NULL;
565 dbm = dbm_open(db_name, mode, DBMMODE);
566 if (dbm == NULL)
573 db->smndbm_dbm = dbm;
579 if (dbm_dirfno(dbm) == dbm_pagfno(dbm))
587 dbm_dirfno(dbm), &dir_stat_info);
592 dbm_pagfno(dbm),
620 if (dbm != NULL)
621 dbm_close(dbm);