/third_party/python/Lib/test/ |
H A D | test_dbm.py | 1 """Test script for the dbm.open function based on testdumbdbm.py""" 4 import dbm namespace 10 from dbm import ndbm 18 # Iterates over every database module supported by dbm currently available. 21 for name in dbm._names: 26 dbm._modules[name] = mod 50 f = dbm.open(_fname, 'n') 65 self.assertRaises(dbm.error, dbm.open, _fname) 68 f = dbm [all...] |
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: 66 with dbm [all...] |
H A D | test_shelve.py | 2 import dbm namespace 197 self.addCleanup(setattr, dbm, '_defaultmod', dbm._defaultmod) 198 dbm._defaultmod = self.dbm_mod 210 assert dbm_mod.__name__.startswith('dbm.')
|
H A D | test_dbm_dumb.py | 11 import dbm.dumb as dumbdbm namespace
|
H A D | pickletester.py | 4 import dbm namespace 1167 self.assertIs(self.loads(pickled), dbm.whichdb) 2866 (dbm.whichdb, 'whichdb', 'whichdb'),
|
/third_party/python/Tools/scripts/ |
H A D | db2pickle.py | 9 -a - open using dbm (any supported format) 11 -d - open as dbm file 28 import dbm.ndbm as dbm namespace 30 dbm = None variable 32 import dbm.gnu as gdbm namespace 36 import dbm.ndbm as anydbm namespace 53 ["hash", "btree", "recno", "dbm", 97 sys.stderr.write("dbm module unavailable.\n") 103 sys.stderr.write("dbm [all...] |
H A D | pickle2db.py | 10 -a - open using dbm (open any supported format) 12 -d - open as dbm.ndbm file 13 -g - open as dbm.gnu file 33 import dbm.ndbm as dbm namespace 35 dbm = None variable 37 import dbm.gnu as gdbm namespace 41 import dbm.ndbm as anydbm namespace 58 ["hash", "btree", "recno", "dbm", "anydbm", 102 sys.stderr.write("dbm modul [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | VulkanPipelineCachePerf.cpp | 91 gl::DrawBufferMask dbm; in step() local 105 (void)mCache.getPipeline(VK_NULL_HANDLE, pc, rp, pl, am, ctm, dbm, ssm, in step() 114 (void)mCache.getPipeline(VK_NULL_HANDLE, pc, rp, pl, am, ctm, dbm, ssm, defaultSpecConsts, in step()
|
/third_party/python/Lib/ |
H A D | shelve.py | 4 with dbm databases is that the values (not the keys!) in a shelf can 14 d = shelve.open(filename) # open, with (g)dbm filename -- no suffix 179 set_location() that have no counterpart in [g]dbm databases. 219 """Shelf implementation using the "dbm" generic dbm interface. 221 This is initialized with the filename for the dbm database. 226 import dbm namespace 227 Shelf.__init__(self, dbm.open(filename, flag), protocol, writeback) 237 dbm.open(). The optional protocol parameter specifies the
|
H A D | datetime.py | 36 dbm = 0 variable 38 _DAYS_BEFORE_MONTH.append(dbm) 39 dbm += dim 40 del dbm, dim
|
/third_party/python/Lib/dbm/ |
H A D | __init__.py | 1 """Generic interface to all dbm clones. 5 import dbm 6 d = dbm.open(file, 'w', 0o666) 8 The returned object is a dbm.gnu, dbm.ndbm or dbm.dumb object, dependent on the 10 of an existing dbm. If the dbm does not exist and the create or new flag ('c' 11 or 'n') was specified, the dbm type will be determined by the availability of 26 tested for existence, and add interfaces to other dbm [all...] |
/third_party/sqlite/src/ |
H A D | shell.c | 9514 sqlite3 *dbm; /* In-memory db for this analysis */ member 10231 ** Search database dbm for an index compatible with the one idxCreateFromCons() 10240 sqlite3* dbm, /* Database to search */ in idxFindCompatible() 10254 rc = idxPrintfPrepareStmt(dbm, &pIdxList, 0, "PRAGMA index_list=%Q", zTbl); in idxFindCompatible() 10265 rc = idxPrintfPrepareStmt(dbm, &pInfo, 0, "PRAGMA index_xInfo=%Q", zIdx); in idxFindCompatible() 10325 sqlite3 *dbm = p->dbm; in idxCreateFromCons() local 10327 if( (pEq || pTail) && 0==idxFindCompatible(&rc, dbm, pScan, pEq, pTail) ){ in idxCreateFromCons() 10362 rc = sqlite3_exec(dbm, zFind, countNonzeros, &i, 0); in idxCreateFromCons() 10386 rc = sqlite3_exec(dbm, zId in idxCreateFromCons() 10238 idxFindCompatible( int *pRc, sqlite3* dbm, IdxScan *pScan, IdxConstraint *pEq, IdxConstraint *pTail ) idxFindCompatible() argument 10548 sqlite3 *dbm = p->dbm; idxFindIndexes() local [all...] |
/third_party/python/ |
H A D | configure | 1850 override order to check db backends for dbm; a valid 15268 DBM *dbm = dbm_open(NULL, 0, 0)
|