Lines Matching refs:gkey
149 DBT gkey; local
152 memset(&gkey, 0, sizeof(gkey));
153 gkey.data = ZSTR_VAL(key);
154 gkey.size = ZSTR_LEN(key);
160 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
173 DBT gkey; local
175 memset(&gkey, 0, sizeof(gkey));
176 gkey.data = ZSTR_VAL(key);
177 gkey.size = ZSTR_LEN(key);
183 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
194 DBT gkey; local
196 memset(&gkey, 0, sizeof(gkey));
197 gkey.data = ZSTR_VAL(key);
198 gkey.size = ZSTR_LEN(key);
206 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
218 DBT gkey; local
220 memset(&gkey, 0, sizeof(gkey));
221 gkey.data = ZSTR_VAL(key);
222 gkey.size = ZSTR_LEN(key);
224 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
246 DBT gkey, gval; local
249 memset(&gkey, 0, sizeof(gkey));
253 gkey.flags |= DB_DBT_MALLOC;
256 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
257 if (gkey.data) {
258 key = zend_string_init(gkey.data, gkey.size, /* persistent */ false);
261 if (gkey.data) {
262 free(gkey.data);