• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/examples_stl/

Lines Matching defs:branches

47 	    int accounts, int branches, int tellers);
131 int accounts, branches, tellers, history;
137 accounts = branches = history = tellers = 0;
153 if ((branches = atoi(argv[++i])) <= 0)
206 branches = branches == 0 ? BRANCHES : branches;
212 << (long)branches << " Branches, "
227 app.populate(accounts, branches, history, tellers);
232 app.run(ntxns, accounts, branches, tellers);
255 cerr << "usage: StlTpcbExample [-fiv] [-a accounts] [-b branches]\n"
286 // Initialize the database to the specified number of accounts, branches,
290 StlTpcbExample::populate(int accounts, int branches, int history, int tellers)
330 // Since the number of branches is very small, we want to use very
335 dbp->set_h_nelem((unsigned int)branches);
346 populateTable(branches_map, idnum, balance, branches, "branch");
347 idnum += branches;
354 cout << "Populated branches: "
395 populateHistory(history_vector, history, accounts, branches, tellers);
425 u_int32_t accounts, u_int32_t branches,
436 ACCOUNT, accounts, branches, tellers);
438 BRANCH, accounts, branches, tellers);
440 TELLER, accounts, branches, tellers);
462 random_id(FTYPE type, u_int32_t accounts, u_int32_t branches, u_int32_t tellers)
470 min += branches;
475 num = branches;
485 StlTpcbExample::run(int n, int accounts, int branches, int tellers)
538 history_vector, accounts, branches, tellers)) != 0)
563 int accounts, int branches, int tellers)
574 account = random_id(ACCOUNT, accounts, branches, tellers);
575 branch = random_id(BRANCH, accounts, branches, tellers);
576 teller = random_id(TELLER, accounts, branches, tellers);