Lines Matching refs:cur1
479 IWKV_cursor cur1; in iwkv_test1_impl() local
481 rc = iwkv_cursor_open(db1, &cur1, IWKV_CURSOR_BEFORE_FIRST, 0); in iwkv_test1_impl()
483 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_PREV); in iwkv_test1_impl()
485 rc = iwkv_cursor_close(&cur1); in iwkv_test1_impl()
488 rc = iwkv_cursor_open(db1, &cur1, IWKV_CURSOR_AFTER_LAST, 0); in iwkv_test1_impl()
490 rc = iwkv_cursor_get(cur1, &key, &val); in iwkv_test1_impl()
492 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_NEXT); in iwkv_test1_impl()
494 rc = iwkv_cursor_close(&cur1); in iwkv_test1_impl()
497 rc = iwkv_cursor_open(db1, &cur1, IWKV_CURSOR_AFTER_LAST, 0); in iwkv_test1_impl()
500 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_PREV); in iwkv_test1_impl()
507 iwrc rc2 = iwkv_cursor_get(cur1, &key, &val); in iwkv_test1_impl()
515 rc2 = iwkv_cursor_to(cur1, IWKV_CURSOR_PREV); in iwkv_test1_impl()
517 rc2 = iwkv_cursor_get(cur1, &key, &val); in iwkv_test1_impl()
523 rc2 = iwkv_cursor_to(cur1, IWKV_CURSOR_NEXT); in iwkv_test1_impl()
528 } while (!(rc = iwkv_cursor_to(cur1, IWKV_CURSOR_PREV))); in iwkv_test1_impl()
530 rc = iwkv_cursor_close(&cur1); in iwkv_test1_impl()
534 rc = iwkv_cursor_open(db1, &cur1, IWKV_CURSOR_BEFORE_FIRST, 0); in iwkv_test1_impl()
535 while (!(rc = iwkv_cursor_to(cur1, IWKV_CURSOR_NEXT))) { in iwkv_test1_impl()
538 iwrc rc2 = iwkv_cursor_get(cur1, &key, &val); in iwkv_test1_impl()
548 rc = iwkv_cursor_close(&cur1); in iwkv_test1_impl()
559 rc = iwkv_cursor_open(db1, &cur1, IWKV_CURSOR_EQ, &key); in iwkv_test1_impl()
561 iwrc rc2 = iwkv_cursor_get(cur1, &key, &val); in iwkv_test1_impl()
572 rc2 = iwkv_cursor_to_key(cur1, IWKV_CURSOR_GE, &key); in iwkv_test1_impl()
577 rc2 = iwkv_cursor_get(cur1, &key, &val); in iwkv_test1_impl()
590 rc2 = iwkv_cursor_to_key(cur1, IWKV_CURSOR_EQ, &key); in iwkv_test1_impl()
593 rc = iwkv_cursor_close(&cur1); in iwkv_test1_impl()
633 rc = iwkv_cursor_open(db1, &cur1, IWKV_CURSOR_EQ, &key); in iwkv_test1_impl()
635 rc = iwkv_cursor_set(cur1, &val, 0); in iwkv_test1_impl()
639 rc = iwkv_cursor_get(cur1, &key, &val); in iwkv_test1_impl()
644 rc = iwkv_cursor_close(&cur1); in iwkv_test1_impl()
654 rc = iwkv_cursor_open(db1, &cur1, IWKV_CURSOR_EQ, &key); in iwkv_test1_impl()
656 rc = iwkv_cursor_set(cur1, &val, 0); in iwkv_test1_impl()
660 rc = iwkv_cursor_get(cur1, &key, &val); in iwkv_test1_impl()
665 rc = iwkv_cursor_close(&cur1); in iwkv_test1_impl()