• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/test/

Lines Matching refs:curs

117 		set curs [$db cursor -txn $ctxn]
118 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
121 [$curs put -keylast $key $datum] 0
129 error_check_good curs_close [$curs close] 0
144 set curs [$db cursor -txn $ctxn]
145 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
148 [$curs put -keyfirst $key $datum] 0
151 error_check_good curs_close [$curs close] 0
167 set curs [$db cursor -txn $ctxn]
168 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
174 [$curs get -get_both $key $curdatum]\
177 [$curs put -after $datum] 0
180 error_check_good curs_close [$curs close] 0
191 set curs [$db cursor -txn $ctxn]
192 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
198 [$curs get -get_both $key $curdatum]\
201 [$curs put -before $datum] 0
204 error_check_good curs_close [$curs close] 0
216 set curs [$db cursor -txn $ctxn]
217 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
221 [$curs get -get_both $key $olddatum]\
224 [$curs put -current $newdatum] 0
229 error_check_good curs_close [$curs close] 0
242 set curs [$db cursor -txn $ctxn]
243 error_check_good "db cursor create" [is_valid_cursor $curs $db] TRUE
246 [$curs get -get_both $key $datum] [list [list $key $datum]]
247 error_check_good "c_del(0)" [$curs del] 0
248 error_check_good curs_close [$curs close] 0
256 set curs [$db cursor -txn $ctxn]
257 error_check_good "db cursor create" [is_valid_cursor $curs $db] TRUE
260 [$curs get -get_both $key $datum] [list [list $key $datum]]
261 error_check_good "c_del(0)" [$curs del] 0
262 error_check_good curs_close [$curs close] 0
270 set curs [$db cursor -txn $ctxn]
271 error_check_good "db cursor create" [is_valid_cursor $curs $db] TRUE
274 [$curs get -get_both $key $datum] [list [list $key $datum]]
275 error_check_good "c_del(0)" [$curs del] 0
278 [$curs get -next] [list [list $key [makedatum_t73 $i 0]]]
279 error_check_good "c_del($i)" [$curs del] 0
281 error_check_good curs_close [$curs close] 0