Lines Matching refs:gval
64 datum gval; in DBA_FETCH_FUNC() local
70 gval = flatfile_fetch(dba, gkey); in DBA_FETCH_FUNC()
71 if (gval.dptr) { in DBA_FETCH_FUNC()
73 *newlen = gval.dsize; in DBA_FETCH_FUNC()
75 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
76 efree(gval.dptr); in DBA_FETCH_FUNC()
83 datum gval; in DBA_UPDATE_FUNC() local
87 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
88 gval.dsize = vallen; in DBA_UPDATE_FUNC()
90 switch(flatfile_store(dba, gkey, gval, mode==1 ? FLATFILE_INSERT : FLATFILE_REPLACE)) { in DBA_UPDATE_FUNC()
106 datum gval; in DBA_EXISTS_FUNC() local
110 gval = flatfile_fetch(dba, gkey); in DBA_EXISTS_FUNC()
111 if (gval.dptr) { in DBA_EXISTS_FUNC()
112 efree(gval.dptr); in DBA_EXISTS_FUNC()