Lines Matching refs:gval
125 DBT gval; in DBA_FETCH_FUNC() local
130 memset(&gval, 0, sizeof(gval)); in DBA_FETCH_FUNC()
131 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_FETCH_FUNC()
132 if (newlen) *newlen = gval.size; in DBA_FETCH_FUNC()
133 new = estrndup(gval.data, gval.size); in DBA_FETCH_FUNC()
140 DBT gval; in DBA_UPDATE_FUNC() local
144 memset(&gval, 0, sizeof(gval)); in DBA_UPDATE_FUNC()
145 gval.data = (char *) val; in DBA_UPDATE_FUNC()
146 gval.size = vallen; in DBA_UPDATE_FUNC()
148 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval, in DBA_UPDATE_FUNC()
157 DBT gval; in DBA_EXISTS_FUNC() local
161 memset(&gval, 0, sizeof(gval)); in DBA_EXISTS_FUNC()
162 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_EXISTS_FUNC()
196 DBT gkey, gval; in DBA_NEXTKEY_FUNC() local
200 memset(&gval, 0, sizeof(gval)); in DBA_NEXTKEY_FUNC()
202 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) { in DBA_NEXTKEY_FUNC()