Searched refs:bsddb (Results 1 - 12 of 12) sorted by relevance

/external/python/cpython2/Lib/
H A Ddbhash.py1 """Provide a (g)dbm-compatible interface to bsddb.hashopen."""
7 import bsddb namespace
15 error = bsddb.error # Exported for anydbm
18 return bsddb.hashopen(file, flag, mode)
/external/python/cpython2/Tools/scripts/
H A Ddb2pickle.py10 -b - open as bsddb btree file
13 -h - open as bsddb hash file
14 -r - open as bsddb recno file
24 import bsddb namespace
26 bsddb = None variable
77 dbopen = bsddb.hashopen
79 sys.stderr.write("bsddb module unavailable.\n")
83 dbopen = bsddb.btopen
85 sys.stderr.write("bsddb module unavailable.\n")
89 dbopen = bsddb
[all...]
H A Dpickle2db.py11 -b - open as bsddb btree file
14 -h - open as bsddb hash file
15 -r - open as bsddb recno file
29 import bsddb namespace
31 bsddb = None variable
82 dbopen = bsddb.hashopen
84 sys.stderr.write("bsddb module unavailable.\n")
88 dbopen = bsddb.btopen
90 sys.stderr.write("bsddb module unavailable.\n")
94 dbopen = bsddb
[all...]
/external/python/cpython3/Tools/scripts/
H A Ddb2pickle.py10 -b - open as bsddb btree file
13 -h - open as bsddb hash file
14 -r - open as bsddb recno file
24 import bsddb namespace
26 bsddb = None variable
77 dbopen = bsddb.hashopen
79 sys.stderr.write("bsddb module unavailable.\n")
83 dbopen = bsddb.btopen
85 sys.stderr.write("bsddb module unavailable.\n")
89 dbopen = bsddb
[all...]
H A Dpickle2db.py11 -b - open as bsddb btree file
14 -h - open as bsddb hash file
15 -r - open as bsddb recno file
29 import bsddb namespace
31 bsddb = None variable
82 dbopen = bsddb.hashopen
84 sys.stderr.write("bsddb module unavailable.\n")
88 dbopen = bsddb.btopen
90 sys.stderr.write("bsddb module unavailable.\n")
94 dbopen = bsddb
[all...]
/external/python/cpython2/Lib/bsddb/test/
H A Dtest_all.py9 import bsddb3 as bsddb namespace
12 import bsddb namespace
213 self._db = bsddb._db.DB_orig(*args, **kwargs)
355 if (key != bsddb._db.DB_DONOTINDEX) :
380 self._dbenv = bsddb._db.DBEnv_orig(*args, **kwargs)
401 self._dbsequence = bsddb._db.DBSequence_orig(db._db, *args, **kwargs)
415 bsddb._db.DBEnv_orig = bsddb._db.DBEnv
416 bsddb._db.DB_orig = bsddb
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_bsddb3.py1 # Test driver for bsddb package.
15 import_module('bsddb', deprecated=True)
20 requires('bsddb')
58 from bsddb import db
59 from bsddb.test import test_all
68 run_unittest(test_all.suite(module_prefix='bsddb.test.',
H A Dtest_bsddb.py1 """Test script for the bsddb C module by Roger E. Masse
11 bsddb = test_support.import_module('bsddb', deprecated=True) variable
219 # if the bsddb implementation leaves the DBCursor open during
259 # do the bsddb._DBWithCursor iterator internals leak cursors?
308 self.assertIs(self.openmethod[0], bsddb.btopen)
319 openmethod = [bsddb.btopen]
323 openmethod = [bsddb.btopen]
331 openmethod = [bsddb.btopen]
338 openmethod = [bsddb
[all...]
H A Dtest___all__.py8 # Setup bsddb warnings
10 bsddb = support.import_module('bsddb', deprecated=True) variable
/external/python/cpython2/PCbuild/
H A Dbuild.bat34 echo. --no-bsddb Do not attempt to build _bsddb
83 if "%~1"=="--no-bsddb" (set IncludeBsddb=false) & shift & goto CheckOpts
/external/python/cpython2/Lib/bsddb/
H A D__init__.py38 For the full featured object oriented interface use the bsddb.db module
48 warnings.warnpy3k("in 3.x, the bsddb module has been removed; "
52 "bsddb.__init__")
58 # python as bsddb._bsddb.
68 from bsddb.dbutils import DeadlockWrap as _DeadlockWrap
79 error = db.DBError # So bsddb.error will mean something...
H A Ddbtables.py60 from bsddb import db

Completed in 217 milliseconds