Lines Matching refs:gkey
65 DBT gkey; \
66 memset(&gkey, 0, sizeof(gkey)); \
67 gkey.data = (char *) key; gkey.size = keylen
172 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
192 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
211 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
225 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
248 DBT gkey, gval; local
251 memset(&gkey, 0, sizeof(gkey));
255 gkey.flags |= DB_DBT_MALLOC;
258 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
259 if (gkey.data) {
260 nkey = estrndup(gkey.data, gkey.size);
261 if (newlen) *newlen = gkey.size;
264 if (gkey.data) {
265 free(gkey.data);