Lines Matching refs:dba
68 dba_qdbm_data *dba = info->dbf; in DBA_CLOSE_FUNC() local
70 dpclose(dba->dbf); in DBA_CLOSE_FUNC()
71 pefree(dba, info->flags & DBA_PERSISTENT); in DBA_CLOSE_FUNC()
76 dba_qdbm_data *dba = info->dbf; in DBA_FETCH_FUNC() local
81 value = dpget(dba->dbf, ZSTR_VAL(key), ZSTR_LEN(key), 0, -1, &value_size); in DBA_FETCH_FUNC()
92 dba_qdbm_data *dba = info->dbf; in DBA_UPDATE_FUNC() local
94 …if (dpput(dba->dbf, ZSTR_VAL(key), ZSTR_LEN(key), ZSTR_VAL(val), ZSTR_LEN(val), mode == 1 ? DP_DKE… in DBA_UPDATE_FUNC()
107 dba_qdbm_data *dba = info->dbf; in DBA_EXISTS_FUNC() local
110 value = dpget(dba->dbf, ZSTR_VAL(key), ZSTR_LEN(key), 0, -1, NULL); in DBA_EXISTS_FUNC()
121 dba_qdbm_data *dba = info->dbf; in DBA_DELETE_FUNC() local
123 return dpout(dba->dbf, ZSTR_VAL(key), ZSTR_LEN(key)) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()
128 dba_qdbm_data *dba = info->dbf; in DBA_FIRSTKEY_FUNC() local
133 dpiterinit(dba->dbf); in DBA_FIRSTKEY_FUNC()
135 value = dpiternext(dba->dbf, &value_size); in DBA_FIRSTKEY_FUNC()
146 dba_qdbm_data *dba = info->dbf; in DBA_NEXTKEY_FUNC() local
151 value = dpiternext(dba->dbf, &value_size); in DBA_NEXTKEY_FUNC()
162 dba_qdbm_data *dba = info->dbf; in DBA_OPTIMIZE_FUNC() local
164 dpoptimize(dba->dbf, 0); in DBA_OPTIMIZE_FUNC()
170 dba_qdbm_data *dba = info->dbf; in DBA_SYNC_FUNC() local
172 dpsync(dba->dbf); in DBA_SYNC_FUNC()