Lines Matching refs:dba
34 #define QDBM_DATA dba_qdbm_data *dba = info->dbf
76 dpclose(dba->dbf); in DBA_CLOSE_FUNC()
77 pefree(dba, info->flags & DBA_PERSISTENT); in DBA_CLOSE_FUNC()
86 value = dpget(dba->dbf, key, keylen, 0, -1, &value_size); in DBA_FETCH_FUNC()
100 if (dpput(dba->dbf, key, keylen, val, vallen, mode == 1 ? DP_DKEEP : DP_DOVER)) { in DBA_UPDATE_FUNC()
116 value = dpget(dba->dbf, key, keylen, 0, -1, NULL); in DBA_EXISTS_FUNC()
129 return dpout(dba->dbf, key, keylen) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()
138 dpiterinit(dba->dbf); in DBA_FIRSTKEY_FUNC()
140 value = dpiternext(dba->dbf, &value_size); in DBA_FIRSTKEY_FUNC()
156 value = dpiternext(dba->dbf, &value_size); in DBA_NEXTKEY_FUNC()
170 dpoptimize(dba->dbf, 0); in DBA_OPTIMIZE_FUNC()
178 dpsync(dba->dbf); in DBA_SYNC_FUNC()