Searched refs:countRecords (Results 1 - 7 of 7) sorted by relevance

/macosx-10.10.1/BerkeleyDB-21/db/perl/BerkeleyDB/t/
H A Ddb-3.3.t47 ok 3, countRecords($db) == 3 ;
54 ok 6, countRecords($db) == 0 ;
104 ok 11, countRecords($secondary) == 3 ;
151 ok 36, countRecords($secondary) == 3 ;
155 ok 38, countRecords($primary) == 2 ;
159 ok 40, countRecords($secondary) == 2 ;
163 ok 42, countRecords($secondary) == 1 ;
168 ok 44, countRecords($primary) == 1 ;
233 ok 49, countRecords($secondary) == 4 ;
290 ok 56, countRecords(
[all...]
H A Dencrypt.t117 ok 10, countRecords($db) == 3 ;
344 ok 38, countRecords($db) == 3 ;
375 ok 44, countRecords($db1) == 3 ;
408 ok 47, countRecords($db) == 3 ;
439 ok 53, countRecords($db1) == 3 ;
474 ok 56, countRecords($db) == 3 ;
509 ok 62, countRecords($db1) == 3 ;
542 ok 65, countRecords($db) == 3 ;
573 ok 71, countRecords($db1) == 3 ;
606 ok 74, countRecords(
[all...]
H A Dutil.pm272 sub countRecords subroutine
/macosx-10.10.1/BerkeleyDB-21/db/examples_java/src/db/txn/
H A DDBWriter.java41 // txn handle should be handed to countRecords()
103 // passed to countRecords()
106 // countRecords(). The code self deadlocks if you don't.
113 countRecords(txnHandle) + " records in the database.");
168 // Third, call countRecords AFTER the writer has committed
177 private int countRecords(Transaction txn) throws DatabaseException { method in class:DBWriter
/macosx-10.10.1/BerkeleyDB-21/db/examples_cxx/txn_guide/
H A DTxnGuide.cpp53 int countRecords(Db *, DbTxn *);
242 // countRecords runs a cursor over the entire database.
245 << countRecords(dbp, NULL)
305 // Third, call countRecords AFTER the writer has committed
315 countRecords(Db *dbp, DbTxn *txn) function
330 std::cerr << "countRecords: got deadlock" << std::endl;
334 std::cerr << "countRecords error:" << std::endl;
342 std::cerr << "countRecords: cursor close failed:" << std::endl;
H A DTxnGuideInMemory.cpp53 int countRecords(Db *, DbTxn *);
224 // countRecords runs a cursor over the entire database.
227 << countRecords(dbp, txn)
287 // Third, call countRecords AFTER the writer has committed
297 countRecords(Db *dbp, DbTxn *txn) function
312 std::cerr << "countRecords: got deadlock" << std::endl;
316 std::cerr << "countRecords error:" << std::endl;
324 std::cerr << "countRecords: cursor close failed:" << std::endl;
/macosx-10.10.1/BerkeleyDB-21/db/java/src/com/sleepycat/db/
H A DDatabase.java936 @param countRecords
947 public int truncate(final Transaction txn, boolean countRecords) argument
950 // XXX: implement countRecords in C
954 return countRecords ? count : -1;

Completed in 119 milliseconds