Lines Matching refs:curs
128 set curs [eval {$db cursor} $txn]
129 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
132 [$curs put -keylast $key $datum] 0
134 set dbc($keys) $curs
149 set curs [eval {$db cursor} $txn]
150 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
153 [$curs put -keyfirst $key $datum] 0
155 set dbc($keys) $curs
169 set curs [eval {$db cursor} $txn]
170 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
176 [$curs get -get_both $key $curdatum]\
179 [$curs put -after $datum] 0
181 set dbc($keys) $curs
193 set curs [eval {$db cursor} $txn]
194 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
200 [$curs get -get_both $key $curdatum]\
203 [$curs put -before $datum] 0
205 set dbc($keys) $curs
221 set curs [eval {$db cursor} $txn]
222 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
226 [$curs get -get_both $key $olddatum]\
229 [$curs put -current $newdatum] 0
231 error_check_good "cursor close" [$curs close] 0