Lines Matching refs:gval
62 datum gval; in DBA_FETCH_FUNC() local
68 gval = flatfile_fetch(dba, gkey); in DBA_FETCH_FUNC()
69 if (gval.dptr) { in DBA_FETCH_FUNC()
71 *newlen = gval.dsize; in DBA_FETCH_FUNC()
73 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
74 efree(gval.dptr); in DBA_FETCH_FUNC()
81 datum gval; in DBA_UPDATE_FUNC() local
85 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
86 gval.dsize = vallen; in DBA_UPDATE_FUNC()
88 switch(flatfile_store(dba, gkey, gval, mode==1 ? FLATFILE_INSERT : FLATFILE_REPLACE)) { in DBA_UPDATE_FUNC()
104 datum gval; in DBA_EXISTS_FUNC() local
108 gval = flatfile_fetch(dba, gkey); in DBA_EXISTS_FUNC()
109 if (gval.dptr) { in DBA_EXISTS_FUNC()
110 efree(gval.dptr); in DBA_EXISTS_FUNC()