Home | History | Annotate | Download | only in engine

Lines Matching refs:trans

127 static int64 IdToMetahandle(syncable::BaseTransaction* trans,
129 syncable::Entry entry(trans, syncable::GET_BY_ID, id);
306 syncable::BaseTransaction* trans = GetTransaction()->GetWrappedTrans();
308 dir->GetFirstChildId(trans, GetEntry()->Get(syncable::ID));
948 syncable::BaseTransaction* trans = transaction_->GetWrappedTrans();
949 entry_ = new syncable::Entry(trans, syncable::GET_BY_ID, trans->root_id());
957 syncable::BaseTransaction* trans = transaction_->GetWrappedTrans();
958 entry_ = new syncable::Entry(trans, syncable::GET_BY_HANDLE, id);
996 syncable::BaseTransaction* trans = transaction_->GetWrappedTrans();
997 entry_ = new syncable::Entry(trans, syncable::GET_BY_SERVER_TAG, tag);
1019 syncable::BaseTransaction* trans)
1021 transaction_(trans),
1057 const BaseTransaction* trans) const {
1087 ReadNode node(trans);
1247 syncable::BaseTransaction* trans);
1251 syncable::BaseTransaction* trans);
1255 syncable::BaseTransaction* trans);
1485 void ReEncryptEverything(WriteTransaction* trans);
1506 WriteTransaction* const trans);
1777 ReadTransaction trans(GetUserShare());
1778 Cryptographer* cryptographer = trans.GetCryptographer();
1781 ReadNode node(&trans);
1933 WriteTransaction* const trans) {
1934 WriteNode node(trans);
1948 WriteTransaction trans(GetUserShare());
1949 Cryptographer* cryptographer = trans.GetCryptographer();
1964 SetUsingExplicitPassphrasePrefForMigration(&trans);
1971 WriteNode node(&trans);
1994 ReEncryptEverything(&trans);
2004 ReadTransaction trans(&share_);
2005 ReadNode node(&trans);
2020 WriteTransaction trans(GetUserShare());
2021 WriteNode node(&trans);
2047 ReEncryptEverything(&trans);
2055 sync_api::ReadTransaction* trans,
2059 ReadNode node(trans);
2064 FindChildNodesContainingString(lowercase_query, node, trans, result);
2081 ReadTransaction trans(GetUserShare());
2082 ReadNode root(&trans);
2088 FindChildNodesContainingString(lowercase_query, root, &trans, result);
2097 void SyncManager::SyncInternal::ReEncryptEverything(WriteTransaction* trans) {
2099 GetEncryptedDataTypes(trans->GetWrappedTrans());
2107 ReadNode type_root(trans);
2124 WriteNode child(trans);
2142 ReadNode passwords_root(trans);
2152 WriteNode child(trans);
2297 syncable::BaseTransaction* trans) {
2308 ReadTransaction read_trans(GetUserShare(), trans);
2332 syncable::BaseTransaction* trans) {
2346 syncable::Entry e(trans, syncable::GET_BY_HANDLE, id);
2410 syncable::BaseTransaction* trans) {
2418 Cryptographer* crypto = dir_manager()->GetCryptographer(trans);
2422 syncable::Entry e(trans, syncable::GET_BY_HANDLE, id);
2484 sync_api::ReadTransaction trans(GetUserShare());
2485 sync_api::ReadNode node(&trans);
2497 Cryptographer* cryptographer = trans.GetCryptographer();
2624 ReadTransaction trans(GetUserShare());
2625 ReadNode root(&trans);
2669 ReadTransaction trans(GetUserShare());
2670 ReadNode node(&trans);
2824 sync_api::ReadTransaction trans(GetUserShare());
2825 return (trans.GetWrappedTrans()->directory()->unsynced_entity_count() != 0);