Lines Matching defs:branches
25 : dbenv(0), accounts(ACCOUNTS), branches(BRANCHES),
74 // Initialize the database to the specified number of accounts, branches,
118 "db_create of branches db failed.");
122 // Since the number of branches is very small, we want to use very
127 dbp->set_h_nelem(dbp, (unsigned int)branches);
137 if ((err = populateTable(dbp, idnum, balance, branches, "branch")) != 0)
139 idnum += branches;
194 populateHistory(dbp, history, accounts, branches, tellers);
239 u_int32_t branches, u_int32_t tellers)
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);
489 u_int32_t branches, u_int32_t tellers)
497 min += branches;
502 num = branches;