Home
last modified time | relevance | path

Searched refs:cnpos (Results 1 – 3 of 3) sorted by relevance

/third_party/iowow/src/kv/tests/
Diwkv_test5.c158 CU_ASSERT_EQUAL(cur1->cnpos, 17); in iwkv_test5_1()
159 CU_ASSERT_EQUAL(cur2->cnpos, 15); in iwkv_test5_1()
176 CU_ASSERT_EQUAL(cur1->cnpos, 18); in iwkv_test5_1()
177 CU_ASSERT_EQUAL(cur2->cnpos, 15); in iwkv_test5_1()
188 CU_ASSERT_EQUAL(cur1->cnpos, 18); in iwkv_test5_1()
189 CU_ASSERT_EQUAL(cur2->cnpos, 15); in iwkv_test5_1()
209 CU_ASSERT_EQUAL(cur1->cnpos, 1); in iwkv_test5_1()
210 CU_ASSERT_EQUAL(cur2->cnpos, 15); in iwkv_test5_1()
244 CU_ASSERT_EQUAL(cur1->cnpos, 17); in iwkv_test5_1()
/third_party/iowow/src/kv/
Diwkv.c1919 if (cur->cnpos >= idx) { in _sblk_addkv2()
1920 cur->cnpos++; in _sblk_addkv2()
1991 if (cur->cnpos >= idx) { in _sblk_addkv()
1992 cur->cnpos++; in _sblk_addkv()
2097 if (cur->cnpos == idx) { in _sblk_rmkv()
2099 cur->cnpos--; in _sblk_rmkv()
2104 } else if (cur->cnpos > idx) { in _sblk_rmkv()
2105 cur->cnpos--; in _sblk_rmkv()
2391 if (cur->cnpos >= pivot) { in _lx_split_addkv()
2395 cur->cnpos -= pivot; in _lx_split_addkv()
[all …]
Diwkv_internal.h307 uint8_t cnpos; /**< Position in the current `SBLK` node */ member