• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/examples_c/

Lines Matching defs:branches

131 	int accounts, branches, seed, tellers, history;
136 accounts = branches = history = tellers = 0;
147 if ((branches = atoi(optarg)) <= 0)
197 branches = branches == 0 ? BRANCHES : branches;
203 (long)accounts, (long)branches,
210 accounts, branches, history, tellers, verbose);
214 tp_run(dbenv, ntxns, accounts, branches, tellers, verbose);
243 a1 = "[-fv] [-a accounts] [-b branches]\n";
290 * Initialize the database to the specified number of accounts, branches,
294 tp_populate(env, accounts, branches, history, tellers, verbose)
296 int accounts, branches, history, tellers, verbose;
333 * Since the number of branches is very small, we want to use very
342 (void)dbp->set_h_nelem(dbp, (u_int32_t)branches);
350 populate(dbp, idnum, balance, branches, "branch");
351 idnum += branches;
358 printf("Populated branches: %ld - %ld\n",
401 hpopulate(dbp, history, accounts, branches, tellers);
442 hpopulate(dbp, history, accounts, branches, tellers)
444 int history, accounts, branches, tellers;
461 hrec.aid = random_id(ACCOUNT, accounts, branches, tellers);
462 hrec.bid = random_id(BRANCH, accounts, branches, tellers);
463 hrec.tid = random_id(TELLER, accounts, branches, tellers);
490 random_id(type, accounts, branches, tellers)
492 int accounts, branches, tellers;
500 min += branches;
505 num = branches;
515 tp_run(dbenv, n, accounts, branches, tellers, verbose)
517 int n, accounts, branches, tellers, verbose;
570 accounts, branches, tellers, verbose)) != 0)
599 tp_txn(dbenv, adb, bdb, tdb, hdb, accounts, branches, tellers, verbose)
602 int accounts, branches, tellers, verbose;
620 account = random_id(ACCOUNT, accounts, branches, tellers);
621 branch = random_id(BRANCH, accounts, branches, tellers);
622 teller = random_id(TELLER, accounts, branches, tellers);