Searched refs:ndbm (Results 1 - 8 of 8) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_dbm_ndbm.py | 3 import_helper.import_module("dbm.ndbm") #skip if not supported 6 import dbm.ndbm namespace 7 from dbm.ndbm import error 13 self.d = dbm.ndbm.open(self.filename, 'c') 21 self.d = dbm.ndbm.open(self.filename, 'c') 41 if dbm.ndbm.library == 'Berkeley DB': 44 self.d = dbm.ndbm.open(self.filename, 'c') 57 self.d = dbm.ndbm.open(self.filename, mode) 63 with dbm.ndbm.open(self.filename, 'c') as db: 64 db["ndbm contex [all...] |
H A D | test_dbm.py | 10 from dbm import ndbm namespace 12 ndbm = None variable 191 @unittest.skipUnless(ndbm, reason='Test requires ndbm') 193 # Issue 17198: check that ndbm which is referenced in whichdb is defined
|
/third_party/python/Lib/dbm/ |
H A D | __init__.py | 8 The returned object is a dbm.gnu, dbm.ndbm or dbm.dumb object, dependent on the 41 _names = ['dbm.gnu', 'dbm.ndbm', 'dbm.dumb'] 48 from dbm import ndbm namespace 50 ndbm = None variable in error 105 - the name of the dbm submodule (e.g. "ndbm" or "gnu") if recognized. 111 # Check for ndbm first -- this has a .pag and a .dir file 118 return "dbm.ndbm" 128 if ndbm is not None: 129 d = ndbm.open(filename) 131 return "dbm.ndbm" [all...] |
/third_party/python/Tools/scripts/ |
H A D | db2pickle.py | 28 import dbm.ndbm as dbm 36 import dbm.ndbm as anydbm 109 sys.stderr.write("dbm.ndbm module unavailable.\n")
|
H A D | pickle2db.py | 12 -d - open as dbm.ndbm file 33 import dbm.ndbm as dbm 41 import dbm.ndbm as anydbm 114 sys.stderr.write("dbm.ndbm module unavailable.\n")
|
/third_party/musl/libc-test/src/api/ |
H A D | ndbm.c | 2 #include <ndbm.h>
|
/third_party/python/Modules/ |
H A D | _dbmmodule.c | 12 /* Some Linux systems install gdbm/ndbm.h, but not ndbm.h. This supports 17 #include <gdbm/ndbm.h> 19 #include <gdbm-ndbm.h> 21 #error "No gdbm/ndbm.h or gdbm-ndbm.h available" 25 #include <ndbm.h> 34 #error "No ndbm.h available!"
|
/third_party/python/ |
H A D | configure | 1852 names `ndbm', `gdbm' and `bdb'. 15032 for ac_header in ndbm.h 15034 ac_fn_c_check_header_compile "$LINENO" "ndbm.h" "ac_cv_header_ndbm_h" "$ac_includes_default" 15133 # "gdbm-ndbm.h" and "gdbm/ndbm.h" are both normalized to "gdbm_ndbm_h" 15141 ac_fn_c_check_header_compile "$LINENO" "gdbm/ndbm.h" "ac_cv_header_gdbm_ndbm_h" "$ac_includes_default" 15168 ac_fn_c_check_header_compile "$LINENO" "gdbm-ndbm.h" "ac_cv_header_gdbm_ndbm_h" "$ac_includes_default" 15309 with_dbmliborder=gdbm:ndbm:bdb 15318 ndbm) : 15333 as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:... (gdbm:ndbm [all...] |
Completed in 16 milliseconds