Lines Matching refs:gval
58 datum gval; in DBA_FETCH_FUNC() local
65 gval = flatfile_fetch(dba, gkey); in DBA_FETCH_FUNC()
66 if (gval.dptr) { in DBA_FETCH_FUNC()
67 fetched_val = zend_string_init(gval.dptr, gval.dsize, /* persistent */ false); in DBA_FETCH_FUNC()
68 efree(gval.dptr); in DBA_FETCH_FUNC()
76 datum gval; in DBA_UPDATE_FUNC() local
81 gval.dptr = ZSTR_VAL(val); in DBA_UPDATE_FUNC()
82 gval.dsize = ZSTR_LEN(val); in DBA_UPDATE_FUNC()
84 switch(flatfile_store(dba, gkey, gval, mode==1 ? FLATFILE_INSERT : FLATFILE_REPLACE)) { in DBA_UPDATE_FUNC()
103 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()