Lines Matching refs:accounts
25 : dbenv(0), accounts(ACCOUNTS), branches(BRANCHES),
74 // Initialize the database to the specified number of accounts, branches,
92 "db_create of accounts db failed.");
95 dbp->set_h_nelem(dbp, (unsigned int)accounts);
106 populateTable(dbp, idnum, balance, accounts, "account")) != 0)
108 idnum += accounts;
194 populateHistory(dbp, history, accounts, branches, tellers);
238 TpcbExample::populateHistory(DB *dbp, int nrecs, u_int32_t accounts,
255 hrec.aid = randomId(ACCOUNT, accounts, branches, tellers);
256 hrec.bid = randomId(BRANCH, accounts, branches, tellers);
257 hrec.tid = randomId(TELLER, accounts, branches, tellers);
339 accounts, branches, tellers)) != 0)
363 int accounts, int branches, int tellers)
385 account = randomId(ACCOUNT, accounts, branches, tellers);
386 branch = randomId(BRANCH, accounts, branches, tellers);
387 teller = randomId(TELLER, accounts, branches, tellers);
488 TpcbExample::randomId(FTYPE type, u_int32_t accounts,
494 num = accounts;
503 min += accounts;