Lines Matching refs:gkey
48 DBT gkey; \
49 memset(&gkey, 0, sizeof(gkey)); \
50 gkey.data = (char *) key; gkey.size = keylen
136 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
153 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
167 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
178 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
201 DBT gkey, gval; local
204 memset(&gkey, 0, sizeof(gkey));
207 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
208 if (gkey.data) {
209 nkey = estrndup(gkey.data, gkey.size);
210 if (newlen) *newlen = gkey.size;