Lines Matching refs:gval
87 datum gval; in DBA_FETCH_FUNC() local
92 gval = fetch(gkey); in DBA_FETCH_FUNC()
93 if (gval.dptr) { in DBA_FETCH_FUNC()
94 return zend_string_init(gval.dptr, gval.dsize, /* persistent */ false); in DBA_FETCH_FUNC()
101 datum gval; in DBA_UPDATE_FUNC() local
108 gval = fetch(gkey); in DBA_UPDATE_FUNC()
109 if (gval.dptr) { in DBA_UPDATE_FUNC()
114 gval.dptr = ZSTR_VAL(val); in DBA_UPDATE_FUNC()
115 gval.dsize = ZSTR_LEN(val); in DBA_UPDATE_FUNC()
117 return (store(gkey, gval) == -1 ? FAILURE : SUCCESS); in DBA_UPDATE_FUNC()
122 datum gval; in DBA_EXISTS_FUNC() local
128 gval = fetch(gkey); in DBA_EXISTS_FUNC()
129 if (gval.dptr) { in DBA_EXISTS_FUNC()