Lines Matching refs:gkey
46 DBT gkey; \
47 memset(&gkey, 0, sizeof(gkey)); \
48 gkey.data = (char *) key; gkey.size = keylen
134 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
151 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
165 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
176 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
199 DBT gkey, gval; local
202 memset(&gkey, 0, sizeof(gkey));
205 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
206 if (gkey.data) {
207 nkey = estrndup(gkey.data, gkey.size);
208 if (newlen) *newlen = gkey.size;