Lines Matching refs:gval
101 DBT gval = {0}; in DBA_FETCH_FUNC() local
105 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_FETCH_FUNC()
109 if (newlen) *newlen = gval.size; in DBA_FETCH_FUNC()
110 return estrndup(gval.data, gval.size); in DBA_FETCH_FUNC()
115 DBT gval = {0}; in DBA_UPDATE_FUNC() local
119 gval.data = (char *) val; in DBA_UPDATE_FUNC()
120 gval.size = vallen; in DBA_UPDATE_FUNC()
122 if (dba->dbp->put(dba->dbp, NULL, &gkey, &gval, in DBA_UPDATE_FUNC()
131 DBT gval = {0}; in DBA_EXISTS_FUNC() local
135 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_EXISTS_FUNC()
173 DBT gkey = {0}, gval = {0}; local
175 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT)