Lines Matching refs:gval
98 DBT gval = {0}; in DBA_FETCH_FUNC() local
102 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_FETCH_FUNC()
106 if (newlen) *newlen = gval.size; in DBA_FETCH_FUNC()
107 return estrndup(gval.data, gval.size); in DBA_FETCH_FUNC()
112 DBT gval = {0}; in DBA_UPDATE_FUNC() local
116 gval.data = (char *) val; in DBA_UPDATE_FUNC()
117 gval.size = vallen; in DBA_UPDATE_FUNC()
119 if (dba->dbp->put(dba->dbp, NULL, &gkey, &gval, in DBA_UPDATE_FUNC()
128 DBT gval = {0}; in DBA_EXISTS_FUNC() local
132 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_EXISTS_FUNC()
170 DBT gkey = {0}, gval = {0}; local
172 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT)