Lines Matching refs:DB_BENCH_ASSERT
146 DB_BENCH_ASSERT(conf.pagesz >= 512 && conf.pagesz <= 65536 &&
150 DB_BENCH_ASSERT(conf.cachesz > 20480);
151 DB_BENCH_ASSERT(conf.ksize == 0 || conf.orderedkeys == 0);
154 DB_BENCH_ASSERT(db_env_create(&dbenv, 0) == 0);
157 DB_BENCH_ASSERT(
161 DB_BENCH_ASSERT(dbenv->open(dbenv, "TESTDIR",
164 DB_BENCH_ASSERT(dbenv->open(dbenv, "TESTDIR",
168 DB_BENCH_ASSERT(db_create(&dbp, dbenv, 0) == 0);
170 DB_BENCH_ASSERT(
178 DB_BENCH_ASSERT(
180 DB_BENCH_ASSERT(
184 DB_BENCH_ASSERT(dbp->open(
187 DB_BENCH_ASSERT(dbp->open(
204 DB_BENCH_ASSERT(dbp->sync(dbp, 0) == 0);
209 DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
210 DB_BENCH_ASSERT(dbenv->close(dbenv, 0) == 0);
271 DB_BENCH_ASSERT(config->orderedkeys == 0);
279 DB_BENCH_ASSERT(
290 DB_BENCH_ASSERT(dbp->put(dbp, NULL, &key, &data, 0) == 0);
333 DB_BENCH_ASSERT(
340 DB_BENCH_ASSERT(dbp->put(dbp, NULL, &key, &data, 0) == 0);
348 DB_BENCH_ASSERT(dbp->cursor(dbp, NULL, &dbc, 0) == 0);
350 DB_BENCH_ASSERT(dbc->c_close(dbc) == 0);
362 DB_BENCH_ASSERT(dbp->cursor(dbp, NULL, &dbc, 0) == 0);
365 DB_BENCH_ASSERT(dbc->c_del(dbc, 0) == 0);
366 DB_BENCH_ASSERT (ret == DB_NOTFOUND);
378 DB_BENCH_ASSERT
381 DB_BENCH_ASSERT(ret == 0);
472 DB_BENCH_ASSERT(dbp->stat(dbp, &hstat, NULL, 0) == 0);
474 DB_BENCH_ASSERT(dbp->stat(dbp, &hstat, 0) == 0);
476 DB_BENCH_ASSERT(dbp->stat(dbp, NULL, &hstat, 0) == 0);
493 DB_BENCH_ASSERT(dbp->stat(dbp, &bstat, NULL, 0) == 0);
495 DB_BENCH_ASSERT(dbp->stat(dbp, &bstat, 0) == 0);
497 DB_BENCH_ASSERT(dbp->stat(dbp, NULL, &bstat, 0) == 0);