Lines Matching defs:branch
59 * with which to populate the account, history, branch, and teller tables
146 case 'b': /* Number of branch records */
344 if ((ret = dbp->open(dbp, NULL, "branch", NULL,
346 env->err(env, ret, "DB->open: branch");
350 populate(dbp, idnum, balance, branches, "branch");
354 env->err(env, ret, "DB->close: branch");
542 if ((ret = bdb->open(bdb, NULL, "branch", NULL, DB_UNKNOWN,
544 dbenv->err(dbenv, ret, "DB->open: branch");
610 int account, branch, teller, ret;
621 branch = random_id(BRANCH, accounts, branches, tellers);
639 hrec.bid = branch;
670 k_dbt.data = &branch;
715 (long)account, (long)branch, (long)teller);