Lines Matching refs: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_add_unordered(rdb_t *rdb, uint32_t idx) {
121 rstat = rdb_check(rdb, idx);
129 if (rdb_add_index(rdb, idx) != err_status_ok) {
139 rdb_t rdb;
144 if (rdb_init(&rdb) != err_status_ok) {
151 err = rdb_check_add(&rdb, idx);
158 err = rdb_check_expect_failure(&rdb, idx);
164 if (rdb_init(&rdb) != err_status_ok) {
174 err = rdb_check_add_unordered(&rdb, ircvd);
177 err = rdb_check_expect_failure(&rdb, ircvd);
183 if (rdb_init(&rdb) != err_status_ok) {
190 err = rdb_check_add(&rdb, ircvd);
193 err = rdb_check_expect_failure(&rdb, ircvd);
199 if (rdb_init(&rdb) != err_status_ok) {
206 err = rdb_check_add(&rdb, idx + 513);
213 err = rdb_check_expect_failure(&rdb, idx);
230 rdb_t rdb;
234 if (rdb_init(&rdb) != err_status_ok) {
241 if (rdb_check(&rdb, i+2) != err_status_ok)
243 if (rdb_add_index(&rdb, i+2) != err_status_ok)
245 if (rdb_check(&rdb, i+1) != err_status_ok)
247 if (rdb_add_index(&rdb, i+1) != err_status_ok)
249 if (rdb_check(&rdb, i) != err_status_ok)
251 if (rdb_add_index(&rdb, i) != err_status_ok)