OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:whichdb
(Results
1 - 10
of
10
) sorted by null
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_bsddb185.py
11
import
whichdb
25
# Verify that
whichdb
correctly sniffs the known hash v2 file
26
self.assertEqual(
whichdb
.
whichdb
(findfile("185test.db")), "bsddb185")
34
ftype =
whichdb
.
whichdb
(dbfile)
test_whichdb.py
2
"""Test script for the
whichdb
module
9
import
whichdb
48
# Check whether
whichdb
correctly guesses module name
53
self.assertEqual(name,
whichdb
.
whichdb
(_fname))
58
self.assertEqual(name,
whichdb
.
whichdb
(_fname))
/external/python/cpython2/Lib/test/
test_bsddb185.py
11
import
whichdb
25
# Verify that
whichdb
correctly sniffs the known hash v2 file
26
self.assertEqual(
whichdb
.
whichdb
(findfile("185test.db")), "bsddb185")
34
ftype =
whichdb
.
whichdb
(dbfile)
test_whichdb.py
1
"""Test script for the
whichdb
module
8
import
whichdb
47
# Check whether
whichdb
correctly guesses module name
52
self.assertEqual(name,
whichdb
.
whichdb
(_fname))
57
self.assertEqual(name,
whichdb
.
whichdb
(_fname))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
anydbm.py
14
dependent on the type of database being opened (determined by
whichdb
70
from
whichdb
import
whichdb
71
result=
whichdb
(file)
whichdb.py
17
def
whichdb
(filename):
function
117
print
whichdb
(filename) or "UNKNOWN", filename
/external/python/cpython2/Lib/
anydbm.py
14
dependent on the type of database being opened (determined by
whichdb
70
from
whichdb
import
whichdb
71
result=
whichdb
(file)
whichdb.py
17
def
whichdb
(filename):
function
117
print
whichdb
(filename) or "UNKNOWN", filename
/external/python/cpython3/Lib/dbm/
__init__.py
9
type of database being opened (determined by the
whichdb
function) in the case
30
__all__ = ['open', '
whichdb
', 'error']
78
result =
whichdb
(file) if 'n' not in flag else None
97
def
whichdb
(filename):
function
188
print(
whichdb
(filename) or "UNKNOWN", filename)
/external/python/cpython3/Lib/test/
test_dbm.py
147
# Check whether
whichdb
correctly guesses module name
152
continue #
whichdb
can't support dbm.dumb
156
self.assertEqual(name, self.dbm.
whichdb
(_fname))
165
self.assertEqual(name, self.dbm.
whichdb
(_fname))
169
# Issue 17198: check that ndbm which is referenced in
whichdb
is defined
173
self.assertIsNone(self.dbm.
whichdb
(db_file[:-3]))
Completed in 415 milliseconds