Lines Matching refs:gval
99 datum gval; in DBA_FETCH_FUNC() local
103 gval = fetch(gkey); in DBA_FETCH_FUNC()
104 if(gval.dptr) { in DBA_FETCH_FUNC()
105 if(newlen) *newlen = gval.dsize; in DBA_FETCH_FUNC()
106 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
113 datum gval; in DBA_UPDATE_FUNC() local
118 gval = fetch(gkey); in DBA_UPDATE_FUNC()
119 if(gval.dptr) { in DBA_UPDATE_FUNC()
124 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
125 gval.dsize = vallen; in DBA_UPDATE_FUNC()
127 return (store(gkey, gval) == -1 ? FAILURE : SUCCESS); in DBA_UPDATE_FUNC()
132 datum gval; in DBA_EXISTS_FUNC() local
135 gval = fetch(gkey); in DBA_EXISTS_FUNC()
136 if(gval.dptr) { in DBA_EXISTS_FUNC()