Lines Matching refs:dbm
57 #define DEFAULT_DBM_PREFIX "socache-dbm-"
123 apr_dbm_t *dbm;
144 if ((rv = apr_dbm_open(&dbm, ctx->data_file,
151 apr_dbm_close(dbm);
197 apr_dbm_t *dbm;
232 if ((rv = apr_dbm_open(&dbm, ctx->data_file,
241 if ((rv = apr_dbm_store(dbm, dbmkey, dbmval)) != APR_SUCCESS) {
245 apr_dbm_close(dbm);
249 apr_dbm_close(dbm);
265 apr_dbm_t *dbm;
281 * XXX: Should we open the dbm against r->pool so the cleanup will
285 if ((rc = apr_dbm_open(&dbm, ctx->data_file, APR_DBM_RWCREATE,
293 rc = apr_dbm_fetch(dbm, dbmkey, &dbmval);
295 apr_dbm_close(dbm);
299 apr_dbm_close(dbm);
306 apr_dbm_close(dbm);
314 apr_dbm_close(dbm);
330 apr_dbm_t *dbm;
341 if ((rv = apr_dbm_open(&dbm, ctx->data_file, APR_DBM_RWCREATE,
349 apr_dbm_delete(dbm, dbmkey);
350 apr_dbm_close(dbm);
357 apr_dbm_t *dbm;
405 if ((rv = apr_dbm_open(&dbm, ctx->data_file, APR_DBM_RWCREATE,
413 apr_dbm_firstkey(dbm, &dbmkey);
417 apr_dbm_fetch(dbm, dbmkey, &dbmval);
433 apr_dbm_nextkey(dbm, &dbmkey);
435 apr_dbm_close(dbm);
438 if (apr_dbm_open(&dbm, ctx->data_file, APR_DBM_RWCREATE,
447 apr_dbm_delete(dbm, keylist[i]);
450 apr_dbm_close(dbm);
465 apr_dbm_t *dbm;
477 if ((rv = apr_dbm_open(&dbm, ctx->data_file, APR_DBM_RWCREATE,
488 apr_dbm_firstkey(dbm, &dbmkey);
489 for ( ; dbmkey.dptr != NULL; apr_dbm_nextkey(dbm, &dbmkey)) {
490 apr_dbm_fetch(dbm, dbmkey, &dbmval);
496 apr_dbm_close(dbm);
521 apr_dbm_t *dbm;
533 if ((rv = apr_dbm_open(&dbm, ctx->data_file, APR_DBM_RWCREATE,
540 rv = apr_dbm_firstkey(dbm, &dbmkey);
543 apr_dbm_fetch(dbm, dbmkey, &dbmval);
557 "dbm `%s' entry iterated", ctx->data_file);
561 rv = apr_dbm_nextkey(dbm, &dbmkey);
563 apr_dbm_close(dbm);
575 "dbm",
589 ap_register_provider(p, AP_SOCACHE_PROVIDER_GROUP, "dbm",