/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/persist/ |
H A D | EntityIndex.java | 314 * Transaction txn = env.beginTransaction(null, null); 316 * primaryIndex.delete(txn, 1); 317 * primaryIndex.delete(txn, 2); 318 * txn.commit(); 319 * txn = null; 321 * if (txn != null) { 322 * txn.abort(); 396 * {@code EntityCursor<Employee>} cursor = primaryIndex.entities(txn, null); 417 * Transaction txn = env.beginTransaction(null, null); 420 * cursor = primaryIndex.entities(txn, nul 595 contains(Transaction txn, K key, LockMode lockMode) argument 626 get(Transaction txn, K key, LockMode lockMode) argument 664 delete(Transaction txn, K key) argument 694 keys(Transaction txn, CursorConfig config) argument 724 entities(Transaction txn, CursorConfig config) argument 786 keys(Transaction txn, K fromKey, boolean fromInclusive, K toKey, boolean toInclusive, CursorConfig config) argument 852 entities(Transaction txn, K fromKey, boolean fromInclusive, K toKey, boolean toInclusive, CursorConfig config) argument [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test/ |
H A D | log005.tcl | 42 $logargs -log_max 1000000 -txn] 55 set envtmp [berkdb_env -home $testdir -log_max 900000 -txn] 69 set t [$env txn] 70 error_check_good txn [is_valid_txn $t $env] TRUE 71 set ret [$db put -txn $t $i $data] 73 error_check_good txn [$t commit] 0 95 set env [berkdb_env -create -home $testdir -recover -txn]
|
H A D | test116.tcl | 32 set txn "" 42 -create $encargs $envargs -home $testdir -txn] 62 set txn "" 83 -create $encargs $envargs -home $newdir -txn] 94 set t [$env txn] 95 error_check_good txn [is_valid_txn $t $env] TRUE 96 set txn "-txn $t" 102 $txn $key [chop_data $method $data]] 0 116 set t [$env txn] [all...] |
H A D | test057.tcl | 51 set txn "" 60 set t [$env txn] 61 error_check_good txn [is_valid_txn $t $env] TRUE 62 set txn "-txn $t" 64 set r [eval {$db put} $txn $flags {$key datum$key}] 67 error_check_good txn [$t commit] 0 74 set t [$env txn] 75 error_check_good txn [is_valid_txn $t $env] TRUE 76 set txn " [all...] |
H A D | test085.tcl | 55 set txn "" 109 set txn "" 119 set t [$env txn] 120 error_check_good txn \ 122 set txn "-txn $t" 124 set dbc [test085_setup $db $txn] 132 [eval {$db put} $txn \ 135 set c [eval {$db cursor} $txn] 163 error_check_good txn [ [all...] |
H A D | rep066.tcl | 93 # be used with -txn nosync. 149 set txn [$masterenv txn] 150 error_check_good txn [is_valid_txn $txn $masterenv] TRUE 152 -txn $txn -create -mode 0644} $largs $omethod $testfile2] 167 # Resolve the txn and close the database 168 error_check_good commit [$txn commit] 0 208 set txn [ [all...] |
H A D | test039.tcl | 83 set txn "" 89 set t [$env txn] 90 error_check_good txn [is_valid_txn $t $env] TRUE 91 set txn "-txn $t" 93 set dbc [eval {$db cursor} $txn] 118 $txn $pflags {$str [chop_data $method $datastr]}] 122 $txn $pflags {$str [chop_data $method $dups]}] 150 error_check_good txn [$t commit] 0 157 set t [$env txn] [all...] |
H A D | test043.tcl | 59 set txn "" 70 set t [$env txn] 71 error_check_good txn [is_valid_txn $t $env] TRUE 72 set txn "-txn $t" 75 $txn $pflags {$count [chop_data $method $count]}] 78 error_check_good txn [$t commit] 0 86 set t [$env txn] 87 error_check_good txn [is_valid_txn $t $env] TRUE 88 set txn " [all...] |
H A D | sdb009.tcl | 59 set txn "" 64 set t [$env txn] 65 error_check_good txn [is_valid_txn $t $env] TRUE 66 set txn "-txn $t" 68 error_check_good dbput [eval {$db put} $txn {$key $data}] 0 70 error_check_good txn [$t commit] 0
|
H A D | txnscript.tcl | 41 puts "\tTxnscript.a: begin parent and child txn" 42 set parent [$dbenv txn] 44 set child [$dbenv txn -parent $parent] 48 error_check_good db_put [$db put -txn $child $key $data] 0
|
H A D | dbscript.tcl | 83 set txn "" 133 set ret [eval {$db put} $txn $pflags \ 147 set ret [eval {$db put} $txn $pflags \ 166 set ret [eval {$dbc put} $txn \ 177 set ret [eval {$dbc put} $txn {$op $k $data}] 191 set ret [eval {$db put} $txn {$k $data}] 199 set ret [eval {$db put} $txn $pflags \ 216 set ret [eval {$dbc put} $txn {-current $data}] 225 set ret [eval {$dbc put} $txn {-current $data}] 237 set val [eval {$db get} $txn { [all...] |
H A D | sysscript.tcl | 65 set dbenv [berkdb_env -txn -home $dir] 100 set txn [$dbenv txn] 101 set err [catch {error_check_good $mypid:txn_begin [is_substr $txn \ 102 $dbenv.txn] 1} ret] 110 set cursors($f) [$db_set($f) cursor -txn $txn] 123 set r [$db_set($i) get -txn $txn $k] 124 set r [$db_set($i) get -txn [all...] |
H A D | lock005.tcl | 19 set e [berkdb_env -create -lock -home $testdir -txn -log] 31 set txn1 [$e txn -nowait] 33 set ret [catch {$db put -txn $txn1 -append record1} recno1] 36 # Start second txn while the first is still running ... 37 set txn2 [$e txn -nowait] 40 # ... and try to get a record from the first txn (should fail) 41 set ret [catch {$db get -txn $txn2 $recno1} res] 69 set txn1 [$e txn -nowait] 71 set ret [catch {$db put -txn $txn1 -append record1} recno1] 78 set txn2 [$e txn [all...] |
H A D | sdbutils.tcl | 61 set txn "" 67 set t [$env txn] 68 error_check_good txn [is_valid_txn $t $env] TRUE 69 set txn "-txn $t" 71 set ret [eval {$db put} $txn {$str \ 75 error_check_good txn [$t commit] 0 80 set t [$env txn] 81 error_check_good txn [is_valid_txn $t $env] TRUE 82 set txn " [all...] |
H A D | test030.tcl | 71 set txn "" 81 set t [$env txn] 82 error_check_good txn [is_valid_txn $t $env] TRUE 83 set txn "-txn $t" 85 set dbc [eval {$db cursor} $txn] 93 set ct [$env txn] 94 error_check_good txn \ 96 set ctxn "-txn $ct" 102 error_check_good txn [ [all...] |
H A D | test049.tcl | 24 set txn "" 65 set t [$env txn] 66 error_check_good txn [is_valid_txn $t $env] TRUE 67 set txn "-txn $t" 69 set ret [eval {$db put} $txn {$key$i $data$i}] 73 set ret [eval {$db put} $txn \ 79 error_check_good txn [$t commit] 0 85 set t [$env txn] 86 error_check_good txn [is_valid_tx [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/sbus/char/ |
H A D | uctrl.c | 272 static void uctrl_do_txn(struct uctrl_txn *txn) argument 284 incnt = txn->inbits; 285 outcnt = txn->outbits; 286 byte = (txn->opcode << 8); 291 byte = (txn->inbuf[bytecnt] << 8); 304 txn->outbuf[bytecnt] = (byte >> 8); 314 struct uctrl_txn txn; local 317 txn.opcode = READ_EVENT_STATUS; 318 txn.inbits = 0; 319 txn 334 struct uctrl_txn txn; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/db/ |
H A D | db_iface.c | 21 #include "dbinc/txn.h" 71 __db_associate_pp(dbp, txn, sdbp, callback, flags) 73 DB_TXN *txn; 92 (ret = __db_rep_enter(dbp, 1, 0, txn != NULL)) != 0) { 118 if (IS_DB_AUTO_COMMIT(dbp, txn)) { 119 if ((ret = __txn_begin(env, ip, NULL, &txn, 0)) != 0) 125 if ((ret = __db_check_txn(dbp, txn, DB_LOCK_INVALIDID, 0)) != 0) 132 ret = __db_associate(dbp, ip, txn, sdbp, callback, flags); 135 (t_ret = __db_txn_auto_resolve(env, txn, 0, ret)) && ret == 0) 271 __db_cursor_pp(dbp, txn, dbc 929 DB_TXN *txn; local [all...] |
H A D | db_open.c | 23 #include "dbinc/txn.h" 50 __db_open(dbp, ip, txn, fname, dname, type, flags, mode, meta_pgno) 53 DB_TXN *txn; 86 if (IS_REAL_TXN(txn)) 154 txn, fname, mode, flags, &id)) != 0) 158 txn, fname, dname, mode, flags)) != 0) 180 if ((ret = __env_setup(dbp, txn, fname, dname, id, flags)) != 0) 186 ret = __db_new_file(dbp, ip, txn, NULL, NULL); 190 txn, dname, mode, flags, &id)) == 0 && 193 && txn ! [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/txn/ |
H A D | txn_stat.c | 15 #include "dbinc/txn.h" 224 DB_TXN_ACTIVE *txn; local 277 txn = &sp->st_txnarray[i]; 280 (u_long)txn->txnid, __txn_status(txn), 281 dbenv->thread_id_string(dbenv, txn->pid, txn->tid, buf), 282 (u_long)txn->lsn.file, (u_long)txn->lsn.offset); 283 if (txn [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/compat/ |
H A D | DbCompat.java | 190 Transaction txn, 194 return db.append(txn, key, data); 282 Transaction txn, 289 return env.openDatabase(txn, fileName, dbName, config); 294 Transaction txn, 303 (txn, fileName, dbName, primaryDatabase, config); 307 Transaction txn, 314 Database db = env.openDatabase(txn, fileName, dbName, null); 316 return db.truncate(txn, returnCount); 323 Transaction txn, 189 append(Database db, Transaction txn, DatabaseEntry key, DatabaseEntry data) argument 281 openDatabase(Environment env, Transaction txn, String fileName, String dbName, DatabaseConfig config) argument 292 openSecondaryDatabase( Environment env, Transaction txn, String fileName, String dbName, Database primaryDatabase, SecondaryConfig config) argument 306 truncateDatabase(Environment env, Transaction txn, String fileName, String dbName, boolean returnCount) argument 322 removeDatabase(Environment env, Transaction txn, String fileName, String dbName) argument 332 renameDatabase(Environment env, Transaction txn, String oldFileName, String oldDbName, String newFileName, String newDbName) argument 350 testOpenDatabase(Environment env, Transaction txn, String file, String name, DatabaseConfig config) argument 360 testOpenSecondaryDatabase(Environment env, Transaction txn, String file, String name, Database primary, SecondaryConfig config) argument [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/perl/BerkeleyDB/t/ |
H A D | strict.t | 74 ok 13, my $txn = $env->txn_begin() ; 78 -Txn => $txn ; 80 ok 15, $txn->txn_commit() == 0 ; 101 ok 22, my $txn = $env->txn_begin() ; 105 -Txn => $txn ; 110 $txn->txn_abort(); 152 ok 35, my $txn = $env->txn_begin() ; 156 -Txn => $txn ; 160 ok 39, ($status = $txn->txn_commit()) == 0 ;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/mp/ |
H A D | mp_fset.c | 14 #include "dbinc/txn.h" 24 __memp_dirty(dbmfp, addrp, ip, txn, priority, flags) 28 DB_TXN *txn; 62 for (ancestor = txn; 67 if (mvcc && txn != NULL && 70 &pgno, ip, txn, flags, addrp)) != 0) { 102 if (mvcc && txn != NULL && SH_CHAIN_HASNEXT(bhp, vc)) {
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test/scr024/src/com/sleepycat/persist/test/ |
H A D | IndexTest.java | 188 Transaction txn = txnBegin(); 190 primaryRaw.delete(txn, priKey); 192 primary.delete(txn, priKey); 194 txnCommit(txn); 202 Transaction txn = txnBegin(); 204 e = primary.put(txn, new MyEntity(1)); 206 e = primary.get(txn, 1, null); 209 primary.putNoReturn(txn, new MyEntity(2)); 210 e = primary.get(txn, 2, null); 213 assertTrue(!primary.putNoOverwrite(txn, ne 505 checkOpenRanges(Transaction txn, int i, EntityIndex<K,V> index, SortedMap<Integer,SortedSet<Integer>> expected, Getter<K> kGetter, Getter<V> vGetter) argument 563 checkClosedRanges(Transaction txn, int i, int j, EntityIndex<K,V> index, SortedMap<Integer,SortedSet<Integer>> expected, Getter<K> kGetter, Getter<V> vGetter) argument [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/examples_cxx/txn_guide/ |
H A D | TxnGuideInMemory.cpp | 186 DbTxn *txn; local 207 txn = NULL; 208 envp->txn_begin(NULL, &txn, 0); 221 dbp->put(txn, &key, &value, 0); 227 << countRecords(dbp, txn) 230 std::cout << thread_num << " : committing txn : " << i 235 txn->commit(0); 237 txn = NULL; 239 std::cout << "Error on txn commit: " 244 if (txn ! 297 countRecords(Db *dbp, DbTxn *txn) argument [all...] |