Lines Matching refs:flags
80 def open(filename, flags=db.DB_CREATE, mode=0660, filetype=db.DB_HASH, argument
94 if type(flags) == type(''):
95 sflag = flags
97 flags = db.DB_RDONLY
99 flags = 0
101 flags = db.DB_CREATE
103 flags = db.DB_CREATE
105 flags = db.DB_TRUNCATE | db.DB_CREATE
110 d.open(filename, dbname, filetype, flags, mode)
230 def associate(self, secondaryDB, callback, flags=0): argument
239 return self.db.associate(secondaryDB, _shelf_callback, flags)
255 def get_both(self, key, value, txn=None, flags=0): argument
257 data = self.db.get(key, data, txn, flags)
261 def cursor(self, txn=None, flags=0): argument
262 c = DBShelfCursor(self.db.cursor(txn, flags))
267 def put(self, key, value, txn=None, flags=0): argument
269 return self.db.put(key, data, txn, flags)
272 def join(self, cursorList, flags=0): argument
303 def dup(self, flags=0): argument
304 c = DBShelfCursor(self.dbc.dup(flags))
309 def put(self, key, value, flags=0): argument
311 return self.dbc.put(key, data, flags)
319 def get_1(self, flags): argument
320 rec = self.dbc.get(flags)
323 def get_2(self, key, flags): argument
324 rec = self.dbc.get(key, flags)
327 def get_3(self, key, value, flags): argument
329 rec = self.dbc.get(key, flags)
333 def current(self, flags=0): return self.get_1(flags|db.DB_CURRENT) argument
334 def first(self, flags=0): return self.get_1(flags|db.DB_FIRST) argument
335 def last(self, flags=0): return self.get_1(flags|db.DB_LAST) argument
336 def next(self, flags=0): return self.get_1(flags|db.DB_NEXT) argument
337 def prev(self, flags=0): return self.get_1(flags|db.DB_PREV) argument
338 def consume(self, flags=0): return self.get_1(flags|db.DB_CONSUME) argument
339 def next_dup(self, flags=0): return self.get_1(flags|db.DB_NEXT_DUP) argument
340 def next_nodup(self, flags=0): return self.get_1(flags|db.DB_NEXT_NODUP) argument
341 def prev_nodup(self, flags=0): return self.get_1(flags|db.DB_PREV_NODUP) argument
344 def get_both(self, key, value, flags=0): argument
346 rec = self.dbc.get_both(key, flags)
350 def set(self, key, flags=0): argument
351 rec = self.dbc.set(key, flags)
354 def set_range(self, key, flags=0): argument
355 rec = self.dbc.set_range(key, flags)
358 def set_recno(self, recno, flags=0): argument
359 rec = self.dbc.set_recno(recno, flags)