• Home
  • Raw
  • Download

Lines Matching refs:cur1

32   IWKV_cursor cur1;  in iwkv_test5_2()  local
55 rc = iwkv_cursor_open(db, &cur1, IWKV_CURSOR_BEFORE_FIRST, 0); in iwkv_test5_2()
58 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_NEXT); in iwkv_test5_2()
60 rc = iwkv_cursor_del(cur1, 0); in iwkv_test5_2()
63 rc = iwkv_cursor_close(&cur1); in iwkv_test5_2()
66 rc = iwkv_cursor_open(db, &cur1, IWKV_CURSOR_BEFORE_FIRST, 0); in iwkv_test5_2()
68 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_NEXT); in iwkv_test5_2()
70 rc = iwkv_cursor_close(&cur1); in iwkv_test5_2()
86 rc = iwkv_cursor_open(db, &cur1, IWKV_CURSOR_AFTER_LAST, 0); in iwkv_test5_2()
89 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_PREV); in iwkv_test5_2()
91 rc = iwkv_cursor_del(cur1, 0); in iwkv_test5_2()
94 rc = iwkv_cursor_close(&cur1); in iwkv_test5_2()
97 rc = iwkv_cursor_open(db, &cur1, IWKV_CURSOR_BEFORE_FIRST, 0); in iwkv_test5_2()
99 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_NEXT); in iwkv_test5_2()
101 rc = iwkv_cursor_close(&cur1); in iwkv_test5_2()
114 IWKV_cursor cur1, cur2; in iwkv_test5_1() local
143 rc = iwkv_cursor_open(db, &cur1, IWKV_CURSOR_EQ, &key); in iwkv_test5_1()
158 CU_ASSERT_EQUAL(cur1->cnpos, 17); in iwkv_test5_1()
176 CU_ASSERT_EQUAL(cur1->cnpos, 18); in iwkv_test5_1()
188 CU_ASSERT_EQUAL(cur1->cnpos, 18); in iwkv_test5_1()
209 CU_ASSERT_EQUAL(cur1->cnpos, 1); in iwkv_test5_1()
212 rc = iwkv_cursor_get(cur1, &key, &val); in iwkv_test5_1()
218 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_NEXT); in iwkv_test5_1()
220 rc = iwkv_cursor_get(cur1, &key, &val); in iwkv_test5_1()
226 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_PREV); in iwkv_test5_1()
228 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_PREV); in iwkv_test5_1()
230 rc = iwkv_cursor_get(cur1, &key, &val); in iwkv_test5_1()
236 rc = iwkv_cursor_to(cur1, IWKV_CURSOR_PREV); in iwkv_test5_1()
238 rc = iwkv_cursor_get(cur1, &key, &val); in iwkv_test5_1()
244 CU_ASSERT_EQUAL(cur1->cnpos, 17); in iwkv_test5_1()
246 rc = iwkv_cursor_close(&cur1); in iwkv_test5_1()