Lines Matching refs:gval
88 DBT gval; in DBA_FETCH_FUNC() local
94 memset(&gval, 0, sizeof(gval)); in DBA_FETCH_FUNC()
95 if (dba->dbp->get(dba->dbp, &gkey, &gval, 0) == RET_SUCCESS) { in DBA_FETCH_FUNC()
96 return zend_string_init(gval.data, gval.size, /* persistent */ false); in DBA_FETCH_FUNC()
104 DBT gval; in DBA_UPDATE_FUNC() local
110 gval.data = ZSTR_VAL(val); in DBA_UPDATE_FUNC()
111 gval.size = ZSTR_LEN(val); in DBA_UPDATE_FUNC()
113 …return dba->dbp->put(dba->dbp, &gkey, &gval, mode == 1 ? R_NOOVERWRITE : 0) != RET_SUCCESS ? FAILU… in DBA_UPDATE_FUNC()
119 DBT gval; in DBA_EXISTS_FUNC() local
125 return dba->dbp->get(dba->dbp, &gkey, &gval, 0) != RET_SUCCESS ? FAILURE : SUCCESS; in DBA_EXISTS_FUNC()
143 DBT gval; in DBA_FIRSTKEY_FUNC() local
146 memset(&gval, 0, sizeof(gval)); in DBA_FIRSTKEY_FUNC()
148 if (dba->dbp->seq(dba->dbp, &gkey, &gval, R_FIRST) == RET_SUCCESS) { in DBA_FIRSTKEY_FUNC()
158 DBT gval; in DBA_NEXTKEY_FUNC() local
161 memset(&gval, 0, sizeof(gval)); in DBA_NEXTKEY_FUNC()
163 if (dba->dbp->seq(dba->dbp, &gkey, &gval, R_NEXT) == RET_SUCCESS) { in DBA_NEXTKEY_FUNC()