Lines Matching refs:gkey
62 DBT gkey; \
63 memset(&gkey, 0, sizeof(gkey)); \
64 gkey.data = (char *) key; gkey.size = keylen
168 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
188 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
207 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
221 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
244 DBT gkey, gval; local
247 memset(&gkey, 0, sizeof(gkey));
251 gkey.flags |= DB_DBT_MALLOC;
254 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
255 if (gkey.data) {
256 nkey = estrndup(gkey.data, gkey.size);
257 if (newlen) *newlen = gkey.size;
260 if (gkey.data) {
261 free(gkey.data);