Home
last modified time | relevance | path

Searched refs:dbs (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/bsddb/test/
Dtest_early_close.py102 dbs=[db.DB(dbenv) for i in xrange(16)]
104 for i in dbs :
107 dbs[10].put("test","this is a test")
108 dbs[10].put("test2","another test")
109 dbs[10].put("test3","another one")
110 self.assertEqual(dbs[4].get("test"), "this is a test", "put!=get")
112 for i in dbs :
115 for i in dbs[::3] :
121 self.assertRaises(db.DBError, dbs[9].get, "test")
202 dbs=db.DBSequence(d)
[all …]
Dtest_misc.py21 dbs = dbshelve.open(self.filename)
22 dbs.close()
23 self.assertRaises(db.DBError, dbs.get, "foo")
/external/iproute2/misc/
Dss.c159 int dbs; member
211 .dbs = INET_DBM,
215 .dbs = INET_DBM,
219 .dbs = UNIX_DBM,
223 .dbs = PACKET_DBM,
227 .dbs = (1 << NETLINK_DB),
238 f->dbs |= 1 << db; in filter_db_set()
281 if (!(f->dbs & (1 << db))) in filter_merge_defaults()
291 if (!(default_afs[af].dbs & f->dbs)) in filter_merge_defaults()
292 f->dbs |= default_afs[af].dbs; in filter_merge_defaults()
[all …]
/external/libnl/lib/idiag/
Didiag_req_obj.c89 void idiagnl_req_set_dbs(struct idiagnl_req *req, uint32_t dbs) in idiagnl_req_set_dbs() argument
91 req->idiag_dbs = dbs; in idiagnl_req_set_dbs()
/external/python/cpython2/Modules/
D_bsddb.c8084 DBSequenceObject *dbs; in _promote_transaction_dbs_and_sequences() local
8101 dbs=txn->children_sequences; in _promote_transaction_dbs_and_sequences()
8102 EXTRACT_FROM_DOUBLE_LINKED_LIST_TXN(dbs); in _promote_transaction_dbs_and_sequences()
8104 INSERT_IN_DOUBLE_LINKED_LIST_TXN(txn->parent_txn->children_sequences,dbs); in _promote_transaction_dbs_and_sequences()
8105 dbs->txn=txn->parent_txn; in _promote_transaction_dbs_and_sequences()
8110 dbs->txn=NULL; in _promote_transaction_dbs_and_sequences()