Lines Matching refs:gval
148 DBT gval; local
156 memset(&gval, 0, sizeof(gval));
158 gval.flags |= DB_DBT_MALLOC;
160 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
161 fetched_value = zend_string_init(gval.data, gval.size, /* persistent */ false);
163 free(gval.data);
172 DBT gval; local
179 memset(&gval, 0, sizeof(gval));
180 gval.data = ZSTR_VAL(val);
181 gval.size = ZSTR_LEN(val);
183 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
193 DBT gval; local
200 memset(&gval, 0, sizeof(gval));
203 gval.flags |= DB_DBT_MALLOC;
206 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
208 free(gval.data);
246 DBT gkey, gval; local
250 memset(&gval, 0, sizeof(gval));
254 gval.flags |= DB_DBT_MALLOC;
256 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
264 if (gval.data) {
265 free(gval.data);