Lines Matching refs:k
134 MDB_val k, v; in DBA_FETCH_FUNC() local
147 k.mv_size = ZSTR_LEN(key); in DBA_FETCH_FUNC()
148 k.mv_data = ZSTR_VAL(key); in DBA_FETCH_FUNC()
150 rc = mdb_get(LMDB_IT(txn), LMDB_IT(dbi), &k, &v); in DBA_FETCH_FUNC()
175 MDB_val k, v; in DBA_UPDATE_FUNC() local
183 k.mv_size = ZSTR_LEN(key); in DBA_UPDATE_FUNC()
184 k.mv_data = ZSTR_VAL(key); in DBA_UPDATE_FUNC()
188 rc = mdb_put(LMDB_IT(txn), LMDB_IT(dbi), &k, &v, mode == 1 ? MDB_NOOVERWRITE : 0); in DBA_UPDATE_FUNC()
210 MDB_val k, v; in DBA_EXISTS_FUNC() local
222 k.mv_size = ZSTR_LEN(key); in DBA_EXISTS_FUNC()
223 k.mv_data = ZSTR_VAL(key); in DBA_EXISTS_FUNC()
225 rc = mdb_get(LMDB_IT(txn), LMDB_IT(dbi), &k, &v); in DBA_EXISTS_FUNC()
246 MDB_val k; in DBA_DELETE_FUNC() local
254 k.mv_size = ZSTR_LEN(key); in DBA_DELETE_FUNC()
255 k.mv_data = ZSTR_VAL(key); in DBA_DELETE_FUNC()
257 rc = mdb_del(LMDB_IT(txn), LMDB_IT(dbi), &k, NULL); in DBA_DELETE_FUNC()
277 MDB_val k, v; in DBA_FIRSTKEY_FUNC() local
293 rc = mdb_cursor_get(LMDB_IT(cur), &k, &v, MDB_FIRST); in DBA_FIRSTKEY_FUNC()
304 if (k.mv_data) { in DBA_FIRSTKEY_FUNC()
305 ret = zend_string_init(k.mv_data, k.mv_size, /* persistent */ false); in DBA_FIRSTKEY_FUNC()
316 MDB_val k, v; in DBA_NEXTKEY_FUNC() local
325 rc = mdb_cursor_get(LMDB_IT(cur), &k, &v, MDB_NEXT); in DBA_NEXTKEY_FUNC()
336 if (k.mv_data) { in DBA_NEXTKEY_FUNC()
337 ret = zend_string_init(k.mv_data, k.mv_size, /* persistent */ false); in DBA_NEXTKEY_FUNC()