/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
FragmentTransactionTest.java | 36 private TestFragmentTransaction txn; field in class:FragmentTransactionTest 43 txn = new TestFragmentTransaction(manager); 51 txn.add(fragment, tag); 52 assertSame(fragment, txn.getFragment()); 53 assertSame(tag, txn.getTag()); 54 assertEquals(View.NO_ID, txn.getContainerViewId()); 56 txn.add(id, fragment); 57 assertEquals(id, txn.getContainerViewId()); 58 assertSame(fragment, txn.getFragment()); 60 txn.add(id, fragment, tag) [all...] |
/external/python/cpython2/Lib/bsddb/ |
dbtables.py | 220 def cursor(self, txn=None) : 221 return cursor_py3k(self._db.cursor(txn=txn)) 223 def has_key(self, key, txn=None) : 225 txn=txn) 227 def put(self, key, value, flags=0, txn=None) : 231 return self._db.put(key, value, flags=flags, txn=txn) 233 def put_bytes(self, key, value, txn=None) [all...] |
dbrecio.py | 7 f = DBRecIO(db, key, txn=None) 35 def __init__(self, db, key, txn=None): 38 self.txn = txn 47 del self.db, self.txn 78 r = self.db.get(self.key, txn=self.txn, dlen=dlen, doff=self.pos) 124 self.db.put(self.key, "", txn=self.txn, dlen=self.len-size, doff=size) 134 self.db.put(self.key, s, txn=self.txn, dlen=len(s), doff=self.pos [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/ |
dbtables.py | 220 def cursor(self, txn=None) : 221 return cursor_py3k(self._db.cursor(txn=txn)) 223 def has_key(self, key, txn=None) : 225 txn=txn) 227 def put(self, key, value, flags=0, txn=None) : 231 return self._db.put(key, value, flags=flags, txn=txn) 233 def put_bytes(self, key, value, txn=None) [all...] |
dbrecio.py | 7 f = DBRecIO(db, key, txn=None) 35 def __init__(self, db, key, txn=None): 38 self.txn = txn 47 del self.db, self.txn 78 r = self.db.get(self.key, txn=self.txn, dlen=dlen, doff=self.pos) 124 self.db.put(self.key, "", txn=self.txn, dlen=self.len-size, doff=size) 134 self.db.put(self.key, s, txn=self.txn, dlen=len(s), doff=self.pos [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/bsddb/ |
dbtables.py | 220 def cursor(self, txn=None) : 221 return cursor_py3k(self._db.cursor(txn=txn)) 223 def has_key(self, key, txn=None) : 225 txn=txn) 227 def put(self, key, value, flags=0, txn=None) : 231 return self._db.put(key, value, flags=flags, txn=txn) 233 def put_bytes(self, key, value, txn=None) [all...] |
dbrecio.py | 7 f = DBRecIO(db, key, txn=None) 35 def __init__(self, db, key, txn=None): 38 self.txn = txn 47 del self.db, self.txn 78 r = self.db.get(self.key, txn=self.txn, dlen=dlen, doff=self.pos) 124 self.db.put(self.key, "", txn=self.txn, dlen=self.len-size, doff=size) 134 self.db.put(self.key, s, txn=self.txn, dlen=len(s), doff=self.pos [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/ |
dbtables.py | 220 def cursor(self, txn=None) : 221 return cursor_py3k(self._db.cursor(txn=txn)) 223 def has_key(self, key, txn=None) : 225 txn=txn) 227 def put(self, key, value, flags=0, txn=None) : 231 return self._db.put(key, value, flags=flags, txn=txn) 233 def put_bytes(self, key, value, txn=None) [all...] |
dbrecio.py | 7 f = DBRecIO(db, key, txn=None) 35 def __init__(self, db, key, txn=None): 38 self.txn = txn 47 del self.db, self.txn 78 r = self.db.get(self.key, txn=self.txn, dlen=dlen, doff=self.pos) 124 self.db.put(self.key, "", txn=self.txn, dlen=self.len-size, doff=size) 134 self.db.put(self.key, s, txn=self.txn, dlen=len(s), doff=self.pos [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
dbtables.py | 220 def cursor(self, txn=None) : 221 return cursor_py3k(self._db.cursor(txn=txn)) 223 def has_key(self, key, txn=None) : 225 txn=txn) 227 def put(self, key, value, flags=0, txn=None) : 231 return self._db.put(key, value, flags=flags, txn=txn) 233 def put_bytes(self, key, value, txn=None) [all...] |
dbrecio.py | 7 f = DBRecIO(db, key, txn=None) 35 def __init__(self, db, key, txn=None): 38 self.txn = txn 47 del self.db, self.txn 78 r = self.db.get(self.key, txn=self.txn, dlen=dlen, doff=self.pos) 124 self.db.put(self.key, "", txn=self.txn, dlen=self.len-size, doff=size) 134 self.db.put(self.key, s, txn=self.txn, dlen=len(s), doff=self.pos [all...] |
/frameworks/native/cmds/servicemanager/ |
binder.c | 23 void bio_init_from_txn(struct binder_io *io, struct binder_transaction_data *txn); 44 void binder_dump_txn(struct binder_transaction_data *txn) 47 binder_size_t *offs = (binder_size_t *)(uintptr_t)txn->data.ptr.offsets; 48 size_t count = txn->offsets_size / sizeof(binder_size_t); 51 (uint64_t)txn->target.ptr, (uint64_t)txn->cookie, txn->code, txn->flags); 53 txn->sender_pid, txn->sender_euid, (uint64_t)txn->data_size, (uint64_t)txn->offsets_size) 192 struct binder_transaction_data txn; member in struct:__anon41110 244 struct binder_transaction_data *txn = (struct binder_transaction_data *) ptr; local 269 struct binder_transaction_data *txn = (struct binder_transaction_data *) ptr; local 343 struct binder_transaction_data txn; member in struct:__anon41112 [all...] |
/external/python/cpython2/Lib/bsddb/test/ |
test_distributed_transactions.py | 33 txn=self.dbenv.txn_begin() 36 txn=txn) 37 txn.commit() 67 txn = self.dbenv.txn_begin() 70 self.db.put(i, gid, txn=txn, flags=db.DB_APPEND) 72 txn.prepare(gid) 73 del txn 81 for gid,txn in recovered_txns [all...] |
test_replication.py | 205 txn=self.dbenvMaster.txn_begin() 206 self.dbMaster.open("test", db.DB_HASH, db.DB_CREATE, 0666, txn=txn) 207 txn.commit() 217 txn=self.dbenvClient.txn_begin() 220 mode=0666, txn=txn) 222 txn.abort() 227 txn.commit() 230 txn=self.dbenvMaster.txn_begin( [all...] |
test_basics.py | 271 self.assertEqual(d.has_key('spam', txn=None), 0) 317 txn = self.env.txn_begin() 319 txn = None 320 c = self.d.cursor(txn=txn) 455 if txn: 456 txn.commit() 491 oldcursor = self.d.cursor(txn=txn) 637 d.compact(start='abcde', stop='monty', txn=None [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/test/ |
test_distributed_transactions.py | 33 txn=self.dbenv.txn_begin() 36 txn=txn) 37 txn.commit() 67 txn = self.dbenv.txn_begin() 70 self.db.put(i, gid, txn=txn, flags=db.DB_APPEND) 72 txn.prepare(gid) 73 del txn 81 for gid,txn in recovered_txns [all...] |
test_replication.py | 205 txn=self.dbenvMaster.txn_begin() 206 self.dbMaster.open("test", db.DB_HASH, db.DB_CREATE, 0666, txn=txn) 207 txn.commit() 217 txn=self.dbenvClient.txn_begin() 220 mode=0666, txn=txn) 222 txn.abort() 227 txn.commit() 230 txn=self.dbenvMaster.txn_begin( [all...] |
test_basics.py | 271 self.assertEqual(d.has_key('spam', txn=None), 0) 317 txn = self.env.txn_begin() 319 txn = None 320 c = self.d.cursor(txn=txn) 455 if txn: 456 txn.commit() 491 oldcursor = self.d.cursor(txn=txn) 637 d.compact(start='abcde', stop='monty', txn=None [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/bsddb/test/ |
test_distributed_transactions.py | 33 txn=self.dbenv.txn_begin() 36 txn=txn) 37 txn.commit() 67 txn = self.dbenv.txn_begin() 70 self.db.put(i, gid, txn=txn, flags=db.DB_APPEND) 72 txn.prepare(gid) 73 del txn 81 for gid,txn in recovered_txns [all...] |
test_replication.py | 205 txn=self.dbenvMaster.txn_begin() 206 self.dbMaster.open("test", db.DB_HASH, db.DB_CREATE, 0666, txn=txn) 207 txn.commit() 217 txn=self.dbenvClient.txn_begin() 220 mode=0666, txn=txn) 222 txn.abort() 227 txn.commit() 230 txn=self.dbenvMaster.txn_begin( [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_distributed_transactions.py | 33 txn=self.dbenv.txn_begin() 36 txn=txn) 37 txn.commit() 67 txn = self.dbenv.txn_begin() 70 self.db.put(i, gid, txn=txn, flags=db.DB_APPEND) 72 txn.prepare(gid) 73 del txn 81 for gid,txn in recovered_txns [all...] |
test_replication.py | 205 txn=self.dbenvMaster.txn_begin() 206 self.dbMaster.open("test", db.DB_HASH, db.DB_CREATE, 0666, txn=txn) 207 txn.commit() 217 txn=self.dbenvClient.txn_begin() 220 mode=0666, txn=txn) 222 txn.abort() 227 txn.commit() 230 txn=self.dbenvMaster.txn_begin( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_distributed_transactions.py | 33 txn=self.dbenv.txn_begin() 36 txn=txn) 37 txn.commit() 67 txn = self.dbenv.txn_begin() 70 self.db.put(i, gid, txn=txn, flags=db.DB_APPEND) 72 txn.prepare(gid) 73 del txn 81 for gid,txn in recovered_txns [all...] |
test_replication.py | 205 txn=self.dbenvMaster.txn_begin() 206 self.dbMaster.open("test", db.DB_HASH, db.DB_CREATE, 0666, txn=txn) 207 txn.commit() 217 txn=self.dbenvClient.txn_begin() 220 mode=0666, txn=txn) 222 txn.abort() 227 txn.commit() 230 txn=self.dbenvMaster.txn_begin( [all...] |
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
JpaLocalTxnInterceptor.java | 65 final EntityTransaction txn = em.getTransaction(); local 66 txn.begin(); 74 if (rollbackIfNecessary(transactional, e, txn)) { 75 txn.commit(); 82 if (null != didWeStartWork.get() && !txn.isActive()) { 88 //everything was normal so commit the txn (do not move into try block above as it 91 txn.commit(); 128 * @param txn A JPA Transaction to issue rollbacks on 131 EntityTransaction txn) { 153 txn.rollback() [all...] |