Lines Matching refs:gkey
64 DBT gkey; \
65 memset(&gkey, 0, sizeof(gkey)); \
66 gkey.data = (char *) key; gkey.size = keylen
171 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
191 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
210 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
224 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
247 DBT gkey, gval; local
250 memset(&gkey, 0, sizeof(gkey));
254 gkey.flags |= DB_DBT_MALLOC;
257 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
258 if (gkey.data) {
259 nkey = estrndup(gkey.data, gkey.size);
260 if (newlen) *newlen = gkey.size;
263 if (gkey.data) {
264 free(gkey.data);