Lines Matching refs:DB_BENCH_ASSERT
89 DB_BENCH_ASSERT(db_env_create(&dbenv, 0) == 0);
91 DB_BENCH_ASSERT(dbenv->set_cachesize(dbenv, 0, cachesize, 0) == 0);
93 DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR,
96 DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR,
104 DB_BENCH_ASSERT(db_create(&dbp, dbenv, 0) == 0);
106 DB_BENCH_ASSERT(dbp->set_re_len(dbp, (u_int32_t)dsize) == 0);
108 DB_BENCH_ASSERT(
111 DB_BENCH_ASSERT(
117 DB_BENCH_ASSERT((second =
120 DB_BENCH_ASSERT(db_create(&second[i], dbenv, 0) == 0);
123 DB_BENCH_ASSERT(second[i]->open(second[i], NULL,
126 DB_BENCH_ASSERT(second[i]->open(second[i],
135 DB_BENCH_ASSERT(dbp->associate(
138 DB_BENCH_ASSERT(dbp->associate(
165 DB_BENCH_ASSERT(
171 DB_BENCH_ASSERT(dbp->put(dbp, NULL, &key, &data, 0) == 0);
188 DB_BENCH_ASSERT(second[i]->close(second[i], 0) == 0);
192 DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
193 DB_BENCH_ASSERT(dbenv->close(dbenv, 0) == 0);