Lines Matching refs:dba
32 #define QDBM_DATA dba_qdbm_data *dba = info->dbf
74 dpclose(dba->dbf); in DBA_CLOSE_FUNC()
75 pefree(dba, info->flags & DBA_PERSISTENT); in DBA_CLOSE_FUNC()
84 value = dpget(dba->dbf, key, keylen, 0, -1, &value_size); in DBA_FETCH_FUNC()
98 if (dpput(dba->dbf, key, keylen, val, vallen, mode == 1 ? DP_DKEEP : DP_DOVER)) { in DBA_UPDATE_FUNC()
114 value = dpget(dba->dbf, key, keylen, 0, -1, NULL); in DBA_EXISTS_FUNC()
127 return dpout(dba->dbf, key, keylen) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()
136 dpiterinit(dba->dbf); in DBA_FIRSTKEY_FUNC()
138 value = dpiternext(dba->dbf, &value_size); in DBA_FIRSTKEY_FUNC()
154 value = dpiternext(dba->dbf, &value_size); in DBA_NEXTKEY_FUNC()
168 dpoptimize(dba->dbf, 0); in DBA_OPTIMIZE_FUNC()
176 dpsync(dba->dbf); in DBA_SYNC_FUNC()