Lines Matching refs:gval
96 datum gval; in DBA_FETCH_FUNC() local
100 gval = fetch(gkey); in DBA_FETCH_FUNC()
101 if(gval.dptr) { in DBA_FETCH_FUNC()
102 if(newlen) *newlen = gval.dsize; in DBA_FETCH_FUNC()
103 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
110 datum gval; in DBA_UPDATE_FUNC() local
115 gval = fetch(gkey); in DBA_UPDATE_FUNC()
116 if(gval.dptr) { in DBA_UPDATE_FUNC()
121 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
122 gval.dsize = vallen; in DBA_UPDATE_FUNC()
124 return (store(gkey, gval) == -1 ? FAILURE : SUCCESS); in DBA_UPDATE_FUNC()
129 datum gval; in DBA_EXISTS_FUNC() local
132 gval = fetch(gkey); in DBA_EXISTS_FUNC()
133 if(gval.dptr) { in DBA_EXISTS_FUNC()