• 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_java/src/db/

Lines Matching defs:TpcbExample

6  * $Id: TpcbExample.java,v 12.11 2008/01/08 20:58:32 bostic Exp $
29 class TpcbExample {
73 public static final String progname = "TpcbExample"; // Program name.
78 public TpcbExample(File home,
413 TpcbExample.errExit(dbe, "Open of db files failed");
415 TpcbExample.errExit(fnfe, "Open of db files failed, missing file");
427 failed + " failed, " + TpcbExample.showRounded(
436 TpcbExample.errExit(dbe2, "Close of db files failed");
459 account = TpcbExample.this.random_id(TpcbExample.ACCOUNT);
460 branch = TpcbExample.this.random_id(TpcbExample.BRANCH);
461 teller = TpcbExample.this.random_id(TpcbExample.TELLER);
558 if (TpcbExample.this.verbose) {
572 "usage: TpcbExample [-fiv] [-a accounts] [-b branches]\n" +
579 System.err.println("TpcbExample: invalid argument: " + str);
661 TpcbExample app = null;
663 app = new TpcbExample(home, accounts, branches, tellers, history,
706 data = new byte[TpcbExample.RECLEN];
710 return TpcbExample.RECLEN;
714 return TpcbExample.get_int_in_array(data, 0);
718 TpcbExample.set_int_in_array(data, 0, value);
722 return TpcbExample.get_int_in_array(data, 4);
726 TpcbExample.set_int_in_array(data, 4, value);
748 data = new byte[TpcbExample.RECLEN];
752 return TpcbExample.RECLEN;
756 return TpcbExample.get_int_in_array(data, 0);
760 TpcbExample.set_int_in_array(data, 0, value);
764 return TpcbExample.get_int_in_array(data, 4);
768 TpcbExample.set_int_in_array(data, 4, value);
772 return TpcbExample.get_int_in_array(data, 8);
776 TpcbExample.set_int_in_array(data, 8, value);
780 return TpcbExample.get_int_in_array(data, 12);
784 TpcbExample.set_int_in_array(data, 12, value);