Lines Matching defs:rdb
48 #include "rdb.h"
84 print_rdb(rdb_t *rdb) {
85 printf("rdb: {%u, %s}\n", rdb->window_start, v128_bit_string(&rdb->bitmask));
89 rdb_check_add(rdb_t *rdb, uint32_t idx) {
91 if (rdb_check(rdb, idx) != err_status_ok) {
95 if (rdb_add_index(rdb, idx) != err_status_ok) {
104 rdb_check_expect_failure(rdb_t *rdb, uint32_t idx) {
107 err = rdb_check(rdb, idx);
117 rdb_check_unordered(rdb_t *rdb, uint32_t idx) {
121 rstat = rdb_check(rdb, idx);
131 rdb_t rdb;
136 if (rdb_init(&rdb) != err_status_ok) {
143 err = rdb_check_add(&rdb, idx);
150 err = rdb_check_expect_failure(&rdb, idx);
156 if (rdb_init(&rdb) != err_status_ok) {
166 err = rdb_check_unordered(&rdb, ircvd);
182 rdb_t rdb;
186 if (rdb_init(&rdb) != err_status_ok) {
193 if (rdb_check(&rdb, i+2) != err_status_ok)
195 if (rdb_add_index(&rdb, i+2) != err_status_ok)
197 if (rdb_check(&rdb, i+1) != err_status_ok)
199 if (rdb_add_index(&rdb, i+1) != err_status_ok)
201 if (rdb_check(&rdb, i) != err_status_ok)
203 if (rdb_add_index(&rdb, i) != err_status_ok)