Lines Matching refs:gkey
38 DBT gkey = {0}; \
39 gkey.data = (char *) key; \
40 gkey.size = keylen
105 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_FETCH_FUNC()
122 if (dba->dbp->put(dba->dbp, NULL, &gkey, &gval, in DBA_UPDATE_FUNC()
135 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_EXISTS_FUNC()
146 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS; in DBA_DELETE_FUNC()
173 DBT gkey = {0}, gval = {0}; local
175 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT)
176 || !gkey.data)
179 if (newlen) *newlen = gkey.size;
180 return estrndup(gkey.data, gkey.size);