Lines Matching refs:curs
121 set curs [eval {$db cursor} $txn]
122 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
125 [$curs put -keylast $key $datum] 0
127 set dbc($keys) $curs
142 set curs [eval {$db cursor} $txn]
143 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
146 [$curs put -keyfirst $key $datum] 0
148 set dbc($keys) $curs
162 set curs [eval {$db cursor} $txn]
163 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
169 [$curs get -get_both $key $curdatum]\
172 [$curs put -after $datum] 0
174 set dbc($keys) $curs
186 set curs [eval {$db cursor} $txn]
187 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
193 [$curs get -get_both $key $curdatum]\
196 [$curs put -before $datum] 0
198 set dbc($keys) $curs
214 set curs [eval {$db cursor} $txn]
215 error_check_good "db cursor create" [is_valid_cursor $curs $db]\
219 [$curs get -get_both $key $olddatum]\
222 [$curs put -current $newdatum] 0
224 error_check_good "cursor close" [$curs close] 0